]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
S390: Refactor wcsncpy ifunc handling.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
0966dd86
SL
12018-12-18 Stefan Liebler <stli@linux.ibm.com>
2
3 * sysdeps/s390/multiarch/Makefile
4 (sysdep_routines): Remove wcsncpy variants.
5 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
6 * sysdeps/s390/multiarch/ifunc-impl-list.c
7 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
8 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
9 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
10 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
11 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
12 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
13 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
14 * sysdeps/s390/ifunc-wcsncpy.h: New file.
15
0582e428
SL
162018-12-18 Stefan Liebler <stli@linux.ibm.com>
17
18 * sysdeps/s390/multiarch/Makefile
19 (sysdep_routines): Remove wcpcpy variants.
20 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
21 * sysdeps/s390/multiarch/ifunc-impl-list.c
22 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
23 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
24 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
25 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
26 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
27 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
28 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
29 * sysdeps/s390/ifunc-wcpcpy.h: New file.
30
804f2e5c
SL
312018-12-18 Stefan Liebler <stli@linux.ibm.com>
32
33 * sysdeps/s390/multiarch/Makefile
34 (sysdep_routines): Remove wcscpy variants.
35 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
36 * sysdeps/s390/multiarch/ifunc-impl-list.c
37 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
38 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
39 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
40 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
41 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
42 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
43 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
44 * sysdeps/s390/ifunc-wcscpy.h: New file.
45
c7e7cd26
SL
462018-12-18 Stefan Liebler <stli@linux.ibm.com>
47
48 * sysdeps/s390/multiarch/Makefile
49 (sysdep_routines): Remove wcsnlen variants.
50 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
51 * sysdeps/s390/multiarch/ifunc-impl-list.c
52 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
53 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
54 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
55 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
56 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
57 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
58 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
59 * sysdeps/s390/ifunc-wcsnlen.h: New file.
60
2e02d0b7
SL
612018-12-18 Stefan Liebler <stli@linux.ibm.com>
62
63 * sysdeps/s390/multiarch/Makefile
64 (sysdep_routines): Remove wcslen variants.
65 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
66 * sysdeps/s390/multiarch/ifunc-impl-list.c
67 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
68 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
69 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
70 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
71 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
72 * sysdeps/s390/multiarch/wcslen.c: Move to ...
73 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
74 * sysdeps/s390/ifunc-wcslen.h: New file.
75
89bfcbdf
SL
762018-12-18 Stefan Liebler <stli@linux.ibm.com>
77
78 * sysdeps/s390/multiarch/Makefile
79 (sysdep_routines): Remove memrchr variants.
80 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
81 * sysdeps/s390/multiarch/ifunc-impl-list.c
82 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
83 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
84 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
85 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
86 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
87 * sysdeps/s390/multiarch/memrchr.c: Move to ...
88 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
89 * sysdeps/s390/ifunc-memrchr.h: New file.
90
196655ba
SL
912018-12-18 Stefan Liebler <stli@linux.ibm.com>
92
93 * sysdeps/s390/multiarch/Makefile
94 (sysdep_routines): Remove memccpy variants.
95 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
96 * sysdeps/s390/multiarch/ifunc-impl-list.c
97 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
98 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
99 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
100 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
101 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
102 * sysdeps/s390/multiarch/memccpy.c: Move to ...
103 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
104 * sysdeps/s390/ifunc-memccpy.h: New file.
105
4c7b3cec
SL
1062018-12-18 Stefan Liebler <stli@linux.ibm.com>
107
108 * sysdeps/s390/multiarch/Makefile
109 (sysdep_routines): Remove rawmemchr variants.
110 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
111 * sysdeps/s390/multiarch/ifunc-impl-list.c
112 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
113 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
114 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
115 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
116 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
117 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
118 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
119 * sysdeps/s390/ifunc-rawmemchr.h: New file.
120
581a051c
SL
1212018-12-18 Stefan Liebler <stli@linux.ibm.com>
122
123 * sysdeps/s390/multiarch/Makefile
124 (sysdep_routines): Remove memchr variants.
125 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
126 * sysdeps/s390/multiarch/ifunc-impl-list.c
127 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
128 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
129 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
130 * sysdeps/s390/multiarch/memchr.c: Move to ...
131 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
132 * sysdeps/s390/ifunc-memchr.h: New file.
133 * sysdeps/s390/s390-64/memchr.S: Move to ...
134 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
135 for 31/64bit and ifunc handling.
136 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
137 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
138 * sysdeps/s390/s390-32/memchr.S: Likewise.
139
5d2ec20a
SL
1402018-12-18 Stefan Liebler <stli@linux.ibm.com>
141
142 * sysdeps/s390/multiarch/Makefile
143 (sysdep_routines): Remove strcspn variants.
144 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
145 * sysdeps/s390/multiarch/ifunc-impl-list.c
146 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
147 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
148 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
149 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
150 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
151 * sysdeps/s390/multiarch/strcspn.c: Move to ...
152 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
153 * sysdeps/s390/ifunc-strcspn.h: New file.
154
572cca93
SL
1552018-12-18 Stefan Liebler <stli@linux.ibm.com>
156
157 * sysdeps/s390/multiarch/Makefile
158 (sysdep_routines): Remove strpbrk variants.
159 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
160 * sysdeps/s390/multiarch/ifunc-impl-list.c
161 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
162 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
163 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
164 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
165 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
166 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
167 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
168 * sysdeps/s390/ifunc-strpbrk.h: New file.
169
483fc569
SL
1702018-12-18 Stefan Liebler <stli@linux.ibm.com>
171
172 * sysdeps/s390/multiarch/Makefile
173 (sysdep_routines): Remove strspn variants.
174 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
175 * sysdeps/s390/multiarch/ifunc-impl-list.c
176 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
177 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
178 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
179 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
180 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
181 * sysdeps/s390/multiarch/strspn.c: Move to ...
182 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
183 * sysdeps/s390/ifunc-strspn.h: New file.
184
26ea8760
SL
1852018-12-18 Stefan Liebler <stli@linux.ibm.com>
186
187 * sysdeps/s390/multiarch/Makefile
188 (sysdep_routines): Remove strrchr variants.
189 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
190 * sysdeps/s390/multiarch/ifunc-impl-list.c
191 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
192 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
193 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
194 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
195 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
196 * sysdeps/s390/multiarch/strrchr.c: Move to ...
197 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
198 * sysdeps/s390/ifunc-strrchr.h: New file.
199
a1361e65
SL
2002018-12-18 Stefan Liebler <stli@linux.ibm.com>
201
202 * sysdeps/s390/multiarch/Makefile
203 (sysdep_routines): Remove strchrnul variants.
204 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
205 * sysdeps/s390/multiarch/ifunc-impl-list.c
206 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
207 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
208 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
209 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
210 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
211 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
212 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
213 * sysdeps/s390/ifunc-strchrnul.h: New file.
214
32f12653
SL
2152018-12-18 Stefan Liebler <stli@linux.ibm.com>
216
217 * sysdeps/s390/multiarch/Makefile
218 (sysdep_routines): Remove strchr variants.
219 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
220 * sysdeps/s390/multiarch/ifunc-impl-list.c
221 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
222 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
223 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
224 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
225 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
226 * sysdeps/s390/multiarch/strchr.c: Move to ...
227 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
228 * sysdeps/s390/ifunc-strchr.h: New file.
229
316b8842
SL
2302018-12-18 Stefan Liebler <stli@linux.ibm.com>
231
232 * sysdeps/s390/multiarch/Makefile
233 (sysdep_routines): Remove strncmp variants.
234 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
235 * sysdeps/s390/multiarch/ifunc-impl-list.c
236 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
237 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
238 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
239 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
240 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
241 * sysdeps/s390/multiarch/strncmp.c: Move to ...
242 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
243 * sysdeps/s390/ifunc-strncmp.h: New file.
244
cdab85fe
SL
2452018-12-18 Stefan Liebler <stli@linux.ibm.com>
246
247 * sysdeps/s390/multiarch/Makefile
248 (sysdep_routines): Remove strcmp variants.
249 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
250 * sysdeps/s390/multiarch/ifunc-impl-list.c
251 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
252 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
253 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
254 * sysdeps/s390/multiarch/strcmp.c: Move to ...
255 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
256 * sysdeps/s390/ifunc-strcmp.h: New file.
257 * sysdeps/s390/s390-64/strcmp.S: Move to ...
258 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
259 for 31/64bit and ifunc handling.
260 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
261 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
262 * sysdeps/s390/s390-32/strcmp.S: Likewise.
263
b9353351
SL
2642018-12-18 Stefan Liebler <stli@linux.ibm.com>
265
266 * sysdeps/s390/multiarch/Makefile
267 (sysdep_routines): Remove strncat variants.
268 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
269 * sysdeps/s390/multiarch/ifunc-impl-list.c
270 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
271 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
272 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
273 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
274 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
275 * sysdeps/s390/multiarch/strncat.c: Move to ...
276 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
277 * sysdeps/s390/ifunc-strncat.h: New file.
278
8e5a0afb
SL
2792018-12-18 Stefan Liebler <stli@linux.ibm.com>
280
281 * sysdeps/s390/multiarch/Makefile
282 (sysdep_routines): Remove strcat variants.
283 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
284 * sysdeps/s390/multiarch/ifunc-impl-list.c
285 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
286 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
287 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
288 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
289 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
290 * sysdeps/s390/multiarch/strcat.c: Move to ...
291 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
292 * sysdeps/s390/ifunc-strcat.h: New file.
293
25218822
SL
2942018-12-18 Stefan Liebler <stli@linux.ibm.com>
295
296 * sysdeps/s390/multiarch/Makefile
297 (sysdep_routines): Remove stpncpy variants.
298 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
299 * sysdeps/s390/multiarch/ifunc-impl-list.c
300 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
301 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
302 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
303 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
304 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
305 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
306 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
307 * sysdeps/s390/ifunc-stpncpy.h: New file.
308
d1bdbf38
SL
3092018-12-18 Stefan Liebler <stli@linux.ibm.com>
310
311 * sysdeps/s390/multiarch/Makefile
312 (sysdep_routines): Remove strncpy variants.
313 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
314 * sysdeps/s390/multiarch/ifunc-impl-list.c
315 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
316 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
317 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
318 * sysdeps/s390/multiarch/strncpy.c: Move to ...
319 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
320 * sysdeps/s390/ifunc-strncpy.h: New file.
321 * sysdeps/s390/s390-64/strncpy.S: Move to ...
322 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
323 and adjust ifunc handling.
324 * sysdeps/s390/s390-32/strncpy.S: Move to ...
325 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
326 and adjust ifunc handling.
327 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
328 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
329
97044931
SL
3302018-12-18 Stefan Liebler <stli@linux.ibm.com>
331
332 * sysdeps/s390/multiarch/Makefile
333 (sysdep_routines): Remove stpcpy variants.
334 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
335 * sysdeps/s390/multiarch/ifunc-impl-list.c
336 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
337 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
338 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
339 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
340 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
341 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
342 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
343 * sysdeps/s390/ifunc-stpcpy.h: New file.
344
914a4e05
SL
3452018-12-18 Stefan Liebler <stli@linux.ibm.com>
346
347 * sysdeps/s390/multiarch/Makefile
348 (sysdep_routines): Remove strcpy variants.
349 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
350 * sysdeps/s390/multiarch/ifunc-impl-list.c
351 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
352 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
353 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
354 * sysdeps/s390/multiarch/strcpy.c: Move to ...
355 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
356 * sysdeps/s390/ifunc-strcpy.h: New file.
357 * sysdeps/s390/s390-64/strcpy.S: Move to ...
358 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
359 for 31/64bit and ifunc handling.
360 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
361 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
362 * sysdeps/s390/s390-32/strcpy.S: Likewise.
363
de10e44d
SL
3642018-12-18 Stefan Liebler <stli@linux.ibm.com>
365
366 * sysdeps/s390/multiarch/Makefile
367 (sysdep_routines): Remove strnlen variants.
368 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
369 * sysdeps/s390/multiarch/ifunc-impl-list.c
370 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
371 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
372 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
373 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
374 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
375 * sysdeps/s390/multiarch/strnlen.c: Move to ...
376 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
377 * sysdeps/s390/ifunc-strnlen.h: New file.
378
ff3ca374
SL
3792018-12-18 Stefan Liebler <stli@linux.ibm.com>
380
381 * sysdeps/s390/multiarch/Makefile
382 (sysdep_routines): Remove strlen variants.
383 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
384 * sysdeps/s390/multiarch/ifunc-impl-list.c
385 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
386 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
387 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
388 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
389 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
390 * sysdeps/s390/multiarch/strlen.c: Move to ...
391 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
392 * sysdeps/s390/ifunc-strlen.h: New file.
393
d2c4c403
SL
3942018-12-18 Stefan Liebler <stli@linux.ibm.com>
395
396 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
397 * sysdeps/s390/multiarch/ifunc-impl-list.c
398 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
399 * sysdeps/s390/ifunc-memmem.h: New file.
400 * sysdeps/s390/memmem.c: Likewise.
401 * sysdeps/s390/memmem-c.c: Likewise.
402 * sysdeps/s390/memmem-vx.c: Likewise.
403
8c25dddd
SL
4042018-12-18 Stefan Liebler <stli@linux.ibm.com>
405
406 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
407 * sysdeps/s390/multiarch/ifunc-impl-list.c
408 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
409 * sysdeps/s390/ifunc-strstr.h: New file.
410 * sysdeps/s390/strstr.c: Likewise.
411 * sysdeps/s390/strstr-c.c: Likewise.
412 * sysdeps/s390/strstr-vx.c: Likewise.
413
cdd927d9
SL
4142018-12-18 Stefan Liebler <stli@linux.ibm.com>
415
416 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
417 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
418 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
419 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
420 New defines.
421 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
422 * sysdeps/s390/memmove-c.c: New file.
423 * sysdeps/s390/memmove.c: Likewise.
424 * sysdeps/s390/multiarch/ifunc-impl-list.c
425 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
426
2ee1bc57
SL
4272018-12-18 Stefan Liebler <stli@linux.ibm.com>
428
429 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
430 * sysdeps/s390/configure.ac: Add check for z13 support.
431 * sysdeps/s390/configure: Regenerated.
432
d097d976
SL
4332018-12-18 Stefan Liebler <stli@linux.ibm.com>
434
435 * sysdeps/s390/memcopy.h: New file.
436
e099aab0
SL
4372018-12-18 Stefan Liebler <stli@linux.ibm.com>
438
439 * sysdeps/s390/s390-32/bcopy.S: Remove.
440 * sysdeps/s390/s390-64/bcopy.S: Likewise.
441
18eb862d
SL
4422018-12-18 Stefan Liebler <stli@linux.ibm.com>
443
444 * sysdeps/s390/ifunc-memcpy.h: New File.
445 * sysdeps/s390/memcpy.S: Move to ...
446 * sysdeps/s390/memcpy-z900.S ... here.
447 Move implementations from memcpy-s390x.s to here.
448 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
449 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
450 Remove memcpy/mempcpy variants.
451 * sysdeps/s390/Makefile (sysdep_routines):
452 Add memcpy/mempcpy variants.
453 * sysdeps/s390/multiarch/ifunc-impl-list.c
454 (__libc_ifunc_impl_list): Adjust ifunc variants for
455 memcpy and mempcpy.
456 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
457 to ...
458 * sysdeps/s390/memcpy.c: ... here.
459 Adjust ifunc variants for memcpy.
460 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
461 * sysdeps/s390/mempcpy.c: ... here.
462 Adjust ifunc variants for mempcpy.
463 * sysdeps/s390/mempcpy.S: Delete file.
464
df3eb8de
SL
4652018-12-18 Stefan Liebler <stli@linux.ibm.com>
466
467 * sysdeps/s390/s390-64/memcpy.S: Move to ...
468 * sysdeps/s390/memcpy.S: ... here.
469 Adjust to be usable for 31/64bit.
470 * sysdeps/s390/s390-32/memcpy.S: Delete File.
471 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
472 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
473 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
474 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
475 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
476 Adjust to be usable for 31/64bit.
477 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
478 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
479 * sysdeps/s390/multiarch/memcpy.c: ... here.
480 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
481
b7e024a8
SL
4822018-12-18 Stefan Liebler <stli@linux.ibm.com>
483
484 * sysdeps/s390/ifunc-memcmp.h: New File.
485 * sysdeps/s390/memcmp.S: Move to ...
486 * sysdeps/s390/memcmp-z900.S ... here.
487 Move implementations from memcmp-s390x.s to here.
488 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
489 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
490 Remove memcmp variants.
491 * sysdeps/s390/Makefile (sysdep_routines):
492 Add memcmp variants.
493 * sysdeps/s390/multiarch/ifunc-impl-list.c
494 (__libc_ifunc_impl_list): Adjust ifunc variants for
495 memcmp.
496 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
497 to ...
498 * sysdeps/s390/memcmp.c: ... here.
499 Adjust ifunc variants for memcmp.
500
6c6b8c74
SL
5012018-12-18 Stefan Liebler <stli@linux.ibm.com>
502
503 * sysdeps/s390/s390-64/memcmp.S: Move to ...
504 * sysdeps/s390/memcmp.S: ... here.
505 Adjust to be usable for 31/64bit.
506 * sysdeps/s390/s390-32/memcmp.S: Delete File.
507 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
508 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
509 Remove memcmp.
510 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
511 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
512 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
513 Adjust to be usable for 31/64bit.
514 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
515 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
516 * sysdeps/s390/multiarch/memcmp.c: ... here.
517 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
518
07be3928
SL
5192018-12-18 Stefan Liebler <stli@linux.ibm.com>
520
521 * sysdeps/s390/s390-32/bzero.S: Delete file.
522 * sysdeps/s390/s390-64/bzero.S: Likewise.
523 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
524 * sysdeps/s390/bzero.c: New file.
525 * sysdeps/s390/memset-z900.S: Add bzero entry points.
526 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
527 * sysdeps/s390/multiarch/ifunc-impl-list.c
528 (__libc_ifunc_impl_list): Add bzero ifunc variants.
529
712a254a
SL
5302018-12-18 Stefan Liebler <stli@linux.ibm.com>
531
532 * sysdeps/s390/ifunc-memset.h: New File.
533 * sysdeps/s390/memset.S: Move to ...
534 * sysdeps/s390/memset-z900.S ... here.
535 Move implementations from memset-s390x.s to here.
536 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
537 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
538 Remove memset variants.
539 * sysdeps/s390/Makefile (sysdep_routines):
540 Add memset variants.
541 * sysdeps/s390/multiarch/ifunc-impl-list.c
542 (__libc_ifunc_impl_list): Adjust ifunc variants for
543 memset.
544 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
545 to ...
546 * sysdeps/s390/memset.c: ... here.
547 Adjust ifunc variants for memset.
548
5f1743d1
SL
5492018-12-18 Stefan Liebler <stli@linux.ibm.com>
550
551 * sysdeps/s390/s390-64/memset.S: Move to ...
552 * sysdeps/s390/memset.S: ... here.
553 Adjust to be usable for 31/64bit.
554 * sysdeps/s390/s390-32/memset.S: Delete File.
555 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
556 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
557 Remove memset.
558 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
559 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
560 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
561 Adjust to be usable for 31/64bit.
562 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
563 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
564 * sysdeps/s390/multiarch/memset.c: ... here.
565 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
566
e8023f26
SL
5672018-12-18 Stefan Liebler <stli@linux.ibm.com>
568
569 * sysdeps/s390/multiarch/ifunc-resolve.h
570 (s390_libc_ifunc_init, s390_libc_ifunc,
571 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
572
b8686c0d
SL
5732018-12-18 Stefan Liebler <stli@linux.ibm.com>
574
575 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
576 * sysdeps/s390/configure.ac: Add check for z10 support.
577 * sysdeps/s390/configure: Regenerated.
578
cd815050
L
5792018-12-18 H.J. Lu <hongjiu.lu@intel.com>
580
581 * sysdeps/i386/atomic-machine.h: Merged with ...
582 * sysdeps/x86_64/atomic-machine.h: To ...
583 * sysdeps/x86/atomic-machine.h: This. New file.
584
053c52b1
FW
5852018-12-18 Florian Weimer <fweimer@redhat.com>
586
587 Rewrite locale/gen-translit.pl in Python.
588 * locale/Makefile (generated): Add C-translit.h.
589 (before-compile): Add $(objpfx)C-translit.h.
590 (C-translit.h): Move to $(objpfx). Create target directory.
591 Build using Python script.
592 * locale/gen-translit.py: New file.
593 * locale/gen-translit.pl: Remove file.
594 * locale/C-translit.h.in: Change comment character to '#' for
595 easier parsing without a C preprocessor.
596 * locale/C-translit.h: Remove generated file.
597 * manual/install.texi (Tools for Compilation): Do not mention
598 C-translit.h.
599 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
600 Remove locale/C-translit.h.
601 * scripts/update-copyrights: Likewise.
602 * INSTALL: Regenerate.
603
40e6c1ec
FW
6042018-12-18 Florian Weimer <fweimer@redhat.com>
605
606 [BZ #23995]
607 * localedata/locales/bi_VU: Remove executable bit from file.
608
6e15f3e2
AA
6092018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
610
611 * include/time.h
612 (__localtime64): Add.
613 * manual/maint.texi: Document Y2038 symbol handling.
614 * time/localtime.c
615 (__localtime64): Add.
bfb79db4 616 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
6e15f3e2 617
df648905
JM
6182018-12-17 Joseph Myers <joseph@codesourcery.com>
619
551e81d9
JM
620 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
621 Do not clobber r12.
622
df648905
JM
623 * scripts/glibcextract.py (compare_macro_consts): Take parameters
624 to allow extra macros from first or second sources.
625 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
626 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
627 (tests-special): Add $(objpfx)tst-mman-consts.out.
628 ($(objpfx)tst-mman-consts.out): New makefile target.
629
6bbfc5c0
MH
6302018-12-17 Mao Han <han_mao@c-sky.com>
631
632 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
633 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
634 without stat64 system call support.
635 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
636 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
637 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
638 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
639 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
640 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
641 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
642 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
643 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
644 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
645 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
646
ef202e53
PE
6472018-12-15 Paul Eggert <eggert@cs.ucla.edu>
648
649 regex: fix storage-exhaustion error
650 [BZ #18040]
651 * posix/regexec.c (get_subexp):
652 Do not continue if storage is exhausted.
653
077caf61
AG
6542018-12-15 Assaf Gordon <assafgordon@gmail.com>
655
656 regex: fix heap-use-after-free error
657 [BZ #18040]
658 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
659 https://debbugs.gnu.org/32592
660 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
661 call extend_buffers which reallocates the re_string_t internal buffer.
662 Local variable 'buf' was not updated in such case, resulting in
663 use-after-free.
664 * posix/regexec.c (get_subexp): Update 'buf' after call to
665 get_subexp_sub.
666
0c1719e6
FW
6672018-12-15 Florian Weimer <fweimer@redhat.com>
668
669 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
670 (minimum_stride_size): Use it.
671 (support_blob_repeat_allocate): Likewise.
672
033a2c0a
JM
6732018-12-14 Joseph Myers <joseph@codesourcery.com>
674
675 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
676 definition.
677 (acosh): Likewise.
678 (atanh): Likewise.
679
e361dc04
FW
6802018-12-14 Florian Weimer <fweimer@redhat.com>
681
682 * manual/process.texi (Process Creation Concepts): Remove
683 documentation of process (ID) lifetime. List more process
684 creation functions. Reference Process Identification section.
685 (Process Identification): Add information about process ID
686 lifetime. Describe Linux thread/task IDs.
687 * manual/signal.texi (Signaling Another Process): Mention that the
688 signal is always sent to the process.
689
bd51ff5e
GG
6902018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
691
692 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
693 and tst-ldbl-efgcvt.
694 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
695 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
696 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
697 (fcvt_tests, output_error, output_r_error, do_test): Use the
698 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
699 select the type of floating-point variables and arguments; to
700 produce extra tests for double and conversion specifiers for
701 printf; and to set the names of called functions.
702 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
703 in tst-efgcvt-template.c.
704 * misc/tst-ldbl-efgcvt.c: Likewise.
705
268bb71e
SL
7062018-12-14 Stefan Liebler <stli@linux.ibm.com>
707
708 * nss/Makefile (tst-nss-test3.out): New rule.
709
db6df070
JM
7102018-12-13 Joseph Myers <joseph@codesourcery.com>
711
712 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
713 clobber sp.
714
ade8b817
CD
7152018-12-13 fanjinke <fanjinke@hygon.cn>
716
717 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
718 "HygonGenuine".
719
3d265911
AS
7202018-12-13 Andreas Schwab <schwab@suse.de>
721
f21e8f8c 722 [BZ #23861]
3d265911 723 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
f21e8f8c
AS
724 (__pthread_rwlock_rdlock_full): Update expected value for
725 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
726 * nptl/tst-rwlock-pwn.c: New file.
727 * nptl/Makefile (tests): Add tst-rwlock-pwn.
3d265911 728
bf8ae8c0
JM
7292018-12-12 Joseph Myers <joseph@codesourcery.com>
730
731 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
732 definition.
733
de099757
LS
7342018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
735
736 * benchtests/scripts/compare_bench.py (do_compare): write to
737 stderr in casestat is not present.
738 * benchtests/scripts/compare_bench.py (plot_graphs): write to
739 stderr in case timings field is not present. Also string showing
740 the output filename goes into the stderr.
741
1990185f
LS
7422018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
743
744 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
745 and ZeroDivisorError exceptions.
746 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
747 argument to loop through user provided statistics.
748 * benchtests/scripts/compare_bench.py (main): Include the --stats
749 argument.
750
587426d4
LS
7512018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
752
753 * benchtests/scripts/compare_bench.py (compare_runs): Continue
754 instead of return.
755
46703efa
FW
7562018-12-12 Florian Weimer <fweimer@redhat.com>
757
758 * sysdeps/posix/timespec_get.c: Add missing “any later version”
759 clause to copyright header.
760
1d880d4a
TMQMF
7612018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
762
763 [BZ #23614]
764 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
765 registers saved in the stack frame.
766 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
767 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
768
1a502f52
GG
7692018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
770
771 * include/bits/monetary-ldbl.h: New file.
772 * include/bits/printf-ldbl.h: Likewise.
773 * include/bits/stdio-ldbl.h: Likewise.
774 * include/bits/stdlib-ldbl.h: Likewise.
775 * include/bits/syslog-ldbl.h: Likewise.
776 * include/bits/wchar-ldbl.h: Likewise.
777
df682d1d
GG
7782018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
779
780 * libio/libio.h: Remove redirection for _IO_vfprintf.
781
c2c082c1
AS
7822018-12-11 Andreas Schwab <schwab@suse.de>
783
784 * Makerules: Remove all references to abilist-pattern.
785 (update-all-abi): Simplify find expression.
786
505b5b29
SN
7872018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
788
789 [BZ #23961]
790 * math/auto-libm-test-in: Add new test case.
791 * math/auto-libm-test-out-pow: Regenerated.
792 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
793
304c61a2
DD
7942018-12-10 DJ Delorie <dj@redhat.com>
795
796 [BZ #23948]
797 * support/test-container.c: Move postclean step to before we
798 change namespaces.
799
a8110b72
JM
8002018-12-10 Joseph Myers <joseph@codesourcery.com>
801
cb7be159
JM
802 * scripts/gen-as-const.py (main): Handle --python option.
803 * scripts/gen-py-const.awk: Remove.
804 * Makerules (py-const-script): Use gen-as-const.py.
805 ($(py-const)): Likewise.
806 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
807 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
808 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
809 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
810 ~PTHREAD_MUTEX_NO_ELISION_NP.
811 * manual/README.pretty-printers: Update reference to
812 gen-py-const.awk.
813
a8110b72
JM
814 * scripts/glibcextract.py: New file.
815 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
816 or tempfile. Import glibcexctract.
817 (compute_c_consts): Remove. Moved to glibcextract.py.
818 (gen_test): Update reference to compute_c_consts.
819 (main): Likewise.
820 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
821 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
822 * sysdeps/unix/sysv/linux/Makefile
823 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
824 Redirect stderr as well as stdout.
825
f9ba9eb8
RÁE
8262018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
827
828 [BZ #19767]
829 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
830 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
831 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
832 ALWAYS_USE_VSYSCALL.
833 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
834 ALWAYS_USE_VSYSCALL.
835 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
836 ALWAYS_USE_VSYSCALL.
837
8d20a2f4
FW
8382018-12-10 Florian Weimer <fweimer@redhat.com>
839
840 [BZ #23972]
841 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
842 offset instead of count for clarity. Fix typo in comment.
843 (__old_getdents64): Keep track of previous offset. Use it to call
844 handle_overflow.
845 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
846 that d_off is never zero.
847
80472e2f
AS
8482018-12-10 Andreas Schwab <schwab@suse.de>
849
850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
851 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
853 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
854 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
855
0afcb29d
JM
8562018-12-10 Joseph Myers <joseph@codesourcery.com>
857
858 * timezone/private.h: Update from tzcode 2018g.
859 * timezone/tzfile.h: Likewise.
860 * timezone/tzselect.ksh: Likewise.
861 * timezone/zdump.c: Likewise.
862 * timezone/zic.c: Likewise.
863
b93f4052
PP
8642018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
865
866 [BZ #23490]
867 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
868 (do_test): Adjust buffer size and fix format.
869
7c9a7c68
DD
8702018-12-07 DJ Delorie <dj@redhat.com>
871
872 [BZ #23907]
873 * malloc/tst-tcfree3.c: New.
874 * malloc/Makefile: Add it.
875
37caec3a
L
8762018-12-07 H.J. Lu <hongjiu.lu@intel.com>
877
878 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
879
10446f5d
GG
8802018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
881
882 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
883 used as a mask for the mode argument of __vfscanf_internal and
884 __vfwscanf_internal.
885 * stdio-common/vfscanf-internal.c
886 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
887 (__strtof128_internal): Define to __wcstof128_internal.
888 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
889 __strtof128_internal or __wcstof128_internal when the format of
890 long double is the same as _Float128.
891
45f33aac
ST
8922018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
893
894 * include/unistd.h (__confstr): Add prototype and hidden prototype.
895 * posix/confstr.c (confstr): Rename to __confstr.
896 (__confstr): Add hidden def.
897 (confstr): Add weak alias for __confstr.
898 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
899 confstr.
900
a092ca94
L
9012018-12-07 H.J. Lu <hongjiu.lu@intel.com>
902
903 * NEWS: Mention getcpu.
904 * include/sched.h (__getcpu): New libc_hidden_proto.
905 * manual/resource.texi: Document getcpu.
906 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
907 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
908 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
909 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
910 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
911 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
912 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
913 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
914 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
915 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
916 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
917 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
918 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
919 Likewise.
920 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
921 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
922 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
924 Likewise.
925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
926 Likewise.
927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
928 Likewise.
929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
930 Likewise.
931 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
932 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
933 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
934 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
935 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
936 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
937 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
938 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
939 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
940 * sysdeps/unix/sysv/linux/getcpu.c: New file.
941 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
942 Also check getcpu.
943
7c857b6f
ST
9442018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
945
946 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
947 functions.
948 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
949
3a3fb755
FW
9502018-12-07 Florian Weimer <fweimer@redhat.com>
951
952 [BZ #17405]
953 * posix/Makefile (routines): Add spawn_faction_addfchdir.
954 * posix/Versions (GLIBC_2.29): Export
955 posix_spawn_file_actions_addfchdir_np.
956 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
957 * posix/spawn_faction_destroy.c
958 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
959 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
960 and the field action.fchdir_action.
961 * posix/tst-spawn-chdir.c (add_chdir): New function.
962 (do_test): Add do_fchdir loop. Call add_chdir.
963 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
964 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
965 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
966 posix_spawn_file_actions_addfchdir_np.
967 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
968 Likewise.
969 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
970 Likewise.
971 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
972 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
973 Likewise.
974 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
975 Likewise.
976 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
977 Likewise.
978 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
979 Likewise.
980 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
981 Likewise.
982 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
983 Likewise.
984 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
985 (GLIBC_2.29): Likewise.
986 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
987 (GLIBC_2.29): Likewise.
988 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
989 (GLIBC_2.29): Likewise.
990 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
991 (GLIBC_2.29): Likewise.
992 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
993 Likewise.
994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
995 (GLIBC_2.29): Likewise.
996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
997 (GLIBC_2.29): Likewise.
998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
999 (GLIBC_2.29): Likewise.
1000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
1001 (GLIBC_2.29): Likewise.
1002 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
1003 Likewise.
1004 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
1005 Likewise.
1006 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
1007 Likewise.
1008 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
1009 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
1010 Likewise.
1011 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
1012 Likewise.
1013 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
1014 Likewise.
1015 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
1016 Likewise.
1017
c37cd439
JM
10182018-12-06 Joseph Myers <joseph@codesourcery.com>
1019
1020 * manual/texinfo.tex: Update to version 2018-09-21.20 with
1021 trailing whitespace removed.
1022 * scripts/config.guess: Update to version 2018-11-28.
1023 * scripts/config.sub: Update to version 2018-11-28.
1024 * scripts/install-sh: Update to version 2018-03-11.20.
1025 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
1026 * scripts/move-if-change: Update to version 2018-03-07 03:47.
1027
899478c2
FW
10282018-12-07 Florian Weimer <fweimer@redhat.com>
1029
1030 [BZ #23927]
1031 CVE-2018-19591
1032 * inet/tst-if_index-long.c: New file.
1033 * inet/Makefile (tests): Add tst-if_index-long.
1034
f255336a
FW
10352018-12-07 Florian Weimer <fweimer@redhat.com>
1036
1037 * support/check.h (support_record_failure_is_failed): Declare.
1038 * support/descriptors.h: New file.
1039 * support/support_descriptors.c: Likewise.
1040 * support/tst-support_descriptors.c: Likewise.
1041 * support/support_record_failure.c
1042 (support_record_failure_is_failed): New function.
1043 * support/Makefile (libsupport-routines): Add support_descriptors.
1044 (tests): Add tst-support_descriptors.
1045
35caceb1
ZW
10462018-12-05 Zack Weinberg <zackw@panix.com>
1047 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1048
1049 * stdio-common/vfprintf-internal.c
1050 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
1051 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
1052 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
1053 and __no_long_double.
1054 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
1055 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
1056 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
1057 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
1058 and __nldbl_*syslog* functions.
1059 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
1060 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
1061 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
1062 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
1063 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
1064 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
1065 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
1066 (__nldbl_vwprintf, __nldbl_wprintf):
1067 Directly call the appropriate __v*printf_internal routine, passing
1068 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
1069 variable names.
1070 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
1071 (__nldbl___printf_chk, __nldbl___snprintf_chk)
1072 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
1073 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
1074 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
1075 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
1076 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
1077 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
1078 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
1079 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
1080 Likewise, and also pass PRINTF_FORTIFY when appropriate.
1081 (__nldbl_syslog, __nldbl_vsyslog):
1082 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
1083 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
1084 appropriate.
1085 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
1086 appropriate.
1087
4e2f43f8
ZW
10882018-12-05 Zack Weinberg <zackw@panix.com>
1089 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1090
1091 [BZ #11319]
1092 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
1093 Moved here from debug/vsprintf_chk.c.
1094 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
1095 and completion logic for the strfile to match exactly what
1096 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
1097 _IO_str_init_static_internal instead of maxlen-1.
1098 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
1099 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
1100 __vsprintf_internal.
1101
1102 * debug/vsprintf_chk.c (__vsprintf_chk)
1103 * debug/sprintf_chk.c (__sprintf_chk):
1104 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
1105 'flags' argument is positive, and slen as maxlen. No need to lock
1106 the FILE and/or construct a temporary FILE. Minimize and normalize
1107 header inclusions and variable names. Do not libc_hidden_def anything.
1108
1109 * debug/asprintf_chk.c (__asprintf_chk)
1110 * debug/dprintf_chk.c (__dprintf_chk)
1111 * debug/fprintf_chk.c (__fprintf_chk)
1112 * debug/fwprintf_chk.c (__fwprintf_chk)
1113 * debug/printf_chk.c (__printf_chk)
1114 * debug/snprintf_chk.c (__snprintf_chk)
1115 * debug/swprintf_chk.c (__swprintf_chk)
1116 * debug/vasprintf_chk.c (__vasprintf_chk)
1117 * debug/vdprintf_chk.c (__vdprintf_chk)
1118 * debug/vfprintf_chk.c (__vfprintf_chk)
1119 * debug/vfwprintf_chk.c (__vfwprintf_chk)
1120 * debug/vprintf_chk.c (__vprintf_chk)
1121 * debug/vsnprintf_chk.c (__vsnprintf_chk)
1122 * debug/vswprintf_chk.c (__vswprintf_chk)
1123 * debug/vwprintf_chk.c (__vwprintf_chk)
1124 * debug/wprintf_chk.c (__wprintf_chk):
1125 Directly call the corresponding vxxprintf_internal function, passing
1126 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
1127 the FILE and/or construct a temporary FILE. Minimize and normalize
1128 header inclusions and variable names. Do not libc_hidden_def anything.
1129
1130 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
1131 __obstack_vprintf_internal.
1132 (__obstack_vprintf_chk): Convert into a wrapper that calls
1133 __obstack_vprintf_internal (these two functions already had the
1134 same code) and move to new file...
1135 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
1136 file.
1137 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
1138 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
1139 * debug/Makefile (routines): Add vobprintf_chk.
1140
1141 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
1142 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
1143 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
1144 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
1145 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
1146 (__nldbl___obstack_vfprintf_chk):
1147 Directly call the corresponding vxxprintf_internal function,
1148 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
1149 duplicate comparison of slen with 0 or maxlen from the corresponding
1150 non-__nldbl function.
1151
1152 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
1153 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
1154 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
1155 Remove libc_hidden_proto.
1156
1157 * stdio-common/vfprintf-internal.c
1158 (__vfprintf_internal, __vfwprintf_internal):
1159 Do not check _IO_FLAGS2_FORTIFY.
1160 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
1161 * libio/libioP.h: Update prototype of __vsprintf_internal and add
1162 a comment explaining why it has the maxlen argument.
1163 (_IO_acquire_lock_clear_flags2_fct): Remove.
1164 (_IO_acquire_lock_clear_flags2): Remove.
1165 (_IO_release_lock): Remove conditional statement which will
1166 now never execute.
1167 (_IO_acquire_lock): Remove variable which is now unused.
1168 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
1169 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
1170
1171 * stdio-common/Makefile (tests): Add tst-bz11319 and
1172 tst-bz11319-fortify2.
1173 (CFLAGS-tst-bz11319-fortify2.c): New macro.
1174 * stdio-common/tst-bz11319-fortify2.c: New file.
1175 * stdio-common/tst-bz11319.c: Likewise.
1176
124fc732
ZW
11772018-12-05 Zack Weinberg <zackw@panix.com>
1178 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1179
1180 * misc/syslog.c: Include libioP.h, not iolibio.h.
1181 (__vsyslog_internal): New function with the former body of
1182 __vsyslog_chk; takes mode_flags argument same as
1183 __v*printf_internal. Call __vfprintf_internal directly.
1184
1185 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
1186 Remove libc_hidden_def.
1187 (__syslog, __syslog_chk): Use __vsyslog_internal.
1188 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
1189
1190 * include/sys/syslog.h: Add multiple inclusion guard.
1191 Add prototype for __vsyslog_internal.
1192 Remove declaration and libc_hidden_proto for __vsyslog_chk.
1193
1194 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
1195 Use __vsyslog_internal.
1196
698fb75b
ZW
11972018-12-05 Zack Weinberg <zackw@panix.com>
1198 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1199
1200 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
1201 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
1202 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
1203 New functions.
1204 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
1205 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
1206
1207 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
1208 Include wctype.h here if COMPILE_WPRINTF is defined.
1209 Define __vfprintf_internal or __vfwprintf_internal, depending
1210 on COMPILE_WPRINTF.
1211 Temporarily, on entry to this function, update mode_flags
1212 according to the environmental settings corresponding to
1213 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
1214 Throughout, check mode_flags instead of __ldbl_is_dbl and
1215 _IO_FLAGS2_FORTIFY on the destination FILE.
1216 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
1217 Include vfprintf-internal.c. Don't include wctype.h.
1218 * stdio-common/vfprintf.c: New file. Just define __vfprintf
1219 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
1220 and vfprintf.
1221 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
1222 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
1223 and vfwprintf.
1224 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
1225
1226 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
1227 and add mode_flags argument; use __vfprintf_internal.
1228 (__vdprintf): New function. Alias vdprintf to this.
1229 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
1230 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
1231 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
1232 (__obstack_printf): Use __obstack_printf_internal.
1233 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
1234 public aliases __vsnprintf and vsnprintf.
1235 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
1236 called internally.
1237 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
1238 public aliases _IO_vsprintf and vsprintf.
1239 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
1240 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
1241 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
1242 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
1243 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
1244
1245 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
1246 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
1247 * stdio-common/fprintf.c, stdio-common/fxprintf.c
1248 * stdio-common/printf.c: Use __vfprintf_internal.
1249
1250 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
1251 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
1252 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
1253
1254 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
1255 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
1256 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
1257 __vfwprintf_internal.
1258
1259 * libio/libio.h: Remove libc_hidden_proto and declaration for
1260 _IO_vfprintf.
1261 Remove declaration of _IO_vfwprintf.
1262 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
1263 _IO_vsprintf.
1264 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
1265 _IO_obstack_printf.
1266 * include/stdio.h: Add prototype for __vasprintf.
1267 (__vsnprintf): Remove declaration, because there are no more
1268 internal calls.
1269 * include/wchar.h (__vfwprintf, __vswprintf): Remove
1270 declaration, because there are no more internal calls.
1271
1272 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
1273 __vsnprintf_internal, instead of _IO_vsnprintf.
1274 * argp/argp-help.c (__argp_error, __argp_failure): Use
1275 __vasprintf_internal, instead of _IO_vasprintf.
1276 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
1277 redefine, because there are no more internal calls.
1278
d91798b3
ZW
12792018-12-05 Zack Weinberg <zackw@panix.com>
1280 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1281
1282 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
1283 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
1284 Include libio/strfile.h instead of libioP.h.
1285 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
1286 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
1287 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
1288 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
1289 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
1290 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
1291 necessary. Do not set __no_long_double. Normalize variable names.
1292 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
1293 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
1294 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
1295 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
1296 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
1297 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
1298 Call __vfscanf_internal / __vfwscanf_internal directly, passing
1299 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
1300 Do not set __no_long_double. Normalize variable names.
1301
b87eb3f8
ZW
13022018-12-05 Zack Weinberg <zackw@panix.com>
1303 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1304
1305 * stdio-common/isoc99_scanf.c
1306 * stdio-common/isoc99_fscanf.c
1307 * stdio-common/isoc99_sscanf.c
1308 * stdio-common/isoc99_vscanf.c
1309 * stdio-common/isoc99_vfscanf.c
1310 * stdio-common/isoc99_vsscanf.c
1311 * wcsmbs/isoc99_wscanf.c
1312 * wcsmbs/isoc99_fwscanf.c
1313 * wcsmbs/isoc99_swscanf.c
1314 * wcsmbs/isoc99_vwscanf.c
1315 * wcsmbs/isoc99_vfwscanf.c
1316 * wcsmbs/isoc99_vswscanf.c:
1317 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
1318 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
1319 No need to lock and unlock the FILE passed to that function.
1320
1321 * stdio-common/vfscanf-internal.c
1322 (__vfscanf_internal, __vfwscanf_internal):
1323 Don't look at _IO_FLAGS2_SCANF_STD.
1324 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
1325 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
1326 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
1327
349718d4
ZW
13282018-12-05 Zack Weinberg <zackw@panix.com>
1329 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1330
1331 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
1332 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
1333 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
1334 * libio/strfile.h: Add multiple inclusion guard.
1335 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
1336
1337 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
1338 consistency with the other version of this file.
1339 (ldbl_compat_symbol): New macro.
1340 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
1341 New macro.
1342
1343 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
1344 Define __vfscanf_internal or __vfwscanf_internal, depending on
1345 COMPILE_WSCANF; don't define any other public symbols.
1346 Remove errval and code to set errp.
1347 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
1348 as the mode_flags argument.
1349 (encode_error, conv_error, input_error): Don't set errval.
1350 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
1351 Include vfscanf-internal.c.
1352 * stdio-common/vfscanf.c: New file defining the public entry
1353 point vfscanf, which calls __vfscanf_internal.
1354 * stdio-common/vfwscanf.c: New file defining the public entry
1355 point vfwscanf, which calls __vfwscanf_internal.
1356
1357 * stdio-common/iovfscanf.c: New file.
1358 * stdio-common/iovfwscanf.c: Likewise.
1359
1360 * stdio-common/Makefile (routines): Add vfscanf-internal,
1361 vfwscanf-internal, iovfscanf, iovfwscanf.
1362 * stdio-common/Versions: Mention GLIBC_2.29, so that
1363 it can be used in SHLIB_COMPAT expressions.
1364 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
1365 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
1366 Call __vfscanf_internal, instead of _IO_vfscanf.
1367 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
1368 _IO_vfscanf.
1369 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
1370 _IO_vfwscanf.
1371
1372 * libio/iovsscanf.c: Clean up includes, when possible. Use
1373 _IO_strfile_read or _IO_strfile_readw, when needed. Call
1374 __vfscanf_internal or __vfwscanf_internal directly.
1375 * libio/iovswscanf.c: Likewise.
1376 * libio/swscanf.c: Likewise.
1377 * libio/vscanf.c: Likewise.
1378 * libio/vwscanf.c: Likewise.
1379 * libio/wscanf.c: Likewise.
1380 * stdio-common/isoc99_fscanf.c: Likewise.
1381 * stdio-common/isoc99_scanf.c: Likewise.
1382 * stdio-common/isoc99_sscanf.c: Likewise.
1383 * stdio-common/isoc99_vfscanf.c: Likewise.
1384 * stdio-common/isoc99_vscanf.c: Likewise.
1385 * stdio-common/isoc99_vsscanf.c: Likewise.
1386 * stdio-common/scanf.c: Likewise.
1387 * stdio-common/sscanf.c: Likewise.
1388 * wcsmbs/isoc99_fwscanf.c: Likewise.
1389 * wcsmbs/isoc99_swscanf.c: Likewise.
1390 * wcsmbs/isoc99_vfwscanf.c: Likewise.
1391 * wcsmbs/isoc99_vswscanf.c: Likewise.
1392 * wcsmbs/isoc99_vwscanf.c: Likewise.
1393 * wcsmbs/isoc99_wscanf.c: Likewise.
1394
72b8692d
AA
13952018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
1396
1397 * include/time.h
1398 (__tz_compute): Replace time_t with __time64_t.
1399 (__tz_convert): Replace time_t* with __time64_t.
1400 (__offtime): Replace time_t* with __time64_t.
1401 * time/gmtime.c
1402 (__gmtime_r): Adjust call to __tz_convert.
1403 (gmtime): Likewise.
1404 * time/localtime.c
1405 (__localtime_r): Likewise.
1406 (localtime): Likewise.
1407 * time/offtime.c: Replace time_t with __time64_t.
1408 * time/tzset.c: Likewise.
1409
bd598da9
JM
14102018-12-04 Joseph Myers <joseph@codesourcery.com>
1411
1412 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
1413 dynamic linker unless [$(run-built-tests) = yes].
1414
b2e93de0
DD
14152018-12-03 DJ Delorie <dj@delorie.com>
1416
1417 * support/test-container.c (check_for_unshare_hints): New.
1418 (main): Call it if unshare fails. Add support for "su" scriptlet
1419 command.
1420
477a02f6
JM
14212018-12-03 Joseph Myers <joseph@codesourcery.com>
1422
1423 * scripts/gen-as-const.py (compute_c_consts): Take an argument
1424 'START' to indicate that start text should be output.
1425 (gen_test): Likewise.
1426 (main): Generate 'START' for first symbol or '--' line, or at end
1427 of input if not previously generated.
1428
6af956e5
RÁE
14292018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
1430
1431 [BZ #19767]
1432 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
1433 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
1434 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
1435 ALWAYS_USE_VSYSCALL.
1436
f5ec0ea9
AZ
14372018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1438
1439 [BZ #23913]
1440 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
1441 new_argv by one.
1442
8cebd4ff
CD
14432018-12-03 Carlos O'Donell <carlos@redhat.com>
1444
1445 [BZ #23923]
1446 * locale/programs/localedef.c: Declare boolean hard_links default true.
1447 (options): Add --no-hard-links option.
1448 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
1449 * locale/programs/localedef.h: Declare prototype for hard_links.
1450 * locale/programs/locfile.c (write_locale_data): Don't use hard
1451 links if hard_links is false.
1452
c22e4c2a
L
14532018-12-03 H.J. Lu <hongjiu.lu@intel.com>
1454
1455 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
1456 cpu_features_basic.
1457 (__cache_sysconf): Likewise.
1458 (init_cacheinfo): Likewise.
1459 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
1460 populate COMMON_CPUID_INDEX_80000007 and
1461 COMMON_CPUID_INDEX_80000008.
1462 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
1463 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
1464 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
1465 (init_cpu_features): Use _Static_assert on
1466 index_arch_Fast_Unaligned_Load.
1467 __get_cpuid_registers and __get_arch_feature. Updated for
1468 cpu_features_basic. Set stepping in cpu_features.
1469 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
1470 (FEATURE_INDEX_2): New.
1471 (FEATURE_INDEX_MAX): Changed to enum.
1472 (COMMON_CPUID_INDEX_D_ECX_1): New.
1473 (COMMON_CPUID_INDEX_80000007): Likewise.
1474 (COMMON_CPUID_INDEX_80000008): Likewise.
1475 (cpuid_registers): Likewise.
1476 (cpu_features_basic): Likewise.
1477 (CPU_FEATURE_USABLE): Likewise.
1478 (bit_arch_XXX_Usable): Likewise.
1479 (cpu_features): Use cpuid_registers and cpu_features_basic.
1480 (bit_arch_XXX): Reweritten.
1481 (bit_cpu_XXX): Likewise.
1482 (index_cpu_XXX): Likewise.
1483 (reg_XXX): Likewise.
1484 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
1485 <support/check.h>.
1486 (CHECK_CPU_FEATURE): New.
1487 (CHECK_CPU_FEATURE_USABLE): Likewise.
1488 (cpu_kinds): Likewise.
1489 (do_test): Print vendor, family, model and stepping. Check
1490 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
1491 (TEST_FUNCTION): Removed.
1492 Include <support/test-driver.c> instead of
1493 "../../test-skeleton.c".
1494 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
1495 Check POPCNT instead of POPCOUNT.
1496 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
1497
7b36d26b
ST
14982018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
1499
1500 * scripts/gen-as-const.py (main): Avoid emitting empty line when
1501 there is no element in `consts'.
1502
02cd5c1a
FW
15032018-12-01 Florian Weimer <fweimer@redhat.com>
1504
1505 * support/support_capture_subprocess.c
1506 (support_capture_subprocess): Check that pipe descriptors have
1507 expected values. Close original pipe descriptors in subprocess.
1508
fc493bc9
ST
15092018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
1510
1511 [BZ #23032]
1512 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
1513 attr with __pthread_default_barrierattr.
1514 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
1515 attr with __pthread_default_condattr.
1516 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
1517 attr with __pthread_default_mutexattr.
1518 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
1519 attr with __pthread_default_rwlockattr.
1520
6310e6be
KW
15212018-12-01 Kemi Wang <kemi.wang@intel.com>
1522
1523 * manual/tunables.texi (POSIX Thread Tunables): New node.
1524 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
1525 * nptl/nptl-init.c: Include pthread_mutex_conf.h
1526 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
1527 __pthread_tunables_init.
1528 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
1529 (max_adaptive_count): Define.
1530 * nptl/pthread_mutex_conf.c: New file.
1531 * nptl/pthread_mutex_conf.h: New file.
1532 * sysdeps/generic/adaptive_spin_count.h: New file.
1533 * sysdeps/nptl/dl-tunables.list: New file.
1534 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
1535 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
1536 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
1537 Likewise.
1538
8e67b39e
PP
15392018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
1540
1541 [BZ #20544]
1542 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
1543 * stdlib/on_exit.c (__on_exit): Likewise.
1544 * stdlib/Makefile (tests): Add tst-bz20544.
1545 * stdlib/tst-bz20544.c: New test.
1546
15b8d67e
RÁE
15472018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
1548
1549 [BZ #19767]
1550 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
1551 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
1552 New.
1553
5e63c240
FW
15542018-11-30 Florian Weimer <fweimer@redhat.com>
1555
1556 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
1557 Extend error logging.
1558 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
1559 symbol.
1560
71058602 15612018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14d0e87d 1562
5fb7fc96
AZ
1563 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
1564 __sigismember instead of sigismember.
1565 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
1566 cancel_handler): New definitions.
1567 (do_system): Use posix_spawn instead of fork and execl and remove
1568 reentracy code.
1569 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
1570 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
1571 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
1572 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
1573 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
1574 * sysdeps/unix/sysv/linux/system.c: Likewise.
1575
14d0e87d
AZ
1576 [BZ #22834]
1577 [BZ #17490]
1578 * NEWS: Add new semantic for atfork with popen and system.
1579 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
1580 fork and execl.
1581
e5d262ef
TMQMF
15822018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1583
1584 [BZ #23690]
1585 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
1586 modification order when accessing reloc_result->addr.
1587 * include/link.h (reloc_result): Add field init.
1588 * nptl/Makefile (tests): Add tst-audit-threads.
1589 (modules-names): Add tst-audit-threads-mod1 and
1590 tst-audit-threads-mod2.
1591 Add rules to build tst-audit-threads.
1592 * nptl/tst-audit-threads-mod1.c: New file.
1593 * nptl/tst-audit-threads-mod2.c: Likewise.
1594 * nptl/tst-audit-threads.c: Likewise.
1595 * nptl/tst-audit-threads.h: Likewise.
1596
7e1d4240
JM
15972018-11-30 Joseph Myers <joseph@codesourcery.com>
1598
1599 * scripts/gen-as-const.py: New file.
1600 * scripts/gen-as-const.awk: Remove.
1601 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
1602 gen-as-const.py.
1603 ($(objpfx)test-as-const-%.c): Likewise.
1604
ce7387cc
L
16052018-11-29 H.J. Lu <hongjiu.lu@intel.com>
1606
1607 * elf/dl-exception.c: Include <_itoa.h>.
1608
c6a5bdc1
ST
16092018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
1610
1611 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
1612 returned by __f_setlk.
1613
a5275ba5
L
16142018-11-29 H.J. Lu <hongjiu.lu@intel.com>
1615 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1616
1617 * elf/Makefile (tests-internal): Add tst-create_format1.
1618 * elf/dl-exception.c (_dl_exception_create_format): Support
1619 %x, %lx and %zx.
1620 * elf/tst-create_format1.c: New file.
1621
3a67e81d
CAC
16222018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
1623
1624 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
1625 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
1626 gnulib.)
1627 * argp/argp-help.c (__argp_failure): Likewise.
1628
4975f0c3
MH
16292018-11-29 Mao Han <han_mao@c-sky.com>
1630
1631 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
1632 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
1633 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
1634 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
1635 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
1636 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
1637 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
1638 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
1639 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
1640 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
1641 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
1642 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
1643 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
1644 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
1645 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
1646 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
1647 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
1648 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
1649 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
1650 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
1651 (R_CKCORE_TLS_TPOFF32): New defines.
1652
250102c8
FW
16532018-11-29 Florian Weimer <fweimer@redhat.com>
1654
1655 * posix/Makefile (before-compile): Remove testcases.h and
1656 ptestcases.h.
1657 (generated): Add testcases.h and ptestcases.h.
1658 (testcases.h, ptestcases.h): Move to $(objpfx).
1659 (runtests.o): Add dependency on testcases.h.
1660 (runptests.o): Add dependency on ptestcases.h.
1661 * posix/testcases.h, posix/ptestcases.h: Remove files.
1662 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
1663 not touch posix/testcases.h and posix/ptestcases.h.
1664
96cd0558
FW
16652018-11-28 Florian Weimer <fweimer@redhat.com>
1666
1667 support: Add signal support to support_capture_subprocess_check.
1668 * support/capture_subprocess.h (support_capture_subprocess_check):
1669 Adjust comment and rename parameter.
1670 * support/support_capture_subprocess_check.c
1671 (print_actual_status): New function.
1672 (support_capture_subprocess_check): Support negative
1673 status_or_signal. Call print_actual_status.
1674 * support/tst-support_capture_subprocess.c (do_test): Call
1675 support_capture_subprocess_check.
1676 * libio/tst-vtables-common.c (termination_status)
1677 (init_termination_status): Remove.
1678 (check_for_termination): Adjust support_capture_subprocess_check
1679 call.
1680 (do_test): Remove call to init_termination_status.
1681
530504e3
JM
16822018-11-28 Joseph Myers <joseph@codesourcery.com>
1683
1684 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
1685 source directory instead of a copy.
1686 (CommandList.create_copy_dir): Remove.
1687
9a0b6970
SL
16882018-11-28 Stefan Liebler <stli@linux.ibm.com>
1689
1690 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1691
47d8d9a2
FW
16922018-11-28 Florian Weimer <fweimer@redhat.com>
1693
1694 * support/support.h (support_quote_string): Do not use str
1695 parameter name.
1696
b473b7d8
JM
16972018-11-27 Joseph Myers <joseph@codesourcery.com>
1698
1699 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
1700 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
1701
c74a91de
FW
17022018-11-27 Florian Weimer <fweimer@redhat.com>
1703
1704 * support/support.h (support_quote_string): Declare.
1705 * support/support_quote_string.c: New file.
1706 * support/tst-support_quote_string.c: Likewise.
1707 * support/Makefile (libsupport-routines): Add
1708 support_quote_string.
1709 (tests): Add tst-support_quote_string.
1710
d527c860
FW
17112018-11-27 Florian Weimer <fweimer@redhat.com>
1712
1713 [BZ #23927]
1714 CVE-2018-19591
1715 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
1716 descriptor leak in case of ENODEV error.
1717
979cfed0
RÁE
17182018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
1719
1720 [BZ #19767]
1721 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
1722 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
1723 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
1724
ce035c6e
CD
17252018-11-26 Carlos O'Donell <carlos@redhat.com>
1726
1727 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
1728 Error for unknown lines.
1729
2bd0bfcc
JM
17302018-11-26 Joseph Myers <joseph@codesourcery.com>
1731
1732 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
1733 Touch additional files.
1734
affec03b
FW
17352018-11-26 Florian Weimer <fweimer@redhat.com>
1736
1737 [BZ #23907]
1738 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
1739 double-frees.
1740
8ae74ead
RÁE
17412018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
1742
1743 [BZ #19767]
1744 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
1745 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
1746 SHARED. Include sysdep.h.
1747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
1748 ALWAYS_USE_VSYSCALL.
1749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
1750 ALWAYS_USE_VSYSCALL.
1751
1e8bdc3a
RÁE
17522018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
1753
1754 [BZ #19767]
1755 * nptl/Makefile (tests-static): Add tst-cond11-static.
1756 (tests): Likewise.
1757 * nptl/tst-cond11-static.c: New File.
1758 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
1759 tst-affinity-static.
1760 (tests): Likewise.
1761 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
1762 instead of SHARED.
1763 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
1764 (USE_VSYSCALL): Likewise.
1765 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
1766 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
1767 instead of SHARED.
1768 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
1769 SHARED.
1770 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
1771 New.
1772
1283c478
JM
17732018-11-23 Joseph Myers <joseph@codesourcery.com>
1774
1775 [BZ #23915]
1776 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1777 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
1778 Undefine.
1779
c089fd80
L
17802018-11-23 H.J. Lu <hongjiu.lu@intel.com>
1781
1782 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
1783 (tst-cet-legacy-1a-ARGS): New.
1784 ($(objpfx)tst-cet-legacy-1a): New target.
1785 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
1786
cc6c89fa
JM
17872018-11-22 Joseph Myers <joseph@codesourcery.com>
1788
95edd05c
JM
1789 * conform/conformtest.py (CompileSubTest.__init__): Set
1790 self.run_early to False.
1791 (ExecuteSubTest.__init__): Likewise.
1792 (HeaderTests.run): Try running all non-optional, non-XFAILed
1793 compilation tests in a single execution of the compiler.
1794
cc6c89fa
JM
1795 * conform/conformtest.py (CompileSubTest): New class.
1796 (ExecuteSubTest): Likewise.
1797 (ElementTest.run): Rename to gen_subtests. Append tests to
1798 self.subtests instead of running them.
1799 (ConstantTest.run): Likewise.
1800 (SymbolTest.run): Likewise.
1801 (TypeTest.run): Likewise.
1802 (TagTest.run): Likewise.
1803 (FunctionTest.run): Likewise.
1804 (VariableTest.run): Likewise.
1805 (MacroFunctionTest.run): Likewise.
1806 (MacroStrTest.run): Likewise.
1807 (HeaderTests.handle_test_line): Generate subtests for tests.
1808 (HeaderTests.run): Run subtests for tests.
1809
a502c529
SN
18102018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1811
1812 * math/Versions (GLIBC_2.29): Add pow.
1813 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
1814 symbol.
1815 * math/w_pow.c: New file.
1816 * sysdeps/i386/fpu/w_pow.c: New file.
1817 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
1818 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
1819 and add necessary aliases.
1820 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
1821 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
1822 * sysdeps/mach/hurd/i386/libm.abilist: Update.
1823 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
1824 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
1825 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
1826 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
1827 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
1828 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
1829 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
1830 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
1831 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
1832 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
1833 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
1834 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
1835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
1836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
1837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
1838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
1839 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
1840 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
1841 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
1842 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
1843 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
1844 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
1845 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
1846 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
1847 __pow.
1848 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
1849 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
1850 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
1851
718d6542
SN
18522018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1853
1854 * math/Versions (GLIBC_2.29): Add log2.
1855 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
1856 symbol.
1857 * math/w_log2.c: New file.
1858 * sysdeps/i386/fpu/w_log2.c: New file.
1859 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
1860 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
1861 and add necessary aliases.
1862 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
1863 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
1864 * sysdeps/mach/hurd/i386/libm.abilist: Update.
1865 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
1866 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
1867 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
1868 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
1869 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
1870 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
1871 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
1872 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
1873 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
1874 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
1875 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
1876 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
1877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
1878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
1879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
1880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
1881 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
1882 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
1883 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
1884 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
1885 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
1886 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
1887 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
1888
f29b7c49
SN
18892018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1890
1891 * math/Versions (GLIBC_2.29): Add log.
1892 * math/w_log_compat.c (__log_compat): Change to versioned compat
1893 symbol.
1894 * math/w_log.c: New file.
1895 * sysdeps/i386/fpu/w_log.c: New file.
1896 * sysdeps/ia64/fpu/e_log.S: Update.
1897 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
1898 and add necessary aliases.
1899 * sysdeps/ieee754/dbl-64/w_log.c: New file.
1900 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
1901 * sysdeps/mach/hurd/i386/libm.abilist: Update.
1902 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
1903 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
1904 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
1905 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
1906 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
1907 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
1908 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
1909 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
1910 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
1911 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
1912 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
1913 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
1914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
1915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
1916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
1917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
1918 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
1919 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
1920 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
1921 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
1922 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
1923 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
1924 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
1925 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
1926 __log.
1927 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
1928 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
1929 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
1930 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
1931
c20a1056
SN
19322018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1933
1934 * math/Versions (GLIBC_2.29): Add exp and exp2.
1935 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
1936 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
1937 * math/w_exp_compat.c (__exp_compat): Likewise.
1938 * math/w_exp.c: New file.
1939 * math/w_exp2.c: New file.
1940 * sysdeps/i386/fpu/w_exp.c: New file.
1941 * sysdeps/i386/fpu/w_exp2.c: New file.
1942 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
1943 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
1944 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
1945 and add necessary aliases.
1946 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
1947 and add necessary aliases.
1948 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
1949 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
1950 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
1951 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
1952 * sysdeps/mach/hurd/i386/libm.abilist: Update.
1953 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
1954 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
1955 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
1956 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
1957 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
1958 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
1959 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
1960 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
1961 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
1962 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
1963 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
1964 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
1965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
1966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
1967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
1968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
1969 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
1970 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
1971 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
1972 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
1973 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
1974 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
1975 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
1976 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
1977 (__ieee754_exp): Rename to __exp.
1978 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
1979 (__ieee754_exp): Rename to __exp.
1980 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
1981 (__ieee754_exp): Rename to __exp.
1982 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
1983 __exp.
1984 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
1985
bcdaad21
DD
19862018-11-20 DJ Delorie <dj@redhat.com>
1987
1988 * malloc/malloc.c (tcache_entry): Add key field.
1989 (tcache_put): Set it.
1990 (tcache_get): Likewise.
1991 (_int_free): Check for double free in tcache.
1992 * malloc/tst-tcfree1.c: New.
1993 * malloc/tst-tcfree2.c: New.
1994 * malloc/Makefile: Run the new tests.
1995 * manual/probes.texi: Document memory_tcache_double_free probe.
1996
1997 * dlfcn/dlerror.c (check_free): Prevent double frees.
1998
5770c0ad
WD
19992018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
2000
2001 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
2002
9a62a939
JM
20032018-11-20 Joseph Myers <joseph@codesourcery.com>
2004
2005 * conform/conformtest.py (ElementTest.run): Use unique identifiers
2006 in tests. Use names for format arguments.
2007 (ConstantTest.run): Likewise.
2008 (SymbolTest.run): Likewise.
2009 (TypeTest.run): Likewise.
2010 (TagTest.run): Likewise.
2011 (FunctionTest.run): Likewise.
2012 (VariableTest.run): Likewise.
2013 (MacroFunctionTest.run): Likewise.
2014 (MacroStrTest.run): Likewise.
2015 (HeaderTests.__init__): Set self.num_tests.
2016 (HeaderTests.handle_test_line): Set test.num. Increment
2017 self.num_tests.
2018
b15b1a95
ST
20192018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
2020
2021 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
2022 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
2023 SEEK_SET.
2024
0c7f97ae
MH
20252018-11-19 Mao Han <han_mao@c-sky.com>
2026
2027 * scripts/config.guess: Update to version 2018-08-29.
2028 * scripts/config.sub: Update to version 2018-08-29.
2029
35e3fbc4
FW
20302018-11-19 Florian Weimer <fweimer@redhat.com>
2031
2032 support: Print timestamps in timeout handler.
2033 * support/support_test_main.c (print_timestamp): New function.
2034 (signal_handler): Use it to print the termination time and the
2035 time of the last write to standard output.
2036
c75772e3
ZW
20372018-11-16 Zack Weinberg <zackw@panix.com>
2038 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2039
2040 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
2041 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
2042 argument.
2043 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
2044 and add flags argument. Check flags instead of __ldbl_is_dbl when
2045 deciding whether to set is_long_double.
2046 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
2047 passing zero for flags argument.
2048 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
2049
2050 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
2051 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
2052 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
2053 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
2054 variable names. Remove libc_hidden_def/libc_hidden_proto from
2055 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
2056 longer called from within the library.
2057 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
2058 for __nldbl___vstrfmon_l, declare it explicitly.
2059
2060 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
2061
346ef23f
ST
20622018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
2063
2064 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
2065 macros
2066 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
2067 F_SETLK64, F_SETLKW64, respectively.
2068 * sysdeps/mach/hurd/f_setlk.c: New file.
2069 * sysdeps/mach/hurd/f_setlk.h: New file.
2070 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
2071 f_setlk.
2072 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
2073 (__libc_fcntl): Move non-flock operations to...
2074 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
2075 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
2076
de20b81a
PE
20772018-11-15 Paul Eggert <eggert@cs.ucla.edu>
2078
5d8af156
PE
2079 mktime: DEBUG_MKTIME cleanup
2080 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
2081 And it’s no longer needed now that glibc and Gnulib both have
2082 their own testing mechanisms for mktime.
2083 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
2084
86aece3b
PE
2085 mktime: fix non-EOVERFLOW errno handling
2086 [BZ#23789]
2087 mktime was not properly reporting failures when the underlying
2088 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
2089 them like EOVERFLOW failures, and set errno to EOVERFLOW.
2090 The problem could happen on non-glibc platforms, with Gnulib.
2091 * time/mktime.c (guess_time_tm): Remove, replacing with ...
2092 (tm_diff): ... this simpler function, which does not change errno.
2093 All callers changed to deal with errno themselves.
2094 (ranged_convert, __mktime_internal): Return failure immediately if
2095 the underlying function reports any failure other than EOVERFLOW.
2096 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
2097 gap code fails.
2098
f6b3331b
PE
2099 mktime: fix bug with Y2038 DST transition
2100 [BZ#23789]
2101 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
2102 mishandle a DST transition that jumps over the Y2038 boundary.
2103 No such DST transitions are known so this is only a theoretical
2104 bug, but we might as well do things right.
2105
efbdddc3
PE
2106 mktime: make more room for overflow
2107 [BZ#23789]
2108 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
2109 This is so that we can add tm_diff results to a previous guess,
2110 which will be useful in a later patch.
2111
6c90d759
PE
2112 mktime: simplify offset guess
2113 [BZ#23789]
2114 * time/mktime.c (__mktime_internal): Omit excess precision.
2115
32c12f3f
PE
2116 mktime: new test for mktime failure
2117 [BZ#23789]
2118 Based on a test suggested by Albert Aribaud in:
2119 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
2120 * time/Makefile (tests): Add bug-mktime4.
2121 * time/bug-mktime4.c: New file.
2122
de20b81a
PE
2123 mktime: fix EOVERFLOW bug
2124 [BZ#23789]
2125 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
2126 Include libc-config.h, not config.h, for __set_errno.
2127 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
2128
8c6c3fb0
ST
21292018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
2130
2131 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
2132 __attribute_copy__ to copy attributes from name. Drop static qualifier
2133 to avoid warnings about leaf attribute not having effect on static
2134 functions.
2135
6923f6db
FW
21362018-11-13 Florian Weimer <fweimer@redhat.com>
2137
2138 * malloc/malloc.c (fastbin_push_entry): New function.
2139 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
2140 (REMOVE_FB): Remove macro.
2141 (_int_malloc): Use fastbin_pop_entry and reindent.
2142 (_int_free): Use fastbin_push_entry.
2143 (malloc_consolidate): Use atomic_exchange_acquire.
2144
53f5c659
JM
21452018-11-13 Joseph Myers <joseph@codesourcery.com>
2146
0c096dcf
JM
2147 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
2148 alias attribute, not with strong_alias.
2149
9c4b457e
JM
2150 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
2151 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
2152 with additional parameter thread.
2153 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
2154 in terms of __hidden_ver2.
2155 (hidden_tls_def): New macro.
2156 (libc_hidden_tls_def): Likewise.
2157 (rtld_hidden_tls_def): Likewise.
2158 (libm_hidden_tls_def): Likewise.
2159 (libmvec_hidden_tls_def): Likewise.
2160 (libresolv_hidden_tls_def): Likewise.
2161 (librt_hidden_tls_def): Likewise.
2162 (libdl_hidden_tls_def): Likewise.
2163 (libnss_files_hidden_tls_def): Likewise.
2164 (libnsl_hidden_tls_def): Likewise.
2165 (libnss_nisplus_hidden_tls_def): Likewise.
2166 (libutil_hidden_tls_def): Likewise.
2167 (libutil_hidden_tls_def): Likweise.
2168 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
2169 libc_hidden_tls_def.
2170 (__sim_disabled_exceptions_thread): Likewise.
2171 (__sim_round_mode_thread): Likewise.
2172
53f5c659
JM
2173 * sysdeps/sparc/sparc-ifunc.h [SHARED]
2174 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
2175 copy attributes from name.
2176
092dfde6
JM
21772018-11-12 Joseph Myers <joseph@codesourcery.com>
2178
f578f97b
JM
2179 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
2180 Use __attribute_copy__ to copy attributes from name.
2181
9a7c643a
JM
2182 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
2183 with __hidden_ver1 call.
2184 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
2185 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
2186 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
2187 (__cosf): Do not declare here.
2188 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
2189 (__sincosf): Do not declare here.
2190 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
2191 (__sinf): Do not declare here.
2192
092dfde6
JM
2193 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
2194 (__BIG_ENDIAN): Likewise.
2195 (__BYTE_ORDER): Likewise.
2196 (strong_alias): Likewise.
2197 (_strong_alias): Likewise.
2198
1ecba1fa
FW
21992018-11-12 Florian Weimer <fweimer@redhat.com>
2200
2201 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
2202 function. Move after the definition of in_smallbin_range. Do not
2203 use __builtin_expect for paths that lead to a noreturn function.
2204 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
2205 because it is unclear whether this is in fact an unlikely
2206 condition.
2207 (_int_malloc, _int_free): Adjust.
2208 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
2209 variables.
2210 * malloc/arena.c (heap_trim): Likewise.
2211
434c34bd
ST
22122018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2213
2214 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
2215 it, free it if needed.
2216 (reauthenticate): Test and use ccwdir.
2217 (child_init_port): In non-resetids case, test and use ccwdir.
2218 (child_chdir): New nested function to set ccwdir.
7fa495cd
ST
2219 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
2220 * hurd/hurd/port.h (_hurd_port_move): New function.
2221 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
2222 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
88b26b7e
ST
2223 * hurd/Versions (_hurd_port_move): Export function.
2224 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
2225 symbol.
58bb655a
ST
2226 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
2227 of dtablesize for allocating dtable_cloexec.
434c34bd 2228
1626a1cf
MS
22292018-11-09 Martin Sebor <msebor@redhat.com>
2230
2231 * include/libc-symbols.h (__attribute_copy__): Define macro unless
2232 it's already defined.
2233 (_strong_alias): Use __attribute_copy__.
2234 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
2235 * misc/sys/cdefs.h (__attribute_copy__): New macro.
2236 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
2237 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
2238 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
2239 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
2240 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
2241 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
2242 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
2243 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
2244 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
2245 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
2246 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
2247 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
2248 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
2249 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
2250 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
2251 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
2252 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
2253
968ed530
GG
22542018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2255
2256 * misc/tst-efgcvt.c: Include support/check.h and
2257 support/test-driver.c. Do not include test-skeleton.c.
2258 (error_count): Remove.
2259 (output_error): Replace increments to error_count with calls to
2260 support_record_failure.
2261 (output_r_error): Likewise.
2262 (special): Likewise.
2263 (do_test): Unconditionally return zero.
2264 (TEST_FUNCTION): Remove.
2265
c3ec0972
JM
22662018-11-09 Joseph Myers <joseph@codesourcery.com>
2267
91faaa93
JM
2268 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
2269 not $(@D)/scratch.
2270 ($(linknamespace-header-tests)): Likewise.
2271
c3ec0972
JM
2272 * conform/conformtest.py: New file.
2273 * conform/conformtest.pl: Remove.
2274 * conform/GlibcConform.pm: Likewise.
2275 * conform/glibcconform.py (KEYWORDS_C90): New constant.
2276 (KEYWORDS_C99): Likewise.
2277 (KEYWORDS): Likewise.
2278 * conform/Makefile ($(conformtest-header-tests)): Use
2279 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
2280 option. Use --header instead of --headers.
2281 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
2282 function entries.
2283 * conform/data/spawn.h-data: Likewise.
2284 * conform/data/fcntl.h-data (openat): Add space after function
2285 name.
2286 * conform/data/wchar.h-data (wcscasecmp): Likewise.
2287 (wcscasecmp_l): Likewise.
2288 * conform/data/termios.h-data (c_cc): Add space after element
2289 name.
2290
43257c33
GG
22912018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2292
2293 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
2294 instead of manually comparing and reporting mismatching strings.
2295 * misc/tst-ldbl-error.c (do_one_test): Likewise.
2296 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
2297
e5de3b5b
JM
22982018-11-08 Joseph Myers <joseph@codesourcery.com>
2299
2300 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
2301 __ASSUME_SOCKETCALL.
2302 * sysdeps/unix/sysv/linux/i386/kernel-features.h
2303 (__ASSUME_SOCKETCALL): Remove.
2304 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2305 (__ASSUME_SOCKETCALL): Likewise.
2306 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2307 (__ASSUME_SOCKETCALL): Likewise.
2308 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2309 (__ASSUME_SOCKETCALL): Likewise.
2310 * sysdeps/unix/sysv/linux/s390/kernel-features.h
2311 (__ASSUME_SOCKETCALL): Likewise.
2312 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2313 (__ASSUME_SOCKETCALL): Likewise.
2314 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2315 (__ASSUME_SOCKETCALL): Likewise.
2316
d524fa6c
L
23172018-11-08 H.J. Lu <hongjiu.lu@intel.com>
2318
2319 [BZ #23509]
2320 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
2321 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
2322 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
2323 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
2324 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
2325 lc_unknown.
2326
ac806026
AH
23272018-11-08 Alexandra Hájková <ahajkova@redhat.com>
2328
2329 [BZ #17630]
2330 * resolv/tst-resolv-network.c: Add test for getnetbyname.
2331
596cc360
JM
23322018-11-07 Joseph Myers <joseph@codesourcery.com>
2333
2334 [BZ #23867]
2335 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2336 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
2337 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2338 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
2339
00c86a37
AZ
23402018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2341
2342 * support/support_test_compare_string.c
2343 (support_test_compare_string): Fix printf format.
2344
1df872fd
FW
23452018-11-07 Florian Weimer <fweimer@redhat.com>
2346
2347 Implement TEST_COMPARE_STRING.
2348 * support/check.h (TEST_COMPARE_STRING): Define.
2349 (support_test_compare_string): Declare.
2350 * support/Makefile (libsupport-routines): Add
2351 support_test_compare_string.
2352 (tests): Add tst-test_compare_string.
2353 * support/support_test_compare_string.c: New file.
2354 * support/tst-test_compare_string.c: Likewise.
2355
295132ff
AS
23562018-11-07 Andreas Schwab <schwab@suse.de>
2357
2358 [BZ #23864]
2359 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
2360 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
2361 Undef.
2362
e143ceba
JM
23632018-11-06 Joseph Myers <joseph@codesourcery.com>
2364
2365 [BZ #23862]
2366 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2367 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
2368 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
2369 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
2370 Likewise.
2371
4a938cb2
FW
23722018-11-06 Florian Weimer <fweimer@redhat.com>
2373
2374 [BZ #17405]
2375 * posix/Makefile (routines): Add spawn_faction_addchdir.
2376 (tests): Add tst-spawn-chdir.
2377 * posix/Versions (GLIBC_2.29): Add
2378 posix_spawn_file_actions_addchdir_np.
2379 * posix/spawn_faction_addchdir.c: New file.
2380 * posix/spawn_faction_destroy.c
2381 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
2382 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
2383 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
2384 chdir_action.
2385 * posix/tst-spawn-chdir.c: New file.
2386 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
2387 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
2388 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
2389 posix_spawn_file_actions_addchdir_np.
2390 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
2391 Likewise.
2392 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
2393 Likewise.
2394 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
2395 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
2396 Likewise.
2397 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
2398 Likewise.
2399 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
2400 Likewise.
2401 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
2402 Likewise.
2403 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
2404 Likewise.
2405 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
2406 Likewise.
2407 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2408 (GLIBC_2.29): Likewise.
2409 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2410 (GLIBC_2.29): Likewise.
2411 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2412 (GLIBC_2.29): Likewise.
2413 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2414 (GLIBC_2.29): Likewise.
2415 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
2416 Likewise.
2417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2418 (GLIBC_2.29): Likewise.
2419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2420 (GLIBC_2.29): Likewise.
2421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2422 (GLIBC_2.29): Likewise.
2423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2424 (GLIBC_2.29): Likewise.
2425 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
2426 Likewise.
2427 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
2428 Likewise.
2429 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
2430 Likewise.
2431 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
2432 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
2433 Likewise.
2434 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
2435 Likewise.
2436 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
2437 Likewise.
2438 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
2439 Likewise.
2440
7597b0c7
GG
24412018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2442
2443 * misc/Makefile (tests): Add tst-ldbl-error.
2444 * misc/tst-ldbl-error.c: New file.
2445
9771e6cb
GG
24462018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2447
2448 * misc/Makefile (tests): Add tst-ldbl-warn.
2449 * misc/tst-ldbl-warn.c: New file.
2450
2c03961f
GG
24512018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2452
2453 * argp/Makefile (tests): Add tst-ldbl-argp.
2454 * argp/tst-ldbl-argp.c: New file.
2455
6d6ee046
AS
24562018-11-05 Arjun Shankar <arjun@redhat.com>
2457
2458 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
2459 __gconv_path_elem and call __gconv_get_path unconditionally.
2460
bd3b0fba
AS
24612018-11-05 Andreas Schwab <schwab@suse.de>
2462
2463 [BZ #22927]
2464 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
2465 creating the first helper thread failed.
2466
2e96e980
ST
24672018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
2468
2469 * sysdeps/mach/hurd/msync.c: New file.
2470
6e36266c
FW
24712018-11-02 Florian Weimer <fweimer@redhat.com>
2472
2473 * support/shell-container.c (copy_func): Call
2474 support_copy_file_range instead of copy_file_range to support
2475 cross-device copies.
2476
599f7bee
FW
24772018-11-02 Florian Weimer <fweimer@redhat.com>
2478
2479 * support/test-container.c: Include <libc-pointer-arith.h> for
2480 ALIGN_UP.
2481
ff48ea67
ZL
24822018-11-01 Zong Li <zong@andestech.com>
2483
af1d5782
ZL
2484 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
2485 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
2486 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
2487 (__FP_FRAC_SET_8): Add implementation for RV32 use.
2488
ff48ea67
ZL
2489 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
2490 variable to avoid overlap arguments.
2491
daea71c2
JM
24922018-11-01 Joseph Myers <joseph@codesourcery.com>
2493
eac4405a
JM
2494 * posix/bug-regex22.c (main): Use puts with distinct error
2495 messages for unexpected success of re_compile_pattern, not printf
2496 with NULL argument to %s.
2497
6f30e59f
JM
2498 * stdio-common/bug22.c: Include <libc-diag.h>.
2499 (do_test): Disable -Wformat-overflow= warnings around fprintf
2500 calls outputting more than INT_MAX characters.
2501 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
2502 around printf call with NULL %s argument.
2503
daea71c2
JM
2504 [BZ #23848]
2505 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
2506 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
2507 Undefine.
2508 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
2509 (__ASSUME_RECVMSG_SYSCALL): Likewise.
2510 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
2511 (__ASSUME_SENDTO_SYSCALL): Likewise.
2512 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
2513 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
2514 [!__arch64__].
2515 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
2516 (__ASSUME_CONNECT_SYSCALL): Likewise.
2517 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
2518 (__ASSUME_RECVFROM_SYSCALL): Likewise.
2519 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
2520 Define.
2521 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
2522 Likewise.
2523 [__LINUX_KERNEL_VERSION >= 0x040400]
2524 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
2525 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
2526 Remove.
2527 (listen): Likewise.
2528 (setsockopt): Likewise.
2529
8e3c00db
FN
25302018-11-01 Fredrik Noring <noring@nocrew.org>
2531
2532 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
2533 with the ISA override.
2534
9c3dbdbe
RAE
25352018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
2536
2537 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
2538 #endif.
2539
e3a88b3e
ST
25402018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
2541
a67377e7 2542 * manual/errno.texi (EIEIO): Document how translators should
e3a88b3e 2543 translate the error message.
a67377e7
ST
2544 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
2545 printing trailing whitespaces refused by git.
2546 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
2547 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fc783076 2548 * hurd/Makefile (user-interfaces): Add pci.
e3a88b3e 2549
3ca235ed
JM
25502018-10-30 Joseph Myers <joseph@codesourcery.com>
2551
2552 * conform/linknamespace.py: New file.
2553 * conform/linknamespace.pl: Remove file.
2554 * conform/Makefile ($(linknamespace-header-tests)): Use
2555 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
2556 option.
2557
60708030
FW
25582018-10-30 Florian Weimer <fweimer@redhat.com>
2559
2560 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
2561 memory leaks.
2562
a91e9301
FW
25632018-10-30 Florian Weimer <fweimer@redhat.com>
2564
2565 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
2566
07da99aa
FW
25672018-10-30 Florian Weimer <fweimer@redhat.com>
2568
2569 * stdlib/tst-strtod-overflow.c (do_test): Switch to
2570 support_blob_repeat.
2571
f5e7e959
FW
25722018-10-30 Florian Weimer <fweimer@redhat.com>
2573
2574 Avoid spurious test failures in stdlib/test-bz22786.
2575 * support/Makefile (libsupport-routines): Add blob_repeat.
2576 (tests): Add tst-support_blob_repeat.
2577 * support/blob_repeat.h: New file.
2578 * support/blob_repeat.c: Likewise.
2579 * support/tst-support_blob_repeat.c: Likewise.
2580 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
2581 support_blob_repeat_allocate.
2582
2dd12baa
AS
25832018-10-30 Andreas Schwab <schwab@suse.de>
2584
2585 [BZ #23125]
2586 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
2587 Don't use tail call.
2588 * elf/tst-unwind-main.c: New file.
2589 * elf/Makefile (tests): Add tst-unwind-main.
2590 (CFLAGS-tst-unwind-main.c): Define.
2591
fec8bb7c
SAA
25922018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
2593
2594 [BZ #23791]
2595 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
2596 n_cs_precedes to 0.
2597 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
2598
c6982f7e
JM
25992018-10-29 Joseph Myers <joseph@codesourcery.com>
2600
954cf3c2
JM
2601 * conform/glibcconform.py: Do not import shutil.
2602 (list_exported_functions): Use tempfile.TemporaryDirectory instead
2603 of mkdtemp.
2604
c6982f7e
JM
2605 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
2606 critic_missing for versions before 3.4.
2607 * configure: Regenerated.
2608 * manual/install.texi (Tools for Compilation): Document
2609 requirement for Python to build glibc.
2610 * INSTALL: Regenerated.
2611 * Rules [PYTHON]: Make code unconditional.
2612 * benchtests/Makefile [PYTHON]: Likewise.
2613 * conform/Makefile [PYTHON]: Likewise.
2614 * manual/Makefile [PYTHON]: Likewise.
2615 * math/Makefile [PYTHON]: Likewise.
2616
46a7f24c
ST
26172018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
2618
2619 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
2d0d1d38 2620 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
b6e7c449 2621 answer to interrupt_operation, return EIEIO instead of EINTR.
5c81be53
ST
2622 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
2623 _hurd_intr_rpc_msg_about_to global point to start of controlled
2624 assembly snippet. Make it check canceled flag.
2625 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
2626 the _hurd_intr_rpc_msg_about_to point.
2627 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
2628 issue, remove cancel flag check.
46a7f24c 2629
e5b8756d
JM
26302018-10-26 Joseph Myers <joseph@codesourcery.com>
2631
2632 * scripts/build-many-glibcs.py: Remove compatibility for missing
2633 os.cpu_count and re.fullmatch.
2634
ba5b14c7
SN
26352018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
2636
2637 [BZ #23822]
2638 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
2639 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
2640 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
2641
fe61f17c
JM
26422018-10-25 Joseph Myers <joseph@codesourcery.com>
2643
2644 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
2645 macro.
2646
7c5e34d7
FW
26472018-10-25 Florian Weimer <fweimer@redhat.com>
2648
2649 [BZ #23562]
2650 [BZ #23821]
2651 XFAIL siginfo_t si_band conform test on sparc64.
2652 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
2653 (__SI_BAND_TYPE): Only override long int default type on sparc64.
2654 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
2655 (conformtest-xfail-conds): Add sparc64-linux.
2656 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
2657 sparc64.
2658 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
2659
5b784e88
JM
26602018-10-25 Joseph Myers <joseph@codesourcery.com>
2661
2662 * elf/elf.h (NT_MIPS_DSP): New macro.
2663 (NT_MIPS_FP_MODE): Likewise.
2664
41432ebe
ZL
26652018-10-25 Zong Li <zong@andestech.com>
2666
2667 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
2668 name by adding the file extension (.so).
2669
d026efea
ST
26702018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
2671
2672 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
2673 (test-xfail-ISO11/threads.h/linknamespace,
2674 test-xfail-ISO11/threads.h/conform): Add.
2675
b71ac2b9
JM
26762018-10-24 Joseph Myers <joseph@codesourcery.com>
2677
2678 * math/gen-libm-test.py: Import os.
2679 (ALL_FLOATS_MANUAL): New constant.
2680 (ALL_FLOATS_SUFFIX): Likewise.
2681 (Ulps.all_functions): New function.
2682 (real_all_ulps): Likewise.
2683 (generate_err_table_sub): Likewise.
2684 (generate_err_table): Likewise.
2685 (main): Handle -s and -m options.
2686 * manual/libm-err-tab.pl: Remove.
2687 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
2688 instead of libm-err-tab.pl.
2689 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
2690 != no].
2691 * manual/install.texi (Tools for Compilation): Document
2692 requirement for Python to build manual.
2693 * INSTALL: Regenerated.
2694
d51f99ce
AA
26952018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
2696
2697 * bits/time64.h: New file.
2698 * include/time.h: Replace internal_time_t with __time64_t.
2699 * posix/bits/types (__time64_t): Add.
2700 * stdlib/Makefile: Add bits/time64.h to includes.
2701 * time/tzfile.c: Replace internal_time_t with __time64_t.
2702
97d91fcc 27032018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2a973ab7
AZ
2704
2705 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
2706 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
2707 __posix_spawn_file_actions_init, __posix_spawnattr_init,
2708 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
2709 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
2710 prototype.
2711 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
2712 * posix/spawn_faction_addclose.c
2713 (__posix_spawn_file_actions_addclose): Add hidden definition.
2714 * posix/spawn_faction_adddup2.c
2715 (__posix_spawn_file_actions_adddup2): Likewise.
2716 * posix/spawn_faction_destroy.c
2717 (__posix_spawn_file_actions_destroy): Likewise.
2718 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
2719 Likewise.
2720 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
2721 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
2722 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
2723 Likewise.
2724 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
2725 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
2726 Likewise.
2727
2954daf0
AS
27282018-10-24 Andreas Schwab <schwab@suse.de>
2729
2730 [BZ #18093]
2731 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
2732 format cache.
2733 * elf/cache.c (print_cache): Likewise.
2734
a27a4f47
AA
27352018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
2736
2737 * bits/timesize.h: New file.
2738 * stdlib/Makefile (headers): Add bits/timesize.h.
2739 * sysdeps/unix/sysv/linux/bits/msq-pad.h
2740 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
2741 * sysdeps/unix/sysv/linux/bits/sem-pad.h
2742 (__SEM_PAD_AFTER_TIME): Likewise.
2743 * sysdeps/unix/sysv/linux/bits/shm-pad.h
2744 (__SHM_PAD_AFTER_TIME): Likewise.
2745 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
2746 (__MSQ_PAD_BEFORE_TIME): Likewise.
2747 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
2748 (__SEM_PAD_BEFORE_TIME): Likewise.
2749 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
2750 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
2751 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
2752 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
2753 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
2754 (__MSQ_PAD_BEFORE_TIME): Likewise.
2755 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
2756 (__SEM_PAD_BEFORE_TIME): Likewise.
2757 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
2758 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
2759 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
2760 (__MSQ_PAD_BEFORE_TIME): Likewise.
2761 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
2762 (__SEM_PAD_BEFORE_TIME): Likewise.
2763 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
2764 (__SHM_PAD_BEFORE_TIME): Likewise.
2765 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
2766 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
2767 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
2768
7cc65773
L
27692018-10-24 H.J. Lu <hongjiu.lu@intel.com>
2770
2771 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
2772 USE_RDTSCP is defined.
2773 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
2774 USE_RDTSCP is defined.
2775
c3d8dc45
AZ
27762018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2777
18ad0de6
AZ
2778 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
2779 defined.
2780
c3d8dc45
AZ
2781 [BZ #23709]
2782 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
2783 independently of other flags.
2784
f1034472
FW
27852018-10-23 Florian Weimer <fweimer@redhat.com>
2786
2787 * time/tst-mktime2.c (N_STRINGS): Remove.
2788 (set_timezone): New function.
2789 (spring_forward_gap): Call it. Use FAIL_EXIT1.
2790 (mktime_test1): Report localtime failure and check errno value.
2791 Use TEST_COMPARE.
2792 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
2793 (do_test): Remove alarm call. Use set_timezone and array_length.
2794
367d7cc2
AS
27952018-10-23 Andreas Schwab <schwab@suse.de>
2796
2797 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
2798 (__start_context): Use END instead of PSEUDO_END.
2799
be8ff03f
JM
28002018-10-22 Joseph Myers <joseph@codesourcery.com>
2801
029ad711
JM
2802 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2803 version to 4.19.
2804
8190520f
JM
2805 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2806 version to 4.19.
2807
be8ff03f
JM
2808 [BZ #23793]
2809 * wcsmbs/c32rtomb.c: New file.
2810 * wcsmbs/mbrtoc32.c: Likewise.
2811 * wcsmbs/tst-c32-state.c: Likewise.
2812 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
2813 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
2814 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
2815 (tests): Add tst-c32-state.
2816 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
2817 $(gen-locales).
2818
2dd8e58c
L
28192018-10-21 H.J. Lu <hongjiu.lu@intel.com>
2820
2821 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
2822 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
2823
d0a74159
JM
28242018-10-19 Joseph Myers <joseph@codesourcery.com>
2825
2826 [BZ #23794]
2827 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
2828 pair and return 0 in that case, and use saved character to
2829 interpret following character.
2830 * wcsmbs/tst-c16-surrogate.c: New file.
2831 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
2832 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
2833 Depend on $(gen-locales)
2834
f997b4be
IYM
28352018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
2836
2837 [BZ #23562]
2838 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
2839 (struct siginfo_t): Use correct type for si_band.
2840
53b2bb87
FW
28412018-10-19 Florian Weimer <fweimer@redhat.com>
2842
2843 [BZ #23689]
2844 * resource/bits/types/struct_rusage.h (struct rusage): Update
2845 comment on struct. Remove extraneous field comment.
2846
0a271c8f
DM
28472018-10-18 David S. Miller <davem@davemloft.net>
2848
94a3a27f
DM
2849 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
2850 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
2851 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
2852 sysdep_routines in subdir elf.
2853 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
2854 version for __vdso_clock_gettime.
2855 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
2856 Define.
2857 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
2858 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
2859
0a271c8f
DM
2860 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
2861
72771e53
L
28622018-10-17 H.J. Lu <hongjiu.lu@intel.com>
2863
2864 * sysdeps/i386/init-arch.h: Removed.
2865 * sysdeps/i386/i586/init-arch.h: Likewise.
2866 * sysdeps/i386/i686/init-arch.h: Likewise.
2867 * sysdeps/i386/i686/hp-timing.h: Likewise.
2868 * sysdeps/x86_64/hp-timing.h: Likewise.
2869 * sysdeps/i386/isa.h: New file.
2870 * sysdeps/i386/i586/isa.h: Likewise.
2871 * sysdeps/i386/i686/isa.h: Likewise.
2872 * sysdeps/x86_64/isa.h: Likewise.
2873 * sysdeps/x86/hp-timing.h: New file.
2874 * sysdeps/x86/init-arch.h: Include <isa.h>.
2875
c2b7ccad
JM
28762018-10-17 Joseph Myers <joseph@codesourcery.com>
2877
2878 * math/libm-test-pow.inc (pow_test_data): Do not allow
2879 divide-by-zero exception for pow(+/- 0, -Inf).
2880
26756e57
ZW
28812018-10-17 Zack Weinberg <zackw@panix.com>
2882
2883 * manual/job.texi (Job Control is Optional): Remove node, as
2884 job control has not been optional in quite some time.
2885 (Job Control): Mention briefly that systems older than
2886 POSIX.1-2001 might not support job control.
2887 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
2888 defined on systems conforming to POSIX.1-2001.
2889
c5288d37
AS
28902018-10-17 Arjun Shankar <arjun@redhat.com>
2891
2892 [BZ #22062]
2893 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
2894 indentation.
2895 * (__gconv_read_conf): Mark function static.
2896 * (once): New static variable.
2897 * (__gconv_load_conf): New function.
2898 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
2899 * iconv/gconv_db.c (once): Remove static variable.
2900 * (__gconv_compare_alias): Use __gconv_load_conf instead of
2901 __gconv_read_conf.
2902 * (__gconv_find_transform): Likewise.
2903 * iconv/tst-iconv-mt.c: New test.
2904 * iconv/Makefile: Add tst-iconv_mt.
2905
8c8d2a8a
JM
29062018-10-17 Joseph Myers <joseph@codesourcery.com>
2907
2908 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
729f3402
JM
2909 bits/shm-pad.h.
2910 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
2911 (shmatt_t): Define as __syscall_ulong_t.
2912 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
2913 and [__SHM_PAD_AFTER_TIME].
2914 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
2915 Define shm_segsz and associated padding based on
2916 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
2917 Use __syscall_ulong_t instead of unsigned long int.
2918 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
2919 unsigned long int.
2920 [__USE_MISC] (struct shm_info): Likewise.
2921 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
2922 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
2923 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
2924 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
2925 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
2926 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
2927 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
2928 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
2929 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
2930 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
2931 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
2932
2933 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8c8d2a8a
JM
2934 bits/shmlba.h.
2935 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
2936 (SHMLBA): Remove macro.
2937 (__getpagesize): Remove function declaration.
2938 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
2939 <bits/shmlba.h>.
2940 (SHMLBA): Remove macro.
2941 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
2942 <bits/shmlba.h>.
2943 (SHMLBA): Remove macro.
2944 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
2945 <bits/shmlba.h>.
2946 (SHMLBA): Remove macro.
2947 (__getpagesize): Remove function declaration.
2948 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
2949 <bits/shmlba.h>.
2950 (SHMLBA): Remove macro.
2951 (__getshmlba): Remove function declaration.
2952 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
2953 (SHMLBA): Remove macro.
2954 (__getpagesize): Remove function declaration.
2955 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
2956 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
2957 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
2958 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
2959 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
2960 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
2961 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
2962 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
2963 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
2964 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
2965
403b4feb
SL
29662018-10-17 Stefan Liebler <stli@linux.ibm.com>
2967
2968 [BZ #23275]
2969 * nptl/tst-mutex10.c: New File.
2970 * nptl/Makefile (tests): Add tst-mutex10.
2971 (tst-mutex10-ENV): New variable.
2972 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
2973 Ensure that elision path is used if elision is available.
2974 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
2975 Likewise.
2976 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
2977 Likewise.
2978 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
2979 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
2980 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
2981 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
2982 Likewise.
2983 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
2984 (__pthread_mutex_cond_lock_adjust): Likewise.
2985 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
2986 Likewise.
2987 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
2988 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
2989 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2990 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
2991 Add comments.
2992 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
2993 Use atomic_load_relaxed and atomic_store_relaxed.
2994 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
2995 Use atomic_store_relaxed.
2996
ce5a7de6
AS
29972018-10-17 Andreas Schwab <schwab@suse.de>
2998
2999 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
3000 * crypt/badsalttest.c (TIMEOUT): Likewise.
3001 * crypt/sha256c-test.c (TIMEOUT): Likewise.
3002 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
3003 * io/test-lfs.c (TIMEOUT): Likewise.
3004 * libio/tst-atime.c (TIMEOUT): Likewise.
3005 * localedata/tst-leaks.c (TIMEOUT): Likewise.
3006 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
3007 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
3008 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
3009 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
3010 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
3011 * nptl/tst-cond11.c (TIMEOUT): Likewise.
3012 * nptl/tst-cond14.c (TIMEOUT): Likewise.
3013 * nptl/tst-cond15.c (TIMEOUT): Likewise.
3014 * nptl/tst-cond24.c (TIMEOUT): Likewise.
3015 * nptl/tst-cond25.c (TIMEOUT): Likewise.
3016 * nptl/tst-kill2.c (TIMEOUT): Likewise.
3017 * nptl/tst-kill3.c (TIMEOUT): Likewise.
3018 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
3019 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
3020 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
3021 * nptl/tst-once2.c (TIMEOUT): Likewise.
3022 * nptl/tst-once3.c (TIMEOUT): Likewise.
3023 * nptl/tst-once4.c (TIMEOUT): Likewise.
3024 * nptl/tst-robust8.c (TIMEOUT): Likewise.
3025 * nptl/tst-robust9.c (TIMEOUT): Likewise.
3026 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
3027 * nptl/tst-sem14.c (TIMEOUT): Likewise.
3028 * nptl/tst-sem6.c (TIMEOUT): Likewise.
3029 * nptl/tst-signal3.c (TIMEOUT): Likewise.
3030 * nptl/tst-spin4.c (TIMEOUT): Likewise.
3031 * nptl/tst-tls3.c (TIMEOUT): Likewise.
3032 * nptl/tst-tls4.c (TIMEOUT): Likewise.
3033 * posix/tst-chmod.c (TIMEOUT): Likewise.
3034 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
3035 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
3036 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
3037 * posix/tst-regex2.c (TIMEOUT): Likewise.
3038 * posix/tst-waitid.c (TIMEOUT): Likewise.
3039 * rt/tst-aio.c (TIMEOUT): Likewise.
3040 * rt/tst-aio10.c (TIMEOUT): Likewise.
3041 * rt/tst-aio4.c (TIMEOUT): Likewise.
3042 * rt/tst-aio5.c (TIMEOUT): Likewise.
3043 * rt/tst-aio6.c (TIMEOUT): Likewise.
3044 * rt/tst-aio64.c (TIMEOUT): Likewise.
3045 * rt/tst-aio7.c (TIMEOUT): Likewise.
3046 * rt/tst-aio9.c (TIMEOUT): Likewise.
3047 * rt/tst-clock.c (TIMEOUT): Likewise.
3048 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
3049 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
3050 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
3051 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
3052 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
3053 * rt/tst-timer4.c (TIMEOUT): Likewise.
3054 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
3055 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
3056 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
3057 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
3058 * time/tst-ftime.c (TIMEOUT): Likewise.
3059 * timezone/tst-tzset.c (TIMEOUT): Likewise.
3060
75c1aee5
AY
30612018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
3062
3063 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
3064 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
3065 for thunderX2.
3066
bcdb1bfa
JM
30672018-10-15 Joseph Myers <joseph@codesourcery.com>
3068
3069 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3070 bits/sem-pad.h.
3071 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
3072 instead of <bits/wordsize.h>.
3073 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
3074 and [__SEM_PAD_AFTER_TIME].
3075 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
3076 __syscall_ulong_t instead of unsigned long int.
3077 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
3078 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
3079 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
3080 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
3081 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
3082 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
3083 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
3084 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
3085 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
3086 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
3087 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
3088
f4efbdfb
PE
30892018-10-14 Paul Eggert <eggert@cs.ucla.edu>
3090
620a5d4c
PE
3091 regex: simplify by using intprops.h
3092 [BZ#23744]
3093 * posix/regex_internal.h [_LIBC]: Include intprops.h.
3094 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
3095 intprops.h defines them.
3096
f4efbdfb
PE
3097 regex: __builtin_expect → __glibc_unlikely
3098 [BZ#23744]
3099 This refactoring was prompted by a problem when the regex code is
3100 used as part of Gnulib and when the builder’s compiler does not grok
3101 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
3102 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
3103 Although this refactoring does not fix the problem directly,
3104 we might as well have Gawk use the now-preferred glibc style for when
3105 __builtin_expect is unavailable.
3106 * posix/regex_internal.h (BE): Remove.
3107 All uses replaced by __glibc_unlikely or __glibc_likely.
3108
9f9feb6d
JM
31092018-10-11 Joseph Myers <joseph@codesourcery.com>
3110
3111 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3112 bits/msq-pad.h.
3113 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
3114 instead of <bits/wordsize.h>.
3115 (msgqnum_t): Define as __syscall_ulong_t.
3116 (msglen_t): Likewise.
3117 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
3118 and [__MSQ_PAD_AFTER_TIME].
3119 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
3120 __syscall_ulong_t instead of unsigned long int.
3121 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
3122 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
3123 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
3124 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
3125 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
3126 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
3127 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
3128 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
3129 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
3130 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
3131 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
3132
b9c0f6c1
JM
31332018-10-10 Joseph Myers <joseph@codesourcery.com>
3134
2a4b25fa
JM
3135 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
3136 (struct shmid_ds): Condition padding after time fields on
3137 [__WORDSIZE == 32].
3138 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
3139 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
3140 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
3141
19e62f26
JM
3142 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
3143 (struct semid_ds): Condition padding after time fields on
3144 [__WORDSIZE == 32].
3145 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
3146 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
3147 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
3148 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
3149
b9c0f6c1
JM
3150 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
3151 (struct msqid_ds): Condition padding after time fields on
3152 [__WORDSIZE == 32].
3153 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
3154 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
3155 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
3156 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
3157
97785a61
SN
31582018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
3159
3160 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
3161
ed643089
SN
31622018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
3163
3164 * libio/tst-readline.c (TIMEOUT): Define.
3165
5a580643
PE
31662018-10-08 Paul Eggert <eggert@cs.ucla.edu>
3167
3168 mktime fix for Gnulib + coreutils
3169 [BZ#23745]
3170 This fix affects only Gnulib. Problem discovered when
3171 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
3172 * time/mktime.c:
3173 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
3174 Do not define since it is not used. Defining an unused static
3175 function prompts a warning from GCC when Coreutils is configured
3176 with --enable-gcc-warnings.
3177
c892ae04
LS
31782018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3179
3180 * benchtests/scripts/compare_bench.py (main): set float type on
3181 threshold argument.
3182
a68ec8ea
RL
31832018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
3184
3185 [BZ #23740]
3186 * localedata/locales/kl_GL (mon): Update, the relative case.
3187 (alt_mon): Add, fill with month names in the nominative case.
3188 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
3189 (d_fmt): Set to "%b %d %Y".
3190
a1987621
JM
31912018-10-04 Joseph Myers <joseph@codesourcery.com>
3192
47c49251
JM
3193 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
3194 <bits/mman-linux.h>.
3195 (PROT_READ): Don't define here.
3196 (PROT_WRITE): Likewise.
3197 (PROT_EXEC): Likewise.
3198 (PROT_NONE): Likewise.
3199 (PROT_GROWSDOWN): Likewise.
3200 (PROT_GROWSUP): Likewise.
3201 (MAP_SHARED): Likewise.
3202 (MAP_PRIVATE): Likewise.
3203 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
3204 [__USE_MISC] (MAP_FILE): Likewise.
3205 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
3206 [__USE_MISC] (MAP_ANON): Likewise.
3207 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
3208 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
3209 (MCL_CURRENT): Likewise.
3210 (MCL_FUTURE): Likewise.
3211 (MCL_ONFAULT): Likewise.
3212 [__USE_MISC] (MADV_NORMAL): Likewise.
3213 [__USE_MISC] (MADV_RANDOM): Likewise.
3214 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
3215 [__USE_MISC] (MADV_WILLNEED): Likewise.
3216 [__USE_MISC] (MADV_DONTNEED): Likewise.
3217 [__USE_MISC] (MADV_FREE): Likewise.
3218 [__USE_MISC] (MADV_REMOVE): Likewise.
3219 [__USE_MISC] (MADV_DONTFORK): Likewise.
3220 [__USE_MISC] (MADV_DOFORK): Likewise.
3221 [__USE_MISC] (MADV_HWPOISON): Likewise.
3222 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
3223 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
3224 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
3225 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
3226 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
3227 (__MAP_ANONYMOUS): New macro.
3228 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
3229 <bits/mman-linux.h> inclusion.
3230 (MAP_FIXED): Likewise.
3231 (MS_SYNC): Likewise.
3232 (MS_ASYNC): Likewise.
3233 (MS_INVALIDATE): Likewise.
3234 [__USE_MISC] (MADV_MERGEABLE): Likewise.
3235 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
3236 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
3237 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
3238 [__USE_MISC] (MADV_DONTDUMP): Likewise.
3239 [__USE_MISC] (MADV_DODUMP): Likewise.
3240 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
3241 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
3242
a1987621
JM
3243 [BZ #23735]
3244 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
3245 Define.
3246 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
3247 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
3248 Add test-nldbl-redirect.
3249 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
3250 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
3251 $(objpfx)libnldbl_nonshared.a.
3252
e7624d70
SL
32532018-10-04 Stefan Liebler <stli@linux.ibm.com>
3254
3255 * support/support.h (support_objdir_elf_ldso): New variable.
3256 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
3257 * support/Makefile (CFLAGS-support_paths.c): Add definition
3258 for OBJDIR_ELF_LDSO_PATH.
3259 * support/test-container.c (main): Search for the ld.so
3260 which is also used by the testsuite.
3261
dae3ed95
RL
32622018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
3263
3264 [BZ #20209]
3265 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
3266 should be "sap" rather than "sab".
3267 (day): Fix spelling of Sunday, should be "sapaat" rather than
3268 "sabaat".
3269
f346b5b3
JM
32702018-10-02 Joseph Myers <joseph@codesourcery.com>
3271
3272 * math/libm-test-fma.inc (fma_test_data): Add more tests.
3273
4a06ceea
MJ
32742018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
3275
3276 [BZ #19444]
3277 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
3278 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
3279 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
3280
a06fc4a5
AZ
32812018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3282
3283 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
3284
a1ccc065
L
32852018-10-02 H.J. Lu <hongjiu.lu@intel.com>
3286
3287 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
3288 Add -mrtm.
3289 (CFLAGS-elision-unlock.c): Likewise.
3290 (CFLAGS-elision-timed.c): Likewise.
3291 (CFLAGS-elision-trylock.c): Likewise.
3292 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
3293
0b727ed4
AZ
32942018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3295
3296 [BZ #21037]
3297 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
3298 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
3299 new fd_to_filename interface.
3300 * libio/freopen64.c (freopen64): Likewise.
3301 * libio/tst-memstream.h: New file.
3302 * libio/tst-memstream4.c: Likewise.
3303 * libio/tst-wmemstream4.c: Likewise.
3304 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
3305 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
3306 and remove internal dynamic allocation.
3307
d0e91e8c
JM
33082018-10-01 Joseph Myers <joseph@codesourcery.com>
3309
3310 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
3311 (MREMAP_MAYMOVE): Do not define here.
3312 [__USE_GNU] (MREMAP_FIXED): Likewise.
3313 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
3314 (MREMAP_MAYMOVE): Define here instead.
3315 [__USE_GNU] (MREMAP_FIXED): Likewise.
3316 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
3317 (MREMAP_MAYMOVE): Remove.
3318 [__USE_GNU] (MREMAP_FIXED): Likewise.
3319
c52944e8
JM
33202018-09-28 Joseph Myers <joseph@codesourcery.com>
3321
3322 * math/fromfp.h: Do not include <math_private.h>.
3323 * math/s_cacosh_template.c: Likewise.
3324 * math/s_casin_template.c: Likewise.
3325 * math/s_casinh_template.c: Likewise.
3326 * math/s_ccos_template.c: Likewise.
3327 * math/s_cproj_template.c: Likewise.
3328 * math/s_fdim_template.c: Likewise.
3329 * math/s_fmaxmag_template.c: Likewise.
3330 * math/s_fminmag_template.c: Likewise.
3331 * math/s_iseqsig_template.c: Likewise.
3332 * math/s_ldexp_template.c: Likewise.
3333 * math/s_nextdown_template.c: Likewise.
3334 * math/w_log1p_template.c: Likewise.
3335 * math/w_scalbln_template.c: Likewise.
3336 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
3337 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
3338 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
3339 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
3340 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
3341 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
3342 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
3343 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
3344 * sysdeps/i386/fpu/s_atanl.c: Likewise.
3345 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
3346 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
3347 * sysdeps/i386/fpu/s_fdim.c: Likewise.
3348 * sysdeps/i386/fpu/s_logbl.c: Likewise.
3349 * sysdeps/i386/fpu/s_rintl.c: Likewise.
3350 * sysdeps/i386/fpu/s_significandl.c: Likewise.
3351 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
3352 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
3353 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3354 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3355 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
3356 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
3357 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
3358 * sysdeps/ieee754/k_standardf.c: Likewise.
3359 * sysdeps/ieee754/k_standardl.c: Likewise.
3360 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3361 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
3362 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
3363 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
3364 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
3365 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
3366 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
3367 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
3368 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
3369 * sysdeps/ieee754/s_signgam.c: Likewise.
3370 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
3371 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
3372 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
3373 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
3374 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
3375 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
3376 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
3377 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
3378 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
3379 * sysdeps/riscv/rvd/s_finite.c: Likewise.
3380 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
3381 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
3382 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
3383 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
3384 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
3385 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
3386 * sysdeps/riscv/rvf/fegetround.c: Likewise.
3387 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
3388 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
3389 * sysdeps/riscv/rvf/fesetround.c: Likewise.
3390 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
3391 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
3392 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
3393 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
3394 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
3395 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
3396 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
3397 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
3398 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
3399 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
3400 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
3401 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
3402 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
3403 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
3404 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
3405 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
3406 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
3407 <math_private.h>.
3408 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
3409
7b1f9406
L
34102018-09-28 H.J. Lu <hongjiu.lu@intel.com>
3411
3412 [BZ #23716]
3413 * sysdeps/i386/dl-cet.c: Removed.
3414 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
3415 prototype.
3416 (_dl_runtime_profile_shstk): Likewise.
3417 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
3418 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
3419
7a16bdbb
AZ
34202018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3421
3422 [BZ #23579]
3423 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
3424 do_test_with_invalid_iov): New tests.
3425 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
3426 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
3427 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
3428 errno is ENOSYS.
3429 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
3430 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
3431 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
3432
9755bc46
JM
34332018-09-27 Joseph Myers <joseph@codesourcery.com>
3434
81dca813
JM
3435 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
3436 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
3437 (MATH_REDIRECT_BINARY_ARGS): New macro.
3438 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
3439 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
3440 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
3441 header inclusion.
3442 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
3443 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3444 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
3445 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3446 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3447 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3448 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3450 Likewise.
3451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
3452 Likewise.
3453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
3454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
3455 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
3456 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
3457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
3458 Likewise.
3459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
3460 Likewise.
3461 * sysdeps/generic/math_private_calls.h
3462 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
3463 Do not declare and define as an inline function.
3464 * math/divtc3.c (__divtc3): Use copysign functions instead of
3465 __copysign variants.
3466 * math/multc3.c (__multc3): Likewise.
3467 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
3468 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
3469 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
3470 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
3471 Likewise.
3472 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
3473 (__ieee754_yn): Likewise.
3474 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
3475 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
3476 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
3477 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3478 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
3479 (__sin): Likewise.
3480 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
3481 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
3482 Likewise.
3483 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
3484 Likewise.
3485 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
3486 Likewise.
3487 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
3488 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
3489 Likewise.
3490 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
3491 (__ieee754_ynf): Likewise.
3492 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
3493 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
3494 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
3495 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
3496 Likewise.
3497 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3498 (__ieee754_ynl): Likewise.
3499 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
3500 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
3501 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
3502 Likewise.
3503 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3504 (__ieee754_ynl): Likewise.
3505 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
3506 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3507 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3508 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
3509 Likewise.
3510 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3511 (__ieee754_ynl)
3512 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
3513 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
3514 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
3515 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
3516 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
3517
9755bc46
JM
3518 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
3519 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
3520 using MATH_REDIRECT.
3521 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
3522 header inclusion.
3523 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
3524 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3525 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3526 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
3527 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3528 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
3529 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
3530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
3531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
3532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
3533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
3534 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
3535 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
3536 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
3537 (round): Redirect to __round.
3538 (__roundl): Call round instead of __round.
3539 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
3540 Remove macro.
3541 [_ARCH_PWR5X] (__roundf): Likewise.
3542 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
3543 functions instead of __round variants.
3544 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
3545 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
3546 Likewise.
3547 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
3548 Likewise.
3549 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
3550 Likewise.
3551 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
3552 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
3553 __lroundl.
3554 (__ieee754_expl): Call roundl instead of __roundl.
3555
f841c97e
AS
35562018-09-27 Andreas Schwab <schwab@suse.de>
3557
3558 [BZ #23717]
3559 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
3560 (do_test): Make st1 static.
3561
6ca8284e
AS
35622018-09-26 Andreas Schwab <schwab@suse.de>
3563
3564 [BZ #23707]
3565 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
3566 * elf/Makefile (tests): Add tst-unwind-ctor.
3567 (modules-names): Add tst-unwind-ctor-lib.
3568 ($(objpfx)tst-unwind-ctor): Depend on
3569 $(objpfx)tst-unwind-ctor-lib.so.
3570
61d8b5fe
JM
35712018-09-26 Joseph Myers <joseph@codesourcery.com>
3572
3573 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
3574 file. Most contents moved from ....
3575 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
3576 and include <bits/mman-map-flags-generic.h>.
3577 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
3578 (sysdep_headers): Add bits/mman-map-flags-generic.h.
3579 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
3580 <bits/mman-map-flags-generic.h>.
3581 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
3582 macros defined in <bits/mman-map-flags-generic.h>.
3583 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
3584 <bits/mman-map-flags-generic.h>.
3585 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
3586 defined in <bits/mman-map-flags-generic.h>.
3587
46341286
AS
35882018-09-26 Andreas Schwab <schwab@suse.de>
3589
3590 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
3591 output.
3592
b5c45e83
AZ
35932018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
3594 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3595 Fangrui Song <maskray@google.com>
3596
3597 [BZ #20480]
3598 * config.make.in (have-textrel_ifunc): New define.
3599 * configure.ac: Add check if linker supports textrel relocation with
3600 ifunc.
3601 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
3602 tst-ifunc-textrel.
3603 (CFLAGS-tst-ifunc-textrel.c): New rule.
3604 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
3605 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
3606 * elf/tst-ifunc-textrel.c: New file.
3607
8ea4d2b7
JM
36082018-09-25 Joseph Myers <joseph@codesourcery.com>
3609
d62f9ec0
JM
3610 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
3611 <bits/procfs-prregset.h>.
3612 (prgregset_t): Define using __prgregset_t.
3613 (prfpregset_t): Define using __prfpregset_t.
3614 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
3615 (sysdep_headers): Add bits/procfs-prregset.h.
3616 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
3617 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
3618 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
3619 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
3620
d0d8eb43
JM
3621 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
3622 <bits/procfs-id.h> and <bits/procfs-extra.h>.
3623 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
3624 pr_uid and pr_gid.
3625 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
3626 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
3627 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
3628 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
3629 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
3630 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
3631 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
3632 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
3633 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
3634 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
3635 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
3636 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
3637 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
3638 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
3639 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
3640 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
3641 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
3642 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
3643 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
3644 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
3645 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
3646 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
3647 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
3648 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
3649
8ea4d2b7
JM
3650 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
3651 AArch64 version. Include <bits/procfs.h>.
3652 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
3653 (sysdep_headers): Add bits/procfs.h.
3654 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
3655 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
3656 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
3657 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
3658 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
3659 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
3660 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
3661 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
3662 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
3663 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
3664 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
3665 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
3666 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
3667 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
3668 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
3669 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3670 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
3671
c7027166
AZ
36722018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3673
3674 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
3675 Use libsupport.
3676
335a3b0a
AS
36772018-09-25 Arjun Shankar <arjun@redhat.com>
3678
3679 * iconv/gconv_int.h (__gconv_path_elem): Remove.
3680 (__gconv_max_path_elem_len): Likewise.
3681 (__gconv_nmodules): Likewise.
3682 (__gconv_get_path): Likewise.
3683 (path_elem): Move to ...
3684 * iconv/gconv_conf.c: ... here.
3685 (__gconv_get_path): Mark function static.
3686 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
3687 * iconv/gconv_open.c: ... here.
3688
462d348c
AS
36892018-09-24 Andreas Schwab <schwab@suse.de>
3690
3691 * scripts/haveversions.awk: New file.
3692 * Makerules ($(common-objpfx)Versions.def)
3693 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
3694 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
3695 Move rules ...
3696 * Makeconfig ($(common-objpfx)Versions.def)
3697 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
3698 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
3699 ... here.
3700 ($(common-objpfx)Versions.mk): New rule. Include it.
3701 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
3702 Emit error if build-obsolete-nsl = yes.
3703 * manual/install.texi (Configuring and compiling): Describe
3704 --enable-obsolete-nsl as unavaiable after version 2.28.
3705 * INSTALL: Regenerate.
3706
f0458cf4
AZ
37072018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3708
3709 * NEWS: Add note about new TLE support on powerpc64le.
3710 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
3711 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
3712 __ununsed1.
3713 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
3714 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
3715 * sysdeps/powerpc/powerpc32/sysdep.h,
3716 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
3717 ABORT_TRANSACTION): Remove macros.
3718 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
3719 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
3720 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
3721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
3722 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3723 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
3724 usage.
3725 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
3726
434d45fd
RL
37272018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
3728
3729 [BZ #10425]
3730 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
3731 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
3732 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
3733 which is the same as in it_IT.
3734 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
3735 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
3736
d90c9b1a
JM
37372018-09-20 Joseph Myers <joseph@codesourcery.com>
3738
7abf97be
JM
3739 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
3740 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
3741 using MATH_REDIRECT.
3742 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
3743 header inclusion.
3744 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
3745 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
3746 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
3747 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
3748 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
3749 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
3751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
3752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
3753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
3754 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
3755 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
3756 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
3757 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
3758 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
3759 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
3760 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
3761 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
3762 (ceil): Redirect to __ceil.
3763 (floor): Redirect to __floor.
3764 (trunc): Redirect to __trunc.
3765 (__truncl): Call trunc instead of __trunc.
3766 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
3767 Remove macro.
3768 [_ARCH_PWR5X] (__truncf): Likewise.
3769 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
3770 trunc functions instead of __trunc variants.
3771 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
3772 Likewise.
3773 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
3774 Likewise.
3775 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
3776 Likewise.
3777 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
3778 Likewise.
3779
d90c9b1a
JM
3780 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
3781 [__i586__ || __pentium__].
3782 [__i486__]: Handle explicitly.
3783 (HAS_CPUID): Define to 1 if above macros are undefined.
3784 (HAS_I586): Likewise.
3785 (HAS_I686): Likewise.
3786
db9a8ad4
FW
37872018-09-20 Florian Weimer <fweimer@redhat.com>
3788
3789 * misc/tst-gethostid.c: New file.
3790 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
3791 (tst-gethostid): Link with -ldl.
3792
1214ba06
MY
37932018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
3794
3795 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
3796 value from gethostbyname_r.
3797
791b350d
CD
37982018-09-19 Carlos O'Donell <carlos@redhat.com>
3799
3800 * stdlib/tst-setcontext9.c (f1): Rename to...
3801 (f1a): ... this.
3802 (f1b): New function implementing lower half of f1 in alternate stack.
3803
8e6fd2bd
PE
38042018-09-19 Paul Eggert <eggert@cs.ucla.edu>
3805
e1080e7e
PE
3806 Fix mktime localtime offset confusion
3807 [BZ #23603]
3808 * include/time.h (__mktime_internal): The localtime offset is now
3809 of type long int instead of time_t. This is the longstanding type
3810 in glibc, and it is more than enough to represent difference
3811 between localtime and gmtime even if it is 32 bits and time_t is
3812 64. Changing it now will let us avoid an unnecessary change when
3813 time_t is widened to 64 bits on 32-bit platforms.
3814 * time/mktime-internal.h (mktime_offset_t): Now long int.
3815
8e6fd2bd
PE
3816 Merge mktime, timegm from upstream Gnulib
3817 [BZ #23603][BZ #16346]
3818 This fixes some obscure problems with integer overflow.
3819 Although it looks scary, it is almost all a byte-for-byte copy
3820 from Gnulib, and the Gnulib code has been tested reasonably well.
3821 * include/intprops.h: New file, copied from Gnulib.
3822 * include/verify.h, time/mktime-internal.h:
3823 New tiny files, simplified from Gnulib.
3824 * time/mktime.c: Copy from Gnulib. This has the following changes:
3825 Do not include config.h if DEBUG_MKTIME is nonzero.
3826 Include stdbool.h, intprops.h, verify.h.
3827 Include string.h only if needed.
3828 Include stdlib.h on MS-Windows.
3829 Include mktime-internal.h.
3830 (DEBUG_MKTIME): Default to 0, and simplify later uses.
3831 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
3832 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
3833 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
3834 simplify later conditionals; default the others to zero. Use
3835 these conditionals to express only the code needed on the current
3836 platform. In uses of these conditionals, explicitly spell out how
3837 _LIBC affects things, so it’s easier to review from a glibc
3838 viewpoint.
3839 (WRAPV): Remove; no longer needed now that we have
3840 systematic overflow checking.
3841 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
3842 compartmentalize tzset issues. Move system-dependent tzsettish
3843 code here from mktime.
3844 (verify): Remove; now done by verify.h. All uses changed.
3845 (long_int): Use a more-conservative definition, to avoid
3846 integer overflow.
3847 (SHR): Remove, replacing with ...
3848 (shr): New function, which means we needn’t worry about side
3849 effects in args, and conversion analysis is simpler.
3850 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
3851 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
3852 (time_t_avg, time_t_add_ok): Remove.
3853 (mktime_min, mktime_max): New constants.
3854 (leapyear, isdst_differ): Use bool for booleans.
3855 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
3856 Use long_int, not time_t, for mktime differences.
3857 (long_int_avg): New function, replacing time_t_avg.
3858 INT_ADD_WRAPV replaces time_t_add_ok.
3859 (guess_time_tm): 6th arg is now long_int, not time_t const *.
3860 All uses changed.
3861 (convert_time): New function.
3862 (ranged_convert): Use it.
3863 (__mktime_internal): Last arg now points to mktime_offset_t, not
3864 time_t. All uses changed. This is a no-op on glibc, where
3865 mktime_offset_t is always time_t. Use int, not time_t, for UTC
3866 offset guess. Directly check for integer overflow instead of
3867 using a heuristic that works only 99.9...% of the time.
3868 Access *OFFSET only once, to avoid an unlikely race if the
3869 compiler delays a load and if this cascades into a signed integer
3870 overflow.
3871 (mktime): Move tzsettish code to my_tzset, and move
3872 localtime_offset to within mktime so that it doesn’t
3873 need a separate ifdef.
3874 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
3875 instead of localtime.
3876 * time/timegm.c: Copy from Gnulib. This has the following changes:
3877 Include mktime-internal.h.
3878 [!_LIBC]: Include config.h and time.h. Do not include
3879 timegm.h or time_r.h. Make __mktime_internal a macro,
3880 and include mktime-internal.h to get its declaration.
3881 (timegm): Temporary is now mktime_offset_t, not time_t.
3882 This affects only Gnulib.
3883
83a552b0
WD
38842018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
3885
3886 [BZ #23637]
3887 * string/test-strstr.c (pr23637): New function.
3888 (test_main): Add tests with longer needles.
3889 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
3890 * string/strstr.c (AVAILABLE): Likewise.
3891
d7347278
SN
38922018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
3893
3894 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
3895
424c4f60
SN
38962018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
3897
3898 * NEWS: Mention pow improvements.
3899 * math/Makefile (type-double-routines): Add e_pow_log_data.
3900 * sysdeps/generic/math_private.h (__exp1): Remove.
3901 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
3902 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
3903 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
3904 contraction.
3905 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
3906 (exp_inline): Remove.
3907 (__ieee754_exp): Only single double input is handled.
3908 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
3909 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
3910 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
3911 (__pow_log_data): Define.
3912 * sysdeps/ieee754/dbl-64/upow.h: Remove.
3913 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
3914 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
3915 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
3916 contraction.
3917 (CFLAGS-e_pow-fma4.c): Likewise.
3918
e4e4fde5
PE
39192018-09-18 Paul Eggert <eggert@cs.ucla.edu>
3920
dab9c348
PE
3921 Simplify tzfile fstat failure code
3922 [BZ #21716]
3923 * time/tzfile.c (__tzfile_read): Simplify slightly.
3924
e4e4fde5
PE
3925 Fix tzfile low-memory assertion failure
3926 [BZ #21716]
3927 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
3928 when registering time zone abbreviations.
3929
50bc59ca
JM
39302018-09-18 Joseph Myers <joseph@codesourcery.com>
3931
d3a43e49
JM
3932 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
3933 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
3934 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
3935 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
3936 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
3937 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
3938 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
3939 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3940 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
3941
50bc59ca
JM
3942 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
3943 __ceil.
3944 (__ceill): Call ceil instead of __ceil.
3945 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
3946 __floor.
3947 (__floorl): Call floor instead of __floor.
3948
89983cb3
JM
39492018-09-17 Joseph Myers <joseph@codesourcery.com>
3950
71223ef9
JM
3951 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
3952 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
3953 using MATH_REDIRECT.
3954 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
3955 header inclusion.
3956 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
3957 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3958 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3959 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
3960 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3961 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3962 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
3963 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
3964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
3965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
3966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
3967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
3968 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
3969 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
3970 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
3971 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
3972 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
3973 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
3974 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
3975 Remove macro.
3976 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
3977 functions instead of __ceil variants.
3978 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
3979 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
3980 Likewise.
3981 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
3982 Likewise.
3983 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
3984 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
3985 Likewise.
3986 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
3987 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
3988
89983cb3
JM
3989 [BZ #21286]
3990 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
3991 constant.
3992 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
3993 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
3994 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
3995 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
3996 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
3997 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
3998 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
3999 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
4000 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
4001 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
4002 (ILL_BADIADDR): Remove constant.
4003 (TRAP_BRANCH): Likewise.
4004 (TRAP_HWBKPT): Likewise.
4005
e44acb20
JM
40062018-09-14 Joseph Myers <joseph@codesourcery.com>
4007
3f7f1d18
JM
4008 [BZ #23656]
4009 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
4010 Remove [_MIPS_SIM = _ABIN32] conditional case.
4011 (struct elf_prpsinfo): Likewise.
4012
d59f3e5e
JM
4013 [BZ #23649]
4014 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
4015 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
4016 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
4017 Likewise.
4018 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
4019 elf_prpsinfo): Likewise.
4020 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
4021 elf_prpsinfo): Likewise.
4022 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
4023 Likewise.
4024
f29b6f17
JM
4025 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
4026 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
4027 using MATH_REDIRECT.
4028 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
4029 header inclusion.
4030 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
4031 * sysdeps/alpha/fpu/s_rint.c: Likewise.
4032 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
4033 * sysdeps/i386/fpu/s_rintl.c: Likewise.
4034 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4035 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4036 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
4037 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4038 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4039 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4040 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
4041 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
4042 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
4043 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
4044 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
4045 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4046 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4047 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
4048 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
4049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
4050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
4051 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
4052 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
4053 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
4054 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
4055 * sysdeps/x86_64/fpu/math_private.h: Remove file.
4056 * math/e_scalb.c (invalid_fn): Use rint functions instead of
4057 __rint variants.
4058 * math/e_scalbf.c (invalid_fn): Likewise.
4059 * math/e_scalbl.c (invalid_fn): Likewise.
4060 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
4061 Likewise.
4062 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
4063 Likewise.
4064 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
4065 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
4066 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
4067 Likewise.
4068 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4069 Likewise.
4070 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4071 Likewise.
4072 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
4073 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
4074
e44acb20
JM
4075 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
4076 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
4077 New macro.
4078 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
4079 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
4080 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
4081 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
4082 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
4083 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
4084 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
4085 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
4086 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
4087 && !NO_MATH_REDIRECT] (floor): Likewise.
4088 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
4089 header inclusion.
4090 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
4091 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4092 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4093 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
4094 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4095 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4096 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
4097 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
4098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
4099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
4100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
4101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
4102 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
4103 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
4104 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
4105 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
4106 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
4107 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
4108 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
4109 Remove macro.
4110 [_ARCH_PWR5X] (__floorf): Likewise.
4111 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
4112 inline function.
4113 [__SSE4_1__] (__floorf): Likewise.
4114 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
4115 instead of __floor variants.
4116 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
4117 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
4118 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
4119 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
4120 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
4121 * math/w_tgamma_compat.c (__tgamma): Likewise.
4122 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
4123 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
4124 * math/w_tgammal_compat.c (__tgammal): Likewise.
4125 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
4126 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
4127 Likewise.
4128 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
4129 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
4130 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
4131 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4132 Likewise.
4133 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
4134 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
4135 Likewise.
4136 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
4137 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
4138 Likewise.
4139 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4140 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
4141 Likewise.
4142 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
4143 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
4144 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
4145 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
4146 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
4147 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
4148
221e4bab
JM
41492018-09-12 Joseph Myers <joseph@codesourcery.com>
4150
4151 * elf/Makefile (modules-names-tests): New variable.
4152
3e08ff54
SN
41532018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
4154
4155 * NEWS: Mention log2 improvements.
4156 * math/Makefile (type-double-routines): Add e_log2_data.
4157 * sysdeps/i386/fpu/e_log2_data.c: New file.
4158 * sysdeps/ia64/fpu/e_log2_data.c: New file.
4159 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
4160 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
4161 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
4162 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
4163 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
4164
f41b0a43
SN
41652018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
4166
4167 * NEWS: Mention log improvement.
4168 * math/Makefile (type-double-routines): Add e_log_data.
4169 * sysdeps/i386/fpu/e_log_data.c: New file.
4170 * sysdeps/ia64/fpu/e_log_data.c: New file.
4171 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
4172 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
4173 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
4174 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
4175 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
4176 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
4177
5a274db4
L
41782018-09-12 H.J. Lu <hongjiu.lu@intel.com>
4179 Xuepeng Guo <xuepeng.guo@intel.com>
4180
4181 [BZ #23606]
4182 * sysdeps/i386/start.S: Include <sysdep.h>
4183 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
4184 enabled. Add cfi_undefined (eip).
4185
b1176270
JM
41862018-09-11 Joseph Myers <joseph@codesourcery.com>
4187
4e7fbdd7
JM
4188 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
4189 (MOVQ): Likewise.
4190 (EXTRACT_WORDS64): Likewise.
4191 (INSERT_WORDS64): Likewise.
4192 (GET_FLOAT_WORD): Likewise.
4193 (SET_FLOAT_WORD): Likewise.
4194
b1176270
JM
4195 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
4196 argument.
4197 (Config.build_gcc): Use --disable-libsanitizer for first GCC
4198 build, but not for second build if --full-gcc. Use
4199 --enable-languages=all for second build if --full-gcc.
4200 (get_parser): Add --full-gcc option.
4201 (main): Update call to Context.
4202
527f355e
RL
42032018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
4204
4205 [BZ #10797]
4206 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
4207 Single Quotation Mark).
4208 (thousands_sep): Likewise.
4209 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
4210 * localedata/locales/it_IT (thousands_sep): Use ".".
4211 (grouping): Use "3;3".
4212
7244f13d
JM
42132018-09-10 Joseph Myers <joseph@codesourcery.com>
4214
4215 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
4216 x86_64 and i686 configs using --enable-obsolete-rpc
4217 --enable-obsolete-nsl.
4218
38245425
SL
42192018-09-06 Stefan Liebler <stli@linux.ibm.com>
4220
4221 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4222
28669f86
SL
42232018-09-06 Stefan Liebler <stli@linux.ibm.com>
4224
4225 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
4226 Increment size of new_argv by one.
4227
a33650d1
RL
42282018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
4229
4230 [BZ #17426]
4231 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
4232 * localedata/locales/ar_IN (d_fmt): Likewise.
4233 * localedata/locales/bhb_IN (d_fmt): Likewise.
4234 * localedata/locales/bho_IN (d_fmt): Likewise.
4235 * localedata/locales/bn_BD (d_fmt): Likewise.
4236 * localedata/locales/bn_IN (d_fmt): Likewise.
4237 * localedata/locales/doi_IN (d_fmt): Likewise.
4238 * localedata/locales/gu_IN (d_fmt): Likewise.
4239 * localedata/locales/hi_IN (d_fmt): Likewise.
4240 * localedata/locales/hne_IN (d_fmt): Likewise.
4241 * localedata/locales/kn_IN (d_fmt): Likewise.
4242 * localedata/locales/mag_IN (d_fmt): Likewise.
4243 * localedata/locales/mai_IN (d_fmt): Likewise.
4244 * localedata/locales/mjw_IN (d_fmt): Likewise.
4245 * localedata/locales/ml_IN (d_fmt): Likewise.
4246 * localedata/locales/mni_IN (d_fmt): Likewise.
4247 * localedata/locales/mr_IN (d_fmt): Likewise.
4248 * localedata/locales/pa_IN (d_fmt): Likewise.
4249 * localedata/locales/raj_IN (d_fmt): Likewise.
4250 * localedata/locales/sat_IN (d_fmt): Likewise.
4251 * localedata/locales/sd_IN (d_fmt): Likewise.
4252 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
4253 * localedata/locales/ta_IN (d_fmt): Likewise.
4254 * localedata/locales/ta_LK (d_fmt): Likewise.
4255 * localedata/locales/tcy_IN (d_fmt): Likewise.
4256 * localedata/locales/ur_IN (d_fmt): Likewise.
4257
4258 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
4259 * localedata/locales/ks_IN (d_fmt): Likewise.
4260 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
4261
4262 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
4263 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
4264 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
4265 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
4266
d114e6a7
SN
42672018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
4268
4269 * NEWS: Mention exp and exp2 improvements.
4270 * math/Makefile (libm-support): Remove t_exp.
4271 (type-double-routines): Add math_err and e_exp_data.
4272 * sysdeps/aarch64/libm-test-ulps: Update.
4273 * sysdeps/arm/libm-test-ulps: Update.
4274 * sysdeps/i386/fpu/e_exp_data.c: New file.
4275 * sysdeps/i386/fpu/math_err.c: New file.
4276 * sysdeps/i386/fpu/t_exp.c: Remove.
4277 * sysdeps/ia64/fpu/e_exp_data.c: New file.
4278 * sysdeps/ia64/fpu/math_err.c: New file.
4279 * sysdeps/ia64/fpu/t_exp.c: Remove.
4280 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
4281 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
4282 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
4283 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
4284 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
4285 * sysdeps/ieee754/dbl-64/math_config.h: New file.
4286 * sysdeps/ieee754/dbl-64/math_err.c: New file.
4287 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
4288 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
4289 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
4290 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
4291 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
4292 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
4293 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
4294 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4295 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4296
b9d8c474
JM
42972018-09-05 Joseph Myers <joseph@codesourcery.com>
4298
b7cdc2ae
JM
4299 * sysdeps/alpha/fpu/math_private.h: Remove.
4300
b9d8c474
JM
4301 * sysdeps/generic/math_private.h
4302 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
4303 Move this inline function ....
4304 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
4305 * include/math.h [!_ISOMAC]: To here....
4306
418d99e6
JM
43072018-09-04 Joseph Myers <joseph@codesourcery.com>
4308
4309 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
4310 code ....
4311 [!FE_HAVE_ROUNDING_MODES]: And this code ....
4312 * include/fenv.h [!_ISOMAC]: ... to here.
4313 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
4314 (feraiseexcept): Likewise.
4315 * math/fromfp.h: Do not include <fenv_private.h>.
4316 * math/s_cexp_template.c: Likewise.
4317 * math/s_csin_template.c: Likewise.
4318 * math/s_csinh_template.c: Likewise.
4319 * math/s_ctan_template.c: Likewise.
4320 * math/s_ctanh_template.c: Likewise.
4321 * math/s_iseqsig_template.c: Likewise.
4322 * math/w_acos_compat.c: Likewise.
4323 * math/w_acosf_compat.c: Likewise.
4324 * math/w_acosl_compat.c: Likewise.
4325 * math/w_asin_compat.c: Likewise.
4326 * math/w_asinf_compat.c: Likewise.
4327 * math/w_asinl_compat.c: Likewise.
4328 * math/w_j0_compat.c: Likewise.
4329 * math/w_j0f_compat.c: Likewise.
4330 * math/w_j0l_compat.c: Likewise.
4331 * math/w_j1_compat.c: Likewise.
4332 * math/w_j1f_compat.c: Likewise.
4333 * math/w_j1l_compat.c: Likewise.
4334 * math/w_jn_compat.c: Likewise.
4335 * math/w_jnf_compat.c: Likewise.
4336 * math/w_log10_compat.c: Likewise.
4337 * math/w_log10f_compat.c: Likewise.
4338 * math/w_log10l_compat.c: Likewise.
4339 * math/w_log2_compat.c: Likewise.
4340 * math/w_log2f_compat.c: Likewise.
4341 * math/w_log2l_compat.c: Likewise.
4342 * math/w_log_compat.c: Likewise.
4343 * math/w_logf_compat.c: Likewise.
4344 * math/w_logl_compat.c: Likewise.
4345 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
4346 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4347 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4348 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
4349 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
4350 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
4351 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
4352 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
4353 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
4354 * sysdeps/ieee754/k_standardl.c: Likewise.
4355 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4356 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
4357 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4358 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4359 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4360 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4361 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4362 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
4363 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
4364 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4365 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
4366 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
4367 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
4368 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4369 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4370 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4371 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4372 * math/w_ilogb_template.c: Include <fenv.h> instead of
4373 <fenv_private.h>.
4374 * math/w_llogb_template.c: Likewise.
4375 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4376 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4377
70e2ba33
JM
43782018-09-03 Joseph Myers <joseph@codesourcery.com>
4379
4380 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
4381 * math/fromfp.h: Include <fenv_private.h>.
4382 * math/math-narrow.h: Likewise.
4383 * math/s_cexp_template.c: Likewise.
4384 * math/s_csin_template.c: Likewise.
4385 * math/s_csinh_template.c: Likewise.
4386 * math/s_ctan_template.c: Likewise.
4387 * math/s_ctanh_template.c: Likewise.
4388 * math/s_iseqsig_template.c: Likewise.
4389 * math/w_acos_compat.c: Likewise.
4390 * math/w_acosf_compat.c: Likewise.
4391 * math/w_acosl_compat.c: Likewise.
4392 * math/w_asin_compat.c: Likewise.
4393 * math/w_asinf_compat.c: Likewise.
4394 * math/w_asinl_compat.c: Likewise.
4395 * math/w_ilogb_template.c: Likewise.
4396 * math/w_j0_compat.c: Likewise.
4397 * math/w_j0f_compat.c: Likewise.
4398 * math/w_j0l_compat.c: Likewise.
4399 * math/w_j1_compat.c: Likewise.
4400 * math/w_j1f_compat.c: Likewise.
4401 * math/w_j1l_compat.c: Likewise.
4402 * math/w_jn_compat.c: Likewise.
4403 * math/w_jnf_compat.c: Likewise.
4404 * math/w_llogb_template.c: Likewise.
4405 * math/w_log10_compat.c: Likewise.
4406 * math/w_log10f_compat.c: Likewise.
4407 * math/w_log10l_compat.c: Likewise.
4408 * math/w_log2_compat.c: Likewise.
4409 * math/w_log2f_compat.c: Likewise.
4410 * math/w_log2l_compat.c: Likewise.
4411 * math/w_log_compat.c: Likewise.
4412 * math/w_logf_compat.c: Likewise.
4413 * math/w_logl_compat.c: Likewise.
4414 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
4415 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
4416 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
4417 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
4418 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4419 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4420 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4421 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4422 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4423 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4424 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4425 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4426 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
4427 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
4428 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4429 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
4430 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
4431 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
4432 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4433 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4434 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
4435 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4436 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4437 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4438 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4439 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
4440 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
4441 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
4442 * sysdeps/ieee754/float128/float128_private.h: Likewise.
4443 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
4444 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4445 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4446 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
4447 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
4448 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
4449 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
4450 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
4451 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4452 * sysdeps/ieee754/k_standardl.c: Likewise.
4453 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4454 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
4455 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4456 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4457 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
4458 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
4459 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
4460 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4461 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4462 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4463 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4464 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4465 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4466 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4467 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
4468 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
4469 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4470 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
4471 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
4472 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
4473 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
4474 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4475 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
4476 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4477 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4478 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
4479 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4480 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
4481 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
4482 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
4483 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
4484 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4485 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4486 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4487 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4488 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
4489 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4490 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4491 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
4492 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
4493 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
4494 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
4495 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
4496 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
4497 * sysdeps/riscv/rvd/s_finite.c: Likewise.
4498 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
4499 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
4500 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
4501 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
4502 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
4503 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
4504 * sysdeps/riscv/rvf/fegetround.c: Likewise.
4505 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
4506 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
4507 * sysdeps/riscv/rvf/fesetround.c: Likewise.
4508 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
4509 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
4510 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
4511 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
4512 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
4513 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
4514 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
4515 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
4516 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
4517 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
4518 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
4519 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
4520 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
4521 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
4522 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
4523 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
4524
a6e8926f
PP
45252018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
4526
4527 [BZ #20271]
4528 * include/stdio.h (__libc_fatal): Mention newline in comment.
4529 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
4530 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
4531 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4532 * nss/nsswitch.c (__nss_next2): Likewise.
4533 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
4534 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
4535 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
4536 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
4537 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
4538 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
4539 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
4540 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
4541 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
4542 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
4543 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
4544 * sysdeps/unix/sysv/linux/netlink_assert_response.c
4545 (__netlink_assert_response): Likewise.
4546
2bbd06bc
JM
45472018-08-31 Joseph Myers <joseph@codesourcery.com>
4548
4549 * conform/glibcconform.py: New file.
4550 * conform/list-header-symbols.py: Likewise.
4551 * conform/list-header-symbols.pl: Remove.
4552 * conform/Makefile (tests-special): Only add linknamespace tests
4553 if [PYTHON].
4554 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
4555
81b9d87b
L
45562018-08-31 H.J. Lu <hongjiu.lu@intel.com>
4557
4558 [BZ #23597]
4559 * support/Makefile (libsupport-routines): Add
4560 support_copy_file_range and xcopy_file_range.
4561 * support/support.h: Include <sys/types.h>.
4562 (support_copy_file_range): New prototype.
4563 * support/support_copy_file_range.c: New file. Copied and
4564 modified from io/copy_file_range-compat.c.
4565 * support/test-container.c (copy_one_file): Call xcopy_file_rang
4566 instead of copy_file_range.
4567 * support/xcopy_file_range.c: New file.
4568 * support/xunistd.h (xcopy_file_range): New prototype.
4569
d330f31a
CD
45702018-08-30 Carlos O'Donell <carlos@redhat.com>
4571
4572 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
4573 xpthread_create and xpthread_join.
4574
2bda273a
FW
45752018-08-30 Florian Weimer <fweimer@redhat.com>
4576
4577 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
4578
3bad2358
SL
45792018-08-30 Stefan Liebler <stli@linux.ibm.com>
4580
4581 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
4582 if malloc fails.
4583
09c12efc
JM
45842018-08-29 Joseph Myers <joseph@codesourcery.com>
4585
4586 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
4587 and minus_oflow as non-finite.
4588
ff6b2450
JM
45892018-08-28 Joseph Myers <joseph@codesourcery.com>
4590
4591 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
4592 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
4593 moved to fenv_private.h except for ...
4594 (TOINT_INTRINSICS): Kept in math_private.h.
4595 (roundtoint): Likewise.
4596 (converttoint): Likewise.
4597 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
4598 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
4599 * sysdeps/arm/math_private.h: Remove.
4600 * sysdeps/generic/fenv_private.h: New file. Contents moved from
4601 ....
4602 * sysdeps/generic/math_private.h: ... this file. Include
4603 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
4604 Include <fenv_private.h>. Remove functions and macros moved to
4605 fenv_private.h.
4606 * sysdeps/i386/fpu/math_private.h: Remove.
4607 * sysdeps/mips/math_private.h: Move to ....
4608 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
4609 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
4610 [__mips_hard_float] conditional. Include next <fenv_private.h>.
4611 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
4612 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
4613 * sysdeps/powerpc/fpu/math_private.h: Do not include
4614 <fenv_private.h>.
4615 * sysdeps/riscv/rvf/math_private.h: Move to ....
4616 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
4617 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
4618 <fenv_private.h>.
4619 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
4620 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
4621 * sysdeps/sparc/fpu/math_private.h: Remove.
4622 * sysdeps/i386/fpu/fenv_private.h: Move to ....
4623 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
4624 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
4625 <fenv_private.h>.
4626 * sysdeps/x86_64/fpu/math_private.h: Do not include
4627 <sysdeps/i386/fpu/fenv_private.h>.
4628
761404b7
FW
46292018-08-28 Florian Weimer <fweimer@redhat.com>
4630
4631 [BZ #23578]
4632 * posix/tst-regcomp-truncated.c: New file.
4633 * posix/Makefile (tests): Add it.
4634 (tst-regcomp-truncated.out): Depend on generated locales.
4635
d6c44c3d
FW
46362018-08-28 Florian Weimer <fweimer@redhat.com>
4637
4638 * support/test-container.c (main): Treat unshare failure with
4639 EPERM as an unsupported test.
4640
745664bd
FW
46412018-08-28 Florian Weimer <fweimer@redhat.com>
4642
4643 [BZ #23520]
4644 nscd: Fix use-after-free in addgetnetgrentX and its callers.
4645 * nscd/netgroupcache.c
4646 (addgetnetgrentX): Add tofreep parameter. Do not free
4647 heap-allocated buffer.
4648 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
4649 (addgetnetgrentX_ignore): New function.
4650 (addgetnetgrent): Call it.
4651 (readdgetnetgrent): Likewise.
4652
c8dd67e7
RS
46532018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4654
4655 * string/memmem.c: Use memcmp for first match.
4656
5abedf97
RL
46572018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
4658
4659 [BZ #17426]
4660 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
4661
86de0499
DD
46622018-08-27 DJ Delorie <dj@redhat.com>
4663
4664 * support/Makefile (others): Don't list programs explicitly as a
4665 dependency of "others".
4666
c3ab2110
JM
46672018-08-27 Joseph Myers <joseph@codesourcery.com>
4668
4669 * sysdeps/generic/math-tests-trap-force.h: New file.
4670 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
4671 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
4672 * sysdeps/powerpc/math-tests.h: Remove file.
4673 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
4674
99ea93ca
MK
46752018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
4676 Torvald Riegel <triegel@redhat.com>
4677
4678 [BZ #23538]
4679 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
4680 Update r to include the set wake-request flag if waiters are
4681 remaining after spinning.
4682
4061791f
JM
46832018-08-27 Joseph Myers <joseph@codesourcery.com>
4684
4685 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
4686
bc680b33
PE
46872018-08-25 Paul Eggert <eggert@cs.ucla.edu>
4688
761404b7 4689 [BZ #23578]
bc680b33
PE
4690 regex: fix uninitialized memory access
4691 I introduced this bug into gnulib in commit
4692 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
4693 eventually it was merged into glibc. The bug was found by
4694 project-repo <bugs@feusi.co> and reported here:
4695 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
4696 Diagnosis and draft fix reported by Assaf Gordon here:
4697 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
4698 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
4699 * posix/regex_internal.c (build_wcs_upper_buffer):
4700 Fix bug when mbrtowc returns 0.
4701
02458a52
CD
47022018-08-24 Carlos O'Donell <carlos@redhat.com>
4703
4704 * po/be.po: Update translation.
4705
acc2842a
DD
47062018-08-24 DJ Delorie <dj@delorie.com>
4707
4708 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
4709 $(libunwind).
4710
6c3a8a9d
PP
47112018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4712
4713 [BZ #23400]
4714 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
4715 create temporary files in source tree.
4716
895ef79e
JM
47172018-08-24 Joseph Myers <joseph@codesourcery.com>
4718
4719 * sysdeps/generic/math-tests-trap.h: New file.
4720 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
4721 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
4722 * sysdeps/aarch64/math-tests.h: Remove file.
4723 * sysdeps/arm/math-tests.h: Likewise.
4724 * sysdeps/riscv/math-tests.h: Likewise.
4725 * sysdeps/aarch64/math-tests-trap.h: New file.
4726 * sysdeps/arm/math-tests-trap.h: Likewise.
4727 * sysdeps/riscv/math-tests-trap.h: Likewise.
4728
ca3aac57
WD
47292018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
4730
4731 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
4732 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
4733 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
4734 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
4735 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
4736 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
4737 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4738 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
4739 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
4740 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4741 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4742 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4743 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4744 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
4745 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
4746 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
4747 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4748 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4749
60bcac09
JM
47502018-08-23 Joseph Myers <joseph@codesourcery.com>
4751
4752 * sysdeps/generic/math-tests-exceptions.h: New file.
4753 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
4754 (EXCEPTION_TESTS_float): Do not define here.
4755 (EXCEPTION_TESTS_double): Likewise.
4756 (EXCEPTION_TESTS_long_double): Likewise.
4757 (EXCEPTION_TESTS_float128): Likewise.
4758 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
4759 Likewise.
4760 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
4761 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
4762 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
4763 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
4764 * sysdeps/mips/math-tests.h: Likewise.
4765 * sysdeps/nios2/math-tests.h: Likewise.
4766 * sysdeps/riscv/math-tests.h [!__riscv_flen]
4767 (EXCEPTION_TESTS_float): Do not define here.
4768 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
4769 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
4770 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
4771
3bded567
WD
47722018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
4773
4774 * NEWS: Move optimized sinf entry to 2.29.
4775
900fb446
WD
47762018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
4777
4778 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
4779
561b0bec
DD
47802018-08-22 DJ Delorie <dj@redhat.com>
4781
4782 * Makefile (testroot.pristine): New rules to initialize the
4783 test-in-container "testroot".
4784 * Makerules (all-testsuite): Add tests-container.
4785 * Rules (tests-expected): Add tests-container.
4786 (binaries-all-tests): Likewise.
4787 (tests-container): New, run these tests in the testroot container.
4788 * support/Makefile (others): Add *-container, support_paths.c,
4789 xmkdirp, and links-dso-program.
4790 * support/links-dso-program-c.c: New.
4791 * support/links-dso-program.cc: New.
4792 * support/test-container.c: New.
4793 * support/shell-container.c: New.
4794 * support/echo-container.c: New.
4795 * support/true-container.c: New.
4796 * support/xmkdirp.c: New.
4797 * support/xsymlink.c: New.
4798 * support/support_paths.c: New.
4799 * support/support.h: Add support paths prototypes.
4800 * support/xunistd.h: Add xmkdirp () and xsymlink ().
4801
4802 * nss/tst-nss-test3.c: Convert to test-in-container.
4803 * nss/tst-nss-test3.root/: New.
4804
b35d3509
PE
48052018-08-22 Paul Eggert <eggert@cs.ucla.edu>
4806
4807 regex: port Gnulib code to z/OS POSIX environment
4808 Problem reported by Arnold Robbins in:
4809 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
4810 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
4811 Undef.
4812
16a25138
JM
48132018-08-22 Joseph Myers <joseph@codesourcery.com>
4814
debc4c98
JM
4815 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
4816 (ROUNDING_TESTS_double): Remove.
4817 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
4818 (ROUNDING_TESTS_double): Remove.
4819 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
4820 (ROUNDING_TESTS_double): Remove.
4821 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
4822 (ROUNDING_TESTS_float): Remove.
4823 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
4824 (ROUNDING_TESTS_float): Remove.
4825 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
4826 (ROUNDING_TESTS_float): Remove.
4827 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
4828 !TEST_MATHVEC here.
4829 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4830 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4831
16a25138
JM
4832 * sysdeps/generic/math-tests-rounding.h: New file.
4833 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
4834 (ROUNDING_TESTS_float): Do not define here.
4835 (ROUNDING_TESTS_double): Likewise.
4836 (ROUNDING_TESTS_long_double): Likewise.
4837 (ROUNDING_TESTS_float128): Likewise.
4838 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
4839 (ROUNDING_TESTS_double): Undefine before defining.
4840 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
4841 (ROUNDING_TESTS_double): Undefine before defining.
4842 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
4843 (ROUNDING_TESTS_double): Undefine before defining.
4844 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
4845 (ROUNDING_TESTS_float): Undefine before defining.
4846 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
4847 (ROUNDING_TESTS_float): Undefine before defining.
4848 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
4849 (ROUNDING_TESTS_float): Undefine before defining.
4850 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
4851 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
4852 not define here.
4853 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
4854 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
4855 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
4856 * sysdeps/riscv/math-tests.h [!__riscv_flen]
4857 (ROUNDING_TESTS_float): Do not define here.
4858 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
4859 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
4860 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
4861 (ROUNDING_TESTS_float): Likewise.
4862 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
4863 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
4864 * sysdeps/mips/math-tests.h [__mips_soft_float]
4865 (ROUNDING_TESTS_float): Likewise.
4866 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
4867 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
4868 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
4869 (ROUNDING_TESTS_double): Likewise.
4870 (ROUNDING_TESTS_long_double): Likewise.
4871
38b0593e
TK
48722018-08-21 Tobias Klauser <tklauser@distanz.ch>
4873
4874 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
4875 (PF_XDP): New macro.
4876 (AF_XDP): New macro.
4877 (SOL_XDP): New macro.
4878
5cd7dbde
JM
48792018-08-21 Joseph Myers <joseph@codesourcery.com>
4880
4881 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
4882 (TCP_INQ): Likewise.
4883 (TCP_CM_INQ): Likewise.
4884 (TCP_REPAIR_ON): Likewise.
4885 (TCP_REPAIR_OFF): Likewise.
4886 (TCP_REPAIR_OFF_NO_WP): Likewise.
4887 (struct tcp_zerocopy_receive): New type.
4888
aa42b3db
FW
48892018-08-21 Florian Weimer <fweimer@redhat.com>
4890
4891 * support/support.h (support_descriptor_supports_holes): Declare.
4892 * support/Makefile (libsupport-routines): Add
4893 support_descriptor_supports_holes.
4894 * support/support_descriptor_supports_holes.c: New file.
4895 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
4896 and stop testing if holes are not supported.
4897 * io/test-lfs.c (do_prepare): Likewise.
4898 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
4899 Likewise.
4900 * timezone/tst-tzset.c (create_tz_file): Likewise.
4901 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
4902 variable.
4903 (do_prepare): Set it.
4904 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
4905
c7627f41
FW
49062018-08-21 Florian Weimer <fweimer@redhat.com>
4907
4908 [BZ #17248]
4909 * Makeconfig (+cflags): Do not sort (and deduplicate).
4910
ef939d92
FW
49112018-08-21 Florian Weimer <fweimer@redhat.com>
4912
4913 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
4914 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
4915
88ffb39d
FW
49162018-08-20 Florian Weimer <fweimer@redhat.com>
4917
4918 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
4919 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
4920
17419540
JM
49212018-08-20 Joseph Myers <joseph@codesourcery.com>
4922
e6edd40d
JM
4923 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
4924 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
4925 and ssi_arch members.
4926
17419540
JM
4927 * elf/elf.c (NT_VMCOREDD): New macro.
4928 (AT_MINSIGSTKSZ): Likewise.
4929
fa78896b
RS
49302018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4931
4932 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4933 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
4934 s_cosf-ppc64 and s_cosf-power8.
4935 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
4936 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4937 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4938 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
4940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
4941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
4942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
4943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
4944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
4945 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
4946 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
4947
86a6c75a
FW
49482018-08-17 Florian Weimer <fweimer@redhat.com>
4949
4950 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4951
35cfefd9
FW
49522018-08-17 Istvan Kurucsai <pistukem@gmail.com>
4953
4954 * malloc/malloc.c (_int_malloc): Additional binning code checks.
4955
6413fcde
FW
49562018-08-16 Florian Weimer <fweimer@redhat.com>
4957
4958 * configure.ac: Add --with-nonshared-cflags option.
4959 * config.make.in (extra-nonshared-cflags): Set variable.
4960 * Makeconfig (CFLAGS-.oS): Use it.
4961 * manual/install.texi (Configuring and compiling): Document
4962 --with-nonshared-cflags.
4963 * configure: Regenerate.
4964 * INSTALL: Likewise.
4965
93a2584c
FW
49662018-08-16 Florian Weimer <fweimer@redhat.com>
4967
4968 * Makeconfig (ASFLAGS): Always append required assembler flags.
4969
f6f275d2 49702018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
d6db68e6
ME
4971
4972 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
4973 (malloc_consolidate): Likewise.
4974
30a17d8c
PC
49752018-08-16 Pochang Chen <johnchen902@gmail.com>
4976
4977 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
4978
953a5a4a
SP
49792018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
4980
34f86d61
SP
4981 * benchtests/bench-strlen.c (do_test): Allocate buffers before
4982 every strlen call.
4983
953a5a4a
SP
4984 * benchtests/bench-strlen.c: Print performance numbers in json.
4985
7793ad7a
RS
49862018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4987
4988 * sysdeps/powerpc/powerpc64/multiarch/Makefile
4989 (sysdep_routines): Build strcmp-power9 and strncmp-power9
4990 only for little endian.
4991 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4992 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
4993 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
4994 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
4995 Add check for little endian.
4996 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
4997 (__strcmp_power9): Add check for little endian.
4998 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
4999 Add check for little endian.
5000 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
5001 (__strncmp_power9): Add check for little endian.
5002 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
5003 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
5004 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
5005 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
5006 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
5007
436e4d5b
SP
50082018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
5009
5010 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
5011 [!STRLEN](STRLEN): Set to __strlen.
5012 * sysdeps/aarch64/multiarch/strlen.c: New file.
5013 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
5014 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
5015 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
5016 (__libc_ifunc_impl_list): Add strlen.
5017 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
5018 strlen_generic and strlen_asimd.
5019
126c4e3f
WD
50202018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
5021
5022 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
5023 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
5024 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
5025
49acec17
WD
50262018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
5027
5028 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
5029
fdb16de3
FW
50302018-08-14 Florian Weimer <fweimer@redhat.com>
5031
5032 [BZ #23519]
5033 * include/stdio.h (__vfxprintf): Declare.
5034 * stdio-common/fxprintf.c (__vfxprintf): New function.
5035 (__fxprintf): Call it.
5036 * misc/err.c (convert_and_print): Remove function.
5037 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
5038 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
5039 * misc/Makefile (tests): Add tst-warn-wide.
5040 * misc/tst-warn-wide.c: New file.
5041
599cf397
WD
50422018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
5043 Szabolcs Nagy <szabolcs.nagy@arm.com>
5044
5045 * NEWS: Mention sinf, cosf, sincosf.
5046 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
5047 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
5048 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
5049 constants rather than including generic sincosf.h.
5050 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
5051 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
5052 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
5053 (reduced_cos): Remove.
5054 (sinf_poly): New function.
5055 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
5056
e95c6f61
FW
50572018-08-14 Florian Weimer <fweimer@redhat.com>
5058
5059 [BZ #23521]
5060 [BZ #23522]
5061 * nss/nss_files/files-alias.c (get_next_alias): During :include:
5062 processing, bail out if no room, and close the stream before
5063 returning ERANGE.
5064 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
5065 (tst-nss-files-alias-leak): Link with libdl.
5066 (tst-nss-files-alias-leak.out): Depend on nss_files.
5067
5068 * nss/tst-nss-files-alias-leak.c: New file.
5069
2d7acfac
FW
50702018-08-14 Florian Weimer <fweimer@redhat.com>
5071
5072 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
5073 server_user, stat_user.
5074
f3cd0904
JM
50752018-08-13 Joseph Myers <joseph@codesourcery.com>
5076
17b26500
JM
5077 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5078 version to 4.18.
5079 (io_pgetevents): New syscall.
5080 (rseq): Likewise.
5081
3c1622eb
JM
5082 * manual/install.texi (Configuring and compiling): Do not list
5083 tools used for testing pretty printers here.
5084 (Tools for Compilation): List Python, PExpect and GDB here.
5085 Update descriptions of uses of Perl and Python.
5086 * INSTALL: Regenerate.
5087
f3cd0904
JM
5088 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5089 version to 4.18.
5090
b7b52b9d
FW
50912018-08-13 Florian Weimer <fweimer@redhat.com>
5092
5093 * misc/error.c (error): Add missing va_end call.
5094 (error_at_line): Likewise.
5095
01780188
FW
50962018-08-13 Florian Weimer <fweimer@redhat.com>
5097
5098 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
5099
44727aec
SP
51002018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
5101
8cac1f26
SP
5102 * benchtests/scripts/benchout.schema.json (properties): Add
5103 new properties.
5104
44727aec
SP
5105 * benchtests/bench-skeleton.c (main): Add duration and
5106 iterations attributes.
5107
c77bf91b
PE
51082018-08-10 Paul Eggert <eggert@cs.ucla.edu>
5109
5110 regex: Gnulib unibyte RRI uses bytes not chars
5111 Adjust the non-glibc code to agree with what Gawk needs for
5112 rational range interpretation (RRI) for regular expression ranges.
5113 In unibyte locales, Gawk wants ranges to use the underlying byte
5114 rather than the character code point. This change does not affect
5115 glibc proper.
5116 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
5117 In unibyte locales, use the byte value rather than
5118 running it through btowc.
5119
2ce7ba7d
JM
51202018-08-10 Joseph Myers <joseph@codesourcery.com>
5121
5122 * sysdeps/generic/math-tests-snan.h: New file.
5123 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
5124 (SNAN_TESTS_float): Do not define here.
5125 (SNAN_TESTS_double): Likewise.
5126 (SNAN_TESTS_long_double): Likewise.
5127 (SNAN_TESTS_float128): Likewise.
5128 * sysdeps/i386/fpu/math-tests-snan.h: New file.
5129 * sysdeps/i386/fpu/math-tests.h: Remove file.
5130 * sysdeps/ia64/math-tests-snan.h: New file.
5131 * sysdeps/ia64/math-tests.h: Remove file.
5132 * sysdeps/x86/math-tests.h: Likewise.
5133 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
5134
ea5c662c
WD
51352018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
5136 Szabolcs Nagy <szabolcs.nagy@arm.com>
5137
5138 * math/Makefile: Add s_sincosf_data.c.
5139 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
5140 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
5141 (sincosf_poly): Likewise.
5142 (reduce_small): Likewise.
5143 (reduce_large): Likewise.
5144 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
5145 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
5146 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
5147 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
5148
43cfdf8f
SN
51492018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
5150 Szabolcs Nagy <szabolcs.nagy@arm.com>
5151
5152 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
5153 (converttoint): Use lround.
5154 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
5155 document the semantics when TOINT_INTRINSICS is set.
5156 (converttoint): Likewise.
5157 (TOINT_RINT): Remove.
5158 (TOINT_SHIFT): Remove.
5159 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
5160 path.
5161
69065288
FW
51622018-08-10 Florian Weimer <fweimer@redhat.com>
5163
5164 [BZ #23497]
5165 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
5166 function.
5167 (__old_getdents64): Use getdents64. Convert entries without
5168 moving them.
5169 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
5170 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
5171 tst-readdir64-compat.
5172
8f135efc
IL
51732018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
5174
5175 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
5176 Fix unwind.
5177
71c01af5
IL
51782018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
5179
5180 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
5181 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
5182 code to s390x-mcount.h and #include it.
5183 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
5184 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
5185 (__fentry__): Add.
5186
8d997d22
IL
51872018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
5188
5189 * stdlib/Versions: Remove __fentry__.
5190 * sysdeps/i386/Versions: Add __fentry__.
5191 * sysdeps/x86_64/Versions: Add __fentry__.
5192
69e2444a
IL
51932018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
5194
5195 * sysdeps/s390/Makefile: Register the new tests.
5196 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
5197 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
5198 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
5199 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
5200 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
5201 * sysdeps/s390/tst-dl-runtime.c: New file.
5202
bde6320f
IL
52032018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
5204
5205 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
5206 Do not clobber R0.
5207
5755f5e4
IL
52082018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
5209
5210 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
5211 Do not clobber R0.
5212
c8ad8522
IL
52132018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
5214
5215 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
5216 Do not clobber R0.
5217
b215eee1
IL
52182018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
5219
5220 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
5221 Do not clobber R0.
5222
329c6fec
IL
52232018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
5224
5225 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
5226 Use symbolic offsets for stack variables.
5227
0fb7afa2
IL
52282018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
5229
5230 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
5231 Use symbolic offsets for stack variables.
5232
6954059a
IL
52332018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
5234
5235 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
5236 Use symbolic offsets for stack variables.
5237
c7099673
IL
52382018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
5239
5240 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
5241 Use symbolic offsets for stack variables.
5242
2813e41e
JM
52432018-08-09 Joseph Myers <joseph@codesourcery.com>
5244
5245 * math/gen-libm-test.py: New file.
5246 * math/gen-libm-test.pl: Remove.
5247 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
5248 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
5249 gen-libm-test.pl.
5250 ($(libm-test-c-noauto-obj)): Likewise.
5251 ($(libm-test-c-auto-obj)): Likewise.
5252 ($(libm-test-c-narrow-obj)): Likewise.
5253 (regen-ulps): Likewise.
5254 * math/README.libm-test: Update references to gen-libm-test.pl.
5255 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
5256 referencing gen-libm-test.pl.
5257 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
5258 * math/libm-test-support.c: Likewise.
5259 * math/libm-test-support.h: Likewise.
5260 * sysdeps/generic/libm-test-ulps: Likewise.
5261
be64b194
SP
52622018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
5263
5264 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
5265 Fix value.
5266
140137fb
JM
52672018-08-08 Joseph Myers <joseph@codesourcery.com>
5268
5269 * math/libm-test-nextdown.inc (do_test): Move comment to ....
5270 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
5271
b5403eca
ST
52722018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
5273
5274 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
5275 symbols.
8ac0f9e6
ST
5276 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
5277 __pthread_setspecific): Add hidden proto.
5278 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
5279 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
b5403eca 5280
014efdd7
SP
52812018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
5282
5283 * benchtests/bench-string.h (buf1_size, buf2_size): New
5284 variables.
5285 (init_sizes): New function.
5286 (test_init): Use it.
5287 (alloc_buf, exit_error): New functions.
5288 (alloc_bufs): Use ALLOC_BUF.
5289 (realloc_bufs): Remove.
5290 * benchtests/bench-memcmp.c (do_test): Adjust.
5291 * benchtests/bench-memset-large.c (do_test): Likewise.
5292 * benchtests/bench-memset-walk.c (do_test): Likewise.
5293 * benchtests/bench-memset.c (do_test): Likewise.
5294 * benchtests/bench-strncmp.c (do_test): Likewise.
5295
92a4cba7
AS
52962018-08-06 Andreas Schwab <schwab@suse.de>
5297
5298 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
5299 of CONST_THREAD_AREA.
5300
fb4c32ae
L
53012018-08-06 H.J. Lu <hongjiu.lu@intel.com>
5302
5303 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
5304 (STATE_SAVE_MASK): Likewise.
5305 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
5306 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
5307 (STATE_SAVE_MASK): Likewise.
5308 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
5309 instead of <cpu-features.h>.
5310
bf418187
DD
53112018-08-03 DJ Delorie <dj@redhat.com>
5312
5313 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
e5721f45 5314 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
bf418187 5315
bb17621a
DD
5316 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
5317
ea705eb5
JM
53182018-08-03 Joseph Myers <joseph@codesourcery.com>
5319
5320 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
5321 after TEST_* calls.
5322 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
5323 * math/libm-test-logb.inc (logb_test_data): Likewise.
5324
284f42bc
WD
53252018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
5326
5327 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
5328 * string/strstr.c (AVAILABLE): Likewise.
5329
430388d5
L
53302018-08-03 H.J. Lu <hongjiu.lu@intel.com>
5331
5332 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
5333 <init-arch.h>.
5334 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
5335 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
5336 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
5337
c5760aa9
CD
53382018-08-03 Carlos O'Donell <carlos@redhat.com>
5339
5340 * po/be.po: Update translation.
5341
6b535b84
CD
5342 * po/be.po: Update translation.
5343
ae67f2e5
L
53442018-08-03 H.J. Lu <hongjiu.lu@intel.com>
5345
5346 * sysdeps/x86/cpu-features-offsets.sym
5347 (rtld_global_ro_offsetof): Removed.
5348 (CPU_FEATURES_SIZE): Likewise.
5349 (CPUID_OFFSET): Likewise.
5350 (CPUID_SIZE): Likewise.
5351 (CPUID_EAX_OFFSET): Likewise.
5352 (CPUID_EBX_OFFSET): Likewise.
5353 (CPUID_ECX_OFFSET): Likewise.
5354 (CPUID_EDX_OFFSET): Likewise.
5355 (FAMILY_OFFSET): Likewise.
5356 (MODEL_OFFSET): Likewise.
5357 (FEATURE_OFFSET): Likewise.
5358 (FEATURE_SIZ): Likewise.
5359 (COMMON_CPUID_INDEX_1): Likewise.
5360 (COMMON_CPUID_INDEX_7): Likewise.
5361 (FEATURE_INDEX_1): Likewise.
5362 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
5363
cfb0ff93 53642018-08-02 Carlos O'Donell <carlos@redhat.com>
08a5ee14
CD
5365
5366 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
5367 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
5368 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
5369 (install-locales): Depend on install-locale-archive.
5370 (install-locale-archive): Define.
7b7adbd8 5371 (install-locale-files): Define.
08a5ee14
CD
5372 (build-one-locale): Define macro.
5373 * manual/install.texi (Running make install): Document.
5374 * manual/INSTALL: Regenerate.
5375
525691bd
SP
53762018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
5377
d67d634b
SP
5378 * benchtests/scripts/compare_strings.py: Import traceback.
5379 (parse_file): Pretty-print error.
5380
525691bd
SP
5381 * NEWS: Mention the change.
5382 * elf/dl-tunables.list: Rename tune namespace to cpu.
5383 * sysdeps/powerpc/dl-tunables.list: Likewise.
5384 * sysdeps/x86/dl-tunables.list: Likewise.
5385 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
5386 cpu.name.
5387 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
5388 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
5389 * manual/README.tunables: Likewise.
5390 * manual/tunables.texi: Likewise.
5391 * sysdeps/powerpc/cpu-features.c: Likewise.
5392 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
5393 (init_cpu_features): Likewise.
5394 * sysdeps/x86/cpu-features.c: Likewise.
5395 * sysdeps/x86/cpu-features.h: Likewise.
5396 * sysdeps/x86/cpu-tunables.c: Likewise.
5397 * sysdeps/x86_64/Makefile: Likewise.
5398 * sysdeps/x86/dl-cet.c: Likewise.
5399
506d7fb1
JM
54002018-08-02 Joseph Myers <joseph@codesourcery.com>
5401
5402 [BZ #23479]
5403 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
5404 [__mips_hard_float].
5405 (FE_UNDERFLOW): Likewise.
5406 (FE_OVERFLOW): Likewise.
5407 (FE_DIVBYZERO): Likewise.
5408 (FE_INVALID): Likewise.
5409 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
5410 (FE_TOWARDZERO): Define only if [__mips_hard_float].
5411 (FE_UPWARD): Likewise.
5412 (FE_DOWNWARD): Likewise.
5413 (__FE_UNDEFINED): Define if [!__mips_hard_float]
5414 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
5415 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
5416 [__mips_hard_float].
5417 (FP_ROUNDMODE): Likewise.
5418 (FP_RND_NEAREST): Likewise.
5419 (FP_RND_ZERO): Likewise.
5420 (FP_RND_PINF): Likewise.
5421 (FP_RND_MINF): Likewise.
5422 (FP_EX_INVALID): Likewise.
5423 (FP_EX_OVERFLOW): Likewise.
5424 (FP_EX_UNDERFLOW): Likewise.
5425 (FP_EX_DIVZERO): Likewise.
5426 (FP_EX_INEXACT): Likewise.
5427 (FP_INIT_ROUNDMODE): Likewise.
5428 * sysdeps/mips/nofpu/fesetenv.c: New file.
5429 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
5430
f6dcefbe
JM
54312018-08-01 Joseph Myers <joseph@codesourcery.com>
5432
5433 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
5434 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
5435 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
5436 conditional on [FE_UPWARD].
5437
fa67ba06
PE
54382018-08-01 Paul Eggert <eggert@cs.ucla.edu>
5439
5440 regex: fix memory leak in Gnulib
5441 Problem and fix reported by Assaf Gordon in:
5442 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
5443 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
5444 range_ends members too, as they are defined in 'struct
5445 re_charset_t' even if not _LIBC. This affects only Gnulib.
5446
82c80ac2
L
54472018-08-01 H.J. Lu <hongjiu.lu@intel.com>
5448
5449 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
5450 ...
5451 (get_common_indices): This.
5452 (init_cpu_features): Updated.
5453
c0e7e2c1
JM
54542018-08-01 Joseph Myers <joseph@codesourcery.com>
5455
46f8cf57
JM
5456 * sysdeps/generic/math-tests-snan-payload.h: New file.
5457 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
5458 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
5459 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
5460 * sysdeps/generic/math-tests.h: Include
5461 <math-tests-snan-payload.h>.
5462 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
5463 * sysdeps/hppa/math-tests.h: Remove file.
5464 * sysdeps/mips/math-tests.h [!__mips_nan2008]
5465 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
5466 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
5467 Likewise.
5468
c0e7e2c1
JM
5469 * sysdeps/generic/math-tests-snan-cast.h: New file.
5470 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
5471 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
5472 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
5473 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
5474
74939c83
CD
54752018-08-01 Carlos O'Donel <carlos@redhat.com>
5476
b029723b
CD
5477 * version.h (RELEASE): Set to "development".
5478 (VERSION): Set to "2.28.9000".
5479 * NEWS (2.29): New section.
5480
3c03baca
CD
5481 * version.h (RELEASE): Set to "stable".
5482 (VERSION): Set to "2.28".
5483 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
5484 * NEWS: Add the list of bugs fixed in 2.28.
5485
74939c83
CD
5486 * po/ca.po: Update to latest version.
5487 * po/cs.po: Likewise
5488 * po/da.po: Likewise
5489 * po/el.po: Likewise
5490 * po/eo.po: Likewise
5491 * po/es.po: Likewise
5492 * po/fi.po: Likewise
5493 * po/fr.po: Likewise
5494 * po/gl.po: Likewise
5495 * po/hu.po: Likewise
5496 * po/ia.po: Likewise
5497 * po/id.po: Likewise
5498 * po/it.po: Likewise
5499 * po/ja.po: Likewise
5500 * po/ko.po: Likewise
5501 * po/lt.po: Likewise
5502 * po/nb.po: Likewise
5503 * po/nl.po: Likewise
5504 * po/pt_BR.po: Likewise
5505 * po/ru.po: Likewise
5506 * po/rw.po: Likewise
5507 * po/sk.po: Likewise
5508 * po/sl.po: Likewise
5509 * po/tr.po: Likewise
5510 * po/zh_CN.po: Likewise
5511 * po/zh_TW.po: Likewise
5512
d4b54bdf
ST
55132018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
5514
5515 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
5516 initialization...
5517 (init): ... before initializing libpthread.
5518
42fc12ef
ST
5519 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
5520 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
5521 (__mach_setup_tls): ... new function.
5522 (mach_setup_tls): New alias.
5523 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
5524 __mach_setup_thread.
5525 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
5526 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
5527 * mach/Versions [libc] (mach_setup_tls): Add symbol.
5528 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
5529
6cca855e
CD
55302018-07-31 Carlos O'Donell <carlos@redhat.com>
5531
f650932b
CD
5532 * manual/install.texi: Update versions.
5533 * INSTALL: Regenerate.
5534
6cca855e
CD
5535 * manual/contrib.texi (Contributors): Update contributions.
5536
07fdea47
CD
55372018-07-31 Carlos O'Donell <carlos@redhat.com>
5538
5539 * po/be.po: Update translations.
5540
63d5fad4
AZ
55412018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5542
5543 * sysdeps/sh/libm-test-ulps: Update.
5544
1ff712a6
CD
55452018-07-30 Carlos O'Donell <carlos@redhat.com>
5546
5547 * po/bg.po: Update translations.
5548 * po/de.po: Likewise.
5549 * po/hr.po: Likewise.
5550 * po/pt_BR.po: Likewise.
5551 * po/sv.po: Likewise.
5552 * po/vi.po: Likewise.
5553
98864ed0
L
55542018-07-30 H.J. Lu <hongjiu.lu@intel.com>
5555
5556 [BZ #23467]
5557 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
5558 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
5559 (CFLAGS-tst-cet-property-1.o): New.
5560 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
5561 ($(objpfx)tst-cet-property-2): Likewise.
5562 ($(objpfx)tst-cet-property-2.out): Likewise.
5563 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
5564 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
5565 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
5566 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
5567 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
5568
c92a00d8
L
55692018-07-30 H.J. Lu <hongjiu.lu@intel.com>
5570
5571 [BZ #23458]
5572 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
5573
99bc6241
ST
55742018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
5575
5576 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
5577 __sbrk): Do not set attribute_hidden.
af86087f 5578 * sysdeps/mach/hurd/not-errno.h: New file.
99bc6241
ST
5579 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
5580 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
5581
bcb1c4af
CD
55822018-07-27 Carlos O'Donell <carlos@redhat.com>
5583
5584 * po/uk.po: Update translations.
5585 * po/cs.po: Likewise.
5586 * po/pl.po: Likewise.
5587
4591b7db
L
55882018-07-27 H.J. Lu <hongjiu.lu@intel.com>
5589
5590 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
5591 parse beyond the note end.
5592
2c6da2f4
AZ
55932018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5594
5595 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
5596 kernel does not support OFD locks.
5597 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
5598
20365a31
ST
55992018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5600
5601 * sysdeps/mach/hurd/Versions (libc): Make __access and
5602 __access_noerrno external so they can override the ld symbols.
5603 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
5604 __writev, __open64, __access_noerrno extern so they can be overrided.
5605 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
5606 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
5607
cb1a43db
CD
56082018-07-26 Carlos O'Donell <carlos@redhat.com>
5609
5610 * po/libc.pot: Regenerate.
5611
74759ae5
JM
56122018-07-26 Joseph Myers <joseph@codesourcery.com>
5613
5614 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
5615
da80612d
L
56162018-07-26 H.J. Lu <hongjiu.lu@intel.com>
5617
5618 [BZ #23459]
5619 * sysdeps/x86/cpu-features.c (get_extended_indices): New
5620 function.
5621 (init_cpu_features): Call get_extended_indices for both Intel
5622 and AMD CPUs.
5623 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
5624 Remove "for AMD" comment.
5625
65d87ade
L
56262018-07-26 H.J. Lu <hongjiu.lu@intel.com>
5627
5628 [BZ # 23456]
5629 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
5630 COMMON_CPUID_INDEX_80000001.
5631
c9dc4d51
SL
56322018-07-26 Stefan Liebler <stli@linux.ibm.com>
5633
5634 * string/tst-xbzero-opt.c (use_test_buffer): New function.
5635 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
5636
cfba5dbb
FW
56372018-07-26 Florian Weimer <fweimer@redhat.com>
5638
5639 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
5640 aliases for symbols not in the implementation namespace.
5641
7cd7d36f
CD
56422018-07-25 Carlos O'Donell <carlos@redhat.com>
5643
5644 [BZ #23393]
5645 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
5646 lowercase in LATIN script.
5647 * localedata/Makefile (test-input): Add en_US.UTF-8.
5648 * localedata/en_US.UTF-8.in: New file.
5649 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
5650 and restore old tests.
5651 * posix/tst-regexloc.c (do_test): Add back range expression test.
5652
3fb455b3
L
56532018-07-25 H.J. Lu <hongjiu.lu@intel.com>
5654
5655 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
5656
d6499b70
AZ
56572018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5658
5659 * nptl/threads.h: Move to ...
5660 * sysdeps/nptl/threads.h: ... here.
5661 * sysdeps/hurd/stdc-predef.h: New file.
5662
08ac6bed
L
56632018-07-25 H.J. Lu <hongjiu.lu@intel.com>
5664
5665 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
5666 tst-cet-setcontext-1 if CET is enabled.
5667 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
5668 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
5669
9faaf938
AZ
56702018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5671
5672 * include/threads.h: Move to ...
5673 * sysdeps/nptl/threads.h: ... here.
5674 * sysdeps/htl/threads.h: New file.
5675 * conform/Makefile (linknamespace-libs-ISO11): Use
5676 static-thread-library instead of linking libpthread.
5677 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
5678
d6b8f847
FW
56792018-07-25 Florian Weimer <fweimer@redhat.com>
5680
5681 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
5682 nanoseconds into seconds.
5683 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
5684 (do_test): Likewise.
5685 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
5686 (do_test): Likewise. Avoid nanosecond overflow and spurious
5687 timeouts due to system load.
5688 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
5689 (child_wait): Increment it.
5690 (do_test): Wait as long as necessary until all expected threads
5691 have arrived.
5692
25123a1c
L
56932018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
5694 H.J. Lu <hongjiu.lu@intel.com>
5695
5696 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
5697 __ssp.
5698 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
5699 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
5700 (__push___start_context): New.
5701 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
5702 <asm/prctl.h>.
5703 (__getcontext): Record the current shadow stack base. Save the
5704 caller's shadow stack pointer and base.
5705 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
5706 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
5707 (__push___start_context): New prototype.
5708 (__makecontext): Call __push___start_context to allocate a new
5709 shadow stack, push __start_context onto the new stack as well
5710 as the new shadow stack.
5711 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
5712 <asm/prctl.h>.
5713 (__setcontext): Restore the target shadow stack.
5714 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
5715 <asm/prctl.h>.
5716 (__swapcontext): Record the current shadow stack base. Save
5717 the caller's shadow stack pointer and base. Restore the target
5718 shadow stack.
5719 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
5720 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
5721 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
5722
375a4844
L
57232018-07-25 H.J. Lu <hongjiu.lu@intel.com>
5724
5725 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
5726 tst-setcontext8 and tst-setcontext9.
5727 * stdlib/tst-setcontext6.c: New file.
5728 * stdlib/tst-setcontext7.c: Likewise.
5729 * stdlib/tst-setcontext8.c: Likewise.
5730 * stdlib/tst-setcontext9.c: Likewise.
5731
bd4f7903
L
57322018-07-25 H.J. Lu <hongjiu.lu@intel.com>
5733
5734 * stdlib/Makefile ((tests): Add tst-setcontext5.
5735 * stdlib/tst-setcontext5.c: New file.
5736
7e28f203
L
57372018-07-25 H.J. Lu <hongjiu.lu@intel.com>
5738
5739 * stdlib/Makefile (tests): Add tst-setcontext4.
5740 * stdlib/tst-setcontext4.c: New file.
5741
8516ad2d
L
57422018-07-25 H.J. Lu <hongjiu.lu@intel.com>
5743
5744 * stdlib/Makefile (tests): Add tst-swapcontext1.
5745 * stdlib/tst-swapcontext1.c: New test.
5746
fddcd003
L
57472018-07-25 H.J. Lu <hongjiu.lu@intel.com>
5748
5749 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
5750 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
5751 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
5752 and tst-cet-legacy-4c.
5753 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
5754 and tst-cet-legacy-mod-4.
5755 (CFLAGS-tst-cet-legacy-2.c): New.
5756 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
5757 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
5758 (CFLAGS-tst-cet-legacy-3.c): Likewise.
5759 (CFLAGS-tst-cet-legacy-4.c): Likewise.
5760 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
5761 ($(objpfx)tst-cet-legacy-1): Likewise.
5762 ($(objpfx)tst-cet-legacy-2): Likewise.
5763 ($(objpfx)tst-cet-legacy-2.out): Likewise.
5764 ($(objpfx)tst-cet-legacy-2a): Likewise.
5765 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
5766 ($(objpfx)tst-cet-legacy-4): Likewise.
5767 ($(objpfx)tst-cet-legacy-4.out): Likewise.
5768 ($(objpfx)tst-cet-legacy-4a): Likewise.
5769 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
5770 (tst-cet-legacy-4a-ENV): Likewise.
5771 ($(objpfx)tst-cet-legacy-4b): Likewise.
5772 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
5773 (tst-cet-legacy-4b-ENV): Likewise.
5774 ($(objpfx)tst-cet-legacy-4c): Likewise.
5775 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
5776 (tst-cet-legacy-4c-ENV): Likewise.
5777 * sysdeps/x86/tst-cet-legacy-1.c: New file.
5778 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
5779 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
5780 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
5781 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
5782 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
5783 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
5784 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
5785 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
5786 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
5787 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
5788
9aa3113a
L
57892018-07-25 H.J. Lu <hongjiu.lu@intel.com>
5790
5791 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
5792 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
5793 with ssp_base.
5794 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
5795 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
5796 with ssp_base.
5797
9c79cec8
AS
57982018-07-25 Andreas Schwab <schwab@suse.de>
5799
5800 [BZ #23442]
5801 * locale/weightwc.h (findidx): Handle the case where usrc is a
5802 prefix of cp but one character too short.
5803
969c3355
AZ
58042018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5805
5806 * NEWS: Add ISO C threads addition.
5807
e0f9c462
FW
58082018-07-24 Florian Weimer <fweimer@redhat.com>
5809
5810 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5811 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
5812 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
5813 4.13.
5814
394df381
L
58152018-07-24 H.J. Lu <hongjiu.lu@intel.com>
5816
5817 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
5818 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
5819 <sys/prctl.h> and <asm/prctl.h>.
5820 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
5821 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
5822 and <asm/prctl.h>.
5823 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
5824 ARCH_CET_LEGACY_BITMAP.
5825 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
5826 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
5827 * sysdeps/x86/libc-start.c: Include <startup.h>.
5828
46545530
FW
58292018-07-24 Florian Weimer <fweimer@redhat.com>
5830
5831 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
5832 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
5833
9d0a979e
RJ
58342018-07-24 Rical Jasan <rj@2c3t.io>
5835 Adhemerval Zanella <adhemerval.zanella@linaro.org>
0a07288b
AZ
5836 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
5837
5838 [BZ #14092]
9d0a979e
RJ
5839 * manual/debug.texi: Update adjacent chapter name.
5840 * manual/probes.texi: Likewise.
5841 * manual/threads.texi (ISO C Threads): New section.
5842 (POSIX Threads): Convert to a section.
5843
58442018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5845 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
5846
5847 [BZ# 14092]
0a07288b
AZ
5848 * nptl/Makefile (tests): Add new test files.
5849 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
5850 * nptl/tst-cnd-basic.c: Likewise.
5851 * nptl/tst-cnd-broadcast.c: Likewise.
5852 * nptl/tst-cnd-timedwait.c: Likewise.
5853 * nptl/tst-mtx-basic.c: Likewise.
5854 * nptl/tst-mtx-recursive.c: Likewise.
5855 * nptl/tst-mtx-timedlock.c: Likewise.
5856 * nptl/tst-mtx-trylock.c: Likewise.
5857 * nptl/tst-thrd-basic.c: Likewise.
5858 * nptl/tst-thrd-detach.c: Likewise.
5859 * nptl/tst-thrd-sleep.c: Likewise.
5860 * nptl/tst-tss-basic.c: Likewise.
5861
ce7528f6
AZ
58622018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5863
c6dd669b
AZ
5864 [BZ #14092]
5865 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
5866 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
5867 symbols.
5868 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5869 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5870 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5871 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5872 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5873 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5874 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5875 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5876 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5877 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5878 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5879 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5881 Likewise.
5882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5883 Likewise.
5884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5885 Likewise.
5886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5887 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
5888 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5889 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5890 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5891 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5892 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5893 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5894 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5895 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
5896 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
5897 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
5898 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
5899 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
5900 Likewise.
5901 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
5902 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
5903 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
5904 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
5905 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
5906 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
5907 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
5908 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
5909 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
5910 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
5911 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
5912 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
5913 ikewise.
5914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
5915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
5916 Likewise.
5917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
5918 Likewise.
5919 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
5920 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
5921 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
5922 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
5923 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
5924 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
5925 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
5926 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
5927
78d40132
AZ
5928 [BZ #14092]
5929 * conform/data/threads.h-data (thread_local): New macro.
5930 (TSS_DTOR_ITERATIONS): Likewise.
5931 (tss_t): New type.
5932 (tss_dtor_t): Likewise.
5933 (tss_create): New function.
5934 (tss_get): Likewise.
5935 (tss_set): Likewise.
5936 (tss_delete): Likewise.
5937 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
5938 tss_get, and tss_set objects.
5939 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
5940 * nptl/tss_create.c: New file.
5941 * nptl/tss_delete.c: Likewise.
5942 * nptl/tss_get.c: Likewise.
5943 * nptl/tss_set.c: Likewise.
5944 * sysdeps/nptl/threads.h (thread_local): New define.
5945 (TSS_DTOR_ITERATIONS): Likewise.
5946 (tss_t): New typedef.
5947 (tss_dtor_t): Likewise.
5948 (tss_create): New prototype.
5949 (tss_get): Likewise.
5950 (tss_set): Likewise.
5951 (tss_delete): Likewise.
5952
918311a3
AZ
5953 [BZ #14092]
5954 * conform/data/threads.h-data (cnd_t): New type.
5955 (cnd_init): New function.
5956 (cnd_signal): Likewise.
5957 (cnd_broadcast): Likewise.
5958 (cnd_wait): Likewise.
5959 (cnd_timedwait): Likewise.
5960 (cnd_destroy): Likewise.
5961 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
5962 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
5963 object.
5964 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
5965 * nptl/cnd_broadcast.c: New file.
5966 * nptl/cnd_destroy.c: Likewise.
5967 * nptl/cnd_init.c: Likewise.
5968 * nptl/cnd_signal.c: Likewise.
5969 * nptl/cnd_timedwait.c: Likewise.
5970 * nptl/cnd_wait.c: Likewise.
5971 * sysdeps/nptl/threads.h (cnd_t): New type.
5972 (cnd_init): New prototype.
5973 (cnd_signa): Likewise.
5974 (cnd_broadcast): Likewise.
5975 (cnd_wait): Likewise.
5976 (cnd_timedwait): Likewise.
5977 (cnd_destroy): Likewise.
5978
3c20a679
AZ
5979 [BZ #14092]
5980 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
5981 (once_flag): New type.
5982 (call_once): New function.
5983 * nptl/Makefile (libpthread-routines): Add call_once object.
5984 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
5985 * nptl/call_once.c: New file.
5986 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
5987 (once_flag): New type.
5988 (call_once): New prototype.
5989
18d59c1b
AZ
5990 [BZ #14092]
5991 * conform/data/threads.h-data (mtx_plain): New constant.
5992 (mtx_recursive): Likewise.
5993 (mtx_timed): Likewise.
5994 (mtx_t): New type.
5995 (mtx_init): New function.
5996 (mtx_lock): Likewise.
5997 (mtx_timedlock): Likewise.
5998 (mtx_trylock): Likewise.
5999 (mtx_unlock): Likewise.
6000 (mtx_destroy): Likewise.
6001 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
6002 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
6003 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
6004 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
6005 * nptl/mtx_destroy.c: New file.
6006 * nptl/mtx_init.c: Likewise.
6007 * nptl/mtx_lock.c: Likewise.
6008 * nptl/mtx_timedlock.c: Likewise.
6009 * nptl/mtx_trylock.c: Likewise.
6010 * nptl/mtx_unlock.c: Likewise.
6011 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
6012 (mtx_recursive): Likewise.
6013 (mtx_timed): Likewise.
6014 (mtx_t): New type.
6015 (mtx_init): New prototype.
6016 (mtx_lock): Likewise.
6017 (mtx_timedlock): Likewise.
6018 (mtx_trylock): Likewise.
6019 (mtx_unlock): Likewise.
6020 (mtx_destroy): Likewise.
6021
ce7528f6
AZ
6022 [BZ #14092]
6023 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
6024 (linknamespace-libs-ISO11): Add libpthread.a.
6025 * conform/data/threads.h-data: New file: add C11 thrd_* types and
6026 functions.
6027 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
6028 * nptl/Makefile (headers): Add threads.h.
6029 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
6030 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
6031 thrd_yield.
6032 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
6033 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
6034 thrd_join, thrd_sleep, and thrd_yield symbols.
6035 * nptl/descr.h (struct pthread): Add c11 field.
6036 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
6037 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
6038 routine with expected function prototype.
6039 (__pthread_create_2_1): Add C11 threads check based on attribute
6040 value.
6041 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
6042 * nptl/thrd_create.c: New file.
6043 * nptl/thrd_current.c: Likewise.
6044 * nptl/thrd_detach.c: Likewise.
6045 * nptl/thrd_equal.c: Likewise.
6046 * nptl/thrd_exit.c: Likewise.
6047 * nptl/thrd_join.c: Likewise.
6048 * nptl/thrd_priv.h: Likewise.
6049 * nptl/thrd_sleep.c: Likewise.
6050 * nptl/thrd_yield.c: Likewise.
6051 * include/threads.h: Likewise.
6052
e27f41ba
L
60532018-07-24 H.J. Lu <hongjiu.lu@intel.com>
6054
6055 * bits/indirect-return.h: New file.
6056 * misc/sys/cdefs.h (__glibc_has_attribute): New.
6057 * sysdeps/x86/bits/indirect-return.h: Likewise.
6058 * stdlib/Makefile (headers): Add bits/indirect-return.h.
6059 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
6060 (swapcontext): Add __INDIRECT_RETURN.
6061 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
6062 (prepare_test_buffer): Use it.
6063
21526a50
AS
60642018-07-24 Andreas Schwab <schwab@suse.de>
6065
6066 [BZ #23448]
6067 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
6068 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
6069
3650e1d9
L
60702018-07-24 H.J. Lu <hongjiu.lu@intel.com>
6071
6072 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
6073 Redefine if shadow stack is enabled.
6074 (SYSCALL_ERROR_LABEL): Likewise.
6075 (__vfork): Pop shadow stack and jump back to to caller directly
6076 when shadow stack is in use.
6077 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
6078 Redefine if shadow stack is enabled.
6079 (SYSCALL_ERROR_LABEL): Likewise.
6080 (__vfork): Pop shadow stack and jump back to to caller directly
6081 when shadow stack is in use.
6082
ca027e0f
L
60832018-07-24 H.J. Lu <hongjiu.lu@intel.com>
6084
6085 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
6086 enabled.
6087 (foo): Likewise.
6088 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
6089 (foo): Likewise.
6090
b99f1c95
JM
60912018-07-20 Joseph Myers <joseph@codesourcery.com>
6092
6093 * scripts/build-many-glibcs.py (Context.checkout): Default
6094 binutils version to 2.31 branch.
6095
c8fabb84
ZL
60962018-07-20 Zong Li <zong@andestech.com>
6097
6098 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
6099 URL of gcc's tarball.
6100
786658a0
FW
61012018-07-20 Florian Weimer <fweimer@redhat.com>
6102
6103 [BZ #23396]
6104 * posix/regcomp.c (build_equiv_class): When comparing weights, do
6105 not compare an extra byte after the end of the weights.
6106
46f2474e
ST
61072018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
6108
6109 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
6110 to 1.
8ba1520e
ST
6111 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
6112 hidden prototypes.
6113 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
6114 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
2d5c41de
ST
6115 * scripts/check-execstack.awk: Consider `xfail' variable containing a
6116 list of libraries whose stack executability is expected.
6117 * elf/Makefile ($(objpfx)check-execstack.out): Pass
6118 $(check-execstack-xfail) to check-execstack.awk through `xfail'
6119 variable.
6120 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
6121 libc.so libpthread.so.
46f2474e 6122
60088242
TS
61232018-07-20 Thomas Schwinge <tschwinge@gnu.org>
6124
6125 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
6126 SOCK_NONBLOCK.
75d5e4a0
TS
6127 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
6128 and SOCK_NONBLOCK.
de195be0
TS
6129 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
6130 implement __pipe2.
6131 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
60088242 6132
1cf4ae7f
LS
61332018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6134
6135 * benchtests/scripts/compare_bench.py (__main__): use the argparse
6136 library to improve command line parsing.
6137 (__main__): make schema file as optional parameter (--schema),
6138 defaulting to benchtests/scripts/benchout.schema.json.
6139 (main): move out of the parsing stuff to __main_  and leave it
6140 only as caller of main comparison functions.
6141
e84bd851
L
61422018-07-19 H.J. Lu <hongjiu.lu@intel.com>
6143
6144 * NEWS: Add a note for Intel CET status.
6145 * manual/install.texi: Likewise.
6146 * INSTALL: Regenerated.
6147
df467d22
QP
61482018-07-18 Quentin PAGÈS <provaires@quentino.fr>
6149
6150 [BZ #23140]
6151 * localedata/locales/oc_FR (mon): Rename to...
6152 (alt_mon): This, then update October (typo fix).
6153 (mon): New content (genitive case, month names preceded by
6154 "de" or "d’").
6155
6156 [BZ #23422]
6157 * localedata/locales/oc_FR (abday): Update all items.
6158 (day): Update Wednesday and Saturday (typo fixes).
6159 (abmon): Update all items, except May.
6160 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
6161 (LC_IDENTIFICATION): Bump the revision number and date.
6162 Keep the "category" entries in alphabetic order.
6163 (LC_ADDRESS): Remove no longer needed comment.
6164 (LC_COLLATE): Use “copy "ca_ES"”.
6165 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
6166 "name_mrs".
6167
5c112f1b
JM
61682018-07-18 Joseph Myers <joseph@codesourcery.com>
6169
6170 * grp/tst_fgetgrent.c: Include <unistd.h>.
6171 (main): Use mkstemp instead of tmpnam.
6172 * io/test-utime.c (main): Likewise.
6173 * posix/annexc.c (macrofile): Change to modifiable array.
6174 (main): Remove macrofile here.
6175 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
6176 macrofile here.
6177 (check_header): Do not remove macrofile here.
6178 * posix/bug-getopt1.c: Include <stdlib.h>.
6179 (do_test): Use mkstemp instead of tmpnam.
6180 * posix/bug-getopt2.c: Include <stdlib.h>.
6181 (do_test): Use mkstemp instead of tmpnam.
6182 * posix/bug-getopt3.c: Include <stdlib.h>.
6183 (do_test): Use mkstemp instead of tmpnam.
6184 * posix/bug-getopt4.c: Include <stdlib.h>.
6185 (do_test): Use mkstemp instead of tmpnam.
6186 * posix/bug-getopt5.c: Include <stdlib.h>.
6187 (do_test): Use mkstemp instead of tmpnam.
6188 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
6189 (main): Use mkstemp instead of tmpnam.
6190 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
6191 (main): Use mkstemp instead of tmpnam.
6192 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
6193 (main): use mkstemp instead of tmpnam.
6194 * stdlib/isomac.c (macrofile): Change to modifiable array.
6195 (main): Remove macrofile here.
6196 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
6197 macrofile here.
6198 (check_header): Do not remove macrofile here.
6199
6d90776d
L
62002018-07-18 H.J. Lu <hongjiu.lu@intel.com>
6201
6202 * manual/tunables.texi: Document glibc.tune.x86_ibt and
6203 glibc.tune.x86_shstk.
6204
e6c69509
L
62052018-07-18 H.J. Lu <hongjiu.lu@intel.com>
6206
6207 * NEWS: Mention --enable-cet.
6208 * manual/install.texi: Document --enable-cet.
6209 * INSTALL: Regenerated.
6210
e2d40a88
L
62112018-07-18 H.J. Lu <hongjiu.lu@intel.com>
6212
6213 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
6214 Add _CET_NOTRACK before indirect jump to jump table.
6215
77a8ae09
L
62162018-07-18 H.J. Lu <hongjiu.lu@intel.com>
6217
6218 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
6219 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
6220 to jump table.
6221
90d15dc5
L
62222018-07-18 H.J. Lu <hongjiu.lu@intel.com>
6223
6224 * sysdeps/i386/i686/multiarch/strcat-sse2.S
6225 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
6226 to jump table.
6227
f1574581
L
62282018-07-18 H.J. Lu <hongjiu.lu@intel.com>
6229
6230 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
6231 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
6232 to jump table.
6233
7fb61336
L
62342018-07-18 H.J. Lu <hongjiu.lu@intel.com>
6235
6236 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
6237 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
6238 to jump table.
6239
0a899af0
L
62402018-07-18 H.J. Lu <hongjiu.lu@intel.com>
6241
6242 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
6243 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
6244 to jump table.
6245 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
6246
177824e2
L
62472018-07-18 H.J. Lu <hongjiu.lu@intel.com>
6248
6249 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
6250 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
6251 to jump table.
6252
00e7b76a
L
62532018-07-18 H.J. Lu <hongjiu.lu@intel.com>
6254
6255 * sysdeps/i386/i686/multiarch/memset-sse2.S
6256 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
6257 to jump table.
6258
7e119cd5
L
62592018-07-18 H.J. Lu <hongjiu.lu@intel.com>
6260
6261 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
6262 indirect jump to jump table.
6263
03aaf49b
L
62642018-07-18 H.J. Lu <hongjiu.lu@intel.com>
6265
6266 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
6267 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
6268 to jump table.
6269 (MEMCPY): Likewise.
6270
811e9e52
L
62712018-07-18 H.J. Lu <hongjiu.lu@intel.com>
6272
6273 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
6274 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
6275 to jump table.
6276 (MEMCPY): Likewise.
6277
8817df42
L
62782018-07-18 H.J. Lu <hongjiu.lu@intel.com>
6279
6280 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
6281 _CET_NOTRACK before indirect jump to jump table.
6282
921595d1
L
62832018-07-18 H.J. Lu <hongjiu.lu@intel.com>
6284
6285 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
6286 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
6287 to jump table.
6288
4ef60d95
L
62892018-07-18 H.J. Lu <hongjiu.lu@intel.com>
6290
6291 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
6292 indirect jump to jump table.
6293
61c4aad7
VT
62942018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
6295
6296 [BZ #22241]
6297 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
6298 (LOCALES): Likewise.
6299 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
6300 * localedata/locales/sah_RU: New file.
6301 * localedata/sah_RU.UTF-8.in: New file.
6302
be9ccd27
L
63032018-07-17 H.J. Lu <hongjiu.lu@intel.com>
6304
6305 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
6306 "sysdep.h".
6307 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
6308 _CET_ENDBR to indirect jump targets and adjust jump destination
6309 for _CET_ENDBR.
6310 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
6311 "sysdep.h".
6312 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
6313 _CET_ENDBR to indirect jump targets and adjust jump destination
6314 for _CET_ENDBR.
6315 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
6316 "sysdep.h".
6317 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
6318 _CET_ENDBR to indirect jump targets and adjust jump destination
6319 for _CET_ENDBR.
6320
5efc6777
L
63212018-07-17 H.J. Lu <hongjiu.lu@intel.com>
6322
6323 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
6324 _CET_ENDBR.
6325
562837c0
L
63262018-07-17 H.J. Lu <hongjiu.lu@intel.com>
6327
6328 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
6329 _CET_ENDBR.
6330 (_dl_tlsdesc_undefweak): Likewise.
6331 (_dl_tlsdesc_dynamic): Likewise.
6332 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
6333 (_dl_tlsdesc_resolve_rel): Likewise.
6334 (_dl_tlsdesc_resolve_rela): Likewise.
6335 (_dl_tlsdesc_resolve_hold): Likewise.
6336 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
6337 (_dl_tlsdesc_undefweak): Likewise.
6338 (_dl_tlsdesc_dynamic): Likewise.
6339 (_dl_tlsdesc_resolve_rela): Likewise.
6340 (_dl_tlsdesc_resolve_hold): Likewise.
6341
124bcde6
L
63422018-07-17 H.J. Lu <hongjiu.lu@intel.com>
6343
6344 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
6345 (_fini): Likewise.
6346 * sysdeps/x86_64/crti.S (_init): Likewise.
6347 (_fini): Likewise.
6348
9145f033
RL
63492018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
6350
6351 [BZ #23140]
6352 * localedata/locales/os_RU (mon): Rename to...
6353 (alt_mon): This.
6354 (mon): Import from CLDR (genitive case).
6355
ba2ea23d
L
63562018-07-17 H.J. Lu <hongjiu.lu@intel.com>
6357
6358 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
6359 cet-tunables.h> when CET is enabled.
6360
f753fa7d
L
63612018-07-16 H.J. Lu <hongjiu.lu@intel.com>
6362
6363 [BZ #21598]
6364 * configure.ac: Add --enable-cet.
6365 * configure: Regenerated.
6366 * elf/Makefille (all-built-dso): Add a comment.
6367 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
6368 Include <dl-prop.h>.
6369 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
6370 segment.
6371 * elf/dl-open.c: Include <dl-prop.h>.
6372 (dl_open_worker): Call _dl_open_check.
6373 * elf/rtld.c: Include <dl-prop.h>.
6374 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
6375 _rtld_main_check.
6376 * sysdeps/generic/dl-prop.h: New file.
6377 * sysdeps/i386/dl-cet.c: Likewise.
6378 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
6379 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
6380 * sysdeps/x86/cet-tunables.h: Likewise.
6381 * sysdeps/x86/check-cet.awk: Likewise.
6382 * sysdeps/x86/configure: Likewise.
6383 * sysdeps/x86/configure.ac: Likewise.
6384 * sysdeps/x86/dl-cet.c: Likewise.
6385 * sysdeps/x86/dl-procruntime.c: Likewise.
6386 * sysdeps/x86/dl-prop.h: Likewise.
6387 * sysdeps/x86/libc-start.h: Likewise.
6388 * sysdeps/x86/link_map.h: Likewise.
6389 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
6390 _CET_ENDBR.
6391 (_dl_runtime_profile): Likewise.
6392 (_dl_runtime_resolve_shstk): New.
6393 (_dl_runtime_profile_shstk): Likewise.
6394 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
6395 if CET is enabled.
6396 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
6397 (CFLAGS-.os): Likewise.
6398 (CFLAGS-.op): Likewise.
6399 (CFLAGS-.oS): Likewise.
6400 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
6401 is enabled.
6402 (tests-special): Add $(objpfx)check-cet.out.
6403 (cet-built-dso): New.
6404 (+$(cet-built-dso:=.note)): Likewise.
6405 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
6406 ($(objpfx)check-cet.out): New.
6407 (generated): Add check-cet.out.
6408 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
6409 <cet-tunables.h>.
6410 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
6411 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
6412 (init_cpu_features): Call get_cet_status to check CET status
6413 and update dl_x86_feature_1 with CET status. Call
6414 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
6415 (set_x86_shstk). Disable and lock CET in libc.a.
6416 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
6417 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
6418 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
6419 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
6420 (_CET_ENDBR): Define if not defined.
6421 (ENTRY): Add _CET_ENDBR.
6422 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
6423 x86_shstk.
6424 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
6425 _CET_ENDBR.
6426 (_dl_runtime_profile): Likewise.
6427
52b2a80f
RA
64282018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
6429
6430 [BZ #21895]
6431 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
6432 restore r2 on longjmp.
6433 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
6434 test list.
6435 Added rules to build test tst-setjmp-bug21895-static.
6436 Added module setjmp-bug21895 and rules to build a shared object from it.
6437 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
6438 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
6439
3ae725df
WD
64402018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
6441
6442 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
6443 * benchtests/bench-strstr.c: Likewise.
6444 * string/memmem.c (FASTSEARCH): Define.
6445 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
6446 Add support for FASTSEARCH.
6447 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
6448 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
6449 (FASTSEARCH): Define.
6450 * string/test-strcasestr.c: Rename __strnlen to strnlen.
6451 * string/test-strstr.c: Likewise.
6452
31e422ca
L
64532018-07-15 H.J. Lu <hongjiu.lu@intel.com>
6454
6455 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
6456 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
6457
faaee1f0
L
64582018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
6459 H.J. Lu <hongjiu.lu@intel.com>
6460
6461 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
6462 (__longjmp): Restore shadow stack pointer if shadow stack is
6463 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
6464 isn't defined for __longjmp_cancel.
6465 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
6466 (_setjmp): Save shadow stack pointer if shadow stack is enabled
6467 and SHADOW_STACK_POINTER_OFFSET is defined.
6468 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
6469 (setjmp): Save shadow stack pointer if shadow stack is enabled
6470 and SHADOW_STACK_POINTER_OFFSET is defined.
6471 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
6472 (__sigsetjmp): Save shadow stack pointer if shadow stack is
6473 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
6474 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
6475 <jmp_buf-ssp.h>.
6476 (____longjmp_chk): Restore shadow stack pointer if shadow stack
6477 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
6478 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
6479 Remove jmp_buf-ssp.sym.
6480 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
6481 <jmp_buf-ssp.h>.
6482 (____longjmp_chk): Restore shadow stack pointer if shadow stack
6483 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
6484 * sysdeps/x86/Makefile (gen-as-const-headers): Add
6485 jmp_buf-ssp.sym.
6486 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
6487 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
6488 (__longjmp): Restore shadow stack pointer if shadow stack is
6489 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
6490 isn't defined for __longjmp_cancel.
6491 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
6492 (__sigsetjmp): Save shadow stack pointer if shadow stack is
6493 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
6494
ebff9c5c
L
64952018-07-14 H.J. Lu <hongjiu.lu@intel.com>
6496
6497 [BZ #22563]
6498 * nptl/pthread_create.c: Include <tls-setup.h>.
6499 (__pthread_create_2_1): Call tls_setup_tcbhead.
6500 * sysdeps/generic/tls-setup.h: New file.
6501 * sysdeps/x86/nptl/tls-setup.h: Likewise.
6502 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
6503 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
6504 Likewise.
6505 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
6506 to feature_1.
6507 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
6508 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
6509 (X86_FEATURE_1_SHSTK): Likewise.
6510 (CET_ENABLED): Likewise.
6511 (IBT_ENABLED): Likewise.
6512 (SHSTK_ENABLED): Likewise.
6513
0a83bad2
RL
65142018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
6515
6516 [BZ #23208]
6517 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
6518 (LOCALES): Likewise.
6519 * localedata/dsb_DE.UTF-8.in: New file.
6520 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
6521
046bfed9
FW
65222018-07-12 Florian Weimer <fweimer@redhat.com>
6523
6524 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
6525 __mprotect, not mprotect.
6526
93304f5f
FW
65272018-07-11 Florian Weimer <fweimer@redhat.com>
6528
6529 * io/Makefile (headers): Add bits/statx.h.
6530
4beefeeb
MF
65312018-07-10 Mike FABIAN <mfabian@redhat.com>
6532
6533 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
6534 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
6535 and headers.
6536 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
6537 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
6538 for utf8_gen.py
6539
fd70af45
FW
65402018-07-10 Florian Weimer <fweimer@redhat.com>
6541
6542 * io/Makefile (routines): Add statx.
6543 (tests-internal): Add tst-statx.
6544 * io/Versions (GLIBC_2.28): Export statx.
6545 * io/bits/statx.h: New file.
6546 * io/sys/stat.h [__USE_GNU]: Include it.
6547 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
6548 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
6549 Define.
6550 * io/statx.c: New file.
6551 * io/statx_generic.: Likewise.
6552 * io/tst-statx.: Likewise.
6553 * include/bits/statx.h: Likewise.
6554 * sysdeps/unix/sysv/linux/kernel-features.h
6555 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
6556 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6557 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
6558 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
6559 Undefine.
6560 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6561 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
6562 * sysdeps/unix/sysv/linux/statx.c: New file.
6563 * manual/filesys.texi: Note that statx is undocumented.
6564 * sysdeps/**/libc*.abilist: Update.
6565
b444e8f7
AZ
65662018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6567
6568 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
6569 a kernel issue which lead to test failure in some cases.
6570
7b2f4ced
FW
65712018-07-10 Florian Weimer <fweimer@redhat.com>
6572
6573 [BZ #23036]
6574 * posix/regexec.c (check_node_accept_bytes): When comparing
6575 weights, do not compare an extra byte after the end of the
6576 weights.
6577
4fa34da6
FW
65782018-07-10 Florian Weimer <fweimer@redhat.com>
6579
6580 * libio/readline.c: Fix copyright year.
6581 * libio/tst-readline.c Likewise.
6582 * nss/tst-nss-files-hosts-getent.c: Likewise.
6583
916124ed
FW
65842018-07-06 Florian Weimer <fweimer@redhat.com>
6585
6586 [BZ #18991]
6587 * nss/nss_files/files-XXX.c (internal_getent): Use
6588 __libc_readline_unlocked. Seek back to the start of the line if
6589 parsing failes with ERANGE.
6590 (get_contents_ret, get_contents): Remove.
6591 * nss/tst-nss-files-hosts-getent.c: New file.
6592 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
6593 (tst-nss-files-hosts-getent): Link with -ldl.
6594
3f5e3f5d
FW
65952018-07-06 Florian Weimer <fweimer@redhat.com>
6596
6597 * include/stdio.h (__libc_readline_unlocked): Declare.
6598 (__ftello64, __fseeko64): Declare aliases.
6599 * libio/readline.c: New file.
6600 * libio/tst-readline.c: Likewise.
6601 (routines): Add readline.
6602 (tests-internal): Add tst-readlime.
6603 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
6604 __libc_readline_unlocked.
6605 * libio/fseeko.c (__fseeko): Rename from fseeko.
6606 (fseeko): Add alias.
6607 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
6608 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
6609 (fseeko64): Add alias.
6610 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
6611 * libio/ftello64.c (__ftello64): Rename from ftello64.
6612 (ftello64): Add alias.
6613
397c54c1
SN
66142018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
6615
6616 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
6617 HWCAP_ATOMICS.
6618
d0cd7980
SN
66192018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
6620
6621 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
6622 Use dl_hwcap without masking.
6623 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
6624 Remove HWCAP_CPUID.
6625
ddb3c626
FW
66262018-07-06 Florian Weimer <fweimer@redhat.com>
6627
6628 * conform/conformtest.pl (checknamespace): Escape literal braces
6629 in regular expressions.
6630
bce5911b
AP
66312018-07-06 Amit Pawar <amit.pawar@amd.com>
6632
6633 * sysdeps/x86/cpu-features.c (get_common_indeces):
6634 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
6635 * sysdeps/x86/cpu-features.c (init_cpu_features):
6636 AVX_Fast_Unaligned_Load is disabled for Excavator core.
6637
3a885c1f
FW
66382018-07-05 Florian Weimer <fweimer@redhat.com>
6639
6640 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
6641 protector.
6642 (CFLAGS-elf-init.oS): Likewise.
6643
38cade0c
FW
66442018-07-05 Florian Weimer <fweimer@redhat.com>
6645 Carlos O'Donell <carlos@redhat.com>
6646
6647 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
6648 $(no-stack-protector). stack_chk_fail_local.c can be compiled
6649 with stack protector enabled because there is no risk of infinite
6650 recursion.
6651
9449a295
MR
66522018-07-05 Maciej W. Rozycki <macro@mips.com>
6653
6654 [BZ #19818]
6655 [BZ #23307]
6656 * libc-abis (ABSOLUTE): New ABI.
6657 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
6658 * NEWS: Mention the new ABI.
6659
d6da5cb6
FW
66602018-07-05 Florian Weimer <fweimer@redhat.com>
6661
6662 [BZ # 17662]
6663 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
6664 (RENAME_WHITEOUT): Define.
6665 [__USE_GNU] (renameat2): Declare.
6666 * stdio-common/Makefile (routines): Add renameat2.
6667 (tests): Add tst-renameat2.
6668 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
6669 * stdio-common/renameat2.c: New file.
6670 * stdio-common/tst-renameat2.c: Likewise.
6671 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
6672 * manual/filesys.texi (Temporary Files): Note that renameat2 is
6673 undocumented.
6674 * sysdeps/unix/sysv/linux/kernel-features.h
6675 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
6676 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6677 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
6678 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6679 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
6680 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6681 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
6682 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6683 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
6684 * include/stdio.h (__renameat): Add alias for renameat.
6685 * stdio-common/renameat.c (__renameat): Rename from renameat.
6686 Add hidden definition and alias.
6687 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
6688 * sysdeps/mach/hurd/renameat.c: Likewise.
6689 * sysdeps/**/libc*.abilist: Add renameat2.
6690
1002d708
AZ
66912018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6692
6693 * posix/bug-regex33.c: Fix build after regex sync.
6694
34fdb893
CD
66952018-07-04 Carlos O'Donell <carlos@redhat.com>
6696
6697 [BZ #23164]
6698 * localedata/tst-langinfo-setlocale.c: New file.
6699 * localedata/tst-langinfo-setlocale-static.c: New file.
6700 * localedata/tst-langinfo-newlocale.c: New file.
6701 * localedata/tst-langinfo-newlocale-static.c: New file.
6702 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
6703 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
6704 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
6705 (tests-static): Remove tst-langinfo-static. Add
6706 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
6707 (tests-special): Remove $(objpfx)tst-langinfo.out,
6708 $(objpfx)tst-langinfo-static.out. Add
6709 $(objpfx)tst-langinfo-setlocale.out,
6710 $(objpfx)tst-langinfo-newlocale.out,
6711 $(objpfx)tst-langinfo-setlocale-static.out,
6712 $(objpfx)tst-langinfo-newlocale-static.out.
6713 ($(objpfx)tst-langinfo.out): Remove.
6714 ($(objpfx)tst-langinfo-static.out): Remove.
6715 ($(objpfx)tst-langinfo-newlocale.out): New target.
6716 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
6717 (test-xfail-tst-langinfo-newlocale-static): Add.
6718 ($(objpfx)tst-langinfo-setlocale.out): New target.
6719 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
6720 * localedata/tst-langinfo.c: Call test_locale.
6721 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
6722 data.
6723
f2873d2d
FW
67242018-07-04 Florian Weimer <fweimer@redhat.com>
6725
6726 testrun.sh: Implement --tool=strace, --tool=valgrind
6727 * Makefile (testrun-script): Define variable.
6728 (testrun.sh): Use variable.
6729 * manual/install.texi (Tools for Compilation): make 4.0 or later
6730 is required.
6731 * configure.ac: Check for make 4.0 or later.
6732 * INSTALL: Regenerate.
6733 * configure: Likewise.
6734
eb04c213
AZ
67352018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6736
6737 [BZ #23233]
6738 [BZ #21163]
6739 [BZ #18986]
6740 [BZ #13762]
6741 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
6742 * posix/PCRE.tests: Remove invalid test.
6743 * posix/bug-regex28.c: Fix expected values for used syntax.
6744 * posix/bug-regex37.c: New file.
6745 * posix/bug-regex38.c: Likewise.
6746 * posix/regcomp.c: Sync with gnulib.
6747 * posix/regex.c: Likewise.
6748 * posix/regex.h: Likewise.
6749 * posix/regex_internal.c: Likewise.
6750 * posix/regex_internal.h: Likewise.
6751 * posix/regexec.c: Likewise.
6752
b11643c2
MF
67532018-06-26 Mike FABIAN <mfabian@redhat.com>
6754
6755 [BZ #23308]
6756 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
6757 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
6758 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
6759 * localedata/unicode-gen/PropList.txt: likewise.
6760 * localedata/unicode-gen/UnicodeData.txt: likewise.
6761 * localedata/charmaps/UTF-8: Regenerate.
6762 * localedata/locales/i18n_ctype: likewise.
6763 * localedata/locales/tr_TR: likewise.
6764 * localedata/locales/translit_circle: likewise.
6765 * localedata/locales/translit_cjk_compat: likewise.
6766 * localedata/locales/translit_combining: likewise.
6767 * localedata/locales/translit_compat: likewise.
6768 * localedata/locales/translit_font: likewise.
6769 * localedata/locales/translit_fraction: likewise.
6770
5a357506
FW
67712018-07-03 Florian Weimer <fweimer@redhat.com>
6772
6773 [BZ #23363]
6774 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
6775 * stdio-common/tst-printf.sh: Adjust expected output.
6776 * LICENSES: Update.
6777
7279af00
AZ
67782018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6779
6780 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
6781 symbol.
6782
b7b88cea
GG
67832018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6784
6785 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
6786 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
6787 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
6788 * stdio-common/tst-printfsz-islongdouble.c: New file.
6789 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
6790 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
6791 [subdir == stdio-common] (routines): Add ieee128-printf_size.
6792 [subdir == stdio-common] (tests-internal): Add
6793 test-printf-size-ieee128, and test-printf-size-ibm128.
6794 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
6795 (CFLAGS-test-printf-size-ibm128.c): New variables.
6796 [subdir == stdio-common] (tests-special): Add
6797 $(objpfx)test-printf-size-ieee128.out and
6798 $(objpfx)test-printf-size-ibm128.out.
6799 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
6800 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
6801 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
6802 __printf_sizeieee128.
6803 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
6804 New file.
6805 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
6806 Likewise.
6807 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
6808 Likewise.
6809
2b445206
SN
68102018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
6811
6812 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
6813 (exp2f_inline): Likewise.
6814 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
6815 (__math_uflowf): Likewise.
6816 (__math_may_uflowf): Likewise.
6817 (__math_divzerof): Likewise.
6818 (__math_invalidf): Likewise.
6819 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
6820 (__math_oflowf): Likewise.
6821 (__math_uflowf): Likewise.
6822 (__math_may_uflowf): Likewise.
6823 (__math_divzerof): Likewise.
6824 (__math_invalidf): Likewise.
6825
2827ab99
CD
68262018-06-29 DJ Delorie <dj@redhat.com>
6827 Carlos O'Donell <carlos@redhat.com>
6828
6829 [BZ #23329]
6830 * include/libc-symbols.h: Comment the freeres framework.
6831 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
6832 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
6833 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
6834 * dlfcn/dlerror.c: Include libc-symbols.h
6835 (__dlerror_main_freeres): New function.
6836 * dlfcn/dlfreeres.c: New file.
6837 * dlfcn/sdlfreeres.c: New file.
6838 * include/dlfcn.h: Declare __dlerror_main_freeres.
6839 * malloc/set-freeres.c: Declare __libdl_freeres, and
6840 __libpthread_freeres.
6841 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
6842 the releavant libraries are loaded.
6843 * malloc/thread-freeres.c: Add comments.
6844 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
6845 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
6846 * nptl/allocatestack.c (__nptl_free_stacks): New function.
6847 (__free_stacks): Rename to...
6848 (free_stacks): ...this. Mark static.
6849 (queue_stack): Call free_stacks.
6850 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
6851 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
6852 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
6853 ptr_freeres element from struct.
6854 (pthread_functions): Remove .ptr_freeres from struct initializer.
6855 [SHARED] (nptl_freeres): Remove.
6856 * nptl/nptlfreeres.c: New file.
6857 * nptl/pthreadP.h
6858 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
6859 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
6860 attribute_hidden.
6861 (__free_stacks): Rename to...
6862 (__nptl_stacks_freeres): ...this.
6863 (__shm_directory_freeres): Declare.
6864 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
6865 (__nptl_unwind_freeres): ...this.
6866 * resolv/res-close.c: Add comment.
6867 * resolv/resolv_conf.c: Include libc-symbols.h.
6868 * string/strerror_l.c: Include libc-symbols.h.
6869 * sunrpc/rpc_thread.c: Include libc-symbols.h.
6870 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
6871 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
6872 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
6873
37d3d244
RS
68742018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6875
6876 * stdlib/tst-strfmon_l.c: Add tests for long double.
6877
a1e0c5fa
MW
68782018-06-29 Michael Wolf <milupo@sorbzilla.de>
6879
6880 [BZ #23208]
6881 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
6882 * localedata/locales/dsb_DE: New file.
6883
2e0c5de6
RL
68842018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
6885
6886 [BZ #23140]
6887 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
6888 genitive case).
6889 (alt_mon): New entry, import from CLDR (nominative case).
6890
cdb52c71
SL
68912018-06-29 Sylvain Lesage <severo@rednegra.net>
6892
6893 [BZ #22996]
6894 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
6895
ce76a5cb
SP
68962018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
6897
0aec4c1d
SP
6898 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
6899 Use vector registers.
6900
ce76a5cb
SP
6901 * sysdeps/aarch64/multiarch/memmove_falkor.S
6902 (__memcpy_falkor): Use vector registers.
6903
7e8989d0
MS
69042018-06-29 Martin Sebor <msebor@redhat.com>
6905
6906 * manual/stdio.texi (Customizing Printf): Mention interaction
6907 with GCC built-ins.
6908
bac15a72
MR
69092018-06-29 Maciej W. Rozycki <macro@mips.com>
6910
6911 [BZ #23307]
6912 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
6913 `st_value' is 0 if `st_shndx' is SHN_ABS.
6914 * elf/tst-absolute-zero.c: New file.
6915 * elf/tst-absolute-zero-lib.c: New file.
6916 * elf/tst-absolute-zero-lib.lds: New file.
6917 * elf/Makefile (tests): Add `tst-absolute-zero'.
6918 (modules-names): Add `tst-absolute-zero-lib'.
6919 (LDLIBS-tst-absolute-zero-lib.so): New variable.
6920 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
6921 ($(objpfx)tst-absolute-zero: New dependency.
6922
e69d994a
ZW
69232018-06-29 Zack Weinberg <zackw@panix.com>
6924
6925 * configure.ac: New command-line option --disable-crypt.
6926 Force --disable-nss-crypt when --disable-crypt is given, with a
6927 warning if it was explicitly enabled.
6928 * configure: Regenerate.
6929 * config.make.in: New boolean substitution variable $(build-crypt).
6930 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
6931 when $(build-crypt).
6932 * manual/install.texi: Document --disable-crypt.
6933 * INSTALL: Regenerate.
6934
6935 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
6936 which is never set.
6937 * conform/Makefile: Only include libcrypt.a in
6938 linknamespace-libs-xsi and linknamespace-libs-XPG4
6939 when $(build-crypt).
6940 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
6941 USE_CRYPT to 1 when $(build-crypt).
6942 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
6943 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
6944 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
6945
841785ba
ZW
69462018-06-29 Zack Weinberg <zackw@panix.com>
6947
6948 * crypt/crypt.h, posix/unistd.h: Update comments and
6949 prototypes for crypt and crypt_r.
6950
6951 * manual/crypt.texi (Cryptographic Functions): New initial
6952 exposition.
6953 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
6954 (Unpredictable Bytes): Improve initial exposition. Clarify error
6955 behavior of getentropy and getrandom.
6956 * manual/examples/genpass.c: Generate a salt using getentropy
6957 instead of the current time. Use hash $5$ (SHA-2-256).
6958 * manual/examples/testpass.c: Demonstrate validation against
6959 hashes generated with three different one-way functions.
6960
6961 * manual/intro.texi: crypt.texi does not need an overview
6962 anymore.
6963
6964 * manual/nss.texi, manual/memory.texi, manual/socket.texi
6965 * manual/terminal.texi: Consistently refer to "passphrases"
6966 * instead of "passwords", and to the "user database" instead
6967 * of the "password database".
6968 * manual/users.texi: Similarly. Add notes about how actual
6969 passphrase hashes are now stored in the shadow database.
6970 Remove 20-year-old junk todo note.
6971
6ab902e4
ZW
69722018-06-29 Zack Weinberg <zackw@panix.com>
6973
6974 * manual/crypt.texi: Use a normal top-level @node declaration.
6975 Move most of the introductory text to the 'crypt' section.
6976 Move the example programs below the @deftypefun for 'crypt_r'.
6977 Move the 'getpass' section...
6978 * manual/terminal.texi: ...here.
6979
b10a0acc
ZW
69802018-06-29 Zack Weinberg <zackw@panix.com>
6981 Florian Weimer <fweimer@redhat.com>
6982
6983 * posix/unistd.h: Do not declare encrypt.
6984 (_XOPEN_CRYPT): Remove macro definition.
6985 (crypt): Declare only for _USE_MISC.
6986 * stdlib/stdlib.h: Do not declare setkey.
6987 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
6988 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
6989
6990 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
6991 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
6992 into compat symbols. Don't define initial_perm if it's not
6993 going to be used.
6994 * crypt/cert.c: Link explicitly with the expected versions for
6995 setkey and encrypt. If they are not available at all, mark
6996 the test as unsupported.
6997
6998 * sunrpc/des_crypt.c: Unconditionally block linkage with
6999 cbc_crypt and ecb_crypt for new binaries.
7000 * sunrpc/des_soft.c: Unconditionally block linkage with
7001 des_setparity for new binaries.
7002
7003 * manual/crypt.texi: Remove the entire "DES Encryption"
7004 section. Also remove the paragraph talking about FIPS 140-2
7005 from the introduction.
7006 * manual/string.texi (strfry, memfrob): Revise. Recommend use
7007 of libgcrypt for "real" encryption, not DES.
7008 * manual/conf.texi (Constants for Sysconf): Mention that
7009 _XOPEN_CRYPT is no longer impelemented.
7010
7011 * conform/data/unistd.h-data: Remove crypt function declaration.
7012
524d796d
FW
70132018-06-29 Florian Weimer <fweimer@redhat.com>
7014
7015 [BZ #23351]
7016 * malloc/hooks.c: Update comments on restoring of dumped heaps.
7017 (disallow_malloc_check): Remove variable.
7018 (__malloc_check_init): Adjust.
7019 (malloc_set_state): Update comment.
7020 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
7021 declarations.
7022
339124ab
RL
70232018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
7024
7025 [BZ #23140]
7026 * localedata/locales/ast_ES (mon): Rename to...
7027 (alt_mon): This.
7028 (mon): Import from CLDR (genitive case).
7029
c1f86a33
DA
70302018-06-29 Daniel Alvarez <dalvarez@redhat.com>
7031 Jakub Sitnicki <jkbs@redhat.com>
7032
7033 [BZ #21812]
7034 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
7035 on NLM_F_DUMP_INTR.
7036
0b11b649
SN
70372018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
7038
7039 * manual/llio.texi: Remove spurious space.
7040
c1c2848b
FW
70412018-06-28 Florian Weimer <fweimer@redhat.com>
7042
7043 [BZ #23349]
7044 * time/bits/types/struct_timespec.h: Change header inclusion guard to
7045 _STRUCT_TIMESPEC.
7046
86a0f561
RS
70472018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7048
7049 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
7050 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
7051 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
7052 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
7053 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
7054 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
7055 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
7056
780684eb
MR
70572018-06-27 Maciej W. Rozycki <macro@mips.com>
7058
7059 [BZ #23266]
7060 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
7061 Copy and null-terminate entries that are not terminated, in
7062 addition to empty ones.
7063
c49e1822
FW
70642018-06-27 Florian Weimer <fweimer@redhat.com>
7065
7066 [BZ #18023]
7067 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
7068 (extend_alloca_account): Remove.
7069 * manual/stdio.texi (Variable Arguments Output): Update comment.
7070
a833e627
JM
70712018-06-27 Joseph Myers <joseph@codesourcery.com>
7072
7073 * nptl/sockperf.c: Remove file.
7074
92d6aa85
FW
70752018-06-27 Florian Weimer <fweimer@redhat.com>
7076
7077 [BZ #18023]
7078 * elf/dl-deps.c (_dl_map_object_deps): Use struct
7079 scratch_buffer instead of extend_alloca.
7080
890c2ced
FW
70812018-06-27 Florian Weimer <fweimer@redhat.com>
7082
7083 [BZ #18023]
7084 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
7085 scratch_buffer instead of extend_alloca. Update comments.
7086
4272059d
FW
70872018-06-27 Florian Weimer <fweimer@redhat.com>
7088
7089 [BZ #18023]
7090 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
7091 instead of extend_alloca.
7092
27f10a09
JM
70932018-06-26 Joseph Myers <joseph@codesourcery.com>
7094
7095 [BZ #13888]
7096 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
7097 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
7098 /tmp.
7099 * scripts/test-installation.pl: Put temporary files in build
7100 directory, not /tmp.
7101 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
7102 (CFLAGS-bug4.c): Likewise.
7103 (CFLAGS-bug5.c): Likewise.
7104 (CFLAGS-test-fseek.c): Likewise.
7105 (CFLAGS-test-popen.c): Likewise.
7106 (CFLAGS-test_rdwr.c): Likewise.
7107 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
7108 /tmp.
7109 * stdio-common/bug4.c (main): Likewise.
7110 * stdio-common/bug5.c (main): Likewise.
7111 * stdio-common/test-fseek.c (TESTFILE): Likewise.
7112 * stdio-common/test-popen.c (do_test): Likewise.
7113 * stdio-common/test_rdwr.c (main): Likewise.
7114
05598a09
PF
71152018-06-26 Patsy Franklin <pfrankli@redhat.com>
7116
7117 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
7118 (sem_open): Set sem.newsem.pad to zero for valgrind.
7119
06ab719d
AZ
71202018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7121
7122 [BZ #20251]
7123 * NEWS: Mention fcntl64 addition.
7124 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
7125 * login/utmp_file.c: Likewise.
7126 * sysdeps/posix/fdopendir.c: Likewise.
7127 * sysdeps/posix/opendir.c: Likewise.
7128 * sysdeps/unix/pt-fcntl.c: Likewise.
7129 * include/fcntl.h (__libc_fcntl64, __fcntl64,
7130 __fcntl64_nocancel_adjusted): New prototype.
7131 (__fcntl_nocancel_adjusted): Remove prototype.
7132 * io/Makefile (routines): Add fcntl64.
7133 (CFLAGS-fcntl64.c): New rule.
7134 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
7135 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
7136 * io/fcntl.h (fcntl64): Add prototype and redirect if
7137 __USE_FILE_OFFSET64 is defined.
7138 * io/fcntl64.c: New file.
7139 * manual/llio.text: Add a note for which commands fcntl acts a
7140 cancellation point.
7141 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
7142 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
7143 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
7144 New symbols.
7145 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
7146 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
7147 non-LFS case.
7148 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
7149 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
7150 to __fcntl64_nocancel.
7151 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
7152 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
7153 to __fcntl64_nocancel.
7154 * sysdeps/generic/not-cancel.h: Likewise.
7155 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
7156 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
7157 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
7158 (fcntl64): New symbol.
7159 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7160 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7161 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7164 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
7165 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7166 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7167 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7168 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7169 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
7170 fcntl64): Likewise.
7171 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7172 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
7173 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7174 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7175 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7176 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7177 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7178 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7179 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7181 Likewise.
7182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7183 Likewise.
7184 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7185 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7186 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7187
124e0258
FW
71882018-06-26 Florian Weimer <fweimer@redhat.com>
7189
7190 Run thread shutdown functions in an explicit order.
7191 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
7192 definition.
7193 (__libc_thread_freeres): Call thread shutdown functions
7194 explicitly.
7195 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
7196 * include/string.h (__strerror_thread_freeres): Declare.
7197 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
7198 arena_thread_freeres. No longer static. Remove thread shutdown
7199 hook registration.
7200 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
7201 Declare.
7202 * resolv/res-close.c (__res_thread_freeres): Renamed from
7203 res_thread_freeres. No longer static. Remove thread shutdown
7204 hook registration.
7205 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
7206 * resolv/resolv_conf.c (freeres): Remove incorrect section
7207 attribute and use libc_freeres_fn.
7208 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
7209 strerror_thread_freeres. No longer static. Remove thread
7210 shutdown hook registration.
7211 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
7212 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
7213 shutdown hook registration.
7214 * Makerules (shlib.lds): Do not provide section boundary symbols
7215 for __libc_thread_subfreeres.
7216 * manual/memory.texi (Basic Allocation): Update comment.
7217
935d920e
FW
72182018-06-26 Florian Weimer <fweimer@redhat.com>
7219
7220 Remove always-defined _RPC_THREAD_SAFE_ macro.
7221 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
7222 Do not define _RPC_THREAD_SAFE_.
7223 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
7224 conditional.
7225 * sunrpc/clnt_perr.c: Likewise.
7226 * sunrpc/clnt_raw.c: Likewise.
7227 * sunrpc/clnt_simp.c: Likewise.
7228 * sunrpc/key_call.c: Likewise.
7229 * sunrpc/rpc_common.c: Likewise.
7230 * sunrpc/rpc_main.c: Likewise.
7231 * sunrpc/rpc_thread.c: Likewise.
7232 * sunrpc/svc.c: Likewise.
7233 * sunrpc/svc_raw.c: Likewise.
7234 * sunrpc/svc_simple.c: Likewise.
7235 * sumrpc/svcauth_des.c: Likewise.
7236
29055464
FW
72372018-06-26 Florian Weimer <fweimer@redhat.com>
7238
7239 * libio/Makefile (tests-internal): Add tst-vtables,
7240 tst-vtables-interposed.
7241 * libio/tst-vtables.c: New file.
7242 * libio/tst-vtables-common.c: Likewise.
7243 * libio/tst-vtables-interposed.c: Likewise.
7244
5c0202af
FW
72452018-06-26 Florian Weimer <fweimer@redhat.com>
7246
7247 * support/support_test_main.c (support_test_main): Only call
7248 setvbuf if not disables.
7249 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
7250 * support/test-driver.h (struct test_config): Add no_setvbuf member.
7251
c402355d
FW
72522018-06-26 Florian Weimer <fweimer@redhat.com>
7253
7254 [BZ #23313]
7255 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
7256
43b1048a
FW
72572018-06-25 Florian Weimer <fweimer@redhat.com>
7258
7259 [BZ #18023]
7260 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7261 Use struct scratch_buffer instead of extend_alloca.
7262
1599ed4e
FW
72632018-06-25 Florian Weimer <fweimer@redhat.com>
7264
7265 [BZ #18023]
7266 * nss/getent.c (initgroups_keys): Use dynarray instead of
7267 extend_alloca.
7268
a26fe163
FW
72692018-06-25 Florian Weimer <fweimer@redhat.com>
7270
7271 [BZ #18023]
7272 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
7273 Use struct scratch_buffer instead of extend_alloca.
7274
90d9d9ce
FW
72752018-06-25 Florian Weimer <fweimer@redhat.com>
7276
7277 [BZ #18023]
7278 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
7279 back to malloc directly, without stack allocations.
7280
6b7b2aba
FW
72812018-06-25 Florian Weimer <fweimer@redhat.com>
7282
7283 [BZ #18023]
7284 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
7285 of extend_alloca.
7286
2f9f0d18
FW
72872018-06-25 Florian Weimer <fweimer@redhat.com>
7288
7289 [BZ #18023]
7290 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
7291 of extend_alloca.
7292 * nscd/hstcache.c (addhstbyX): Likewise.
7293 * nscd/pwdcache.c (addpwbyX): Likewise.
7294 * nscd/servicescache.c (addservbyX): Likewise.
7295
318bad78
FW
72962018-06-25 Florian Weimer <fweimer@redhat.com>
7297
7298 [BZ #18023]
7299 * nscd/connections.c (read_cmdline): New function.
7300 (restart): Use it. Update comment.
7301
189699ab
RL
73022018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
7303
7304 [BZ #23140]
7305 * localedata/locales/csb_PL (mon): Rename to...
7306 (alt_mon): This.
7307 (abmon): Rename to...
7308 (ab_alt_mon): This.
7309 (mon): Add with proper genitive forms, copy from Wikipedia.
7310 (abmon): Likewise.
7311
0ea3f13c
RL
73122018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
7313
7314 [BZ #19485]
7315 * localedata/locales/csb_PL (mon): Fix typos:
7316 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
7317 (yesstr): Add, value is "jo".
7318 (nostr): Add, value is "nié".
7319
d93f4ff1
TMQMF
73202018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7321
7322 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
7323 all log1p and significand functions on m680x0.
7324 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
7325 of s_significand.c..
7326 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
7327 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
7328 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
7329 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
7330 s_log1p.c and include it..
7331
f6299d2a
VC
73322018-06-21 Vincent Chen <vincentc@andestech.com>
7333
7334 * elf/elf.h (R_NDS32_NONE): New define.
7335 (R_NDS32_32_RELA): Likewise.
7336 (R_NDS32_COPY): Likewise.
7337 (R_NDS32_GLOB_DAT): Likewise.
7338 (R_NDS32_JUMP_SLOT): Likewise.
7339 (R_NDS32_RELATIVE): Likewise.
7340 (R_NDS32_TLS_TPOFF): Likewise.
7341 (R_NDS32_TLS_DESC): Likewise.
7342
61ab61c2
MW
73432018-06-21 Mark Wielaard <mark@klomp.org>
7344
7345 * elf/elf.h (R_BPF_MAP_FD): Removed.
7346 (R_BPF_64_64, R_BPF_64_32): New.
7347
f496b28e
FW
73482018-06-21 Florian Weimer <fweimer@redhat.com>
7349
7350 [BZ #23253]
7351 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
7352 Renamed from libc_feholdsetround_ctx.
7353 (default_libc_feresetround_ctx): Renamed from
7354 libc_feresetround_ctx.
7355 (default_libc_feholdsetround_noex_ctx): Renamed from
7356 libc_feholdsetround_noex_ctx.
7357 (default_libc_feresetround_noex_ctx): Renamed from
7358 libc_feresetround_noex_ctx.
7359 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
7360 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
7361 forwardning to the old implementations under the new names.
7362 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
7363 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
7364 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
7365 (libc_feresetround_ctx): Forward to default implements for i386
7366 and MATH_SET_BOTH_ROUNDING_MODES.
7367 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
7368 Add -DMATH_SET_BOTH_ROUNDING_MODES.
7369
1760daad
JM
73702018-06-20 Joseph Myers <joseph@codesourcery.com>
7371
99c7adf9
JM
7372 * string/tst-cmp.c: Include <libc-diag.h>.
7373 (strncmp_max): Disable -Wstringop-overflow= around call to
7374 strncmp.
7375 (strncasecmp_max): Disable -Wstringop-overflow= around call to
7376 strncasecmp.
7377
1760daad
JM
7378 * string/bug-strpbrk1.c: Include <libc-diag.h>.
7379 (main): Disable -Wunused-value around call to strpbrk.
7380 * string/bug-strspn1.c: Include <libc-diag.h>.
7381 (main): Disable -Wunused-value around call to strspn.
7382
209ae17c
TMQMF
73832018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7384 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7385
7386 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
7387 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
7388
badba23c
TMQMF
73892018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7390
5e79e029
TMQMF
7391 * math/Makefile (libm-calls): Move s_significandF to...
7392 (gen-libm-calls): ... here.
7393 * math/s_significand_template.c: New file.
7394 * math/s_significand.c: Removed.
7395 * math/s_significandf.c: Removed.
7396 * math/s_significandl.c: Removed.
7397 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
7398 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
7399
badba23c
TMQMF
7400 * math/e_exp2_template.c (declare_mgen_finite_alias,
7401 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
7402 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
7403 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
7404
2d1c89a5
FW
74052018-06-20 Florian Weimer <fweimer@redhat.com>
7406
7407 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
7408
646c2833
JM
74092018-06-19 Joseph Myers <joseph@codesourcery.com>
7410
7411 [BZ #23280]
7412 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
7413 floating-point number to strtod functions rather than possibly
7414 negating result of those functions.
7415 * stdio-common/tst-scanf-round.c: New file.
7416 * stdio-common/Makefile (tests): Add tst-scanf-round.
7417 ($(objpfx)tst-scanf-round): Depend on $(libm).
7418
c77e4dc0
ST
74192018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
7420
7421 * sysdeps/mach/hurd/localplt.data: Move to...
7422 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
7423 R_386_GLOB_DAT like on Linux i386.
7424
91b2f3e5
JM
74252018-06-18 Joseph Myers <joseph@codesourcery.com>
7426
f2857da7
JM
7427 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
7428 (SHM_STAT_ANY): New macro.
7429 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
7430 (SHM_STAT_ANY): Likewise.
7431 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
7432 (SHM_STAT_ANY): Likewise.
7433 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
7434 (SHM_STAT_ANY): Likewise.
7435 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
7436 (SHM_STAT_ANY): Likewise.
7437 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
7438 (SHM_STAT_ANY): Likewise.
7439 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
7440 (SHM_STAT_ANY): Likewise.
7441 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
7442 (SHM_STAT_ANY): Likewise.
7443 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
7444 (SHM_STAT_ANY): Likewise.
7445 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
7446 (SHM_STAT_ANY): Likewise.
7447 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
7448 (SHM_STAT_ANY): Likewise.
7449 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
7450 (SHM_STAT_ANY): Likewise.
7451
176c7fee
JM
7452 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
7453 (SEM_STAT_ANY): New macro.
7454 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
7455 (SEM_STAT_ANY): Likewise.
7456 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
7457 (SEM_STAT_ANY): Likewise.
7458 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
7459 (SEM_STAT_ANY): Likewise.
7460 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
7461 (SEM_STAT_ANY): Likewise.
7462 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
7463 (SEM_STAT_ANY): Likewise.
7464 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
7465 (SEM_STAT_ANY): Likewise.
7466 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
7467 (SEM_STAT_ANY): Likewise.
7468 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
7469 (SEM_STAT_ANY): Likewise.
7470 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
7471 (SEM_STAT_ANY): Likewise.
7472
86bf0019
JM
7473 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
7474 (MSG_STAT_ANY): New macro.
7475 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
7476 (MSG_STAT_ANY): Likewise.
7477 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
7478 (MSG_STAT_ANY): Likewise.
7479 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
7480 (MSG_STAT_ANY): Likewise.
7481 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
7482 (MSG_STAT_ANY): Likewise.
7483 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
7484 (MSG_STAT_ANY): Likewise.
7485 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
7486 (MSG_STAT_ANY): Likewise.
7487 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
7488 (MSG_STAT_ANY): Likewise.
7489 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
7490 (MSG_STAT_ANY): Likewise.
7491 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
7492 (MSG_STAT_ANY): Likewise.
7493
91b2f3e5
JM
7494 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
7495 (MAP_TYPE): Change value to 0x2b.
7496
3fe8fc79
FW
74972018-06-18 Florian Weimer <fweimer@redhat.com>
7498
7499 [BZ #15722]
7500 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
7501 socket with SOCK_CLOEXEC.
7502
809dc95d
JM
75032018-06-18 Joseph Myers <joseph@codesourcery.com>
7504
7505 [BZ #23303]
7506 * sysdeps/powerpc/powerpc64/le/Makefile
7507 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
7508 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
7509 (gnulib-tests): Also add $(f128-loader-link) for
7510 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
7511
298a8b59
ST
75122018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
7513
7514 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
7515 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
7516 of sendfile.
7517 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
7518 (sendfile64): New strong alias.
faf7bbc2
ST
7519 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
7520 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
7521 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
f96a85e0
ST
7522 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
7523 attribute.
7524 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
7525 ___pthread_get_cleanup_stack.
932d05f0 7526 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
c1b7586c
ST
7527 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
7528 * mach/shortcut.awk: Make syscall stubs include
7529 <mach-shortcuts-hidden.h> and add hidden definition.
7530 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
7a646a93
ST
7531 (__mach_msg): Add hidden prototype.
7532 * mach/msg.c: Include <mach.h>.
7533 (__mach_msg): Add hidden definition.
b0344cf5
ST
7534 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
7535 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
7536 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
7537 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
8c9d5342
ST
7538 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
7539 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
4d0ac037
ST
7540 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
7541 prototype and definition.
7542 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
7543 hidden target for _hurd_self_sigstate.
298a8b59 7544
b12c1e79
JM
75452018-06-15 Joseph Myers <joseph@codesourcery.com>
7546
7547 [BZ #23007]
7548 * stdlib/tst-strtod-nan-sign-main.c: New file.
7549 * stdlib/tst-strtod-nan-sign.c: Likewise.
7550 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
7551 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
7552 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
7553 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
7554 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
7555
b0debe14
HB
75562018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
7557
7558 [BZ #23007]
7559 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
7560 appropriate sign.
7561
14beef75
FW
75622018-06-14 Florian Weimer <fweimer@redhat.com>
7563
7564 [BZ #23290]
7565 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
7566 that the result stays within the ISO-8859-1 range.
7567 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
7568 characters are defined in IBM273.
7569
c596630b
ST
75702018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
7571
7572 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
7573 __mach_task_self): Remove attribute_hidden.
7574
35ebb6b0
JM
75752018-06-14 Joseph Myers <joseph@codesourcery.com>
7576
7577 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
7578 ignore -Wrestrict for one test.
7579
3c7b9f1f
SE
75802018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
7581 Szabolcs Nagy <szabolcs.nagy@arm.com>
7582
7583 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
7584
c59ee916
FW
75852018-06-14 Florian Weimer <fweimer@redhat.com>
7586
7587 * scripts/update-abilist.sh: Accept empty list of files to patch.
7588
43b5ff50
ST
75892018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
7590
7591 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
7592 test-xfail-check-abi-libmachuser): Add.
c8c910ed
ST
7593 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
7594 __libc_read and __libc_write to __read and __write.
c8c6e6d6 7595 * sysdeps/hurd/include/hurd/port.h: New file.
126b3ec3
ST
7596 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
7597 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
7598 __thread_switch, __evc_wait): Move declarations to...
7599 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
7600 attribute_hidden.
06d1a826
ST
7601 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
7602 use PLT to call _hurd_self_sigstate.
43b5ff50 7603
fcd6b5ac
JM
76042018-06-13 Joseph Myers <joseph@codesourcery.com>
7605
7606 [BZ #23279]
7607 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
7608 MAX_EXP as overflowing.
7609 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
7610 overflow flag.
7611 (round_str): Output also whether result overflows in each rounding
7612 mode.
7613 * stdlib/tst-strtod-round-data: Add more tests.
7614 * stdlib/tst-strtod-round-data.h: Regenerated.
7615 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
7616 (TEST): Handle extra arguments for overflow flags.
7617 (struct test_overflow): New type.
7618 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
7619 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
7620 (test_in_one_mode): Take argument with overflow information.
7621 (do_test): Update calls to test_in_one_mode.
7622
35df5a77
CD
76232018-06-12 Carlos O'Donell <carlos@redhat.com>
7624
a745c837
CD
7625 * elf/dl-load (_dl_dst_substitute): Correct comment.
7626 (_dl_dst_count): Likewise.
7627
35df5a77
CD
7628 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
7629 lll_futex_timed_wait.
7630
48b12ed5
JM
76312018-06-12 Joseph Myers <joseph@codesourcery.com>
7632
7633 [BZ #23277]
7634 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
7635 attribute.
7636 * math/test-nan-const.c: New file.
7637 * math/Makefile (tests): Add test-nan-const.
7638 (CFLAGS-test-nan-const.c): New variable.
7639
cb8f6aff
L
76402018-06-12 H.J. Lu <hongjiu.lu@intel.com>
7641
7642 * benchtests/scripts/compare_strings.py (process_results): Add
7643 funcs argument. Compare only functions which are selected.
7644 (main): Check if base function is among selected functions.
7645 Pass selected functions to process_results.
7646 (__main__): Add -f/--functions argument.
7647
fc2ba803
HZ
76482018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
7649 Hongbo Zhang <hongbo.zhang@linaro.org>
7650
7651 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
7652 __memcpy_falkor for phecda core.
7653 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
7654 __memmove_falkor for phecda core.
7655 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
7656 __memset_falkor for phecda core.
7657 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
7658 for phecda core.
7659 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
7660 macro to identify phecda core.
7661
5aad5f61
CD
76622018-06-12 Carlos O'Donell <carlos@redhat.com>
7663 Andreas Schwab <schwab@suse.de>
7664 Dmitry V. Levin <ldv@altlinux.org>
7665 Florian Weimer <fweimer@redhat.com>
7666
7667 [BZ #23102]
7668 [BZ #21942]
7669 [BZ #18018]
7670 [BZ #23259]
7671 CVE-2011-0536
7672 * elf/dl-dst.h: Remove DL_DST_COUNT.
7673 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
7674 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
7675 (is_dst): Comment. Support ELF gABI.
7676 (_dl_dst_count): Comment. Simplify and count DSTs.
7677 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
7678 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
7679 locals.
7680
329ea513
ZW
76812018-06-12 Zack Weinberg <zackw@panix.com>
7682
7683 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
7684 * sysdeps/unix/sysv/linux/dl-sysdep.c
7685 Include not-cancel.h. Use __close_nocancel instead of __close,
7686 __open64_nocancel instead of __open, __read_nocancel instead of
7687 __libc_read, and __write_nocancel instead of __libc_write.
7688
7689 * csu/check_fds.c (check_one_fd)
7690 * sysdeps/posix/fdopendir.c (__fdopendir)
7691 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
7692 instead of __fcntl and/or __libc_fcntl.
7693
7694 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
7695 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
7696 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
7697 Use __open64_nocancel instead of __open_nocancel.
7698
7699 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
7700 hidden_proto declarations to the end and issue them if either
7701 IS_IN(libc) or IS_IN(rtld).
7702 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
7703 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
7704 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
7705 read_nocancel, waitpid_nocancel, write_nocancel.
7706
7707 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
7708 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
7709 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
7710
7711 * nptl/pt-fcntl.c: New file.
7712 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
7713 (libpthread-routines): Add pt-fcntl.
7714 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
7715 (__libc_fcntl): Remove attribute_hidden.
7716 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
7717 __fcntl_nocancel_adjusted, not fcntl_common.
7718 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
7719 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
7720 to fcntl_nocancel.c.
7721 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
7722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
7723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7724 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
7725
7726 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
7727 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
7728 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
7729 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
7730 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
7731 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
7732 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
7733 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
7734 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
7735 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
7736 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
7737 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
7738 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
7739 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
7740 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
7741 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
7742 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
7743 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
7744 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
7745 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
7746
7747 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
7748 libpthread-routines.
7749 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
7750 defines nothing.
7751
7752 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
7753 __libc_read, and __write instead of __libc_write. Define
7754 __open64 in addition to __open.
7755
0221ce2a
L
77562018-06-12 H.J. Lu <hongjiu.lu@intel.com>
7757
7758 [BZ #23250]
7759 [BZ #10686]
7760 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
7761 to _private_tm[3] and add __glibc_reserved2.
7762 Add _Static_assert of offset of __private_ss == 0x30.
7763 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
7764 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
7765
e826574c
FW
77662018-06-12 Florian Weimer <fweimer@redhat.com>
7767
7768 x86: Make strncmp usable from rtld.
7769 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
7770 __strncmp_ia32 if in libc (and not in rtld).
7771 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
7772 strncmp if not in libc (and not to __strncmp_sse2).
7773
c4ad5782
RL
77742018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
7775
7776 [BZ #23140]
7777 * localedata/locales/gd_GB (mon): Rename to...
7778 (alt_mon): This.
7779 (mon): Import from CLDR (genitive case).
7780 * localedata/locales/hsb_DE (mon): Rename to...
7781 (alt_mon): This.
7782 (mon): Import from CLDR (genitive case).
7783 * localedata/locales/wa_BE (mon): Rename to...
7784 (alt_mon): This.
7785 (mon): Add, fill with the proper genitive forms, but CLDR data
7786 is incomplete; completed according to the comments in this file.
7787 (d_t_fmt): Do not use "di" before the month name, no longer needed.
7788
7789 * localedata/locales/wa_BE (country_name): Reword
7790 "Beljike" -> "Beldjike".
7791
ca121b11
JM
77922018-06-11 Joseph Myers <joseph@codesourcery.com>
7793
7794 [BZ #23272]
7795 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
7796 cases of non-finite arguments.
7797 * math/libm-test-fma.inc (fma_test_data): Add more tests.
7798
2b69fecb
JDA
77992018-06-10 John David Anglin <danglin@gcc.gnu.org>
7800
7801 [BZ #23174]
7802 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
7803
283d9851
AZ
78042018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7805
7806 [BZ #23264]
7807 * include/unistd.h (__execvpex): New prototype.
7808 * posix/Makefile (tests): Add tst-spawn4.
7809 (tests-internal): Add tst-spawn4-compat.
7810 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
7811 * posix/tst-spawn4-compat.c: New file.
7812 * posix/tst-spawn4.c: Likewise.
7813 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
7814 binaries as shell scripts.
7815 * sysdeps/posix/spawni.c (__spawni): Likewise.
7816
67c05796
L
78172018-06-08 H.J. Lu <hongjiu.lu@intel.com>
7818
7819 [BZ #23145]
7820 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
7821 ($(all-built-dso:=.dynsym): New target.
7822 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
7823 ($(objpfx)check-initfini.out): New target.
7824 (generated): Add check-initfini.out.
7825 * scripts/check-initfini.awk: New file.
7826 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
7827 (_fini): Likewise.
7828 * sysdeps/alpha/crti.S (_init): Mark as hidden.
7829 (_fini): Likewise.
7830 * sysdeps/arm/crti.S (_init): Mark as hidden.
7831 (_fini): Likewise.
7832 * sysdeps/hppa/crti.S (_init): Mark as hidden.
7833 (_fini): Likewise.
7834 * sysdeps/i386/crti.S (_init): Mark as hidden.
7835 (_fini): Likewise.
7836 * sysdeps/ia64/crti.S (_init): Mark as hidden.
7837 (_fini): Likewise.
7838 * sysdeps/m68k/crti.S (_init): Mark as hidden.
7839 (_fini): Likewise.
7840 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
7841 (_fini): Likewise.
7842 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
7843 (_fini): Likewise.
7844 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
7845 (_fini): Likewise.
7846 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
7847 (_fini): Likewise.
7848 * sysdeps/nios2/crti.S (_init): Mark as hidden.
7849 (_fini): Likewise.
7850 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
7851 (_fini): Likewise.
7852 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
7853 (_fini): Likewise.
7854 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
7855 (_fini): Likewise.
7856 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
7857 (_fini): Likewise.
7858 * sysdeps/sh/crti.S (_init): Mark as hidden.
7859 (_fini): Likewise.
7860 * sysdeps/sparc/crti.S (_init): Mark as hidden.
7861 (_fini): Likewise.
7862 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
7863 (_fini): Likewise.
7864
1c09524e
TMQMF
78652018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7866
7867 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
7868 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
7869 and TF redirection to KFtype and KF only when the default
7870 long double type is not the IEEE 128-bit floating point type.
7871
0e0577c9
JM
78722018-06-05 Joseph Myers <joseph@codesourcery.com>
7873
0c1c33b2
JM
7874 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
7875 macro.
7876 (HWCAP_USCAT): Likewise.
7877 (HWCAP_ILRCPC): Likewise.
7878 (HWCAP_FLAGM): Likewise.
7879 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
7880 Increase to 28.
7881 (_dl_aarch64_cap_flags): Add new flag names.
7882
bef1cbf4
JM
7883 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
7884 (MAP_FIXED_NOREPLACE): New macro.
7885 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
7886 (MAP_FIXED_NOREPLACE): Likewise.
7887 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
7888 (MAP_FIXED_NOREPLACE): Likewise.
7889 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
7890 (MAP_FIXED_NOREPLACE): Likewise.
7891 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
7892 (MAP_FIXED_NOREPLACE): Likewise.
7893 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
7894 (MAP_FIXED_NOREPLACE): Likewise.
7895 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
7896 (MAP_FIXED_NOREPLACE): Likewise.
7897 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
7898 (MAP_FIXED_NOREPLACE): Likewise.
7899 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
7900 (MAP_FIXED_NOREPLACE): Likewise.
7901 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
7902 (MAP_FIXED_NOREPLACE): Likewise.
7903 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
7904 (MAP_FIXED_NOREPLACE): Likewise.
7905 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
7906 (MAP_FIXED_NOREPLACE): Likewise.
7907 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
7908 (MAP_FIXED_NOREPLACE): Likewise.
7909 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
7910 (MAP_FIXED_NOREPLACE): Likewise.
7911 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
7912 (MAP_FIXED_NOREPLACE): Likewise.
7913
0e0577c9
JM
7914 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7915 version to 4.17.
7916
ab3a0da0
JM
79172018-06-04 Joseph Myers <joseph@codesourcery.com>
7918
7919 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7920 version to 4.17
7921
d2d9dfb6
ST
79222018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7923
7924 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
7925 int.
7926 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
7927
a650b05e
LS
79282018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7929
7930 * benchtests/scripts/compare_string.py: (process_results) Catch
7931 exception in non-existent base_func and catch exception in
7932 non-existent attribute.
7933 (parse_file) Catch exception if input file does not exist.
7934
195abbf4
LS
79352018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7936
7937 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
7938 options to avoid diff calculation and omit header, respectively.
7939 (main): process --no-diff and --no-header
7940
14570163
LS
79412018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7942 H.J. Lu <hongjiu.lu@intel.com>
7943
7944 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7945 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
7946 wcsncmp-sse2.
7947 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7948 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
7949 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
7950 and __wcsncmp_sse2.
7951 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
7952 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
7953 AVX unaligned load is fast and vzeroupper is preferred.
7954 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
7955 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
7956 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
7957 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
7958 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
7959 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
7960 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
7961 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
7962 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
7963 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
7964 is undefined.
7965
e02c026f
FW
79662018-06-01 Florian Weimer <fweimer@redhat.com>
7967
7968 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
7969 configuring with --disable-multi-arch, building with
7970 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
7971 Haswell-era CPU.
7972
d8c19275
FW
79732018-06-01 Florian Weimer <fweimer@redhat.com>
7974
7975 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
7976 results from building with “-march=x86-64 -mtune=generic
7977 -mfpmath=sse” and running on a Haswell-era CPU.
7978
0d2163eb
JM
79792018-06-01 Joseph Myers <joseph@codesourcery.com>
7980
7981 [BZ #18473]
7982 * soft-fp/sqrttf2.c: Remove file.
7983 * soft-fp/sqrtdf2.c: Move to ....
7984 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
7985 <shlib-compat.h>.
7986 (__sqrtdf2): Make conditional on
7987 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
7988 symbol.
7989 * soft-fp/sqrtsf2.c: Move to ....
7990 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
7991 <shlib-compat.h>.
7992 (__sqrtsf2): Make conditional on
7993 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
7994 symbol.
7995 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
7996 (gcc-double-routines): Remove sqrtdf2.
7997 (gcc-quad-routines): Remove sqrttf2.
7998 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
7999 Do not filter out sqrtsf2 and sqrtdf2.
8000 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
8001 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
8002
10450210
FW
80032018-06-01 Florian Weimer <fweimer@redhat.com>
8004
8005 * sysdeps/generic/libcidn.abilist: Remove file.
8006
4e8a6346
FW
80072018-06-01 Florian Weimer <fweimer@redhat.com>
8008
8009 [BZ #23236]
8010 * libio/strfile.h (struct _IO_str_fields): Rename members to
8011 discourage their use and add comment.
8012 (_IO_STR_DYNAMIC): Remove unused macro.
8013 * libio/strops.c (_IO_str_init_static_internal): Do not use
8014 callback pointers. Call malloc and free.
8015 (_IO_str_overflow): Do not use callback pointers. Call malloc
8016 and free.
8017 (enlarge_userbuf): Likewise.
8018 (_IO_str_finish): Call free.
8019 * libio/wstrops.c (_IO_wstr_init_static): Initialize
8020 _allocate_buffer_unused.
8021 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
8022 and free.
8023 (enlarge_userbuf): Likewise.
8024 (_IO_wstr_finish): Call free.
8025 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
8026 _allocate_buffer_unused, _free_buffer_unused.
8027 * libio/memstream.c (__open_memstream): Likewise.
8028 * libio/vasprintf.c (_IO_vasprintf): Likewise.
8029 * libio/wmemstream.c (open_wmemstream): Likewise.
8030
50d004c9
PP
80312018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
8032
8033 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
8034 AMD Ryzen 7 1800X.
8035
2c93fce7
RS
80362018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8037
8038 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
8039 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
8040 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
8041 New file.
8042 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
8043 Likewise.
8044 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
8045
0ce2fa69
FW
80462018-05-29 Florian Weimer <fweimer@redhat.com>
8047
8048 * support/Makefile (libsupport-routines): Add
8049 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
8050 xpthread_barrierattr_setpshared.
8051 * support/xpthread_barrierattr_destroy.c: New file.
8052 * support/xpthread_barrierattr_init.c: Likewise.
8053 * support/xpthread_barrierattr_setpshared.c: Likewise.
8054
7f7b5d8d
L
80552018-05-29 H.J. Lu <hongjiu.lu@intel.com>
8056
8057 [BZ #23206]
8058 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
8059 _r_debug and update DT_DEBUG for debugger.
8060
e4890300
FW
80612018-05-29 Florian Weimer <fweimer@redhat.com>
8062
8063 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
8064 (tst-strtod5i.out): Likewise.
8065
2c753f3e
JM
80662018-05-25 Joseph Myers <joseph@codesourcery.com>
8067
b5453d9f
JM
8068 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
8069 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
8070 (sparc64-quad-routines): New variable. Moved from ....
8071 [$(subdir) = soft-fp] (sysdep_routines): Add
8072 $(sparc64-quad-routines). Moved from ....
8073 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
8074 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
8075 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
8076 moved from ....
8077 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
8078 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
8079 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
8080 * sysdeps/sparc/sparc64/qp_add.c: ... here.
8081 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
8082 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
8083 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
8084 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
8085 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
8086 * sysdeps/sparc/sparc64/qp_div.c: ... here.
8087 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
8088 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
8089 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
8090 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
8091 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
8092 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
8093 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
8094 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
8095 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
8096 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
8097 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
8098 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
8099 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
8100 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
8101 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
8102 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
8103 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
8104 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
8105 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
8106 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
8107 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
8108 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
8109 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
8110 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
8111 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
8112 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
8113 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
8114 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
8115 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
8116 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
8117 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
8118 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
8119 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
8120 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
8121 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
8122 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
8123 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
8124 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
8125 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
8126 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
8127 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
8128 * sysdeps/sparc/sparc64/qp_util.c: ... here.
8129 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
8130 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
8131 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
8132 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
8133 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
8134 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
8135
2c753f3e
JM
8136 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
8137 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
8138 (sparc32-quad-routines): New variable. Moved from ....
8139 [$(subdir) = soft-fp] (sysdep_routines): Add
8140 $(sparc32-quad-routines). Moved from ....
8141 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
8142 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
8143 moved from ....
8144 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
8145 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
8146 * sysdeps/sparc/sparc32/q_add.c: ... here.
8147 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
8148 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
8149 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
8150 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
8151 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
8152 * sysdeps/sparc/sparc32/q_div.c: ... here.
8153 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
8154 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
8155 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
8156 * sysdeps/sparc/sparc32/q_feq.c: ... here.
8157 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
8158 * sysdeps/sparc/sparc32/q_fge.c: ... here.
8159 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
8160 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
8161 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
8162 * sysdeps/sparc/sparc32/q_fle.c: ... here.
8163 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
8164 * sysdeps/sparc/sparc32/q_flt.c: ... here.
8165 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
8166 * sysdeps/sparc/sparc32/q_fne.c: ... here.
8167 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
8168 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
8169 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
8170 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
8171 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
8172 * sysdeps/sparc/sparc32/q_mul.c: ... here.
8173 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
8174 * sysdeps/sparc/sparc32/q_neg.c: ... here.
8175 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
8176 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
8177 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
8178 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
8179 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
8180 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
8181 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
8182 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
8183 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
8184 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
8185 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
8186 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
8187 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
8188 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
8189 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
8190 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
8191 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
8192 * sysdeps/sparc/sparc32/q_sub.c: ... here.
8193 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
8194 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
8195 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
8196 * sysdeps/sparc/sparc32/q_util.c: ... here.
8197 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
8198 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
8199 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
8200 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
8201
c1dc1e1b
TMQMF
82022018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8203 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8204
8205 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
8206 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
8207 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
8208 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
8209
14186e8d
JM
82102018-05-24 Joseph Myers <joseph@codesourcery.com>
8211
8212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
8213 powerpc/soft-fp.
8214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8215 Likewise.
8216 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
8217 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
8218
fb0e10b8
GG
82192018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8220
8221 [BZ #23171]
8222 * math/math.h [C++] (iseqsig): Fix parameter type for the long
8223 double version.
8224
1dfeb17e
JM
82252018-05-23 Joseph Myers <joseph@codesourcery.com>
8226
8227 * sysdeps/sh/Implies: Remove sh/soft-fp.
8228 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
8229 * sysdeps/sh/sfp-machine.h: ... here.
8230
727b38df
L
82312018-05-23 H.J. Lu <hongjiu.lu@intel.com>
8232
8233 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
8234 (__mempcpy_erms): Skip zero length.
8235 (__memmove_erms): Likewise.
8236 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
8237 (__memset_erms): Likewise.
8238
2834fb46
JM
82392018-05-23 Joseph Myers <joseph@codesourcery.com>
8240
8241 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
8242 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
8243 Add functions moved from ....
8244 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
8245 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
8246 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
8247 from ....
8248 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
8249 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
8250 * sysdeps/alpha/e_sqrtl.c: ... here.
8251 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
8252 * sysdeps/alpha/local-soft-fp.h: ... here.
8253 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
8254 * sysdeps/alpha/ots_add.c: ... here.
8255 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
8256 * sysdeps/alpha/ots_cmp.c: ... here.
8257 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
8258 * sysdeps/alpha/ots_cmpe.c: ... here.
8259 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
8260 * sysdeps/alpha/ots_cvtqux.c: ... here.
8261 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
8262 * sysdeps/alpha/ots_cvtqx.c: ... here.
8263 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
8264 * sysdeps/alpha/ots_cvttx.c: ... here.
8265 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
8266 * sysdeps/alpha/ots_cvtxq.c: ... here.
8267 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
8268 * sysdeps/alpha/ots_cvtxt.c: ... here.
8269 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
8270 * sysdeps/alpha/ots_div.c: ... here.
8271 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
8272 * sysdeps/alpha/ots_mul.c: ... here.
8273 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
8274 * sysdeps/alpha/ots_nintxq.c: ... here.
8275 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
8276 * sysdeps/alpha/ots_sub.c: ... here.
8277 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
8278 * sysdeps/alpha/sfp-machine.h: ... here.
8279
7f9f1ecb
FW
82802018-05-23 Florian Weimer <fweimer@redhat.com>
8281
8282 [BZ #19728]
8283 [BZ #19729]
8284 [BZ #22247]
8285 CVE-2016-6261
8286 CVE-2016-6263
8287 CVE-2017-14062
8288 Switch to extern IDNA implementation (libidn2).
8289 * libidn: Remove subdirectory.
8290 * LICENSES: Do not mention licensing conditions for the removed
8291 libidn code.
8292 * config.h.in (HAVE_LIBIDN): Remove.
8293 * include/dlfcn.h (__libc_dlopen): Update comment.
8294 * include/idna.h: Remove file.
8295 * inet/Makefile (routines): Add idna.
8296 (tests-static, tests-internal): Add tst-idna_name_classify.
8297 (LOCALES): Generate locales for tests.
8298 (tst-idna_name_classify.out): Depend on generated locales.
8299 * inet/idna_name_classify.c: New file.
8300 * inet/tst-idna_name_classify.c: Likewise.
8301 * inet/net-internal.h (__idna_to_dns_encoding)
8302 (__idna_from_dns_encoding): Declare.
8303 * inet/net-internal.h (enum idna_name_classification): Define.
8304 (__idna_name_classify): Declare.
8305 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
8306 __idna_from_dns_encoding.
8307 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
8308 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
8309 name as a fallback in case of encoding errors.
8310 (getnameinfo): Use DEPRECATED_NI_IDN.
8311 * inet/idna.c: New file.
8312 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
8313 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
8314 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
8315 (modules-names): Add tst-no-libidn2.
8316 (extra-test-objs): Add tst-no-libidn2.os.
8317 (LDFLAGS-tst-no-libidn2.so): Set soname.
8318 (LOCALES): Set, and generate locales.
8319 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
8320 (tst-resolv-ai_idn-latin1): Likewise.
8321 (tst-resolv-ai_idn-nolibidn2): Likewise.
8322 (tst-resolv-ai_idn.out): Depend on locales.
8323 (tst-resolv-ai_idn-latin1.out): Depend on locales.
8324 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
8325 tst-no-libidn2.so.
8326 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
8327 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
8328 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
8329 * resolv/tst-resolv-ai_idn.c: New file.
8330 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
8331 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
8332 * resolv/tst-no-libidn2.c: Likewise.
8333 * support/support_format_addrinfo.c (format_ai_flags): Do not
8334 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
8335 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
8336 (gaih_inet): Call __idna_to_dns_encoding and
8337 __idna_from_dns_encoding, and use the original (punycode) name if
8338 __idna_from_dns_encoding fails due to an encoding error.
8339 (getaddrinfo): Use DEPRECATED_AI_IDN.
8340 * sysdeps/unix/inet/Subdirs (libidn): Remove.
8341 * sysdeps/unix/inet/configure: Remove file.
8342 * sysdeps/unix/inet/configure.ac: Likewise.
8343
5f7b841d
FW
83442018-05-23 Florian Weimer <fweimer@redhat.com>
8345
8346 Implement allocate_once.
8347 * include/allocate_once.h: New file.
8348 * misc/allocate_once.c: Likewise.
8349 * misc/tst-allocate_once.c: Likewise.
8350 * misc/Makefile (routines): Add allocate_once.
8351 (tests-internal): Add tst-allocate_once.
8352 (generated): Add tst-allocate_once.mtrace,
8353 tst-allocate_once-mem.out.
8354 (tests-special): Add tst-allocate_once-mem.out.
8355 (tst-allocate_once-ENV): Set MALLOC_TRACE.
8356 (tst-allocate_once-mem.out): Call mtrace.
8357 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
8358
ed983107
L
83592018-05-23 H.J. Lu <hongjiu.lu@intel.com>
8360
8361 [BZ #23196]
8362 * string/test-memcpy.c (do_test1): New function.
8363 (test_main): Call it.
8364
9aaaab7c
AS
83652018-05-23 Andreas Schwab <schwab@suse.de>
8366
8367 [BZ #23196]
8368 CVE-2018-11237
8369 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
8370 (L(preloop_large)): Save initial destination pointer in %r11 and
8371 use it instead of %rax after the loop.
8372 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
8373
5c5c0dd7
JM
83742018-05-22 Joseph Myers <joseph@codesourcery.com>
8375
8f145c77
JM
8376 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
8377 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
8378 -I../soft-fp. Moved from ....
8379 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
8380 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
8381 * sysdeps/aarch64/e_sqrtl.c: ... here.
8382 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
8383 * sysdeps/aarch64/sfp-machine.h: ... here.
8384
3d6302a5
JM
8385 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
8386 -Wmaybe-uninitialized around access to fq[0].
8387 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
8388 Likewise.
8389
5c5c0dd7
JM
8390 [BZ #18471]
8391 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
8392 aliases for non-libc case of versioned symbols.
8393 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
8394 (llseek): Define as compat symbol if
8395 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
8396 with link warning.
8397 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
8398 Make into a compat symbol, disabled for minimum symbol version
8399 GLIBC_2.28 and later.
8400 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
8401
ed0d6988
FW
84022018-05-22 Florian Weimer <fweimer@redhat.com>
8403
8404 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
8405 not add -mpreferred-stack-boundary=4.
8406 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
8407 (stack-align-test-flags): Likewise.
8408 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
8409 Likewise.
8410 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
8411 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
8412 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
8413 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
8414 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
8415 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
8416 (CFLAGS-tst-align2.c): Likewise.
8417
e28e9b1e
L
84182018-05-21 H.J. Lu <hongjiu.lu@intel.com>
8419
8420 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
8421 (index_arch_Prefer_FSRM): Likewise.
8422 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
8423 Also check Prefer_FSRM.
8424 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
8425 Also return OPTIMIZE (erms) for Prefer_FSRM.
8426
1af30adc
L
84272018-05-21 H.J. Lu <hongjiu.lu@intel.com>
8428
8429 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
8430 (index_cpu_FSRM): Likewise.
8431 (reg_FSRM): Likewise.
8432
78274dc8
JM
84332018-05-18 Joseph Myers <joseph@codesourcery.com>
8434
7c67e6e8
JM
8435 * math/gen-tgmath-tests.py: Import sys.
8436 (Tests.__init__): Initialize macros_seen.
8437 (Tests.add_tests): Add macro to macros_seen. Only generate tests
8438 if requested to do so for this macro.
8439 (Tests.add_all_tests): Take argument for macro for which to
8440 generate tests.
8441 (Tests.check_macro_list): New function.
8442 (main): Handle check-list argument and argument specifying macro
8443 for which to generate tests.
8444 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
8445 [PYTHON] (tgmath3-macro-tests): Likewise.
8446 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
8447 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
8448 not test-tgmath3.c.
8449 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
8450 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
8451 to CFLAGS.
8452 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
8453 [PYTHON] ($(foreach
8454 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
8455 rule.
8456 [PYTHON] (tests-special): Add
8457 $(objpfx)test-tgmath3-macro-list.out.
8458 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
8459
ebc129fd
JM
8460 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
8461 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
8462 later.
8463
78274dc8
JM
8464 [BZ #22639]
8465 * time/tzset.c (SECSPERDAY): Cast to time_t.
8466 * time/tst-y2039.c: New file.
8467 * time/Makefile (tests): Add tst-y2039.
8468
6f7fdeeb
LS
84692018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8470
8471 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
8472 (PREFETCH_ONE_SET): Remove duplicate line.
8473
e363a91c
FW
84742018-05-17 Florian Weimer <fweimer@redhat.com>
8475
8476 * sysdeps/generic/math-type-macros-double.h: Include
8477 <math-nan-payload-double.h> after <libm-alias-double.h>.
8478 * sysdeps/generic/math-type-macros-float.h: Include
8479 <math-nan-payload-float.h> after <libm-alias-float.h>.
8480 * sysdeps/generic/math-type-macros-float128.h: Include
8481 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
8482 * sysdeps/generic/math-type-macros-ldouble.h: Include
8483 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
8484
dae6c43c
AS
84852018-05-17 Andreas Schwab <schwab@suse.de>
8486
8487 * resolv/res_send.c (__res_context_send): Don't set errno when
8488 returing error after malloc failure.
8489
0068c085
L
84902018-05-17 H.J. Lu <hongjiu.lu@intel.com>
8491
8492 * nptl/allocatestack.c (allocate_stack): Remove the
8493 !__ASSUME_PRIVATE_FUTEX paths.
8494 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
8495 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
8496 Likewise.
8497 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
8498 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
8499 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
8500 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
8501 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
8502 !__ASSUME_PRIVATE_FUTEX path.
8503 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
8504 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
8505 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
8506 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
8507 !__ASSUME_PRIVATE_FUTEX macros.
8508 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
8509 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
8510 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
8511 * sysdeps/unix/sysv/linux/kernel-features.h
8512 (__ASSUME_PRIVATE_FUTEX): Removed.
8513
632a6cbe
JM
85142018-05-17 Joseph Myers <joseph@codesourcery.com>
8515
8516 * math/Makefile (libm-narrow-fns): Add div.
8517 (libm-test-funcs-narrow): Likewise.
8518 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
8519 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
8520 * math/gen-auto-libm-tests.c (test_functions): Add div.
8521 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
8522 (NARROW_DIV_ROUND_TO_ODD): Likewise.
8523 (NARROW_DIV_TRIVIAL): Likewise.
8524 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
8525 macro.
8526 (__ddivl): Likewise.
8527 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
8528 ddiv.
8529 (CFLAGS-nldbl-ddiv.c): New variable.
8530 (CFLAGS-nldbl-fdiv.c): Likewise.
8531 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
8532 __nldbl_ddivl.
8533 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
8534 prototype.
8535 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
8536 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
8537 * math/auto-libm-test-in: Add tests of div.
8538 * math/auto-libm-test-out-narrow-div: New generated file.
8539 * math/libm-test-narrow-div.inc: New file.
8540 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
8541 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
8542 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
8543 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
8544 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
8545 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
8546 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
8547 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
8548 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
8549 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
8550 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
8551 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
8552 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
8553 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
8554 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
8555 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
8556 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
8557 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
8558 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8559 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
8560 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8561 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8562 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8563 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8564 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8565 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8566 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8567 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8568 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8569 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8570 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8571 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
8573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
8574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
8575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
8576 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
8577 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8578 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8579 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8580 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8581 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8582 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8583 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8584
8c78faa9
AZ
85852018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8586
8587 [BZ #23178]
8588 * nscd/nscd-client.h (sendfileall): Remove prototype.
8589 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
8590 (handle_request): Use writeall instead of sendfileall.
8591 * nscd/aicache.c (addhstaiX): Likewise.
8592 * nscd/grpcache.c (cache_addgr): Likewise.
8593 * nscd/hstcache.c (cache_addhst): Likewise.
8594 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8595 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
8596 * nscd/pwdcache.c (cache_addpw): Likewise.
8597 * nscd/servicescache.c (cache_addserv): Likewise.
8598 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
8599 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
8600 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
8601 Remove define.
8602
04958880
L
86032018-05-16 H.J. Lu <hongjiu.lu@intel.com>
8604
8605 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
8606 Include <string/strncat.c>.
8607 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
8608 alias.
8609 (__GI___strncat): New hidden alias.
8610
c9992d13
JM
86112018-05-16 Joseph Myers <joseph@codesourcery.com>
8612
8613 * sysdeps/mips/mips32/libm-test-ulps: Update.
8614 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8615
2afece36
FW
86162018-05-16 Florian Weimer <fweimer@redhat.com>
8617
8618 * support/Makefile (libsupport-routines): Add support_quote_blob,
8619 support_test_compare_blob.
8620 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
8621 * support/check.h (TEST_COMPARE_BLOB): Define.
8622 (support_test_compare_blob): Declare.
8623 * support/support.h (support_quote_blob): Declare.
8624 * support/support_quote_blob.c: New file.
8625 * support/support_test_compare_blob.c: Likewise.
8626 * support/tst-support_quote_blob.c: Likewise.
8627 * support/tst-test_compare_blob.c: Likewise.
8628
9761bf4d
FW
86292018-05-16 Florian Weimer <fweimer@redhat.com>
8630
8631 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
8632 of <strtod_nan_double.h>.
8633 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
8634 instead of SET_MANTISSA.
8635 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
8636 of include <strtod_nan_float.h>.
8637 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
8638 instead of <strtod_nan_ldouble.h>.
8639 * stdlib/strtod_nan_double.h: Move to ...
8640 * sysdeps/generic/math-nan-payload-double.h: ... here.
8641 (FLOAT): Remove definition.
8642 (SET_MANTISSA): Rename to ...
8643 (SET_NAN_PAYLOAD): ... this.
8644 * stdlib/strtod_nan_float.h: Move to ...
8645 * sysdeps/generic/math-nan-payload-float.h: ... here.
8646 (FLOAT): Remove definition.
8647 (SET_MANTISSA): Rename to ...
8648 (SET_NAN_PAYLOAD): ... this.
8649 * sysdeps/generic/math-type-macros-double.h: Include
8650 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
8651 instead of <math-svid-compat.h>.
8652 * sysdeps/generic/math-type-macros-float.h: Include
8653 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
8654 instead of <math-svid-compat.h>.
8655 * sysdeps/generic/math-type-macros-float128.h: Include
8656 <math-nan-payload-float128.h>.
8657 * sysdeps/generic/math-type-macros-ldouble.h: Include
8658 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
8659 instead of <math-svid-compat.h>.
8660 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
8661 check for definition.
8662 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
8663 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
8664 Include <ieee754_float128.h>.
8665 (FLOAT): Remove definition.
8666 (SET_MANTISSA): Rename to ...
8667 (SET_NAN_PAYLOAD): ... this.
8668 * sysdeps/ieee754/float128/strtof128_nan.c: Include
8669 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
8670 Do not include <float128_private.h>.
8671 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
8672 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
8673 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
8674 (FLOAT): Remove definition.
8675 (SET_MANTISSA): Rename to ...
8676 (SET_NAN_PAYLOAD): ... this.
8677 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
8678 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
8679 (FLOAT): Remove definition.
8680 (SET_MANTISSA): Rename to ...
8681 (SET_NAN_PAYLOAD): ... this.
8682 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
8683 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
8684 (FLOAT): Remove definition.
8685 (SET_MANTISSA): Rename to ...
8686 (SET_NAN_PAYLOAD): ... this.
8687 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
8688 of "../stdlib/strtod_nan_double.h".
8689 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
8690 of "../stdlib/strtod_nan_float.h".
8691 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
8692 instead of "../stdlib/strtod_nan_ldouble.h".
8693 * manual/arith.texi (Parsing of Floats): Adjust comment.
8694
69a01461
JM
86952018-05-16 Joseph Myers <joseph@codesourcery.com>
8696
8697 * math/Makefile (libm-narrow-fns): Add mul.
8698 (libm-test-funcs-narrow): Likewise.
8699 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
8700 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
8701 * math/gen-auto-libm-tests.c (test_functions): Add mul.
8702 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
8703 (NARROW_MUL_ROUND_TO_ODD): Likewise.
8704 (NARROW_MUL_TRIVIAL): Likewise.
8705 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
8706 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
8707 macro.
8708 (__dmull): Likewise.
8709 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
8710 dmul.
8711 (CFLAGS-nldbl-dmul.c): New variable.
8712 (CFLAGS-nldbl-fmul.c): Likewise.
8713 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
8714 __nldbl_dmull.
8715 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
8716 prototype.
8717 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
8718 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
8719 * math/auto-libm-test-in: Add tests of mul.
8720 * math/auto-libm-test-out-narrow-mul: New generated file.
8721 * math/libm-test-narrow-mul.inc: New file.
8722 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
8723 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
8724 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
8725 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
8726 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
8727 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
8728 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
8729 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
8730 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
8731 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
8732 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
8733 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
8734 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
8735 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
8736 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
8737 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
8738 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
8739 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
8740 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8741 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
8742 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8743 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8744 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8745 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8746 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8747 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8748 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8749 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8750 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8751 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8752 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8753 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
8755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
8756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
8757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
8758 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
8759 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8760 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8761 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8762 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8763 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8764 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8765 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8766
a15529fd
L
87672018-05-14 H.J. Lu <hongjiu.lu@intel.com>
8768
8769 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
8770 with *%eax in call.
8771
98ee36c7
L
87722018-05-14 H.J. Lu <hongjiu.lu@intel.com>
8773
8774 * sysdeps/i386/ldsodefs.h: Removed.
8775 * sysdeps/x86_64/ldsodefs.h: Moved to ...
8776 * sysdeps/x86/ldsodefs.h: This.
8777 (La_i86_regs): New.
8778 (La_i86_retval): Likewise.
8779 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
8780 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
8781
e322ec32
L
87822018-05-14 H.J. Lu <hongjiu.lu@intel.com>
8783
8784 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
8785 unnecessary testl.
8786
0937e209
AM
87872018-05-13 Alan Modra <amodra@gmail.com>
8788
8789 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
8790 R_PARISC_TLS_DTPOFF32 reloc addend.
8791
5db7d705
TMQMF
87922018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8793
8794 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
8795 * math/math.h: Restrict the prototype definition for the functions
8796 issignaling(_Float128) and iszero(_Float128); and template
8797 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
8798 __HAVE_FLOAT128_UNLIKE_LDBL.
8799 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
8800 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
8801 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
8802 __f128() constants; define the type _Float128 as long double;
8803 and reuse long double in __CFLOAT128.
8804
b4d5b8b0
JM
88052018-05-11 Joseph Myers <joseph@codesourcery.com>
8806
8807 * sysdeps/generic/math_private.h: Do not include
8808 <math-barriers.h>.
8809 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
8810 <math_private.h>.
8811 * math/fromfp.h: Include <math-barriers.h>.
8812 * math/math-narrow.h: Likewise.
8813 * math/s_nextafter.c: Likewise.
8814 * math/s_nexttowardf.c: Likewise.
8815 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
8816 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
8817 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
8818 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
8819 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8820 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8821 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8822 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8823 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8824 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8825 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8826 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8827 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8828 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8829 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
8830 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8831 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8832 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8833 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8834 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8835 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8836 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8837 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8838 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8839 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8840 * sysdeps/ieee754/k_standardl.c: Likewise.
8841 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8842 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8843 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8844 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
8845 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8846 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8847 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8848 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8849 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8850 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
8851 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8852 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8853 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8854 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8855 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8856 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8857 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
8858 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
8859 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8860 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8861 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
8862 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
8863
fc79706a
FW
88642018-05-11 Florian Weimer <fweimer@redhat.com>
8865
8866 Use 64-bit epoch values in the time zone file parser.
8867 * include/time.h (internal_time_t): Define.
8868 (__tzfile_compute): Use it.
8869 * time/tzfile.c (struct leap): Use internal_time_t for epoch
8870 member.
8871 (transitions): Switch to internal_time_t.
8872 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
8873 types.
8874 (__tzfile_compute): Use internal_time_t for timer argument. Check
8875 for truncation before calling __offtime.
8876
89aacb51
FW
88772018-05-11 Florian Weimer <fweimer@redhat.com>
8878
8879 [BZ #23166]
8880 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
8881 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
8882 Likewise.
8883 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
8884 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
8885 export without --enable-obsolete-rpc.
8886 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
8887 symbol. This should not have been exported, ever.
8888
bb066cb8
RL
88892018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
8890
8891 [BZ #23152]
8892 * localedata/locales/gd_GB (abmon): Fix typo in May:
8893 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
8894
70c97f84
SP
88952018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
8896
db725a45
SP
8897 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
8898 Use multiple registers to copy data in loop tail.
8899
70c97f84
SP
8900 * sysdeps/aarch64/multiarch/memmove_falkor.S
8901 (__memmove_falkor): Use multiple registers to move data in
8902 loop tail.
8903
8f5b00d3
JM
89042018-05-10 Joseph Myers <joseph@codesourcery.com>
8905
8906 * math/math-underflow.h: New file.
8907 * sysdeps/generic/math_private.h: Do not include <float.h>.
8908 (fabs_tg): Remove macro. Moved to math-underflow.h.
8909 (min_of_type_f): Likewise.
8910 (min_of_type_): Likewise.
8911 (min_of_type_l): Likewise.
8912 (min_of_type_f128): Likewise.
8913 (min_of_type): Likewise.
8914 (math_check_force_underflow): Likewise.
8915 (math_check_force_underflow_nonneg): Likewise.
8916 (math_check_force_underflow_complex): Likewise.
8917 * math/e_exp2_template.c: Include <math-underflow.h>.
8918 * math/k_casinh_template.c: Likewise.
8919 * math/s_catan_template.c: Likewise.
8920 * math/s_catanh_template.c: Likewise.
8921 * math/s_ccosh_template.c: Likewise.
8922 * math/s_cexp_template.c: Likewise.
8923 * math/s_clog10_template.c: Likewise.
8924 * math/s_clog_template.c: Likewise.
8925 * math/s_csin_template.c: Likewise.
8926 * math/s_csinh_template.c: Likewise.
8927 * math/s_csqrt_template.c: Likewise.
8928 * math/s_ctan_template.c: Likewise.
8929 * math/s_ctanh_template.c: Likewise.
8930 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8931 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8932 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8933 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8934 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8935 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8936 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8937 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8938 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8939 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8940 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8941 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8942 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8943 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8944 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8945 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8946 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8947 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8948 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8949 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8950 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8951 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8952 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8953 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8954 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8955 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8956 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8957 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8958 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8959 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8960 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8961 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8962 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8963 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8964 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8965 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8966 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8967 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8968 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8969 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8970 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8971 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8972 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8973 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8974 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8975 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8976 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8977 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8978 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8979 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8980 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8981 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8982 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8983 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
8984 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8985 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8986 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8987 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8988 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8989 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8990 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8991 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
8992 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8993 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
8994 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8995 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8996 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8997 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8998 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8999 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9000 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9001 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9002 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
9003 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
9004 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9005 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9006 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9007 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9008 * sysdeps/x86/fpu/powl_helper.c: Likewise.
9009 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
9010 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
9011 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
9012 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
9013 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
9014
9ed2e15f
JM
90152018-05-09 Joseph Myers <joseph@codesourcery.com>
9016
9017 * sysdeps/generic/math-barriers.h: New file.
9018 * sysdeps/generic/math_private.h [!math_opt_barrier]
9019 (math_opt_barrier): Move to math-barriers.h.
9020 [!math_opt_barrier] (math_force_eval): Likewise.
9021 * sysdeps/aarch64/fpu/math-barriers.h: New file.
9022 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
9023 math-barriers.h.
9024 (math_force_eval): Likewise.
9025 * sysdeps/alpha/fpu/math-barriers.h: New file.
9026 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
9027 math-barriers.h.
9028 (math_force_eval): Likewise.
9029 * sysdeps/x86/fpu/math-barriers.h: New file.
9030 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
9031 math-barriers.h.
9032 (math_force_eval): Likewise.
9033 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
9034 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
9035 multiple-include guard for rename.
9036 * sysdeps/powerpc/fpu/math-barriers.h: New file.
9037 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
9038 math-barriers.h.
9039 (math_force_eval): Likewise.
9040
5460617d
PP
90412018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
9042
9043 [BZ #22786]
43d4f3d5 9044 CVE-2018-11236
5460617d
PP
9045 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
9046 computation.
9047 * stdlib/Makefile (test-bz22786): New test.
9048 * stdlib/test-bz22786.c: New test.
9049
aaee3cd8
JM
90502018-05-09 Joseph Myers <joseph@codesourcery.com>
9051
9052 * include/math-narrow-eval.h: New file. Contents moved from ....
9053 * sysdeps/generic/math_private.h: ... here.
9054 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
9055 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
9056 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
9057 * stdlib/strtod_l.c: Likewise.
9058 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
9059 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
9060 * sysdeps/i386/fpu/s_fdim.c: Likewise.
9061 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9062 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9063 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9064 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9065 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9066 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9067 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
9068 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9069 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
9070 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9071 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9072 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9073 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9074 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9075 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9076 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9077 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9078 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9079 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9080 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9081 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9082 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
9083 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9084 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9085 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9086 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9087
0555c477
AS
90882018-05-08 Andreas Schwab <schwab@suse.de>
9089
9090 * sysdeps/nptl/internaltypes.h: Fix comment.
9091
50d7d351
L
90922018-05-07 H.J. Lu <hongjiu.lu@intel.com>
9093
9094 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
9095 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
9096 hidden.
9097
543477f7
SP
90982018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
9099
9100 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
9101 of I into loop header.
9102 * benchtests/bench-memmove-walk.c
9103 (test_main): Likewise.
9104
91052018-05-07 Alexandre Oliva <oliva@gnu.org>
ffa81c22
AO
9106
9107 Revert:
9108 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
9109 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
9110
0065aaaa
PP
91112018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9112
9113 [BZ #20419]
9114 * elf/dl-load.c (open_verify): Fix stack overflow.
9115 * elf/Makefile (tst-big-note): New test.
9116 * elf/tst-big-note-lib.S: New.
9117 * elf/tst-big-note.c: New.
9118
b289cd9d
JM
91192018-05-04 Joseph Myers <joseph@codesourcery.com>
9120
9121 * scripts/abilist.awk: Ignore absolute symbols.
9122 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
9123 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
9124 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
9125 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
9126 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
9127 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
9128 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
9129 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
9130 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
9131 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
9132 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
9133 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
9134 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
9135 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
9136 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
9137 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
9138 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
9139 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
9140 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9141 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
9142 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
9143 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
9144 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
9145 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
9146 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
9147 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
9148 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
9149 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
9150 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9151 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
9152 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
9153 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9154 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
9155 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
9156 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
9157 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
9158 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
9159 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
9160 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
9161 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
9162 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
9163 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9164 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
9165 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
9166 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9167 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
9168 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
9169 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
9170 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
9171 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
9172 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
9173 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
9174 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
9175 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
9176 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9177 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
9178 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
9179 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9180 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
9181 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
9182 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
9183 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
9184 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
9185 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
9186 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
9187 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
9188 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
9189 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9190 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
9191 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
9192 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9193 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
9194 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
9195 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
9196 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
9197 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
9198 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
9199 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
9200 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
9201 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
9202 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9203 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
9204 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
9205 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9206 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
9207 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
9208 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
9209 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
9210 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
9211 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
9212 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
9213 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
9214 Likewise.
9215 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
9216 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9217 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
9218 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
9219 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9220 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
9221 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
9222 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
9223 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
9224 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
9225 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
9226 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
9227 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
9228 Likewise.
9229 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
9230 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9231 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
9232 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
9233 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9234 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
9235 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
9236 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
9237 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
9238 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
9239 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
9240 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
9241 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
9242 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
9243 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9244 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
9245 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
9246 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9247 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
9248 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
9249 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
9250 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
9251 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
9252 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
9253 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9254 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
9255 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
9256 Likewise.
9257 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
9258 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
9259 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
9260 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
9261 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9262 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
9263 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
9264 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
9265 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
9266 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
9267 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
9268 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
9269 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
9270 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
9271 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
9272 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
9273 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
9274 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
9275 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9276 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
9277 Likewise.
9278 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
9279 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
9280 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
9281 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9282 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
9283 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
9284 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
9285 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
9286 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
9287 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
9288 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9289 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
9290 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
9291 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9292 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
9293 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
9294 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
9295 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
9296 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9297 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
9298 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
9299 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9300 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
9301 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
9302 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
9303 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
9304 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
9305 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
9306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
9307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
9308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
9309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
9310 Likewise.
9311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
9312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
9313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
9314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
9315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
9316 Likewise.
9317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
9318 Likewise.
9319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
9320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
9321 Likewise.
9322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
9323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9324 Likewise.
9325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9326 Likewise.
9327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
9328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
9329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
9330 Likewise.
9331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
9332 Likewise.
9333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
9334 Likewise.
9335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
9336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
9339 Likewise.
9340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
9341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
9342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
9343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
9344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
9345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
9346 Likewise.
9347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
9348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9349 Likewise.
9350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9351 Likewise.
9352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
9353 Likewise.
9354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
9355 Likewise.
9356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
9357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
9358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
9359 Likewise.
9360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
9361 Likewise.
9362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
9363 Likewise.
9364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
9365 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
9366 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
9367 Likewise.
9368 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
9369 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9370 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
9371 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
9372 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
9373 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
9374 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
9375 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
9376 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
9377 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
9378 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
9379 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
9380 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
9381 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
9382 Likewise.
9383 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9384 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
9385 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
9386 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9387 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
9388 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
9389 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
9390 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
9391 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
9392 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
9393 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
9394 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
9395 Likewise.
9396 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9397 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
9398 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
9399 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9400 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
9401 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
9402 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
9403 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
9404 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
9405 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
9406 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
9407 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
9408 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
9409 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9410 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
9411 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
9412 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9413 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
9414 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
9415 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
9416 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
9417 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
9418 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
9419 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
9420 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
9421 Likewise.
9422 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
9423 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9424 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
9425 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
9426 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9427 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
9428 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
9429 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
9430 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
9431 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
9432 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
9433 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
9434 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
9435 Likewise.
9436 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
9437 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9438 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
9439 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
9440 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9441 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
9442 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
9443 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
9444 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
9445 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
9446 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
9447 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
9448 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
9449 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
9450 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9451 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
9452 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
9453 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9454 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
9455 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
9456 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
9457 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
9458 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
9459 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
9460 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
9461 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
9462 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
9463 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
9464 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9465 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
9466 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
9467 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9468 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
9469 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
9470 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
9471 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
9472 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
9473 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
9474
16609018
SL
94752018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
9476
9477 [BZ #23137]
9478 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
9479 Use atomic_load_acquire to load __tid.
9480
556f5c46
L
94812018-05-02 H.J. Lu <hongjiu.lu@intel.com>
9482
9483 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
9484 Restore the pointer into %rdx, after syscall and use %rdx,
9485 instead of %rsi, to restore context.
9486
8b8f32b2
L
94872018-05-02 H.J. Lu <hongjiu.lu@intel.com>
9488
9489 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
9490 Pop the pointer into %rdx after syscall and use %rdx, instead
9491 of %rsi, to restore context.
9492
d6cc1829
L
94932018-05-02 H.J. Lu <hongjiu.lu@intel.com>
9494
9495 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
9496 handlers after setjmp.
9497 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
9498 defined.
9499 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
9500 <libc-pointer-arith.h>.
9501 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
9502 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
9503 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
9504 _JUMP_BUF_SIGSET_BITS_PER_WORD.
9505 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
9506 * sysdeps/x86/__longjmp_cancel.S: New file.
9507 * sysdeps/x86/longjmp.c: Likewise.
9508 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
9509
cf2478d5
AZ
95102018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9511
9512 * NEWS: Add ustat.h deprecation entry.
9513 * bits/ustat.h: Remove file.
9514 * misc/sys/ustat.h: Likewise.
9515 * misc/ustat.h: Likewise.
9516 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
9517 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
9518 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
9519 compatibility mode.
9520 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
9521 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
9522 generic Linux implementation.
9523
dc115e1c
TMQMF
95242018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9525
9526 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
9527 * math/w_expl_compat.c: Likewise.
9528 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
9529
340d9652
RN
95302018-04-30 Raymond Nicholson <rain1@airmail.cc>
9531
9532 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
9533
c57bf7c1
AZ
95342018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9535
9536 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
9537 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
9538 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
9539 Remove.
9540 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
9541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
9542 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
9543 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
9544 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
9545 and SYSCALL_LL64.
9546
06135c33
TMQMF
95472018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9548
33927914
TMQMF
9549 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
9550
06135c33
TMQMF
9551 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
9552 * math/w_asin_template.c: Likewise.
9553 * math/w_atanh_template.c: Likewise.
9554
3a33b069
GG
95552018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9556
9557 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
9558 to powerpc/powerpc64/be for big-endian.
9559 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
9560 little-endian.
9561
9562 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
9563 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
9564 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
9565 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
9566 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
9567 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
9568 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
9569 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
9570 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
9571 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
9572 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
9573 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
9574 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
9575 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
9576 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
9577 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
9578 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
9579 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
9580 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
9581 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
9582 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
9583 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
9584 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
9585 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
9586 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
9587 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
9588 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
9589 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
9590 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
9591 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
9592 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
9593 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
9594
9595 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
9596 adjusted to imply powerpc64 and older processors on powerpc64/be.
9597 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
9598 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
9599 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
9600 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
9601 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
9602 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
9603 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
9604 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
9605 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
9606 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
9607 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
9608 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
9609 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
9610 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
9611 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
9612 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
9613 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
9614 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
9615 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
9616 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
9617 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
9618 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
9619 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
9620 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
9621 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
9622 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
9623 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
9624 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
9625 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
9626 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
9627 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
9628
9629 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
9630 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
9631 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
9632 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
9633
9634 * sysdeps/powerpc/powerpc64/be/Implies: New file.
9635 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
9636 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
9637 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
9638
9639 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
9640 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
9641 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
9642 * sysdeps/powerpc/powerpc64le/configure: Likewise.
9643 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
9644 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
9645 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
9646 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
9647 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
9648 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
9649 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
9650
9651 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
9652 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
9653 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
9654 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
9655 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
9656 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
9657 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
9658 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
9659 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
9660 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
9661 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
9662
9663 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
9664 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
9665 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
9666 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
9667 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
9668 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
9669 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
9670 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
9671 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
9672 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
9673 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
9674 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
9675
9676 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
9677 and adjusted to imply olders processors.
9678 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
9679 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
9680 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
9681 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
9682 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
9683 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
9684 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
9685 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
9686 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
9687 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
9688 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
9689
9690 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
9691 powerpc64/le.
9692 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
9693 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
9694
9695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
9696 powerpc64le.
9697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
9698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
9699
9700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
9701 powerpc64/be.
9702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
9703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
9704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
9705
9706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
9707 powerpc64 and adjusted.
9708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
9709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
9710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
9711 Likewise.
9712
a3fb6b6b
JM
97132018-04-27 Joseph Myers <joseph@codesourcery.com>
9714
9715 * sysdeps/tile: Remove.
9716 * sysdeps/unix/sysv/linux/tile: Likewise.
9717 * README (tilegx-*-linux-gnu): Remove from list of supported
9718 configurations.
9719 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
9720 contribution of support for generic Linux kernel syscall
9721 interface.
9722 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
9723 tilegx configurations.
9724 (Config.install_linux_headers): Do not handle tile.
9725 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
9726 in comment.
9727 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
9728 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
9729 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
9730 conditional undefine and redefine.
9731 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
9732 in comment.
9733 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
9734 conditional undefine and redefine.
9735
7a6f7478
AJ
97362018-04-26 Aurelien Jarno <aurelien@aurel32.net>
9737
9738 * signal/tst-sigaction.c: New file to test BZ #23069.
9739 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
9740
81b49e96
TMQMF
97412018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9742
9743 [BZ #22766]
9744 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
9745 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
9746 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
9747 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
9748
7d80f48e
AZ
97492018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9750
9751 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
9752 _DIRENT_MATCHES_DIRENT64 is not defined.
9753 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
9754 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
9755 is defined.
9756 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
9757 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
9758
42a2bf58
JM
97592018-04-25 Joseph Myers <joseph@codesourcery.com>
9760
9761 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
9762 version to GCC 8 branch.
9763
9320ca88
JM
97642018-04-24 Joseph Myers <joseph@codesourcery.com>
9765
5e14bb97
JM
9766 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
9767 (check_no_hidden): Use type of original function when declaring
9768 alias.
9769
9320ca88
JM
9770 * sysdeps/unix/sysv/linux/sys/ptrace.h
9771 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
9772 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
9773 (struct __ptrace_seccomp_metadata): New type.
9774 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
9775 (PTRACE_SECCOMP_GET_METADATA): Likewise.
9776 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
9777 (PTRACE_SECCOMP_GET_METADATA): Likewise.
9778 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
9779 (PTRACE_SECCOMP_GET_METADATA): Likewise.
9780 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
9781 (PTRACE_SECCOMP_GET_METADATA): Likewise.
9782 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
9783 (PTRACE_SECCOMP_GET_METADATA): Likewise.
9784 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
9785 (PTRACE_SECCOMP_GET_METADATA): Likewise.
9786 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
9787 (PTRACE_SECCOMP_GET_METADATA): Likewise.
9788 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
9789 (PTRACE_SECCOMP_GET_METADATA): Likewise.
9790
af7e376b
AZ
97912018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9792
9793 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
9794 defined.
9795 * dirent/versionsort.c (versionsort): Likewise.
9796 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
9797 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
9798 * dirent/versionsort64.c (versionsort64): Likewise.
9799 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
9800 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
9801 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
9802 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
9803 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
9804 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
9805 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
9806 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
9807 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
9808 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
9809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
9810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
9811 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
9812 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
9813
da5e0361
JM
98142018-04-23 Joseph Myers <joseph@codesourcery.com>
9815
9816 * elf/elf.h (NT_PPC_PKEY): New macro.
9817
ea76691a
DSN
98182018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
9819
9820 [BZ #23094]
9821 * localedata/locales/hr_HR: fix thousands_sep and
9822 mon_thousands_sep
9823
573963e3
JM
98242018-04-20 Joseph Myers <joseph@codesourcery.com>
9825
9826 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
9827 (XTABS): Define to TAB3.
9828
c0123b3b
AZ
98292018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9830
0900a849
AZ
9831 * sysdeps/hppa/fpu/libm-test-ulps: Update.
9832
c0123b3b
AZ
9833 * dirent/scandir-tail-common.c: New file.
9834 * dirent/scandir-tail.c: Use scandir-tail-common.c.
9835 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
9836 * dirent/scandir.c: Use scandir-tail-common.c.
9837 * dirent/scandirat.c: Likewise.
9838 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
9839 * dirent/scandir64.c (scandir64): Always build and alias to scandir
9840 if _DIRENT_MATCHES_DIRENT64 is defined.
9841 * dirent/scandirat64.c (scandirat64): Likewise.
9842 * include/dirent.h (__scandir_tail): Only define iff
9843 _DIRENT_MATCHES_DIRENT64 is not defined.
9844 (__scandir64_tail): Define regardless.
9845 (__scandirat, scandirat64): Remove libc_hidden_proto.
9846 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
9847 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
9848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
9849 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
9850 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
9851 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
9852 * sysdeps/unix/sysv/linux/scandir64.c: New file.
9853
458b94f6
JM
98542018-04-20 Joseph Myers <joseph@codesourcery.com>
9855
9856 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
9857 New macro.
9858 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
9859 Increase to 24.
9860 (_dl_aarch64_cap_flags): Add asimdfhm.
9861
9f0437e8
CLT
98622018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
9863
9864 * sysdeps/nios2/libm-test-ulps: Update.
9865
298d0e31
AZ
98662018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9867
50511ca4
AZ
9868 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
9869 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
9870
298d0e31
AZ
9871 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
9872 requirements.
9873 (_DIRENT_MATCHES_DIRENT64): Undef
9874 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
9875 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
9876 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
9877 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
9878 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
9879 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
9880 use getdents64 syscalls as base.
9881 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
9882 symbol if required.
9883 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
9884 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
9885 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
9886 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
9887 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
9888 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
9889 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
9890 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
9891 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9892 (__get_clockfreq_via_proc_openprom): Use __getdents64.
9893 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
9894
0085be14
SL
98952018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
9896
9897 * scripts/test_printers_common.py (init_test): Disable lock elision.
9898
da796524
SL
98992018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
9900
9901 * math/test-tgmath.c (count_double, count_float,
9902 count_ldouble, count_cdouble, count_cfloat,
9903 count_cldouble): Use volatile int.
9904
0dd25301
ST
99052018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
9906
9907 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
9908 (conformtest-xfail-conds): Add i386-gnu.
cbc256b1 9909 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
0dd25301
ST
9910 i386-gnu.
9911 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
9912 ipc_perm.cuid, ipc_perm.cgid): Likewise.
9913 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
9914 msqid_ds.msg_lrpid): Likewise.
9915 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
9916 Likewise.
9917 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
9918 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
9d9f8f03
ST
9919 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
9920 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
9921 unsigned int.
9922 (struct statvfs64): Likewise.
f55a4fde
ST
9923 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
9924 Likewise.
77b93390
ST
9925 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
9926 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
9927 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
9928 instead of wait_queue.
9929 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
9930 instead of vm_area_struct.
5cd2931a
ST
9931 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
9932 struct sched_param definition to it.
e60c3f2b
ST
9933 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9934 * bits/types/struct_sched_param.h: New file.
9935 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
9936 <bits/types/struct_sched_param.h> instead of <sched.h>.
9937 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
5cd2931a
ST
9938 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
9939 generic version but include <bits/pthreadtypes.h> to make struct
9940 sigevent's sigev_notify_attributes field a pthread_attr_t*.
ed370924
ST
9941 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
9942 non-compliant.
a564872d
ST
9943 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
9944 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
9945 [__USE_XOPEN] (OFDEL): New macro.
9946 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
a279b8ed 9947 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
5dbfe13b
ST
9948 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
9949 prototypes.
9950 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
9951 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
81b032c8
ST
9952 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
9953 non-compliant.
9954 * sysdeps/i386/sys/ucontext.h: Likewise.
9955 * sysdeps/m68k/sys/ucontext.h: Likewise.
9956 * sysdeps/mips/sys/ucontext.h: Likewise.
9957 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
f00b62ec
ST
9958 * sysdeps/mach/hurd/i386/Makefile
9959 (test-xfail-POSIX/fcntl.h/conform): Add.
9960 (test-xfail-POSIX/signal.h/conform): Add.
9961 (test-xfail-POSIX/semaphore.h/conform): Add.
9962 (test-xfail-POSIX/regex.h/conform): Add.
9963 (test-xfail-POSIX/aio.h/conform): Add.
9964 (test-xfail-POSIX/mqueue.h/conform): Add.
9965 (test-xfail-POSIX/sys/types.h/conform): Add.
9966 (test-xfail-UNIX98/fcntl.h/conform): Add.
9967 (test-xfail-UNIX98/netdb.h/conform): Add.
9968 (test-xfail-UNIX98/signal.h/conform): Add.
9969 (test-xfail-UNIX98/semaphore.h/conform): Add.
9970 (test-xfail-UNIX98/regex.h/conform): Add.
9971 (test-xfail-UNIX98/aio.h/conform): Add.
9972 (test-xfail-UNIX98/ftw.h/conform): Add.
9973 (test-xfail-UNIX98/mqueue.h/conform): Add.
9974 (test-xfail-UNIX98/netinet/in.h/conform): Add.
9975 (test-xfail-UNIX98/sys/wait.h/conform): Add.
9976 (test-xfail-UNIX98/sys/sem.h/conform): Add.
9977 (test-xfail-UNIX98/sys/uio.h/conform): Add.
9978 (test-xfail-UNIX98/sys/socket.h/conform): Add.
9979 (test-xfail-UNIX98/sys/types.h/conform): Add.
9980 (test-xfail-UNIX98/stdlib.h/conform): Add.
9981 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
9982 (test-xfail-POSIX2008/fcntl.h/conform): Add.
9983 (test-xfail-POSIX2008/netdb.h/conform): Add.
9984 (test-xfail-POSIX2008/signal.h/conform): Add.
9985 (test-xfail-POSIX2008/semaphore.h/conform): Add.
9986 (test-xfail-POSIX2008/regex.h/conform): Add.
9987 (test-xfail-POSIX2008/aio.h/conform): Add.
9988 (test-xfail-POSIX2008/mqueue.h/conform): Add.
9989 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
9990 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
9991 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
9992 (test-xfail-POSIX2008/sys/types.h/conform): Add.
9993 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
9994 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
9995 (test-xfail-XOPEN2K/netdb.h/conform): Add.
9996 (test-xfail-XOPEN2K/signal.h/conform): Add.
9997 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
9998 (test-xfail-XOPEN2K/regex.h/conform): Add.
9999 (test-xfail-XOPEN2K/aio.h/conform): Add.
10000 (test-xfail-XOPEN2K/ftw.h/conform): Add.
10001 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
10002 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
10003 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
10004 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
10005 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
10006 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
10007 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
10008 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
10009 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
10010 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
10011 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
10012 (test-xfail-XOPEN2K8/signal.h/conform): Add.
10013 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
10014 (test-xfail-XOPEN2K8/regex.h/conform): Add.
10015 (test-xfail-XOPEN2K8/aio.h/conform): Add.
10016 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
10017 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
10018 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
10019 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
10020 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
10021 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
10022 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
10023 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
10024 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
10025 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
cbc256b1
ST
10026 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
10027 i386-gnu.
10028 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
10029 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
0dd25301 10030
d6397de3
JM
100312018-04-18 Joseph Myers <joseph@codesourcery.com>
10032
10033 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
10034 --enable-obsolete for powerpc-linux-gnuspe.
10035
8323a902
ST
100362018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
10037
3dc0814c 10038 * conform/data/sys/un.h-data: Allow sun_ prefix.
c5896a45 10039 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
d4379e02 10040 prototypes.
c5896a45
ST
10041 * sysdeps/mach/include/mach.h: Likewise.
10042 * sysdeps/mach/include/mach/mig_support.h: Likewise.
10043 * sysdeps/mach/include/mach_error.h: Likewise.
8323a902 10044
743b9c2a
AZ
100452018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10046
10047 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
10048 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
10049 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
10050 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
10051
326e74e7
AS
100522018-04-16 Andreas Schwab <schwab@suse.de>
10053
10054 [BZ #19527]
10055 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
10056
a14d8acd
PM
100572018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
10058
10059 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
10060 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
10061
a700e7cb
DD
100622018-04-12 DJ Delorie <dj@redhat.com>
10063
10064 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
10065 version to 4.16.
10066
d8abfab7
SL
100672018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
10068
10069 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
10070 (struct kernel_sigaction): Use the same definition on 31bit as is used
10071 on 64bit.
10072
583a27d5
FW
100732018-04-09 Florian Weimer <fweimer@redhat.com>
10074
10075 [BZ #23037]
10076 * resolv/res_send.c (send_dg): Use designated initializers instead
10077 of assignment to zero-initialize other fields of struct mmsghdr.
10078
243f59e5
AZ
100792018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10080
942de61a
AZ
10081 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
10082 __READDIR_ALIAS): Undefine after usage.
10083 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
10084 __READDIR_R_ALIAS): Likewise.
10085 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
10086 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
10087 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
10088 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
10089 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
10090 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
10091 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
10092 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10093 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
10094 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
10095 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
10096 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
10097 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
10098 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
10099 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
10100 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
10101 * sysdeps/unix/sysv/linux/readdir.c: New file.
10102 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
10103 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
10104 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
10105
243f59e5
AZ
10106 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
10107
690c3475
AS
101082018-04-06 Andreas Schwab <schwab@linux-m68k.org>
10109
10110 * manual/charset.texi (Converting a Character): Fix typo.
10111
b4a5d26d
AZ
101122018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10113
bbc2062a
AZ
10114 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10115
fa7c6199
AZ
10116 * sysdeps/arm/libm-test-ulps: Update.
10117
b4a5d26d
AZ
10118 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
10119 as base implementation.
10120 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
10121 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
10122 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
10123 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
10124 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
10125 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
10126 remove unrequired definitions and update comments.
10127 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
10128 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
10129 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
10130 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
10131 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
10132 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
10133 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
10134 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
10135 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
10136 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
10137 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
10138 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
10139 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
10140 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
10141 and RESET_SA_RESTORER hooks.
10142
db9e55ff
SL
101432018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
10144
10145 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10146
cf138b0c
FW
101472018-04-05 Florian Weimer <fweimer@redhat.com>
10148
10149 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
10150 integer overflow, memory leak on error, and indeterminate errno
10151 value. Add a null wide character to terminate the result string.
10152 * manual/charset.texi (Converting a Character): Mention embedded
10153 null bytes in the mbrtowc input string. Explain what happens in
10154 the -2 result case. Do not claim that mbrtowc is simple or
10155 obvious to use. Adjust the description of the code example. Use
10156 @code, not @var, for concrete variables.
10157
0f339252
FW
101582018-04-05 Florian Weimer <fweimer@redhat.com>
10159
10160 * manual/examples/mbstouwcs.c: New file.
10161 * manual/charset.texi (Converting a Character): Include it.
10162
e5f9508a
ST
101632018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
10164
c120981d
ST
10165 * include/dirent.h (dirfd): Add hidden proto.
10166 * dirent/dirfd.c (dirfd): Add hidden def.
10167 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
10168 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
e5f9508a 10169
b2fd61ca
TMQMF
101702018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10171
10172 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
10173 sin, cos and sincos to 1 ULP.
10174
10a446dd
MR
101752018-04-04 Maciej W. Rozycki <macro@mips.com>
10176
e7feec37
MR
10177 [BZ #19818]
10178 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
10179 symbols.
10180 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
10181 * elf/tst-absolute-sym.c: New file.
10182 * elf/tst-absolute-sym-lib.c: New file.
10183 * elf/tst-absolute-sym-lib.lds: New file.
10184 * elf/Makefile (tests): Add `tst-absolute-sym'.
10185 (modules-names): Add `tst-absolute-sym-lib'.
10186 (LDLIBS-tst-absolute-sym-lib.so): New variable.
10187 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
10188 ($(objpfx)tst-absolute-sym): New dependency.
10189
10a446dd
MR
10190 [BZ #19818]
10191 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
10192 parameter.
10193 (SYMBOL_ADDRESS): New macro.
10194 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
10195 SYMBOL_ADDRESS for symbol address calculation.
10196 * elf/dl-runtime.c (_dl_fixup): Likewise.
10197 (_dl_profile_fixup): Likewise.
10198 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
10199 * elf/rtld.c (dl_main): Likewise.
10200 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
10201 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
10202 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
10203 (elf_machine_rela): Likewise.
10204 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
10205 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
10206 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
10207 (elf_machine_rela): Likewise.
10208 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
10209 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
10210 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
10211 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
10212 Likewise.
10213 (elf_machine_reloc): Likewise.
10214 (elf_machine_got_rel): Likewise.
10215 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
10216 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
10217 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
10218 Likewise.
10219 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10220 Likewise.
10221 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
10222 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
10223 Likewise.
10224 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
10225 Likewise.
10226 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10227 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
10228 Likewise.
10229 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
10230 Likewise.
10231 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
10232 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10233
9185f86d
ZW
102342018-04-04 Zack Weinberg <zackw@panix.com>
10235
10236 * sysdeps/generic/internal-signals.h: Include signal.h,
10237 sigsetops.h, and stdbool.h.
10238 (__libc_signal_block_all): Actually block all signals.
10239 (__libc_signal_block_app): Likewise.
10240 (__libc_signal_restore_set): Actually restore the signal mask.
10241
b07367bc
FW
102422018-04-04 Florian Weimer <fweimer@redhat.com>
10243
10244 inet: Actually build and run tst-deadline.
10245 * inet/Makefile (tests-internal): Add tst-deadline and do not
10246 overwrite the variable.
10247 (tests-static-internal): Remove variable.
10248
f2652643
L
102492018-04-03 H.J. Lu <hongjiu.lu@intel.com>
10250
10251 [BZ #22947]
10252 * bits/uio-ext.h (RWF_APPEND): New.
10253 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
10254 * manual/llio.texi: Document RWF_APPEND.
10255 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
10256 (RWF_SUPPORTED): Add RWF_APPEND.
10257
d2dc5467
AZ
102582018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10259
10260 [BZ #22391]
10261 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
10262 check for internal nptl signals.
10263 * nptl/sigaction.c (__sigaction): Likewise.
10264 * signal/sigaddset.c (sigaddset): Likewise.
10265 * signal/sigdelset.c (sigdelset): Likewise.
10266 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
10267 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
10268 value.
10269 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
10270 to filter out internal nptl signals.
10271 * signal/tst-sigset.c (do_test): Check ech signal indidually and
10272 also check realtime signals using standard macros.
10273 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
10274 __is_internal_signal, __libc_signal_block_all,
10275 __libc_signal_block_app, __libc_signal_restore_set): New functions.
10276 * sysdeps/nptl/sigfillset.c: Remove file.
10277 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
10278 Change return to bool.
10279 (__clear_internal_signals): Remove SIGTIMER clean since it is
10280 equal to SIGCANEL on Linux.
10281 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
10282 signal set was constructed using standard functions.
10283
511ed56f
ST
102842018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
10285
92846492
ST
10286 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
10287 ifname is too long.
e8ef51b1
ST
10288 * hurd/hurdsig.c (interrupted_reply_port_location): Use
10289 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
ff297b70
ST
10290 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
10291 hidden def.
10292 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
d8440a21
ST
10293 * signal/sigaddset.c: Include <sigsetopts.h>.
10294 * signal/sigdelset.c: Likewise.
511ed56f 10295
e88ecbbf
WD
102962018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
10297
10298 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
10299 (__cos): Likewise.
10300 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
10301 logic as sin and cos.
10302
aef3e255
WD
103032018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
10304
10305 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
10306 inputs. Return correct sign.
10307 (do_sincos): Remove small input check before do_sin, let do_sin set
10308 the sign.
10309 (__sin): Likewise.
10310 (__cos): Likewise.
10311
72f6e9a3
WD
103122018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
10313
10314 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
10315 (do_cos_slow): Likewise.
10316 (do_sin_slow): Likewise.
10317 (reduce_and_compute): Likewise.
10318 (slow): Likewise.
10319 (slow1): Likewise.
10320 (slow2): Likewise.
10321 (sloww): Likewise.
10322 (sloww1): Likewise.
10323 (sloww2): Likewise.
10324 (bslow): Likewise.
10325 (bslow1): Likewise.
10326 (bslow2): Likewise.
10327 (cslow2): Likewise.
10328
64909583
WD
103292018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
10330
10331 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
10332 (do_cos): Remove corp parameter and calculations.
10333 (do_sin): Likewise.
10334 (do_sincos): Remove cor variable.
10335 (__sin): Use do_sincos for huge inputs.
10336 (__cos): Likewise.
10337 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
10338 (reduce_and_compute_sincos): Remove unused function.
10339
d9469deb
WD
103402018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
10341
10342 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
10343 reduce_sincos, improve accuracy to 136 bits.
10344 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
10345 (__sin): Use improved reduction and simplified do_sincos calculation.
10346 (__cos): Likewise.
10347 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
10348
7a5640f2
WD
103492018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
10350
10351 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
10352 (do_sincos_2): Likewise.
10353 (__sin): Remove middle range reduction case.
10354 (__cos): Likewise.
10355 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
10356 reduction case.
10357
19a8b9a3
WD
103582018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
10359
10360 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
10361 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
10362 inputs.
10363 (__cos): Likewise.
10364 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
10365
f72aa11d
JM
103662018-04-03 Joseph Myers <joseph@codesourcery.com>
10367
10368 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19a8b9a3 10369 version to 4.16
f72aa11d 10370
8e4754ed
AZ
103712018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10372
10373 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
10374 Remove definitions.
10375 (opendir_oflags): Use O_DIRECTORY regardless.
10376 (__opendir, __opendirat): Remove need_isdir_precheck usage.
10377 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
10378
8e2666ea
ST
103792018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10380
10381 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
10382 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
10383 macros.
10384 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
10385 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
10386 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
10387 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
deed72f6
ST
10388 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
10389 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
8e2666ea 10390
ad2b41bf
ST
10391 * htl/Makefile: Bump licence to LGPL 2.1+.
10392 * htl/alloca_cutoff.c: Likewise.
10393 * htl/cthreads-compat.c: Likewise.
10394 * htl/lockfile.c: Likewise.
10395 * htl/pt-alloc.c: Likewise.
10396 * htl/pt-cancel.c: Likewise.
10397 * htl/pt-cleanup.c: Likewise.
10398 * htl/pt-create.c: Likewise.
10399 * htl/pt-dealloc.c: Likewise.
10400 * htl/pt-detach.c: Likewise.
10401 * htl/pt-exit.c: Likewise.
10402 * htl/pt-getattr.c: Likewise.
10403 * htl/pt-initialize.c: Likewise.
10404 * htl/pt-internal.h: Likewise.
10405 * htl/pt-join.c: Likewise.
10406 * htl/pt-self.c: Likewise.
10407 * htl/pt-setcancelstate.c: Likewise.
10408 * htl/pt-setcanceltype.c: Likewise.
10409 * htl/pt-sigmask.c: Likewise.
10410 * htl/pt-spin-inlines.c: Likewise.
10411 * htl/pt-testcancel.c: Likewise.
10412 * htl/pt-yield.c: Likewise.
10413 * htl/tests/test-1.c: Likewise.
10414 * htl/tests/test-10.c: Likewise.
10415 * htl/tests/test-11.c: Likewise.
10416 * htl/tests/test-12.c: Likewise.
10417 * htl/tests/test-13.c: Likewise.
10418 * htl/tests/test-14.c: Likewise.
10419 * htl/tests/test-15.c: Likewise.
10420 * htl/tests/test-16.c: Likewise.
10421 * htl/tests/test-17.c: Likewise.
10422 * htl/tests/test-2.c: Likewise.
10423 * htl/tests/test-3.c: Likewise.
10424 * htl/tests/test-4.c: Likewise.
10425 * htl/tests/test-5.c: Likewise.
10426 * htl/tests/test-6.c: Likewise.
10427 * htl/tests/test-7.c: Likewise.
10428 * htl/tests/test-8.c: Likewise.
10429 * htl/tests/test-9.c: Likewise.
10430 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
10431 * sysdeps/htl/bits/cancelation.h: Likewise.
10432 * sysdeps/htl/bits/pthread-np.h: Likewise.
10433 * sysdeps/htl/bits/pthread.h: Likewise.
10434 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
10435 * sysdeps/htl/bits/semaphore.h: Likewise.
10436 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
10437 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
10438 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
10439 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
10440 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
10441 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
10442 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
10443 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
10444 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
10445 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
10446 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
10447 * sysdeps/htl/old_pt-atfork.c: Likewise.
10448 * sysdeps/htl/pt-atfork.c: Likewise.
10449 * sysdeps/htl/pt-attr-destroy.c: Likewise.
10450 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
10451 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
10452 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
10453 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
10454 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
10455 * sysdeps/htl/pt-attr-getscope.c: Likewise.
10456 * sysdeps/htl/pt-attr-getstack.c: Likewise.
10457 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
10458 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
10459 * sysdeps/htl/pt-attr-init.c: Likewise.
10460 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
10461 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
10462 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
10463 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
10464 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
10465 * sysdeps/htl/pt-attr-setscope.c: Likewise.
10466 * sysdeps/htl/pt-attr-setstack.c: Likewise.
10467 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
10468 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
10469 * sysdeps/htl/pt-attr.c: Likewise.
10470 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
10471 * sysdeps/htl/pt-barrier-init.c: Likewise.
10472 * sysdeps/htl/pt-barrier-wait.c: Likewise.
10473 * sysdeps/htl/pt-barrier.c: Likewise.
10474 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
10475 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
10476 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
10477 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
10478 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
10479 * sysdeps/htl/pt-cond-destroy.c: Likewise.
10480 * sysdeps/htl/pt-cond-init.c: Likewise.
10481 * sysdeps/htl/pt-cond-signal.c: Likewise.
10482 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
10483 * sysdeps/htl/pt-cond-wait.c: Likewise.
10484 * sysdeps/htl/pt-cond.c: Likewise.
10485 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
10486 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
10487 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
10488 * sysdeps/htl/pt-condattr-init.c: Likewise.
10489 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
10490 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
10491 * sysdeps/htl/pt-destroy-specific.c: Likewise.
10492 * sysdeps/htl/pt-equal.c: Likewise.
10493 * sysdeps/htl/pt-getconcurrency.c: Likewise.
10494 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
10495 * sysdeps/htl/pt-getschedparam.c: Likewise.
10496 * sysdeps/htl/pt-getspecific.c: Likewise.
10497 * sysdeps/htl/pt-init-specific.c: Likewise.
10498 * sysdeps/htl/pt-key-create.c: Likewise.
10499 * sysdeps/htl/pt-key-delete.c: Likewise.
10500 * sysdeps/htl/pt-key.h: Likewise.
10501 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
10502 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
10503 * sysdeps/htl/pt-mutex-init.c: Likewise.
10504 * sysdeps/htl/pt-mutex-lock.c: Likewise.
10505 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
10506 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
10507 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
10508 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
10509 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
10510 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
10511 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
10512 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
10513 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
10514 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
10515 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
10516 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
10517 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
10518 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
10519 * sysdeps/htl/pt-mutexattr.c: Likewise.
10520 * sysdeps/htl/pt-once.c: Likewise.
10521 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
10522 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
10523 * sysdeps/htl/pt-rwlock-init.c: Likewise.
10524 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
10525 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
10526 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
10527 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
10528 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
10529 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
10530 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
10531 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
10532 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
10533 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
10534 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
10535 * sysdeps/htl/pt-setconcurrency.c: Likewise.
10536 * sysdeps/htl/pt-setschedparam.c: Likewise.
10537 * sysdeps/htl/pt-setschedprio.c: Likewise.
10538 * sysdeps/htl/pt-setspecific.c: Likewise.
10539 * sysdeps/htl/pt-spin.c: Likewise.
10540 * sysdeps/htl/pt-startup.c: Likewise.
10541 * sysdeps/htl/pthread.h: Likewise.
10542 * sysdeps/htl/sem-close.c: Likewise.
10543 * sysdeps/htl/sem-destroy.c: Likewise.
10544 * sysdeps/htl/sem-getvalue.c: Likewise.
10545 * sysdeps/htl/sem-init.c: Likewise.
10546 * sysdeps/htl/sem-open.c: Likewise.
10547 * sysdeps/htl/sem-post.c: Likewise.
10548 * sysdeps/htl/sem-timedwait.c: Likewise.
10549 * sysdeps/htl/sem-trywait.c: Likewise.
10550 * sysdeps/htl/sem-unlink.c: Likewise.
10551 * sysdeps/htl/sem-wait.c: Likewise.
10552 * sysdeps/hurd/htl/pt-kill.c: Likewise.
10553 * sysdeps/i386/htl/pt-machdep.h: Likewise.
10554 * sysdeps/mach/htl/pt-block.c: Likewise.
10555 * sysdeps/mach/htl/pt-spin.c: Likewise.
10556 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
10557 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
10558 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
10559 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
10560 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
10561 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
10562 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
10563 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
10564 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
10565 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
10566 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
10567 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
10568 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
10569 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
10570 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
10571 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
10572 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
10573 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
10574 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
10575 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
10576 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
10577 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
10578 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
10579 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
10580 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
10581 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
10582 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
10583 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
10584 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
10585 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
10586 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
10587 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
10588 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
10589 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
10590 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
10591 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
10592 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
10593 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
10594 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
10595 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
10596 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
10597 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
10598 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
10599
fb03b04b
ST
10600 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
10601 * README: Remove the mention of out-of-tree patches needed for
10602 GNU/Hurd.
10603
fa9e1555
ST
10604 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
10605 (UTIME_NOW, UTIME_OMIT): Define macros.
10606
f6fb29d2
ST
10607 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
10608 instead of pthread_detach.
10609 (__cthread_fork): Call __pthread_create instead of pthread_create.
10610 (__cthread_keycreate): Call __pthread_key_create instead of
10611 pthread_key_create.
10612 (__cthread_getspecific): Call __pthread_getspecific instead of
10613 pthread_getspecific.
10614 (__cthread_setspecific): Call __pthread_setspecific instead of
10615 pthread_setspecific.
10616 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
10617 __pthread_mutex_unlock instead of pthread_mutex_lock and
10618 pthread_mutex_unlock.
10619 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
10620 ___pthread_get_cleanup_stack.
10621 (__pthread_get_cleanup_stack): New strong alias.
10622 * htl/pt-create.c: Include <pthreadP.h>.
10623 (entry_point): Call __pthread_exit instead of pthread_exit.
10624 (pthread_create): Rename to __pthread_create.
10625 (pthread_create): New strong alias.
10626 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
10627 (pthread_detach): New strong alias.
10628 (__pthread_detach): Call __pthread_cond_broadcast instead of
10629 pthread_cond_broadcast.
fe9748cc
ST
10630 * htl/pt-exit.c: Include <pthreadP.h>.
10631 (__pthread_exit): Call __pthread_setcancelstate and
10632 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
10633 __pthread_get_cleanup_stack.
f6fb29d2
ST
10634 * htl/pt-testcancel.c: Include <pthreadP.h>.
10635 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
10636 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
10637 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
10638 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
10639 pthread_attr_getstacksize.
10640 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
10641 Rename to __pthread_attr_getstackaddr.
10642 (pthread_attr_getstackaddr): New strong alias.
10643 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
10644 Rename to __pthread_attr_getstacksize.
10645 (pthread_attr_getstacksize): New strong alias.
10646 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
10647 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
10648 (pthread_attr_setstack): New strong alias.
10649 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
10650 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
10651 pthread_attr_getstacksize, pthread_attr_setstacksize and
10652 pthread_attr_setstackaddr.
10653 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
10654 Rename to __pthread_attr_setstackaddr.
10655 (pthread_attr_setstackaddr): New strong alias.
10656 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
10657 Rename to __pthread_attr_setstacksize.
10658 (pthread_attr_setstacksize): New strong alias.
10659 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
10660 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
10661 pthread_exit.
10662 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
10663 (__pthread_key_create): New hidden def.
10664 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
10665 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
10666 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
10667 __pthread_exit, __pthread_key_create, __pthread_getspecific,
10668 __pthread_setspecific, __pthread_setcancelstate,
10669 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
10670 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
10671 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
10672 declarations.
10673 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
10674 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
10675 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
10676 (pthread_attr_setstackaddr): New strong alias.
10677 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
10678 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
10679 (pthread_attr_setstacksize): New strong alias.
10680 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
10681 (call_exit): Call __pthread_exit instead of pthread_exit.
10682 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
10683 (_pthread_mutex_init): New hidden definition.
10684 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
10685 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
10686 instead of pthread_attr_init and pthread_attr_setstack.
10687
dba2bdbe
ST
10688 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
10689 __vm_deallocate instead of vm_allocate and vm_deallocate.
10690 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
10691 setenv.
10692 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
10693 of geteuid.
10694 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
10695 strdup.
10696 * hurd/siginfo.c: Include <libioP.h>.
10697 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
10698 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
10699 munmap.
dba2bdbe
ST
10700 * mach/devstream.c: Include <libioP.h>.
10701 (dealloc_ref): Call __mach_port_deallocate instead of
10702 mach_port_deallocate.
10703 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
10704 Call __mach_port_deallocate instead of mach_port_deallocate.
10705 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
10706 pathconf.
10707 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
10708 munmap.
10709 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
10710 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
10711 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
10712 of munmap.
10713 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
10714 of close.
10715 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
10716 instead of sysconf.
10717 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
10718 __clock_gettime instead of clock_gettime.
10719 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
10720 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
10721 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
10722 * sysdeps/unix/bsd/stty.c (stty): Likewise.
10723 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
10724 tcgetattr.
10725 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
10726 __clock_gettime and __nanosleep instead of clock_gettime and
10727 nanosleep.
7a8f45e3
ST
10728 * hurd/catch-signal.c (hurd_catch_signal): Rename to
10729 __hurd_catch_signal.
10730 (hurd_catch_signal): New strong alias.
10731 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
10732 __hurd_catch_signal instead of hurd_catch_signal.
10733 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
10734 * hurd/hurdexec.c (_hurd_init): Add hidden def.
10735 * hurd/hurdinit.c (_hurd_init): Add hidden def.
10736 * hurd/hurdsig.c: Include <mach/mig_support.h>.
10737 (_hurd_thread_sigstate): Add hidden def.
10738 (_hurd_internal_post_signal): Use __mutex_unlock instead of
10739 mutex_unlock.
10740 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
10741 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
10742 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
10743 __hurd_file_name_path_lookup.
10744 (hurd_file_name_path_lookup): New strong alias.
10745 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
10746 hurd_file_name_path_lookup.
10747 * mach/errstring.c (mach_error_type): Add hidden def.
10748 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
10749 * mach/mutex-init.c (__mutex_init): Add hidden def.
10750 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
10751 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
10752 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
10753 * sysdeps/mach/hurd/getcwd.c
10754 (_hurd_canonicalize_directory_name_internal): Rename to
10755 __hurd_canonicalize_directory_name_internal.
10756 (_hurd_canonicalize_directory_name_internal): New strong alias.
10757 (__canonicalize_directory_name_internal, __getcwd): Call
10758 __hurd_canonicalize_directory_name_internal instead of
10759 _hurd_canonicalize_directory_name_internal.
10760 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
10761 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
10762 hidden defs.
10763 * sysdeps/hurd/include/hurd.h: New file.
10764 * sysdeps/hurd/include/hurd/fd.h: New file.
10765 * sysdeps/hurd/include/hurd/signal.h: New file.
10766 * sysdeps/mach/include/lock-intern.h: New file.
10767 * sysdeps/mach/include/mach.h: New file.
10768 * sysdeps/mach/include/mach/mig_support.h: New file.
10769 * sysdeps/mach/include/mach_error.h: New file.
a758c293
ST
10770 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
10771 prototype.
10772 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
10773 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
10774 _HEADER_H_HIDDEN_DEF macro.
10775 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
10776 _hurd_fd_error_signal): Add hidden prototype.
10777 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
10778 hidden def.
82dbf555
ST
10779 * libio/iolibio.h (_IO_puts): New hidden prototype.
10780 * libio/ioputs.c (_IO_puts): New hidden def.
171488a2
ST
10781 * sysdeps/mach/hurd/localplt.data: New file.
10782
33574c17
ST
107832018-04-02 Agustina Arzille <avarzille@riseup.net>
10784 Amos Jeffries <squid3@treenet.co.nz>
10785 David Michael <fedora.dm0@gmail.com>
10786 Marco Gerards <marco@gnu.org>
10787 Marcus Brinkmann <marcus@gnu.org>
10788 Neal H. Walfield <neal@gnu.org>
10789 Pino Toscano <toscano.pino@tiscali.it>
10790 Richard Braun <rbraun@sceen.net>
10791 Roland McGrath <roland@gnu.org>
10792 Samuel Thibault <samuel.thibault@ens-lyon.org>
10793 Thomas DiModica <ricinwich@yahoo.com>
10794 Thomas Schwinge <tschwinge@gnu.org>
10795
10796 * htl: New directory.
10797 * sysdeps/htl: New directory.
10798 * sysdeps/hurd/htl: New directory.
10799 * sysdeps/i386/htl: New directory.
10800 * sysdeps/mach/htl: New directory.
10801 * sysdeps/mach/hurd/htl: New directory.
10802 * sysdeps/mach/hurd/i386/htl: New directory.
10803 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
10804 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
10805 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
10806
03e2aa50
ST
108072018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10808
10809 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
10810 signals in thread created for runing timers.
10811
1aa52ced
FW
108122018-04-01 Florian Weimer <fweimer@redhat.com>
10813
10814 * support/support_format_addrinfo.c (support_format_addrinfo):
10815 Include unknown error number in formatted result.
10816
4d76d3e5
FW
108172018-03-29 Florian Weimer <fweimer@redhat.com>
10818
10819 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
10820 capture SIGBUS.
10821
d39c0a45
AZ
108222018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10823
10824 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
10825 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
10826 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10827 (__ASSUME_CLONE_BACKWARDS): Define.
10828
cc8a1620
JH
108292018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
10830
57408435 10831 [BZ #23024]
cc8a1620
JH
10832 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
10833 early when linux sentinel value is set.
10834
8bfd94d0
ST
108352018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
10836
10837 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
10838
f178e59f
AS
108392018-03-27 Andreas Schwab <schwab@suse.de>
10840
10841 [BZ #23005]
10842 * resolv/res_send.c (__res_context_send): Return ENOMEM if
10843 allocation of private copy of nsaddr_list fails.
10844
5f45f96a
JM
108452018-03-26 Joseph Myers <joseph@codesourcery.com>
10846
10847 [BZ #16552]
10848 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
10849 * sysdeps/unix/sysv/linux/umount.c: ... here.
10850 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
10851 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
10852 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
10853 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
10854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
10855 * sysdeps/unix/sysv/linux/umount.S: Likewise.
10856 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
10857
3dfd23eb
AS
108582018-03-26 Andreas Schwab <schwab@suse.de>
10859
10860 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
10861 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
10862 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
10863 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
10864 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
10865 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
10866 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
10867 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
10868 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
10869 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
10870 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
10871 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
10872 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
10873 (R_RISCV_NUM): Define.
10874
fa97d2ab
ST
108752018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
10876
10877 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
10878 TLS declaration of errno.
37be82a0
ST
10879 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
10880 __libc_setup_tls.
10881 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
10882 (ARCH_SETUP_TLS): Likewise.
10883 * sysdeps/mach/hurd/libc-start.h: New file copied from
10884 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
978a6803
ST
10885 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
10886 instead of __libc_setup_tls.
37be82a0 10887 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
978a6803
ST
10888 __libc_setup_tls before initializing libpthread and running _hurd_init
10889 which starts the signal thread.
10890 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
10891 Declare function.
2d813d7b 10892 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fa97d2ab 10893
b8114edd
L
108942018-03-24 H.J. Lu <hongjiu.lu@intel.com>
10895
10896 [BZ #22998]
10897 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
10898 after it is defined.
10899
cd66c0e5
AS
109002018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
10901 Max Horn <max@quendi.de>
10902
10903 [BZ #22644]
43d4f3d5 10904 CVE-2017-18269
cd66c0e5
AS
10905 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
10906 branch conditions.
10907 * string/test-memmove.c (do_test2): New testcase.
10908
a4406139
JM
109092018-03-22 Joseph Myers <joseph@codesourcery.com>
10910
10911 * sysdeps/generic/frame.h: Remove file.
10912 * sysdeps/arm/frame.h: Likewise.
10913 * sysdeps/hppa/frame.h: Likewise.
10914 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
10915 macro.
10916 (GET_FRAME): Likewise.
10917 (GET_STACK): Likewise.
10918 (CALL_SIGHANDLER): Likewise.
10919 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
10920 Likewise.
10921 (GET_FRAME): Likewise.
10922 (GET_STACK): Likewise.
10923 (CALL_SIGHANDLER): Likewise.
10924 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
10925 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10926 (GET_FRAME): Likewise.
10927 (GET_STACK): Likewise.
10928 (CALL_SIGHANDLER): Likewise.
10929 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
10930 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10931 (GET_FRAME): Likewise.
10932 (GET_STACK): Likewise.
10933 (ADVANCE_STACK_FRAME): Likewise.
10934 (CALL_SIGHANDLER): Likewise.
10935 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
10936 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10937 (GET_FRAME): Likewise.
10938 (GET_STACK): Likewise.
10939 (CALL_SIGHANDLER): Likewise.
10940 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
10941 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10942 (GET_FRAME): Likewise.
10943 (GET_STACK): Likewise.
10944 (CALL_SIGHANDLER): Likewise.
10945 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
10946 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10947 (GET_FRAME): Likewise.
10948 (GET_STACK): Likewise.
10949 (CALL_SIGHANDLER): Likewise.
10950 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
10951 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10952 (GET_FRAME): Likewise.
10953 (GET_STACK): Likewise.
10954 (CALL_SIGHANDLER): Likewise.
10955 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
10956 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10957 (GET_FRAME): Likewise.
10958 (GET_STACK): Likewise.
10959 (CALL_SIGHANDLER): Likewise.
10960 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
10961 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10962 (GET_FRAME): Likewise.
10963 (GET_STACK): Likewise.
10964 (CALL_SIGHANDLER): Likewise.
10965 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
10966 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10967 (GET_FRAME): Likewise.
10968 (GET_STACK): Likewise.
10969 (CALL_SIGHANDLER): Likewise.
10970 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
10971 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10972 (GET_FRAME): Likewise.
10973 (GET_STACK): Likewise.
10974 (CALL_SIGHANDLER): Likewise.
10975 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
10976 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10977 (GET_FRAME): Likewise.
10978 (GET_STACK): Likewise.
10979 (CALL_SIGHANDLER): Likewise.
10980 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
10981 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10982 (FIRST_FRAME_POINTER): Likewise.
10983 (ADVANCE_STACK_FRAME): Likewise.
10984 (GET_STACK): Likewise.
10985 (GET_FRAME): Likewise.
10986 (CALL_SIGHANDLER): Likewise.
10987 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
10988 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10989 (ADVANCE_STACK_FRAME): Likewise.
10990 (GET_STACK): Likewise.
10991 (GET_FRAME): Likewise.
10992 (CALL_SIGHANDLER): Likewise.
10993 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
10994 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10995 (GET_FRAME): Likewise.
10996 (GET_STACK): Likewise.
10997 (CALL_SIGHANDLER): Likewise.
10998 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
10999 (SIGCONTEXT_EXTRA_ARGS): Likewise.
11000 (GET_FRAME): Likewise.
11001 (GET_STACK): Likewise.
11002 (CALL_SIGHANDLER): Likewise.
11003
ffec7b27
JM
110042018-03-21 Joseph Myers <joseph@codesourcery.com>
11005
11006 * sysdeps/x86_64/backtrace.c: Move to ....
11007 * debug/backtrace.c: ... here.
11008 * sysdeps/aarch64/backtrace.c: Remove file.
11009 * sysdeps/alpha/backtrace.c: Likewise.
11010 * sysdeps/hppa/backtrace.c: Likewise.
11011 * sysdeps/ia64/backtrace.c: Likewise.
11012 * sysdeps/mips/backtrace.c: Likewise.
11013 * sysdeps/nios2/backtrace.c: Likewise.
11014 * sysdeps/riscv/backtrace.c: Likewise.
11015 * sysdeps/sh/backtrace.c: Likewise.
11016 * sysdeps/tile/backtrace.c: Likewise.
11017
8a07b0c4
JM
110182018-03-20 Joseph Myers <joseph@codesourcery.com>
11019
d0c5d731
JM
11020 [BZ #22987]
11021 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
11022 function.
11023 (fdimf): Likewise.
11024 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
11025
8a07b0c4
JM
11026 [BZ #17343]
11027 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
11028 possibly overflowing computations.
11029
ceb54b9b
ST
110302018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
11031
11032 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
11033 values from Linux-specific section now that it is in the GNU section.
11034 * sysdeps/gnu/errlist.c: Regenerate.
11035
8d3f9e85
JM
110362018-03-20 Joseph Myers <joseph@codesourcery.com>
11037
11038 * math/Makefile (libm-narrow-fns): Add sub.
11039 (libm-test-funcs-narrow): Likewise.
11040 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
11041 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
11042 * math/gen-auto-libm-tests.c (test_functions): Add sub.
11043 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
11044 (NARROW_SUB_ROUND_TO_ODD): Likewise.
11045 (NARROW_SUB_TRIVIAL): Likewise.
11046 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
11047 macro.
11048 (__dsubl): Likewise.
11049 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
11050 dsub.
11051 (CFLAGS-nldbl-dsub.c): New variable.
11052 (CFLAGS-nldbl-fsub.c): Likewise.
11053 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
11054 __nldbl_dsubl.
11055 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
11056 prototype.
11057 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
11058 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
11059 * math/auto-libm-test-in: Add tests of sub.
11060 * math/auto-libm-test-out-narrow-sub: New generated file.
11061 * math/libm-test-narrow-sub.inc: New file.
11062 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
11063 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
11064 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
11065 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
11066 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
11067 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
11068 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
11069 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
11070 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
11071 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
11072 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
11073 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
11074 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
11075 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
11076 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
11077 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
11078 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
11079 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
11080 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11081 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
11082 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11083 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11084 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11085 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11086 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11087 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11088 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11089 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11090 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11091 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11092 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11093 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
11096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11098 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
11099 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11100 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11101 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11102 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11103 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11104 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
11105 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
11106 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11107 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11108
d473f015
JM
111092018-03-19 Joseph Myers <joseph@codesourcery.com>
11110
11111 [BZ #20079]
11112 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
11113
fbce6f72
WD
111142018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
11115
11116 * benchtests/bench-timing.h (attribute_hidden): Undefine.
11117
72e7ffc3
RB
111182018-03-18 Richard Braun <rbraun@sceen.net>
11119
11120 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
11121 thread reference.
11122
542c20a1
AA
111232018-03-18 Agustina Arzille <avarzille@riseup.net>
11124
11125 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
11126 (__libc_cleanup_fct): Define function.
11127 (__libc_cleanup_region_start, __libc_cleanup_region_end,
11128 __libc_cleanup_end): Rewrite implementation using
11129 __attribute__ ((__cleanup__)).
11130 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
fb4cc8a0
AA
11131 * hurd/Makefile (routines): Add hurdlock.
11132 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
11133 interface.
11134 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
11135 * hurd/hurdpid.c: Include <lowlevellock.h>
11136 (_S_msg_proc_newids): Use lll_wait to synchronize.
11137 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
11138 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
11139 * mach/Makefile (lock-headers): Remove machine-lock.h.
11140 * mach/lock-intern.h: Include <lowlevellock.h> instead of
11141 <machine-lock.h>.
11142 (__spin_lock_t): New type.
11143 (__SPIN_LOCK_INITIALIZER): New macro.
11144 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
11145 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
11146 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
11147 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
11148 (__mutex_init): Initialize with lll.
11149 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
11150 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
11151 needing lll.
11152 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
11153 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
11154 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
11155 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
11156 (__setpgid): Use lll for synchronization.
11157 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
11158 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
11159 instead of <cthreads.h>.
11160 (_IO_lock_inexpensive): New macro
11161 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
11162 (__libc_lock_self0): New declaration.
11163 (__libc_lock_owner_self): New macro.
11164 (__libc_key_t): Remove type.
11165 (_LIBC_LOCK_INITIALIZER): New macro.
11166 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
11167 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
11168 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
11169 __libc_lock_define_initialized_recursive,
11170 __rtld_lock_define_initialized_recursive,
11171 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
11172 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
11173 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
11174 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
11175 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
11176 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
11177 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
11178 New macros.
11179 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
11180 * hurd/hurdlock.c: New file.
11181 * hurd/hurdlock.h: New file.
11182 * mach/lowlevellock.h: New file
542c20a1 11183
9a37922e
ST
111842018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
11185
11186 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
489999cc
ST
11187 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
11188 when opening a symlink with O_NOFOLLOW.
72103e73
ST
11189 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
11190 path when flags contains O_NOFOLLOW.
11191 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
11192 if flags contains O_DIRECTORY and the result is a directory.
aa218929
ST
11193 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
11194 oneself when the pointer given in D is nul (as set by ext2fs).
20bc801b
ST
11195 * sysdeps/mach/hurd/mlockall.c: New file.
11196 * sysdeps/mach/hurd/munlockall.c: New file.
9a37922e 11197
34e6a869
ST
111982018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
11199
11200 * hurd/hurdsig.c: Include <pthread.h>.
11201 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
11202 get the signal thread stack layout.
dc33bef3
ST
11203 * hurd/Makefile (headers): Remove threadvar.h.
11204 (inline-headers): Remove threadvar.h.
11205 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
11206 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
11207 __hurd_threadvar_max, __hurd_errno_location.
11208 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
11209 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
11210 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
11211 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
11212 unless TLS is not initialized yet, in which case we do not need a
11213 critical section yet anyway.
11214 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
11215 <machine-sp.h>.
11216 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
11217 declarations.
11218 (__hurd_threadvar_index): Remove enum.
11219 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
11220 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
11221 inlines.
11222 (__hurd_reply_port0): New variable declaration.
11223 (__hurd_local_reply_port): New macro.
11224 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
11225 (interrupted_reply_port_location): Add thread_t parameter. Use it
11226 with THREAD_TCB to access thread-local variables.
11227 (_hurdsig_abort_rpcs): Pass ss->thread to
11228 interrupted_reply_port_location.
11229 (_hurd_internal_post_signal): Likewise.
11230 (_hurdsig_init): Use presence of cthread_fork instead of
11231 __hurd_threadvar_stack_mask to start signal thread by hand.
11232 Remove signal thread threadvar initialization.
11233 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
11234 * hurd/sigunwind.c: Include <hurd/threadvar.h>
11235 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
11236 of threadvar.
11237 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
11238 __libc_lock_self0.
11239 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
11240 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
11241 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
11242 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
11243 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
11244 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
11245 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
11246 define variables.
11247 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
11248 <hurd/threadvar.h>.
11249 [IS_IN(rtld)] (rtld_errno): New variable.
11250 [IS_IN(rtld)] (__errno_location): New weak function.
11251 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
11252 * sysdeps/mach/hurd/errno.c: Remove file.
11253 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
11254 (__fork): Remove THREADVAR_SPACE macro and its use.
11255 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
11256 variable.
11257 (init): Do not initialize threadvar.
11258 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
11259 symbol.
11260 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
11261 __hurd_local_reply_port instead of threadvar.
11262 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
11263 _hurd_sigstate fields.
11264 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
11265 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
11266 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
11267 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
11268 instead of threadvar.
11269 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
11270 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
11271 (use_threadvar, global_reply_port): Remove variables.
11272 (__hurd_reply_port0): New variable.
11273 (__mig_get_reply_port): Use __hurd_local_reply_port and
11274 __hurd_reply_port0 instead of threadvar.
11275 (__mig_dealloc_reply_port): Likewise.
11276 (__mig_init): Do not initialize threadvar.
11277 * sysdeps/mach/hurd/profil.c: Fix comment.
c2fb08c7
ST
11278 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
11279 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
11280 cthread_keycreate, cthread_getspecific, cthread_setspecific to
11281 __cthread_fork, __cthread_detach, __pthread_getattr_np,
11282 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
11283 __cthread_setspecific.
11284 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
11285 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
11286 __cthread_t instead of cthread_fork, cthread_detach,
11287 pthread_getattr_np, pthread_attr_getstack.
11288 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
11289 __cthread_keycreate.
11290 (cthread_getspecific): Rename to __cthread_getspecific.
11291 (cthread_setspecific): Rename to __cthread_setspecific.
11292 (__libc_getspecific): Use __cthread_getspecific instead of
11293 cthread_getspecific.
11294 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
11295 __cthread_keycreate instead of cthread_keycreate.
11296 (__libc_setspecific): Use __cthread_setspecific instead of
11297 cthread_setspecific.
11298 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
11299 Likewise.
dd28d4ba
ST
11300 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
11301 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
11302 testing whether it is defined.
34e6a869 11303
f8baf2a2
ST
113042018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11305
11306 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
11307 Define macro.
11308 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
11309 * sysdeps/mach/i386/thread_state.h
11310 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
11311 i386_THREAD_STATE.
11312 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
11313 i386_THREAD_STATE.
11314 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
11315
11316 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
11317 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
11318
11319 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
11320 macros.
11321 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
11322 descriptor instead of creating a new one.
11323 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
11324
11325 * mach/setup-thread.c: Include <ldsodefs.h>.
11326 (__mach_setup_thread): Call _dl_allocate_tls, pass
11327 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
11328 MACHINE_THREAD_STATE_FLAVOR, before getting
11329 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
11330 MACHINE_THREAD_STATE_FLAVOR with the result.
11331 * hurd/hurdfault.c (_hurdsig_fault_init): Call
11332 MACHINE_THREAD_STATE_FIX_NEW.
11333 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
11334 too. Add original thread parameter.
11335
34ba96b8
JM
113362018-03-16 Joseph Myers <joseph@codesourcery.com>
11337
5d75b75f
JM
11338 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
11339 Remove inline function.
11340
34ba96b8
JM
11341 * sysdeps/i386/fpu/libm-test-ulps: Update.
11342 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
11343
22679b2c
WD
113442018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
11345
11346 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
11347 commit.
11348
c429a8d8
JM
113492018-03-15 Joseph Myers <joseph@codesourcery.com>
11350
11351 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
11352 (__sincos_code): Remove define and undefine.
11353 [__FAST_MATH__] (__sincos): Remove inline function.
11354 [__FAST_MATH__] (__sincosf): Remove inline function.
11355 [__FAST_MATH__] (__sincosl): Remove inline function.
11356 (__atan2l): Remove inline functions.
11357 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
11358 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
11359 function.
11360 (floor): Remove inline function.
11361 (ceil): Likewise.
11362 [__FAST_MATH__] (__ldexp_code): Remove macro.
11363 [__FAST_MATH__] (ldexp): Remove inline function.
11364 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
11365 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
11366 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
11367 [__USE_ISOC99] (__lrint_code): Remove macro.
11368 [__USE_ISOC99] (__llrint_code): Likewise.
11369 [__USE_ISOC99] (lrintf): Remove inline function.
11370 [__USE_ISOC99] (lrint): Likewise.
11371 [__USE_ISOC99] (lrintl): Likewise.
11372 [__USE_ISOC99] (llrint): Likewise.
11373 [__USE_ISOC99] (llrintf): Likewise.
11374 [__USE_ISOC99] (llrintl): Likewise.
11375
700593fd
WD
113762018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
11377
11378 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
11379 (__ieee754_sqrtf): Remove.
11380 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
11381 (__ieee754_sqrtf): Remove.
11382 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
11383 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
11384 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
11385 (__ieee754_sqrtf): Remove.
11386 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
11387 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
11388 (sqrtf): Remove.
11389 (sqrtl): Remove.
11390 (__ieee754_sqrt): Remove.
11391 (__ieee754_sqrtf): Remove.
11392 (__ieee754_sqrtl): Remove.
11393 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
11394 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
11395 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
11396 (__ieee754_sqrtf): Remove.
11397 (__ieee754_sqrtl): Remove.
11398
f67a8147
WD
113992018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
11400
11401 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
11402 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
11403 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
11404 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
11405 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
11406 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11407 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11408 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
11409 Likewise.
11410 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
11411 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
11412 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
11413 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
11414 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
11415 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
11416 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
11417 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
11418 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
11419 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
11420 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
11421 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
11422 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
11423 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
11424 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
11425 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11426 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11427 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
11428 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
11429 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
11430 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
11431 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11432 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
11433 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
11434 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
11435 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
11436 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11437 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11438 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
11439 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
11440 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
11441 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
11442 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
11443 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
11444 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
11445 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11446 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
11447 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
11448 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
11449 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
11450
1294b189
WD
114512018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
11452
11453 * include/math.h (sqrt): Declare with asm redirect.
11454 (sqrtf): Likewise.
11455 (sqrtl): Likewise.
11456 (sqrtf128): Likewise.
11457 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
11458 nonlib and libnldbl with -fmath-errno.
11459 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
11460 * math/w_sqrt_template.c: Likewise.
11461 * math/w_sqrtf_compat.c: Likewise.
11462 * math/w_sqrtl_compat.c: Likewise.
11463 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
11464 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
11465 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
11466 complex.h.
11467
f1c8185d
WD
114682018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
11469
11470 * benchtests/Makefile: Define _ISOMAC.
11471 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
11472 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
11473 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
11474 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
11475 * benchtests/bench-timing.h: Define attribute_hidden.
11476
b47c3e76
SP
114772018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
11478
11479 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
11480 mov + lsr.
11481
807fee29
RL
114822018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
11483
11484 [BZ #22963]
11485 * localedata/locales/cs_CZ (mon): Rename to...
11486 (alt_mon): This.
11487 (mon): Import from CLDR (genitive case).
11488
e7155a28
RL
114892018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
11490
11491 [BZ #22937]
11492 * localedata/locales/el_CY (abmon): Rename to...
11493 (ab_alt_mon): This.
11494 (abmon): Import from CLDR (abbreviated genitive case).
11495 * localedata/locales/el_GR (abmon): Rename to...
11496 (ab_alt_mon): This.
11497 (abmon): Import from CLDR (abbreviated genitive case).
11498
71d7b121
RL
114992018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
11500
11501 [BZ #22932]
11502 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
11503
a00bffe8
RB
115042018-03-15 Robert Buj <robert.buj@gmail.com>
11505
11506 [BZ #22848]
11507 * localedata/locales/ca_ES (abmon): Rename to...
11508 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
11509 (mon): Rename to...
11510 (alt_mon): This.
11511 (abmon): Import from CLDR (genitive case, month names preceded by
11512 "de" or "d’").
11513 (mon): Likewise.
11514 (abday): Synchronize with CLDR.
11515 (d_t_fmt): Likewise.
11516 (d_fmt): Likewise.
11517 (am_pm): Likewise.
11518
11519 (LC_TIME): Improve indentation.
11520 (LC_TELEPHONE): Likewise.
11521 (LC_NAME): Likewise.
11522 (LC_ADDRESS): Likewise.
11523
f9555d73
JM
115242018-03-14 Joseph Myers <joseph@codesourcery.com>
11525
11526 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
11527 (lrintf): Remove definitions used only with old GCC.
11528 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
11529 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
11530 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
11531 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
11532 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
11533 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
11534 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
11535 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
11536 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
11537 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
11538 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
11539 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
11540 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
11541 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
11542 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
11543 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
11544 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
11545 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
11546 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
11547 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
11548 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
11549 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
11550 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
11551 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
11552 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
11553 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
11554 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
11555 [__FAST_MATH__] (__M_SQRT2): Remove macro.
11556
d46f84de
SP
115572018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
11558
11559 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
11560 instruction to unbreak builds with binutils 2.26 and older.
11561
7108f1f9
SP
115622018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
11563
11564 * sysdeps/aarch64/strncmp.S (count): New macro.
11565 (strncmp): Store misaligned length in SRC1 in COUNT.
11566 (mutual_align): Adjust.
11567 (misaligned8): Load dword at a time when it is safe.
11568
2cc7bad0
ZW
115692018-03-12 Zack Weinberg <zackw@panix.com>
11570
11571 [BZ #1190]
11572 [BZ #19476]
11573 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
11574 if the _IO_EOF_SEEN bit is already set; update commentary.
11575 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
11576 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
11577
11578 * support/support_openpty.c, support/tty.h: New files.
11579 * support/Makefile (libsupport-routines): Add support_openpty.
11580
11581 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
11582 New test cases.
11583 * libio/Makefile (tests): Add tst-fgetc-after-eof.
11584 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
11585
778f1974
DL
115862018-03-12 Dmitry V. Levin <ldv@altlinux.org>
11587
11588 * po/pt_BR.po: Update translations.
11589
da6d4404
DM
115902018-03-12 David Michael <fedora.dm0@gmail.com>
11591
11592 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
11593 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
11594 get a port to the startup server.
11595
d3da750d
ZW
115962018-03-11 Zack Weinberg <zackw@panix.com>
11597
11598 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
11599 before nldbl-compat.h.
11600
054b72cc
ZW
116012018-03-10 Zack Weinberg <zackw@panix.com>
11602
0d13dfa1
ZW
11603 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
11604 math.h or math_private.h.
11605
11606 * sysdeps/alpha/fpu/s_isnan.c
11607 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
11608 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
11609 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
11610 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
11611 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
11612 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
11613 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
11614 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
11615 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
11616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
11617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
11618 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
11619 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
11620 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
11621 Include math_private.h.
11622
11623 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
11624 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
11625 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
11626 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
11627 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
11628 * sysdeps/powerpc/power7/fpu/s_logb.c:
11629 Include math.h and math_private.h.
11630
054b72cc
ZW
11631 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
11632 uses of $at in .set noat / .set at.
11633
6253bacd
L
116342018-03-10 H.J. Lu <hongjiu.lu@intel.com>
11635
11636 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
11637 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
11638 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
11639 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
11640 Likewise.
11641
229855e5
FW
116422018-03-09 Florian Weimer <fweimer@redhat.com>
11643
11644 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
11645 in comment.
11646
9aa5c222
AJ
116472018-03-09 Aurelien Jarno <aurelien@aurel32.net>
11648
11649 [BZ #22919]
11650 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
11651 Add nop before __startcontext, add explaining comments.
11652
3dc21497
AZ
116532018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11654
e921c89e
AZ
11655 [BZ #22926]
11656 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
11657 empty for __SPE__.
11658 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
11659 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
11660 Do not build hardware transactional code for __SPE__.
11661 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
11662 (__lll_trylock_elision): Likewise.
11663 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
11664 (__lll_unlock_elision): Likewise.
11665
d9f26dab 11666 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
3dc21497
AZ
11667 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
11668 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
11669 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
11670 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
11671 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
11672 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
11673 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
11674 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
11675 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
11676 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
11677 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
11678 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
11679 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
11680 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
11681 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
11682 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
11683 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
11684 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
11685 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
11686 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
11687 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11688 (__ASSUME_CLONE_BACKWARDS): Define.
11689 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
11690 __clone2 if __NR_clone2 is defined.
11691 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11692 (__ASSUME_CLONE_BACKWARDS): Likewise.
11693 * sysdeps/unix/sysv/linux/i386/kernel-features.h
11694 (__ASSUME_CLONE_BACKWARDS): Likewise.
11695 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11696 (__ASSUME_CLONE2): Likewise.
11697 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11698 (__ASSUME_CLONE_BACKWARDS3): Likewise.
11699 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
11700 variants and the define architecture can use.
11701 (__ASSUME_CLONE_DEFAULT): Define as default.
11702 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11703 (__ASSUME_CLONE_BACKWARDS): Likewise.
11704 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11705 (__ASSUME_CLONE_BACKWARDS): Likewise.
11706 * sysdeps/unix/sysv/linux/s390/kernel-features.h
11707 (__ASSUME_CLONE_BACKWARDS2): Likewise.
11708
adc95fb0
SP
117092018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
11710
4e54d918
SP
11711 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
11712
30a81dae
SP
11713 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
11714 time.
11715
adc95fb0
SP
11716 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
11717 (do_test_limit): Likewise.
11718
11719 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
11720 for every implementation.
11721 (do_test): Likewise.
11722
11723 * benchtests/bench-strncmp.c: Convert output to json.
11724
4e9066bc
ST
117252018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11726
11727 * io/futimens.c: Add missing start-of-file descriptive comment.
11728 * io/utime.c: Likewise.
11729 * misc/futimesat.c: Likewise.
11730 * misc/utimes.c: Likewise.
11731 * sysdeps/mach/hurd/futimesat.c: Likewise.
11732 * sysdeps/mach/hurd/utimes.c: Likewise.
11733 * sysdeps/posix/utime.c: Likewise.
11734 * sysdeps/posix/utimes.c: Likewise.
11735 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
11736 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
11737 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
11738 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
11739
ec1300cf
ST
117402018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
11741
11742 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
11743 hurd_futimes.
11744 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
11745 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
11746 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
11747 (__futimens): Move implementation to...
11748 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
11749 utime_tvalue_from_tspec): ... new helper functions.
11750 (hurd_futimens): New function.
11751 * sysdeps/mach/hurd/futimesat.c: New file.
11752 * sysdeps/mach/hurd/utimensat.c: New file.
11753
bbe762d1
FC
117542018-03-05 Flávio Cruz <flaviocruz@gmail.com>
11755
11756 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
11757 UTIME_OMIT): New macros.
11758 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
11759 before reverting to converting time spec to time value and calling
11760 __file_utimes.
11761 * sysdeps/mach/hurd/utime-helper.c: New file.
11762 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
11763 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
11764 reverting to utime_tvalue_from_tval and __file_utimes.
11765 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
11766 (__lutimes): Just call hurd_futimens after lookup.
11767 * sysdeps/mach/hurd/utimes.c: Likewise.
11768
a1ede3a4
ST
117692018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
11770
11771 * bits/sigaction.h: Add include guard.
11772 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
11773 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
11774 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
11775 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
11776 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
11777 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
11778 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
11779 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
11780 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
11781
6900d2ca
JM
117822018-03-05 Joseph Myers <joseph@codesourcery.com>
11783
11784 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
11785 -Wmaybe-uninitialized for -Os.
11786 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
11787 this disabling.
11788
68448be2
AZ
117892018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11790
5226a81f
AZ
11791 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
11792 __INO_T_MATCHES_INO64_T is defined.
11793 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
11794 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
11795 of definition.
11796 * dirent/alphasort64.c: Likewise.
11797 * dirent/scandir.c: Likewise.
11798 * dirent/scandir64-tail.c: Likewise.
11799 * dirent/scandir64.c: Likewise.
11800 * dirent/scandirat.c: Likewise.
11801 * dirent/scandirat64.c: Likewise.
11802 * dirent/versionsort.c: Likewise.
11803 * dirent/versionsort64.c: Likewise.
11804 * include/dirent.h: Likewise.
11805
fbd01e6c
AZ
11806 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
11807 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
11808 for socketpair endpoint.
11809 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
11810 WRITE_BUFFER_SIZE as buffer size for sending socket.
11811 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
11812 issue on system where send is implemented with sendto syscall.
11813 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
11814 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
11815 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
11816 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
11817
68448be2
AZ
11818 [BZ #21269]
11819 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
11820 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
11821 sa_restorer for vDSO case.
11822 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
11823
eb1ca47e
ST
118242018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
11825
11826 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
e30c291a
ST
11827 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
11828 * hurd/hurd/ioctl.h: Include <mach/port.h>
11829 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
f4bff843
ST
11830 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
11831 <mach/mach_types.h> and <mach/message.h>.
430fd945
ST
11832 (headers): Move mach/param.h to bits/mach/param.h.
11833 * sysdeps/mach/i386/mach/param.h: Move file to ...
11834 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
11835 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
11836 of <mach/param.h>.
3403cb7d
ST
11837 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
11838 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
11839 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
48d34cbc
ST
11840 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
11841 trivial, for C++ conformity.
44c6376c 11842 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
95dfdbd2
ST
11843 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
11844 Process mig output through $(migheadersed).
11845 * hurd/Makefile (migheadersed): Define variable.
a726c87a
ST
11846 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
11847 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
11848 headers.
ba89615d
ST
11849 * hurd/hurd.h: Include <bits/types/sigset_t.h>
11850 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
11851 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
11852 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
11853 <bits/types/sigset_t.h>.
11854 [!defined __USE_GNU]: Do not #error out.
11855 (struct hurd_sigstate): Use _NSIG instead of NSIG.
11856 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
11857 Include <stddef.h> and <bits/types/sigset_t.h>
11858 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
11859 instead of sighandler_t.
974393ea
ST
11860 * stdlib/errno.h (error_t): Move definition to...
11861 * bits/types/error_t.h: ... new header.
11862 * stdlib/Makefile (headers): Add bits/types/error_t.h.
11863 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
11864 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
11865 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
11866 * hurd/hurd.h: Include <bits/types/error_t.h>
11867 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
11868 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
11869 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
11870 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
11871 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
11872 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
8d965cde 11873 * sysdeps/mach/hurd/futimens.c: New file.
eb1ca47e 11874
eaf6753f
AS
118752018-03-03 Andreas Schwab <schwab@linux-m68k.org>
11876
11877 [BZ #22918]
11878 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
11879 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
11880 * nscd/gai.c (__nss_hosts_database): Readd definition.
11881 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
11882 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
11883 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
11884
4dc23804
JM
118852018-03-02 Joseph Myers <joseph@codesourcery.com>
11886
11887 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
11888 (ifunc_one): Likewise.
11889
1c81d55f
DD
118902018-03-01 DJ Delorie <dj@delorie.com>
11891
11892 [BZ #22342]
11893 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
11894 key value.
11895
b717c14f
MR
118962018-03-01 Maciej W. Rozycki <macro@mips.com>
11897
11898 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
11899 `match_pid' parameter.
11900 (td_ta_thr_iter): Update accordingly.
11901
1efe1358
FW
119022018-03-01 Florian Weimer <fweimer@redhat.com>
11903
11904 * nptl/Makefile (install-lib-ldscripts): Remove.
11905 (install): Remove rule.
11906 ($(inst_libdir)/libpthread.so): Likewise.
11907
a527f09c
MF
119082018-03-01 Mike FABIAN <mfabian@redhat.com>
11909
11910 [BZ #22896]
11911 * localedata/locales/an_ES: update month and day names,
11912 improve d_fmt, improve postal_fmt, add country_post,
11913 add country_isbn
11914
35d660b0
MF
119152018-03-01 Mike FABIAN <mfabian@redhat.com>
11916
11917 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
11918 Ukrainian instead of Bulgarian.
11919
1a2f44a8
FW
119202018-03-01 Florian Weimer <fweimer@redhat.com>
11921
11922 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
11923 reference.
11924
bd60ce86
FW
119252018-03-01 Florian Weimer <fweimer@redhat.com>
11926
11927 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
11928 * nptl/Makefile (routines): Add pthread_atfork.
11929 (static-only-routines): Set to pthread_atfork.
11930 (libpthread-routines): Remove pthread_atfork.
11931 (libpthread-static-only-routines): Remove.
11932 (install): Update comment.
11933 (libpthread.so): Do not install libpthread_nonshared.a.
11934 (tests): Do not link with libpthread_nonshared.a.
11935 (generated): Remove libpthread_nonshared.a.
11936 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
11937 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
11938 with libpthread_nonshared.a.
11939
000f290f
JM
119402018-02-28 Joseph Myers <joseph@codesourcery.com>
11941
e2bcf6a8
JM
11942 [BZ #22902]
11943 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
11944 (libc_feholdexcept_setroundf128): New macro.
11945 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
11946
000f290f
JM
11947 [BZ #15105]
11948 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
11949 libc_hidden_def.
11950 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
11951 * include/inttypes.h: New file.
11952
02f2fead
JM
119532018-02-27 Joseph Myers <joseph@codesourcery.com>
11954
11955 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
11956 -Os in two more places.
11957
874c56d7
MF
119582018-02-27 Mike FABIAN <mfabian@redhat.com>
11959
11960 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
11961 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
11962 be sorted correctly at the moment because of a bug.
11963
15973854
MF
119642018-02-27 Mike FABIAN <mfabian@redhat.com>
11965
11966 [BZ #22550] - es_ES locale (and other es_* locales): collation should
11967 treat ñ as a primary different character, sync the collation
11968 for Spanish with CLDR.
11969 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
11970 * localedata/Makefile: Add new test files.
11971 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
11972 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
11973 collation order.
11974 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
11975 * localedata/am_ET.UTF-8.in: New test file.
11976 * localedata/az_AZ.UTF-8.in: Likewise.
11977 * localedata/be_BY.UTF-8.in: Likewise.
11978 * localedata/ber_DZ.UTF-8.in: Likewise.
11979 * localedata/ber_MA.UTF-8.in: Likewise.
11980 * localedata/bg_BG.UTF-8.in: Likewise.
11981 * localedata/br_FR.UTF-8.in: Likewise.
11982 * localedata/cmn_TW.UTF-8.in: Likewise.
11983 * localedata/crh_UA.UTF-8.in: Likewise.
11984 * localedata/csb_PL.UTF-8.in: Likewise.
11985 * localedata/cv_RU.UTF-8.in: Likewise.
11986 * localedata/cy_GB.UTF-8.in: Likewise.
11987 * localedata/dz_BT.UTF-8.in: Likewise.
11988 * localedata/eo.UTF-8.in: Likewise.
11989 * localedata/es_ES.UTF-8.in: Likewise.
11990 * localedata/fa_IR.UTF-8.in: Likewise.
11991 * localedata/fi_FI.UTF-8.in: Likewise.
11992 * localedata/fil_PH.UTF-8.in: Likewise.
11993 * localedata/fur_IT.UTF-8.in: Likewise.
11994 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
11995 * localedata/ha_NG.UTF-8.in: Likewise.
11996 * localedata/ig_NG.UTF-8.in: Likewise.
11997 * localedata/ik_CA.UTF-8.in: Likewise.
11998 * localedata/kk_KZ.UTF-8.in: Likewise.
11999 * localedata/ku_TR.UTF-8.in: Likewise.
12000 * localedata/ky_KG.UTF-8.in: Likewise.
12001 * localedata/ln_CD.UTF-8.in: Likewise.
12002 * localedata/mi_NZ.UTF-8.in: Likewise.
12003 * localedata/ml_IN.UTF-8.in: Likewise.
12004 * localedata/mn_MN.UTF-8.in: Likewise.
12005 * localedata/mr_IN.UTF-8.in: Likewise.
12006 * localedata/mt_MT.UTF-8.in: Likewise.
12007 * localedata/nb_NO.UTF-8.in: Likewise.
12008 * localedata/om_KE.UTF-8.in: Likewise.
12009 * localedata/os_RU.UTF-8.in: Likewise.
12010 * localedata/ps_AF.UTF-8.in: Likewise.
12011 * localedata/ro_RO.UTF-8.in: Likewise.
12012 * localedata/ru_RU.UTF-8.in: Likewise.
12013 * localedata/sc_IT.UTF-8.in: Likewise.
12014 * localedata/se_NO.UTF-8.in: Likewise.
12015 * localedata/sq_AL.UTF-8.in: Likewise.
12016 * localedata/sv_SE.UTF-8.in: Likewise.
12017 * localedata/szl_PL.UTF-8.in: Likewise.
12018 * localedata/tg_TJ.UTF-8.in: Likewise.
12019 * localedata/tk_TM.UTF-8.in: Likewise.
12020 * localedata/tt_RU.UTF-8.in: Likewise.
12021 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
12022 * localedata/ug_CN.UTF-8.in: Likewise.
12023 * localedata/uz_UZ.UTF-8.in: Likewise.
12024 * localedata/vi_VN.UTF-8.in: Likewise.
12025 * localedata/yi_US.UTF-8.in: Likewise.
12026 * localedata/yo_NG.UTF-8.in: Likewise.
12027 * localedata/zh_CN.UTF-8.in: Likewise.
12028 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
12029 file and fix bugs in the collation.
12030 * localedata/locales/az_AZ: Likewise.
12031 * localedata/locales/be_BY: Likewise.
12032 * localedata/locales/ber_DZ: Likewise.
12033 * localedata/locales/ber_MA: Likewise.
12034 * localedata/locales/bg_BG: Likewise.
12035 * localedata/locales/br_FR: Likewise.
12036 * localedata/locales/br_FR@euro: Likewise.
12037 * localedata/locales/ca_ES: Likewise.
12038 * localedata/locales/cns11643_stroke: Likewise.
12039 * localedata/locales/crh_UA: Likewise.
12040 * localedata/locales/cs_CZ: Likewise.
12041 * localedata/locales/csb_PL: Likewise.
12042 * localedata/locales/cv_RU: Likewise.
12043 * localedata/locales/cy_GB: Likewise.
12044 * localedata/locales/da_DK: Likewise.
12045 * localedata/locales/dz_BT: Likewise.
12046 * localedata/locales/en_CA: Likewise.
12047 * localedata/locales/eo: Likewise.
12048 * localedata/locales/es_CU: Likewise.
12049 * localedata/locales/es_EC: Likewise.
12050 * localedata/locales/es_ES: Likewise.
12051 * localedata/locales/es_US: Likewise.
12052 * localedata/locales/et_EE: Likewise.
12053 * localedata/locales/fa_IR: Likewise.
12054 * localedata/locales/fi_FI: Likewise.
12055 * localedata/locales/fil_PH: Likewise.
12056 * localedata/locales/fur_IT: Likewise.
12057 * localedata/locales/gez_ER@abegede: Likewise.
12058 * localedata/locales/ha_NG: Likewise.
12059 * localedata/locales/hr_HR: Likewise.
12060 * localedata/locales/hsb_DE: Likewise.
12061 * localedata/locales/hu_HU: Likewise.
12062 * localedata/locales/ig_NG: Likewise.
12063 * localedata/locales/ik_CA: Likewise.
12064 * localedata/locales/is_IS: Likewise.
12065 * localedata/locales/iso14651_t1_pinyin: Likewise.
12066 * localedata/locales/kk_KZ: Likewise.
12067 * localedata/locales/ku_TR: Likewise.
12068 * localedata/locales/ky_KG: Likewise.
12069 * localedata/locales/ln_CD: Likewise.
12070 * localedata/locales/lt_LT: Likewise.
12071 * localedata/locales/lv_LV: Likewise.
12072 * localedata/locales/mi_NZ: Likewise.
12073 * localedata/locales/ml_IN: Likewise.
12074 * localedata/locales/mn_MN: Likewise.
12075 * localedata/locales/mr_IN: Likewise.
12076 * localedata/locales/mt_MT: Likewise.
12077 * localedata/locales/nb_NO: Likewise.
12078 * localedata/locales/om_KE: Likewise.
12079 * localedata/locales/os_RU: Likewise.
12080 * localedata/locales/pl_PL: Likewise.
12081 * localedata/locales/ps_AF: Likewise.
12082 * localedata/locales/ro_RO: Likewise.
12083 * localedata/locales/ru_RU: Likewise.
12084 * localedata/locales/ru_UA: Likewise.
12085 * localedata/locales/sc_IT: Likewise.
12086 * localedata/locales/se_NO: Likewise.
12087 * localedata/locales/si_LK: Likewise.
12088 * localedata/locales/sq_AL: Likewise.
12089 * localedata/locales/sv_FI: Likewise.
12090 * localedata/locales/sv_FI@euro: Likewise.
12091 * localedata/locales/sv_SE: Likewise.
12092 * localedata/locales/szl_PL: Likewise.
12093 * localedata/locales/tg_TJ: Likewise.
12094 * localedata/locales/ti_ER: Likewise.
12095 * localedata/locales/tk_TM: Likewise.
12096 * localedata/locales/tl_PH: Likewise.
12097 * localedata/locales/tr_TR: Likewise.
12098 * localedata/locales/tt_RU: Likewise.
12099 * localedata/locales/tt_RU@iqtelif: Likewise.
12100 * localedata/locales/ug_CN: Likewise.
12101 * localedata/locales/uk_UA: Likewise.
12102 * localedata/locales/uz_UZ: Likewise.
12103 * localedata/locales/uz_UZ@cyrillic: Likewise.
12104 * localedata/locales/vi_VN: Likewise.
12105 * localedata/locales/yi_US: Likewise.
12106 * localedata/locales/yo_NG: Likewise.
12107
ce6636b0
MF
121082018-02-27 Mike FABIAN <mfabian@redhat.com>
12109
12110 * gen-locales.mk: Make test files which contain @ modifiers in their
12111 name work.
12112 * localedata/gen-locale.sh: Likewise.
12113
ac3a3b4b
MF
121142018-02-27 Mike FABIAN <mfabian@redhat.com>
12115
12116 * posix/tst-fnmatch.input: Fix results for range expressions
12117 for non C locales.
12118 * posix/tst-regexloc.c: Do not use a range expression for
12119 de_DE.ISO-8859-1 locale.
12120
770cbe14
MF
121212018-02-27 Mike FABIAN <mfabian@redhat.com>
12122
12123 * posix/bug-regex5.c: Fix test case because with the new
12124 iso14651_t1_common file, the da_DK locale now has 6 collating elements
12125 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
12126 file.
12127
0fc355d9
MF
121282018-02-27 Mike FABIAN <mfabian@redhat.com>
12129
12130 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
12131 downloaded from ISO, the collation order of @-. and space has changed.
12132 Therefore, this test file needed to be adapted.
12133 * localedata/fr_CA.UTF-8.in: Likewise.
12134 * localedata/fr_FR.UTF-8.in: Likewise.
12135 * localedata/uk_UA.UTF-8.in: Likewise.
12136
43f3893f
MF
121372018-02-27 Mike FABIAN <mfabian@redhat.com>
12138
12139 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
12140 order of ȥ in the new iso14651_t1_common file.
12141 * localedata/pl_PL.UTF-8.in: Likewise.
12142
df74ef78
MF
121432018-02-27 Mike FABIAN <mfabian@redhat.com>
12144
12145 * localedata/locales/iso14651_t1_common: Add sections for various
12146 scripts to the iso14651_t1_common file.
12147
d5adfbad
MF
121482018-02-27 Mike FABIAN <mfabian@redhat.com>
12149
12150 * localedata/locales/iso14651_t1_common: Use the code point of a
12151 character in the fourth collation level instead of IGNORE for all
12152 entries which have IGNORE on all 4 levels.
12153
5f5a9610
MF
121542018-02-27 Mike FABIAN <mfabian@redhat.com>
12155
12156 * localedata/locales/iso14651_t1_common: Add some convenient collation
12157 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
12158 rules similar to those in CLDR.
12159
8a97e900
MF
121602018-02-27 Mike FABIAN <mfabian@redhat.com>
12161
12162 * localedata/locales/iso14651_t1_common: The new version of this
12163 file downloaded from ISO contained several syntax errors which
12164 are fixed by this patch.
12165
bbdd2fba
MF
121662018-02-27 Mike FABIAN <mfabian@redhat.com>
12167
12168 * localedata/locales/iso14651_t1_common: replace all <U.....>
12169 with <U000.....> because glibc understands only 4 digit or 8 digit
12170
1569e551
MF
121712018-02-27 Mike FABIAN <mfabian@redhat.com>
12172
12173 * localedata/locales/iso14651_t1_common: Necessary changes
12174 to make the file downloaded from ISO usable by glibc.
12175
9479b6d5
MF
121762018-02-27 Mike FABIAN <mfabian@redhat.com>
12177
12178 [BZ #14095]
12179 * localedata/locales/iso14651_t1_common: Update file to
12180 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
12181
03b540b3
ST
121822018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
12183
12184 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
12185 of <nptl/pthreadP.h>
12186 (thread_attr_compare): Move function to...
eb937a52 12187 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
03b540b3 12188 * sysdeps/nptl/timer_routines.h: ... new header.
7211eba6 12189 * sysdeps/mach/hurd/gai_misc.h: New file.
03b540b3 12190
20602c72
JM
121912018-02-26 Joseph Myers <joseph@codesourcery.com>
12192
f54d8f73
JM
12193 * string/strcoll_l.c: Include <libc-diag.h>.
12194 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
12195 declarations of seq1 and seq2.
12196
20602c72
JM
12197 [BZ #15105]
12198 * stdlib/atoi.c (atoi): Use libc_hidden_def.
12199 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
12200
f5f473a9
DL
122012018-02-26 Dmitry V. Levin <ldv@altlinux.org>
12202
12203 [BZ #22433]
12204 [BZ #22807]
12205 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
12206 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
12207 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
12208 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
12209 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
12210 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
12211
398c6fdd
TMQMF
122122018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12213
12214 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
12215 macros used in __ptrace_request.
12216
f5d1f629
L
122172018-02-23 H.J. Lu <hongjiu.lu@intel.com>
12218
12219 [BZ #22792]
12220 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
12221 to $(CC).
12222 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
12223 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
12224 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
12225 <tcb-offsets.h>.
12226
54412d20
JM
122272018-02-23 Joseph Myers <joseph@codesourcery.com>
12228
12229 [BZ #15105]
12230 * ctype/ctype.c (tolower): Use libc_hidden_def.
12231 (toupper): Likewise.
12232 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
12233 [!_ISOMAC] (toupper): Likewise.
12234
81be4b5e
MF
122352018-02-23 Mike FABIAN <mfabian@redhat.com>
12236
12237 * localedata/Makefile: Remove --quiet argument when
12238 installing locales
12239
9d5cfd8e
MF
122402018-02-23 Mike FABIAN <mfabian@redhat.com>
12241
12242 [BZ #17438]
12243 * localedata/locales/pt_BR (LC_TIME): use / instead of -
12244 in d_fmt.
12245 * localedata/locales/pt_PT (LC_TIME): likewise
12246
6c7269f3
MF
122472018-02-23 Mike FABIAN <mfabian@redhat.com>
12248
12249 [BZ #22646]
12250 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
12251 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
12252 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
12253
92aabad9
AZ
122542018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12255
4cdc25a4
AZ
12256 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12257
27761a10
AZ
12258 * nptl/Makefile (routines): Remove unregister-atfork.
12259 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
12260 (fork_handler_alloc): Remove function.
12261 (fork_handlers, fork_handler_init): New variables.
12262 (__fork_lock): Rename to atfork_lock.
12263 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
12264 to use a dynamic array to add/remove atfork handlers.
12265 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
12266 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
12267 Remove declaration.
12268 (fork_handler): Remove next, refcntr, and need_signal member.
12269 (__run_fork_handler_type): New enum.
12270 (__run_fork_handlers): New prototype.
12271 * nptl/register-atfork.c: Remove file.
12272 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
12273
92aabad9
AZ
12274 * sysdeps/nptl/nptl-signals.h: Move to ...
12275 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
12276 comments.
12277 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
12278 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
12279 unnecessary check for SIGTIMER.
12280 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
12281 remove unnecessary removal of SIGTIMER.
12282 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
12283 include-signals.h rename.
12284 * nptl/pthreadP.h: Likewise.
12285 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
12286 __is_internal_signal instead of __nptl_is_internal_signal.
12287
fdcc6253
AW
122882018-02-22 Andrew Waterman <andrew@sifive.com>
12289
7e04eb29 12290 [BZ # 22884]
fdcc6253
AW
12291 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
12292 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
12293 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
12294 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
12295
8090720a
DD
122962018-02-22 DJ Delorie <dj@delorie.com>
12297
12298 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
12299
6ca24c43
SP
123002018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
12301
12302 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
12303 do_misaligned, not misaligned8.
12304
e9537ddd
SE
123052018-02-22 Steve Ellcey <sellcey@cavium.com>
12306
12307 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
12308 Add memcpy_thunderx2.
12309 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
12310 Increment to 4.
12311 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
12312 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
12313 and IS_THUNDERX2PA checks.
12314 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
12315 Use macro to set name appropriately.
12316 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
12317 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
12318 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
12319 New macro.
12320 (IS_THUNDERX2): New macro.
12321
6e336476
SL
123222018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
12323
12324 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12325
34957904
ZW
123262018-02-21 Zack Weinberg <zackw@panix.com>
12327
30bfee26
ZW
12328 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
12329 Define here, unconditionally.
12330 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
12331 * libio/libioP.h: Remove #if 0 blocks.
12332 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
12333 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
12334 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
12335
12336 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
12337 Assume weak_alias is always defined.
12338
12339 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
12340 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
12341 Remove #if 0 and #ifdef TODO blocks.
12342 Assume text_set_element is always defined.
12343
12344 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
12345 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
12346 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
12347
df6c012b
ZW
12348 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
12349 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
12350 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
12351 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
12352 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
12353 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
12354 Reformat bit flags for _flags field to make occupancy clearer.
12355 Update commentary.
12356 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
12357 Keep definitions consistent with those in libio/libio.h.
12358
12359 * libio/libio.h (_IO_file_flags): Remove macro.
12360 All uses changed to _flags.
12361
177aad3f
ZW
12362 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
12363 (__HAVE_COLUMN, _IO_BE): Don't define.
12364 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
12365 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
12366 * libio/libioP.h (EOF): Don't define.
12367 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
12368 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
12369 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
12370 testing _IO_UNIFIED_JUMPTABLES.
12371
9964a145
ZW
12372 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
12373 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
12374 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
12375 (_IO_size_t): Delete; all uses changed to size_t.
12376 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
12377 (_IO_off_t): Delete; all uses changed to off_t.
12378 (_IO_off64_t): Delete; all uses changed to off64_t.
12379 (_IO_pid_t): Delete; all uses changed to pid_t.
12380 (_IO_uid_t): Delete; all uses changed to uid_t.
12381 (_IO_wint_t): Delete; all uses changed to wint_t.
12382 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
12383 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
12384 (_IO_cookie_io_functions_t): Delete; all uses changed to
12385 cookie_io_functions_t.
12386 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
12387 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
12388 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
12389 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
12390
12391 * libio/iofopncook.c: Remove unnecessary forward declarations.
12392 * libio/iolibio.h: Correct outdated commentary.
12393 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
12394 * stdio-common/fxprintf.c (__fxprintf_nocancel):
12395 Remove unnecessary casts.
12396 * stdio-common/getline.c: Use _IO_getdelim directly.
12397 Don't redefine ssize_t.
12398 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
12399 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
12400 Remove outdated comments.
12401 * stdio-common/vfscanf.c: Don't redefine va_list.
12402
34957904
ZW
12403 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
12404 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
12405 Remove preprocessor conditionals on _LIBC and __USE_GNU,
12406 which are always true, and __cplusplus, which is always false.
12407
30ac923d
JM
124082018-02-21 Joseph Myers <joseph@codesourcery.com>
12409
039c721a
JM
12410 [BZ #15105]
12411 [BZ #19463]
12412 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
12413 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
12414 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
12415 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
12416 libc_hidden_proto.
12417 [!_ISOMAC] (putc_unlocked): Likewise.
12418 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
12419 define inline if [__USE_EXTERN_INLINES].
12420 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
12421 putc_unlocked.
12422
30ac923d
JM
12423 [BZ #15105]
12424 [BZ #19463]
12425 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
12426 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
12427 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
12428 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
12429 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
12430 getc_unlocked.
12431 * time/tzfile.c (__tzfile_read): Likewise.
12432
7ec5f946
MF
124332018-02-21 Mike FABIAN <mfabian@redhat.com>
12434
12435 [BZ #22517]
12436 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
12437
0d217f40
RJ
124382018-02-21 Rical Jasan <ricaljasan@pacific.net>
12439
12440 * io/fcntl.h: Fix a typo in a comment.
12441
862b4502
RJ
124422018-02-21 Rical Jasan <ricaljasan@pacific.net>
12443
12444 [BZ #22862]
12445 * include/features.h: Add _ISOC11_SOURCE to test for whether to
12446 define _DEFAULT_SOURCE.
12447 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
12448
999a6dab
FW
124492018-02-21 Florian Weimer <fweimer@redhat.com>
12450
12451 [BZ #20890]
12452 * elf/cache.c (save_cache): Call fsync on temporary file before
12453 renaming it.
12454 (save_aux_cache): Call fdatasync on temporary file before renaming
12455 it.
12456
52a01100
FW
124572018-02-21 Florian Weimer <fweimer@redhat.com>
12458
12459 [BZ #22787]
12460 * include/caller.h: Remove file.
12461 * elf/dl-caller.c: Likewise.
12462 * elf/Makefile (dl-routines): Remove dl-caller.
12463 (shared-only-routines): Do not add dl-caller.
12464 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
12465 __check_caller.
12466 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
12467 member.
12468 (dl_open_worker): Do not call __check_caller.
12469 (_dl_open): Do not set caller_dl_open member.
12470 * elf/rtld.c (_rtld_global_ro): Do not initialize
12471 _dl_check_caller member.
12472 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
12473 _dl_check_caller member.
12474 (_dl_check_caller): Remove declaration.
12475 * sysdeps/unix/sysv/linux/dl-execstack.c
12476 (_dl_make_stack_executable): Do not call __check_caller.
12477
b5bf62e4
ST
124782018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
12479
12480 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
315304d2 12481 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
b5bf62e4 12482
e8d190b9
RJ
124832018-02-20 Rical Jasan <ricaljasan@pacific.net>
12484
12485 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
12486 description.
12487
6a3962c4
RJ
124882018-02-20 Rical Jasan <ricaljasan@pacific.net>
12489
da81ae64 12490 [BZ #16335]
6a3962c4
RJ
12491 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
12492 of 199606L, 200112L, and 200809L.
12493 (_XOPEN_SOURCE): Document special values of 600 and 700.
12494 (_ISOC11_SOURCE): Document macro.
12495 (_ATFILE_SOURCE): Likewise.
12496 (_FORTIFY_SOURCE): Likewise.
12497
ec481ad8
JM
124982018-02-19 Joseph Myers <joseph@codesourcery.com>
12499
12500 [BZ #15105]
12501 [BZ #19463]
12502 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
12503 and define as weak alias of __ferror_unlocked. Use
12504 libc_hidden_weak.
12505 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
12506 libc_hidden_proto.
12507 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
12508 function if [__USE_EXTERN_INLINES].
12509 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
12510 ferror_unlocked.
12511
7d15ef84
RJ
125122018-02-19 Rical Jasan <ricaljasan@pacific.net>
12513
12514 [BZ #6889]
12515 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
12516
f8d79582
AJ
125172018-02-18 Aurelien Jarno <aurelien@aurel32.net>
12518
12519 [BZ #22818]
12520 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
12521 the GLIBC_2.1 version.
12522
56456a2a
AJ
125232018-02-18 Aurelien Jarno <aurelien@aurel32.net>
12524
12525 [BZ #21508]
12526 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
12527 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
12528 intl/tst-gettext-de.po from po/de.po by removing the
12529 POT-Creation-Date line.
12530 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
12531 ../po/de.po.
12532 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
12533 ../po/de.po.
12534
13768813
ST
125352018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
12536
12537 * mach/Makefile (headers): Add mach/param.h.
12538 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
12539 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
dd1efd8c
ST
12540 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
12541 (__ptsname_r): Move implementation to...
12542 (__ptsname_internal): ... new function. Add filling the STP
12543 structure.
13768813 12544
6aca1b61
JDA
125452018-02-17 John David Anglin <danglin@gcc.gnu.org>
12546
12547 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
12548 idouble to 1 ULP.
12549
16efad51
RJ
125502018-02-16 Rical Jasan <ricaljasan@pacific.net>
12551
12552 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
12553 syntax.
12554
87245073
SL
125552018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
12556
12557 * nptl/Makefile (tst-mutex8-ENV): Delete.
12558 * nptl/tst-mutex8.c (check_type):
12559 Add runtime check if mutex will be elided.
12560
7fc03cf3
JM
125612018-02-15 Joseph Myers <joseph@codesourcery.com>
12562
db9881ec
JM
12563 [BZ #20980]
12564 [BZ #21234]
12565 * manual/install.texi (Configuring and compiling): Describe
12566 passing CC and CFLAGS on configure command line, not as
12567 environment variables. Use @code markup on those variables.
12568 Specify what options go in CC and what go in CFLAGS. Note the
12569 requirement to compile with optimization.
12570 * INSTALL: Regenerated.
12571
3785b31c
JM
12572 [BZ #18124]
12573 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
12574 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
12575 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
12576 __sigprocmask instead of sigprocmask.
12577 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
12578 Likewise.
12579 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
12580 __sigsetjmp and sigprocmask.
12581
055ac2a7
JM
12582 [BZ #15105]
12583 * include/argz.h (argz_next): Use libc_hidden_proto.
12584 (__argz_next): Likewise.
12585 * string-argz-next.c (__argz_next): Use libc_hidden_def.
12586 (argz_next): Use libc_hidden_weak.
12587
e4452a2d
JM
12588 [BZ #15105]
12589 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
12590 libc_hidden_proto.
12591 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
12592 libc_hidden_def.
12593
499b3153
JM
12594 [BZ #15105]
12595 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
12596 libc_hidden_proto.
12597 * libio/iofputs.c (fputs): Use libc_hidden_weak.
12598
7fc03cf3
JM
12599 [BZ #15105]
12600 [BZ #19463]
12601 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
12602 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
12603 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
12604 (__feof_unlocked): New declaration, and inline function if
12605 [__USE_EXTERN_INLINES].
12606 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
12607 instead of feof_unlocked.
12608 * intl/localealias.c [_LIBC] (FEOF): Likewise.
12609 * nss/nsswitch.c (nss_parse_file): Likewise.
12610 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
12611 Likewise.
12612 * time/getdate.c (__getdate_r): Likewise.
12613 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
12614 Define as macro to call __feof_unlocked.
12615
0c8a67a5
WD
126162018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
12617
12618 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
12619
610ee1fc
WD
126202018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
12621
12622 * math/Makefile: Remove mpexp.c and mplog.c
12623 * sysdeps/i386/fpu/mpexp.c: Delete file.
12624 * sysdeps/i386/fpu/mplog.c: Likewise.
12625 * sysdeps/ia64/fpu/mpexp.c: Likewise.
12626 * sysdeps/ia64/fpu/mplog.c: Likewise.
12627 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
12628 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
12629 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
12630 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
12631 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
12632 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
12633 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
12634 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
12635 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
12636 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
12637 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
12638 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
12639 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
12640 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
12641 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
12642 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
12643
8e7196c8
SL
126442018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
12645
12646 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12647
4f55ad0b
AZ
126482018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12649
12650 * sysdeps/sh/libm-test-ulps: Update.
12651
261a851c
TMQMF
126522018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12653
12654 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
12655 idouble to 1 ULP.
12656
e16deca6
ZW
126572018-02-12 Zack Weinberg <zackw@panix.com>
12658
12659 [BZ #19239]
12660 * posix/sys/types.h: Don't include sys/sysmacros.h.
12661 * misc/sys/sysmacros.h: Remove the conditional deprecation
12662 warnings for the macros defined by this header.
12663
de800d83
SN
126642018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
12665
12666 * manual/probes.texi: Remove slowexp probes.
12667 * math/Makefile: Remove slowexp.
12668 * sysdeps/generic/math_private.h (__slowexp): Remove.
12669 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
12670 document error bounds.
12671 * sysdeps/i386/fpu/slowexp.c: Remove.
12672 * sysdeps/ia64/fpu/slowexp.c: Remove.
12673 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
12674 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
12675 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
12676 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
12677 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
12678 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
12679 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
12680 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
12681 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
12682 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
12683 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
12684
c3d466cb
WD
126852018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
12686
12687 [BZ #13932]
12688 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
12689 * benchtests/pow-inputs: Update comment for slow path cases.
12690 * manual/probes.texi (slowpow_p10): Delete removed probe.
12691 (slowpow_p10): Likewise.
12692 * math/Makefile: Remove halfulp.c and slowpow.c.
12693 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
12694 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
12695 (__halfulp): Remove.
12696 (__slowpow): Remove.
12697 * sysdeps/i386/fpu/halfulp.c: Delete file.
12698 * sysdeps/i386/fpu/slowpow.c: Likewise.
12699 * sysdeps/ia64/fpu/halfulp.c: Likewise.
12700 * sysdeps/ia64/fpu/slowpow.c: Likewise.
12701 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
12702 improve comments and add error analysis.
12703 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
12704 (power1): Remove function:
12705 (log1): Remove error argument, add error analysis.
12706 (my_log2): Remove function.
12707 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
12708 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12709 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
12710 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
12711 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
12712 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
12713 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
12714 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
12715 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
12716 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
12717 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
12718 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
12719 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
12720 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
12721
7bb087bd
ST
127222018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
12723
12724 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
12725 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
12726
2fd4bbaa
DL
127272018-02-10 Dmitry V. Levin <ldv@altlinux.org>
12728
12729 [BZ #22433]
12730 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
12731 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
12732 and PTRACE_SETHBPREGS.
12733
402ecba4
ZW
127342018-02-10 Zack Weinberg <zackw@panix.com>
12735
12736 [BZ #22830]
12737 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
12738 correctly.
12739 * malloc/tst-malloc-stats-cancellation.c: New test case.
12740 * malloc/Makefile: Add new test case.
12741
4f5b921e
WD
127422018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
12743
12744 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
12745
a85b70db
JM
127462018-02-10 Joseph Myers <joseph@codesourcery.com>
12747
d8742dd8
JM
12748 * math/Makefile (libm-narrow-fns): Add add.
12749 (libm-test-funcs-narrow): Likewise.
12750 * math/Versions (GLIBC_2.28): Add narrowing add functions.
12751 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
12752 * math/gen-auto-libm-tests.c (test_functions): Add add.
12753 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
12754 (NARROW_ADD_ROUND_TO_ODD): Likewise.
12755 (NARROW_ADD_TRIVIAL): Likewise.
12756 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
12757 macro.
12758 (__daddl): Likewise.
12759 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
12760 dadd.
12761 (CFLAGS-nldbl-dadd.c): New variable.
12762 (CFLAGS-nldbl-fadd.c): Likewise.
12763 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
12764 __nldbl_daddl.
12765 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
12766 prototype.
12767 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
12768 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
12769 * math/auto-libm-test-in: Add tests of add.
12770 * math/auto-libm-test-out-narrow-add: New generated file.
12771 * math/libm-test-narrow-add.inc: New file.
12772 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
12773 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
12774 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
12775 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
12776 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
12777 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
12778 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
12779 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
12780 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
12781 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
12782 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
12783 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
12784 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
12785 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
12786 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
12787 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
12788 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
12789 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
12790 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12791 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12792 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12793 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12794 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12795 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12796 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12797 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12798 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12799 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12800 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12801 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12802 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12803 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
12806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12808 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12809 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12810 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12811 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12812 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12813 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12814 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
12815 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
12816 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12817 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12818
a85b70db
JM
12819 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
12820 (f128-pairs): New variable.
12821 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
12822 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
12823 to CFLAGS.
12824 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
12825 Also make tests add $(f128-loader-link) to gnulib-tests.
12826
6a1ff640
DD
128272018-02-09 DJ Delorie <dj@redhat.com>
12828
12829 [BZ #22827]
12830 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
12831 64-bit ELF type for 64-bit ELF objects.
12832
bfd47587
JM
128332018-02-09 Joseph Myers <joseph@codesourcery.com>
12834
31958338
JM
12835 * math/libm-test-driver.c (snan_tests_arg): New variable.
12836 * math/libm-test-support.h (snan_tests_arg): New declaration.
12837 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
12838
8e554659
JM
12839 * math/Makefile (test-type-pairs): New variable.
12840 (test-type-pairs-f64xf128-yes): Likewise.
12841 (tests): Add test-narrow-macros.
12842 (libm-test-funcs-narrow): New variable.
12843 (libm-test-c-narrow): Likewise.
12844 (generated): Add $(libm-test-c-narrow).
12845 (libm-tests-base-narrow): New variable.
12846 (libm-tests-narrow): Likewise.
12847 (libm-tests): Add $(libm-tests-narrow).
12848 (libm-tests-for-type): Handle $(libm-tests-narrow).
12849 (libm-test-c-narrow-obj): New variable.
12850 ($(libm-test-c-narrow-obj)): New rule.
12851 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
12852 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
12853 $(o-iterator) to set dependencies and CFLAGS.
12854 * math/gen-auto-libm-tests.c: Document use for narrowing
12855 functions.
12856 (output_for_one_input_case): Take argument NARROW.
12857 (generate_output): Likewise. Update call to
12858 output_for_one_input_case.
12859 (main): Take --narrow option. Update call to generate_output.
12860 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
12861 (apply_lit): Update call to _apply_lit.
12862 (apply_arglit): New function.
12863 (parse_args): Handle "a" arguments.
12864 (parse_auto_input): Handle format names using ":".
12865 * math/README.libm-test: Document "a" parameter type.
12866 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
12867 (ARG_TYPE_TRUE_MIN): Likewise.
12868 (ARG_TYPE_MAX): Likwise.
12869 (ARG_MIN_EXP): Likewise.
12870 (ARG_MAX_EXP): Likewise.
12871 (ARG_MANT_DIG): Likewise.
12872 (TEST_COND_arg_ibm128): Likewise.
12873 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
12874 (TEST_COND_arg_fmt): New macro.
12875 (init_max_error): Update prototype.
12876 * math/libm-test-support.c (test_ibm128): New variable.
12877 (init_max_error): Take argument testing_ibm128 and set test_ibm128
12878 instead of using [TEST_COND_ibm128] conditional.
12879 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
12880 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
12881 [TEST_NARROW] (TEST_MSG): New definition.
12882 (arg_plus_zero): New macro.
12883 (arg_minus_zero): Likewise.
12884 (arg_plus_infty): Likewise.
12885 (arg_minus_infty): Likewise.
12886 (arg_qnan_value_pl): Likewise.
12887 (arg_qnan_value): Likewise.
12888 (arg_snan_value_pl): Likewise.
12889 (arg_snan_value): Likewise.
12890 (arg_max_value): Likewise.
12891 (arg_min_value): Likewise.
12892 (arg_min_subnorm_value): Likewise.
12893 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
12894 (RUN_TEST_LOOP_aa_f): New macro.
12895 (TEST_SUFF): New macro.
12896 (TEST_SUFF_STR): Likewise.
12897 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
12898 (TEST_COND_any_ibm128): New macro.
12899 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
12900 this_func. Update call to init_max_error.
12901 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
12902 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
12903 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
12904 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
12905 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
12906 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
12907 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
12908 * math/test-math-scalar.h (TEST_NARROW): Likewise.
12909 * math/test-math-vector.h (TEST_NARROW): Likewise.
12910 * math/test-arg-double.h: New file.
12911 * math/test-arg-float128.h: Likewise.
12912 * math/test-arg-float32x.h: Likewise.
12913 * math/test-arg-float64.h: Likewise.
12914 * math/test-arg-float64x.h: Likewise.
12915 * math/test-arg-ldouble.h: Likewise.
12916 * math/test-math-narrow.h: Likewise.
12917 * math/test-narrow-macros.c: Likewise.
12918 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
12919 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
12920 test-narrow-macros-ldbl-64.
12921 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
12922
63716ab2
JM
12923 * math/bits/mathcalls-narrow.h: New file.
12924 * include/bits/mathcalls-narrow.h: Likewise.
12925 * math/math-narrow.h: Likewise.
12926 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
12927 (__MATHCALL_NARROW_ARGS_2): Likewise.
12928 (__MATHCALL_NARROW_ARGS_3): Likewise.
12929 (__MATHCALL_NARROW_NORMAL): Likewise.
12930 (__MATHCALL_NARROW_REDIR): Likewise.
12931 (__MATHCALL_NARROW): Likewise.
12932 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
12933 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
12934 defined.
12935 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
12936 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
12937 (libm-narrow-fns): New variable.
12938 (libm-narrow-types-basic): Likewise.
12939 (libm-narrow-types-ldouble-yes): Likewise.
12940 (libm-narrow-types-float128-yes): Likewise.
12941 (libm-narrow-types-float128-alias-yes): Likewise.
12942 (libm-narrow-types): Likewise.
12943 (libm-routines): Add narrowing functions.
12944 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
12945 (libc_feholdexcept_setroundf128): New macro.
12946 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
12947 * sysdeps/ieee754/float128/float128_private.h: Include
12948 <math/math-narrow.h>.
12949 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
12950 Undefine and redefine.
12951 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
12952 (libm_alias_float_ldouble): Undefine and redefine.
12953 (libm_alias_double_ldouble): Likewise.
12954
bfd47587
JM
12955 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
12956
3f8d9d58
WD
129572018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
12958
12959 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
12960 FPCR/FPSR.
12961
1f6676d7
RJ
129622018-02-09 Rical Jasan <ricaljasan@pacific.net>
12963
12964 * manual/creature.texi: Convert references to gcc.info to gcc.
12965 * manual/stdio.texi: Likewise.
12966 * manual/string.texi: Likewise.
12967
d80441dd
JM
129682018-02-07 Joseph Myers <joseph@codesourcery.com>
12969
15081be9
JM
12970 [BZ #17979]
12971 * posix/bits/types.h (__int_least8_t): New typedef.
12972 (__uint_least8_t): Likewise.
12973 (__int_least16_t): Likewise.
12974 (__uint_least16_t): Likewise.
12975 (__int_least32_t): Likewise.
12976 (__uint_least32_t): Likewise.
12977 (__int_least64_t): Likewise.
12978 (__uint_least64_t): Likewise.
12979 * sysdeps/generic/stdint.h (int_least8_t): Define using
12980 __int_least8_t.
12981 (int_least16_t): Define using __int_least16_t.
12982 (int_least32_t): Define using __int_least32_t.
12983 (int_least64_t): Define using __int_least64_t.
12984 (uint_least8_t): Define using __uint_least8_t.
12985 (uint_least16_t): Define using __uint_least16_t.
12986 (uint_least32_t): Define using __uint_least32_t.
12987 (uint_least64_t): Define using __uint_least64_t.
12988 * wcsmbs/uchar.h: Include <bits/types.h>.
12989 (char16_t): Define using __uint_least16_t conditional only on
12990 [!__USE_ISOCXX11].
12991 (char32_t): Define using __uint_least32_t conditional only on
12992 [!__USE_ISOCXX11].
12993 * wcsmbs/test-char-types.c: New file.
12994 * wcsmbs/Makefile (tests): Add test-char-types.
12995
d80441dd
JM
12996 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
12997 version to 4.0.1.
12998
6c6c962a
ZW
129992018-02-07 Zack Weinberg <zackw@panix.com>
13000
63fb8f9a
ZW
13001 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
13002 Delete all contents except for definitions of _G_HAVE_MMAP and
13003 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
13004 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
13005 sysdeps/unix/sysv/linux/_G_config.h. Make same content
13006 change as above.
13007
13008 * libio/libio.h: Don't include bits/_G_config.h here.
13009 Include stddef.h with __need_wchar_t defined. Include
13010 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
13011 Define _IO_iconv_t here, directly.
13012 Don't define _IO_HAVE_ST_BLKSIZE.
13013 * libio/libioP.h: Include _G_config.h here. Move include of
13014 shlib-compat.h up with rest of includes. Simplify conditionals
13015 controlling definition of _IO_JUMPS_OFFSET.
13016
13017 * csu/init.c: Remove always-true #if around entire file.
13018 Don't include stdio.h. Set _IO_stdin_used to hardwired
13019 constant 0x20001, and update commentary.
13020 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
13021 Replace all uses of _G_va_list with __gnuc_va_list.
13022 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
13023 instead of #if _IO_HAVE_ST_BLKSIZE.
13024 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
13025 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
13026 not #ifdef.
13027
6c6c962a
ZW
13028 * libio/bits/libio.h: Move back to libio/libio.h and adjust
13029 multiple-include guard to match.
13030 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
13031 into this file.
13032 Remove preprocessor conditionals that are always true and/or
13033 redundant to other preprocessor conditionals in the same nest.
13034 Include shlib-compat.h unconditionally.
13035 Error out if _LIBC is not defined, or if _ISOMAC is defined,
13036 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
13037 defined after including stdio.h.
13038 Use __BEGIN_DECLS/__END_DECLS.
13039
13040 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
13041 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
13042 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
13043
a4fea3f2
ZW
130442018-02-07 Zack Weinberg <zackw@panix.com>
13045
13046 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
13047 New single-type headers split from _G_config.h.
13048 * libio/bits/types/cookie_io_functions_t.h
13049 * libio/bits/types/struct_FILE.h
13050 New single-type headers split from libio.h.
13051
13052 * libio/Makefile: Install the above new headers. Don't install
13053 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
13054 bits/libio-ldbl.h.
13055 * libio/_G_config.h, libio/libio.h: Delete file.
13056
13057 * libio/bits/libio.h: Remove improper-inclusion guard.
13058 Include stdio.h and don't repeat anything that it does.
13059 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
13060 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
13061 __io_read_fn as cookie_read_function_t,
13062 __io_write_fn as cookie_write_function_t,
13063 __io_seek_fn as cookie_seek_function_t,
13064 __io_close_fn as cookie_close_function_t,
13065 and _IO_cookie_io_functions_t as cookie_io_functions_t.
13066 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
13067 here, in the "compatibility defines" section. Remove an #if 0
6c6c962a 13068 block. Use the "body" macros from bits/types/struct_FILE.h to
a4fea3f2
ZW
13069 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
13070 and _IO_ferror_unlocked.
13071 Move prototypes of __uflow and __overflow...
13072
13073 * libio/stdio.h: ...here. Don't include bits/libio.h.
13074 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
6c6c962a 13075 directly from stdarg.h. Include bits/types/__fpos_t.h,
a4fea3f2
ZW
13076 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
13077 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
13078 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
13079 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
13080 cookie_io_functions_t, not _IO_cookie_io_functions_t;
13081 __ssize_t, not _IO_ssize_t. Unconditionally define
13082 BUFSIZ as 8192 and EOF as (-1).
13083
13084 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
13085 macros from bits/types/struct_FILE.h instead of _IO_* macros
13086 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
13087 instead of _IO_ssize_t.
13088 * libio/bits/stdio2.h: Similarly.
13089
13090 * libio/iolibio.h: Add multiple-include guard.
13091 Include bits/libio.h after stdio.h.
13092 * libio/libioP.h: Add multiple-include guard.
13093 Include stdio.h and bits/libio.h before iolibio.h.
13094
6c6c962a 13095 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
a4fea3f2
ZW
13096 * include/bits/types/cookie_io_functions_t.h
13097 * include/bits/types/struct_FILE.h: New wrappers.
13098
13099 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
6c6c962a
ZW
13100 Get definitions of _G_fpos_t and _G_fpos64_t from
13101 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
13102 respectively. Remove improper-inclusion guards.
a4fea3f2 13103
6c6c962a 13104 * conform/data/stdio.h-data: Update expectations of va_list.
a4fea3f2 13105 * scripts/check-installed-headers.sh: Remove special case for
6c6c962a 13106 libio.h and _G_config.h.
a4fea3f2 13107
ce999220
JM
131082018-02-07 Joseph Myers <joseph@codesourcery.com>
13109
8b4a1182
JM
13110 [BZ #15105]
13111 [BZ #19463]
13112 * include/sys/sysmacros.h [!_ISOMAC]
13113 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
13114 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
13115 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
13116 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
13117 libc_hidden_proto.
13118 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
13119 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
13120 Likewise.
13121 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
13122 Undefine and redefine to add use __gnu_dev_ prefix.
13123 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
13124 Likewise.
13125 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
13126 and define as hidden inline function.
13127 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
13128 Likewise.
13129 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
13130 Likewise.
13131 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
13132 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
13133 (gnu_dev_minor): Likewise.
13134 (gnu_dev_makedev): Likewise.
13135 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
13136 makedev.
13137 * posix/wordexp.c (exec_comm_child): Likewise.
13138 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
13139 instead of minor and __gnu_dev_major instead of major.
13140 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
13141 __gnu_dev_major instead of major.
13142 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
13143 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
13144 instead of gnu_dev_minor.
13145 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
13146 (SLAVE_P): Likewise.
13147 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
13148 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
13149 instead of major.
13150
ce999220
JM
13151 [BZ #21313]
13152 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
13153 in another place.
13154 * locale/weightwc.h (findidx): Likewise.
13155
b7c83ca3
WD
131562018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
13157
13158 * manual/probes.texi (slowlog): Delete documentation of removed probe.
13159 (slowlog_inexact): Likewise
13160 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
13161 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
13162
388ff7bd
IG
131632018-02-07 Igor Gnatenko <ignatenko@redhat.com>
13164
13165 [BZ #22797]
13166 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
13167 missing second underscore to parameter name.
13168
663e7d78
JM
131692018-02-06 Joseph Myers <joseph@codesourcery.com>
13170
0d40d0ec
JM
13171 [BZ #14508]
13172 [BZ #15512]
13173 [BZ #17082]
13174 [BZ #20530]
13175 * bits/byteswap.h: Update file comment. Do not include
13176 <bits/byteswap-16.h>.
13177 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
13178 constant.
13179 (__bswap_16): Define as inline function.
13180 (__bswap_constant_32): Reformat definition.
13181 (__bswap_32): Always define as inline function, not macro, using
13182 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
13183 otherwise __bswap_constant_32.
13184 (__bswap_constant_64): Reformat definition. Do not use
13185 __extension__ here.
13186 (__bswap_64): Always define as inline function, not macro. Use
13187 __extension__ on function definition. Use __builtin_bswap64 if
13188 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
13189 * string/test-endian-file-scope.c: New file.
13190 * string/test-endian-sign-conversion.c: Likewise.
13191 * string/Makefile (headers): Remove bits/byteswap-16.h.
13192 (tests): Add test-endian-file-scope and
13193 test-endian-sign-conversion.
13194 (CFLAGS-test-endian-sign-conversion.c): New variable.
13195 * bits/byteswap-16.h: Remove file.
13196 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
13197 * sysdeps/ia64/bits/byteswap.h: Likewise.
13198 * sysdeps/m68k/bits/byteswap.h: Likewise.
13199 * sysdeps/s390/bits/byteswap-16.h: Likewise.
13200 * sysdeps/s390/bits/byteswap.h: Likewise.
13201 * sysdeps/tile/bits/byteswap.h: Likewise.
13202 * sysdeps/x86/bits/byteswap-16.h: Likewise.
13203 * sysdeps/x86/bits/byteswap.h: Likewise.
13204
383e87c9
JM
13205 [BZ #17721]
13206 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
13207 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
13208 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
13209 199901L] (__restrict): Define to restrict.
13210
d92c2759
JM
13211 [BZ #19667]
13212 * string/testcopy.c: Include <support/support.h>. Do not include
13213 <malloc.h>. Use <support/test-driver.c>.
13214 (main): Rename to do_test. Make static. Use xmalloc instead of
13215 malloc.
13216
625fb764
JM
13217 [BZ #13575]
13218 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
13219 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
13220 (SSIZE_MAX): Define to INT_MAX.
13221 * posix/test-ssize-max.c: New file.
13222 * posix/Makefile (tests): Add test-ssize-max.
13223
02325d6c
JM
13224 [BZ #19668]
13225 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
13226 <support/support.h>. Do not include <malloc.h>.
13227 (query_auxv): Use xmalloc instead of malloc.
13228
663e7d78
JM
13229 [BZ #14553]
13230 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
13231 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
13232 instead of loff_t.
13233
6d7aa2b5
FW
132342018-02-06 Florian Weimer <fweimer@redhat.com>
13235
13236 [BZ #18023]
13237 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13238 Use scratch_buffer instead of extend_alloca.
13239
de6da571
ZW
132402018-02-06 Zack Weinberg <zackw@panix.com>
13241
26c07172
ZW
13242 * libio/stdio.h: Don't define getc or putc as macros.
13243 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
13244 not _IO_getc and _IO_putc.
13245
de6da571
ZW
13246 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
13247 * stdio-common/tstgetln.c: Don't redefine ssize_t.
13248
92669d6e
JM
132492018-02-06 Joseph Myers <joseph@codesourcery.com>
13250
c2b84df9
JM
13251 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
13252 (TCP_FASTOPEN_NO_COOKIE): Likewise.
13253
41376f8c
JM
13254 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
13255
d28bf648
JM
13256 [BZ #14890]
13257 * elf/elf.h (NT_PRFPREG): New macro.
13258 (NT_S390_VXRS_LOW): Likewise.
13259 (NT_S390_VXRS_HIGH): Likewise.
13260 (NT_S390_GS_CB): Likewise.
13261 (NT_S390_GS_BC): Likewise.
13262 (NT_S390_RI_CB): Likewise.
13263
e76def72
JM
13264 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
13265 (MAP_SYNC): New macro.
13266 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
13267 Likewise.
13268 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
13269 (MAP_SYNC): Likewise.
13270 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
13271 (MAP_SYNC): Likewise.
13272 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
13273 (MAP_SYNC): Likewise.
13274 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
13275 (MAP_SYNC): Likewise.
13276 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
13277 (MAP_SYNC): Likewise.
13278 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
13279 (MAP_SYNC): Likewise.
13280 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
13281 Likewise.
13282 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
13283 Likewise.
13284
92669d6e
JM
13285 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
13286 (MAP_SHARED_VALIDATE): New macro.
13287 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
13288 (MAP_SHARED_VALIDATE): Likewise.
13289
6a5cac49
L
132902018-02-05 H.J. Lu <hongjiu.lu@intel.com>
13291
13292 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
13293 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
13294 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
13295
b44e0dfb
L
132962018-02-05 H.J. Lu <hongjiu.lu@intel.com>
13297
13298 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
13299 (DT_NUM): Updated to 35.
13300
f886c16c
L
133012018-02-05 H.J. Lu <hongjiu.lu@intel.com>
13302
13303 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
13304 __builtin_expect with __glibc_likely and __glibc_unlikely.
13305 (elf_machine_rela): Likewise.
13306 (elf_machine_lazy_rel): Likewise.
13307
06fbebff
L
133082018-02-05 H.J. Lu <hongjiu.lu@intel.com>
13309
13310 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
8f4bf93f 13311 __builtin_expect with __glibc_likely and __glibc_unlikely.
06fbebff
L
13312 (elf_machine_lazy_rel): Likewise.
13313
371b220f
L
133142018-02-05 H.J. Lu <hongjiu.lu@intel.com>
13315
13316 [BZ #22638]
13317 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
13318 SHARED.
65805016 13319 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
371b220f 13320
f649a1b8
AS
133212018-02-05 Andreas Schwab <schwab@suse.de>
13322
13323 [BZ #22761]
13324 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
13325 string.
13326
9fdb340e
ST
133272018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13328
13329 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
13330 not check against PTHREAD_STACK_MIN.
13331
09e56b9e
SM
133322018-02-02 Sean McKean <smckean83@gmail.com>
13333
13334 [BZ #22735]
13335 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
13336
d4b4a00a
FW
133372018-02-02 Florian Weimer <fweimer@redhat.com>
13338
13339 [BZ #22753]
13340 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
13341 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
13342 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
13343 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
13344 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
13345 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
13346 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
13347 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
13348 * manual/llio.texi (Scatter-Gather): Mention offset -1.
13349 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
13350 * misc/tst-preadvwritev2.c (do_test): Call it.
13351 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
13352
3dfcbfa1
SP
133532018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
13354
84c94d2f
SP
13355 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
13356
96e6a716
SP
13357 * benchtests/bench-memcmp.c: Print json instead of plain text.
13358
3dfcbfa1
SP
13359 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
13360 every test run.
13361
049375e2
JM
133622018-02-01 Joseph Myers <joseph@codesourcery.com>
13363
39f898c6
JM
13364 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13365 version to 4.15.
13366 (s390_sthyi): New syscall.
13367
6f9a3dd8
JM
13368 * sysdeps/generic/ldbl-classify-compat.h: New file.
13369 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
13370 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
13371 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
13372 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
13373 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
13374 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
13375 * sysdeps/ieee754/dbl-64/s_finite.c: Include
13376 <ldbl-classify-compat.h>.
13377 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
13378 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
13379 <ldbl-classify-compat.h>.
13380 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
13381 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
13382 <ldbl-classify-compat.h>.
13383 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
13384 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
13385 <ldbl-classify-compat.h>.
13386 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
13387 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
13388 <ldbl-classify-compat.h>.
13389 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
13390 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
13391 <ldbl-classify-compat.h>.
13392 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
13393 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
13394 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
13395 * sysdeps/m68k/coldfire/math_private.h: Remove file.
13396 * sysdeps/microblaze/math_private.h: Likewise.
13397 * sysdeps/nios2/math_private.h: Likewise.
13398 * sysdeps/sh/math_private.h: Likewise.
13399
eb65a3d5
JM
13400 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
13401 * sysdeps/m68k/coldfire/math_private.h: ... here.
13402 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
13403 * sysdeps/tile/math_private.h: Likewise.
13404 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
13405 Remove macro.
13406 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
13407 Likewise.
13408
8a6bb1d0
JM
13409 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
13410 Remove macro.
13411 (libc_fetestexcept): Likewise.
13412 (libc_feupdateenv_test): Likewise.
13413 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
13414 (libc_fetestexcept): Likewise.
13415 (libc_feupdateenv_test): Likewise.
13416 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
13417 (libc_fetestexcept): Likewise.
13418 (libc_feupdateenv_test): Likewise.
13419 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
13420 (libc_fetestexcept): Likewise.
13421 (libc_feupdateenv_test): Likewise.
13422
ae1fcb7b
JM
13423 * sysdeps/generic/math_private.h
13424 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
13425 New inline function.
13426 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
13427 Likewise.
13428
b1c347e2
JM
13429 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
13430 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
13431 * sysdeps/generic/math_private.h
13432 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
13433 inline function.
13434 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
13435 Likewise.
13436 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
13437 Likewise.
13438 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
13439 Likewise.
13440 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
13441 Likewise.
13442 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
13443 Likewise.
13444 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
13445 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
13446 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
13447 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
13448 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
13449 (__fegetenv): Likewise.
13450 (fesetenv): Likewise.
13451 (__fesetenv): Likewise.
13452 (feupdateenv): Likewise.
13453 (__feupdateenv): Likewise.
13454 (fegetround): Likewise.
13455 (__fegetround): Likewise.
13456 (fesetround): Likewise.
13457 (__fesetround): Likewise.
13458
d23a4962
JM
13459 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
13460 (feraiseexcept): New macro.
13461 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
13462 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
13463 Remove macro.
13464 (__feraiseexcept): Likewise.
13465 (feclearexcept): Likewise.
13466 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
13467 (__feraiseexcept): Likewise.
13468 (feclearexcept): Likewise.
13469 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
13470 (__feraiseexcept): Likewise.
13471 (feclearexcept): Likewise.
13472 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
13473 (__feraiseexcept): Likewise.
13474 (feclearexcept): Likewise.
13475 (fetestexcept): Likewise.
13476
5f167950
JM
13477 * sysdeps/m68k/coldfire/math-tests.h: New file.
13478
ccc9035a
JM
13479 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
13480 * sysdeps/m68k/bits/fenv.h: ... here.
13481 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
13482 not define.
13483 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
13484 Likewise.
13485 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
13486 Likewise.
13487 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
13488 Likewise.
13489 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
13490 Likewise.
13491 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
13492 Define to 0.
13493 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
13494 (__FE_UNDEFINED): New enum constant.
13495 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
13496 Do not define.
13497 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
13498 Likewise.
13499 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
13500 Likewise.
13501 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
13502 to match generic bits/fenv.h.
13503 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
13504 Do not define.
13505
049375e2
JM
13506 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
13507 packed on bits.
13508 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
13509 * soft-fp/half.h (union _FP_UNION_H): Likewise.
13510 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
13511 * soft-fp/single.h (union _FP_UNION_S): Likewise.
13512
f1d73681
CD
135132018-02-01 Carlos O'Donell <carlos@redhat.com>
13514 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
13515 Joseph Myers <joseph@codesourcery.com>
13516
13517 [BZ #21314]
13518 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
13519 (__log1p): Disable -Wmaybe-uninitialized for -Os around
13520 computation using c.
13521 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
13522 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
13523 computation using c.
13524
242cbc90
DL
135252018-02-01 Dmitry V. Levin <ldv@altlinux.org>
13526
086ee48e
DL
13527 * version.h (RELEASE): Set to "development".
13528 (VERSION): Set to "2.27.9000".
13529 * NEWS (2.28): New section.
13530
23158b08
DL
13531 * version.h (RELEASE): Set to "stable".
13532 (VERSION): Set to "2.27".
13533 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
13534
242cbc90
DL
13535 * NEWS: Add the list of bugs fixed in 2.27.
13536
673e2305
AZ
135372018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13538
13539 * stdlib/test-atexit-race-common.c (do_test): Check stack size
13540 against PTHREAD_STACK_MIN.
13541
ced64e01
DL
135422018-02-01 Dmitry V. Levin <ldv@altlinux.org>
13543
13544 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
13545 New entries.
13546 (Rafal Luzynski, Andreas Schwab): Update.
13547
c10c9a5e
RL
135482018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
13549
13550 [BZ #10871]
13551 * NEWS: List the languages which actually use the alternative
13552 months feature in this release. Also explain that "alt_mon" and
13553 "ab_alt_mon" are optional.
13554
650ba77a
IM
135552018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
13556
13557 [BZ #22765]
13558 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
13559
93493119
DL
135602018-01-31 Dmitry V. Levin <ldv@altlinux.org>
13561
13562 * manual/install.texi (Tools for Compilation): Update the newest
13563 versions of gcc, binutils, texinfo, gawk, bison, and sed.
13564 * INSTALL: Regenerated.
13565
363e4519 135662018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
407552cf
ST
13567
13568 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
13569 instead of __builtin_expect.
13570
d7536874
FW
135712018-01-30 Florian Weimer <fweimer@redhat.com>
13572
13573 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
13574 data.
13575 * nss/tst-nss-getpwent.c (do_test): Likewise.
13576
9a1b267d
RL
135772018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
13578
13579 [BZ #10871]
13580 * localedata/locales/hr_HR (mon): Rename to...
13581 (alt_mon): This.
13582 (mon): Import from CLDR (genitive case).
13583 (d_t_fmt): Update the comment.
13584
9a179328
AS
135852018-01-29 Andreas Schwab <schwab@linux-m68k.org>
13586
13587 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
13588 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
13589 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
13590
e01e0ddc
ST
135912018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
13592
13593 * mach/Versions: Fix version when __mach_host_self_ was added.
13594 * hurd/Versions: Fix version when _hurd_exec_paths was added.
13595 * sysdeps/mach/hurd/i386/ld.abilist: New file.
13596 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
13597 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
13598 * sysdeps/mach/hurd/i386/libc.abilist: New file.
13599 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
13600 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
13601 * sysdeps/mach/hurd/i386/libm.abilist: New file.
13602 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
13603 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
13604 * sysdeps/mach/hurd/i386/librt.abilist: New file.
13605 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
ba729de6
ST
13606 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
13607 || to respect codestyle.
2aadb705
ST
13608 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
13609 (do_test_bz20181): Rename accordingly.
406e7a0a
ST
13610 * malloc/malloc.c: Include <assert.h>.
13611 (assert): Do not define.
13612 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
99dfbef4
ST
13613 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
13614 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
ac56adbb 13615 * sysdeps/mach/hurd/hp-timing.h: New file.
ef4cf463 13616 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
e01e0ddc 13617
521877e1
PD
136182018-01-29 Darius Rad <darius@bluespec.com>
13619
13620 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
13621
532cf290
PD
136222018-01-29 Palmer Dabbelt <palmer@sifive.com>
13623
13624 * sysdeps/init_array/crti.S (.section .init_array): Add
13625 PREINIT_FUNCTION when defined.
40ca951b 13626 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
4215e276 13627 * config.h.in: Regenerate.
ba9e25a6
PD
13628 * manual/platform.texi: Add RISC-V documenation for
13629 __riscv_flush_icache.
c776fa11
PD
13630 * sysdeps/riscv/__longjmp.S: New file.
13631 * sysdeps/riscv/backtrace.c: Likewise.
13632 * sysdeps/riscv/bits/endian.h: Likewise.
13633 * sysdeps/riscv/bits/setjmp.h: Likewise.
13634 * sysdeps/riscv/bits/wordsize.h: Likewise.
13635 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
13636 * sysdeps/riscv/bsd-setjmp.c: Likewise.
13637 * sysdeps/riscv/dl-trampoline.S: Likewise.
13638 * sysdeps/riscv/gccframe.h: Likewise.
13639 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
13640 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
13641 * sysdeps/riscv/machine-gmon.h: Likewise.
13642 * sysdeps/riscv/memusage.h: Likewise.
13643 * sysdeps/riscv/setjmp.S: Likewise.
13644 * sysdeps/riscv/sys/asm.h: Likewise.
13645 * sysdeps/riscv/tls-macros.h: Likewise.
33712660
PD
13646 * sysdeps/riscv/dl-tls.h: New file.
13647 * sysdeps/riscv/libc-tls.c: Likewise.
13648 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
13649 * sysdeps/riscv/nptl/tls.h: Likewise.
13650 * sysdeps/riscv/stackinfo.h: Likewise.
67236aeb
PD
13651 * sysdeps/riscv/bits/fenv.h: New file.
13652 * sysdeps/riscv/e_sqrtl.c: Likewise.
13653 * sysdeps/riscv/fpu_control.h: Likewise.
13654 * sysdeps/riscv/math-tests.h: Likewise.
13655 * sysdeps/riscv/nofpu/Implies: Likewise.
13656 * sysdeps/riscv/sfp-machine.h: Likewise.
13657 * sysdeps/riscv/tininess.h: Likewise.
b2cb5e02
PD
13658 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
13659 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
13660 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
13661 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
13662 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
13663 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
13664 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
13665 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
13666 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
13667 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
13668 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
13669 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
13670 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
13671 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
13672 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
13673 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
13674 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
13675 * sysdeps/riscv/rvd/s_finite.c: Likewise.
13676 * sysdeps/riscv/rvd/s_fma.c: Likewise.
13677 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
13678 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
13679 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
13680 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
13681 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
13682 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
13683 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
13684 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
13685 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
13686 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
13687 * sysdeps/riscv/rvf/fegetround.c: Likewise.
13688 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
13689 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
13690 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
13691 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
13692 * sysdeps/riscv/rvf/fesetround.c: Likewise.
13693 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
13694 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
13695 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
13696 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
13697 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
13698 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
13699 * sysdeps/riscv/rvf/math_private.h: Likewise.
13700 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
13701 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
13702 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
13703 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
13704 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
13705 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
13706 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
13707 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
13708 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
13709 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
13710 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
13711 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
13712 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
13713 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
13714 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
13715 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
d1c09b24
PD
13716 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
13717 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
13718 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
13719 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
36960f0c
PD
13720 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
13721 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
13722 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
13723 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
13724 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
13725 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
13726 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
13727 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
13728 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
7f33b09c
PD
13729 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
13730 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
13731 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
13732 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
13733 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
13734 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
13735 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
13736 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
13737 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
13738 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
13739 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
13740 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
13741 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
13742 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
13743 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
13744 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
13745 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
13746 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
13747 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
13748 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
13749 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
13750 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
ee53fed9
PD
13751 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
13752 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
13753 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
2268c433
PD
13754 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
13755 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
13756 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
13757 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
13758 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
13759 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
13760 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
13761 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
13762 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
13763 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
13764 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13765 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
13766 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
13767 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
c5061557
PD
13768 * sysdeps/riscv/Implies: New file.
13769 * sysdeps/riscv/Makefile: Likewise.
13770 * sysdeps/riscv/configure: Likewise.
13771 * sysdeps/riscv/configure.ac: Likewise.
13772 * sysdeps/riscv/nptl/Makefile: Likewise.
13773 * sysdeps/riscv/preconfigure: Likewise.
13774 * sysdeps/riscv/rv64/Implies-after: Likewise.
13775 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
13776 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
13777 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
13778 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
13779 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
13780 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
13781 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
13782 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
13783 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
13784 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
13785 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
0fd5d876
PD
13786 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
13787 (Config): Likewise.
532cf290 13788
cdd14619
FW
137892018-01-29 Florian Weimer <fweimer@redhat.com>
13790
13791 [BZ #22701]
13792 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
13793 libnsl_hidden_proto.
13794 * include/rpcsvc/yp.h (yp_xdrall): Declare with
13795 libnsl_hidden_proto.
13796 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
13797 * nis/Makefile (libnsl-routines): Add nss-default only for
13798 build-obsolete-nsl.
13799 * nis/nis_defaults.c (__nis_default_ttl): Add
13800 libnsl_hidden_nolink_def.
13801 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
13802 declaration.
13803 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
13804 * nis/ypclnt.c (yp_maplist): Likewise.
13805
b7ccb5de
RN
138062018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
13807
13808 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13809 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
13810
522623e4
JM
138112018-01-29 Joseph Myers <joseph@codesourcery.com>
13812
e3aa6999
JM
13813 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
13814 clean -dxfq for git updates when replacing sources.
13815
088de7d0
JM
13816 * scripts/build-many-glibcs.py (Config.build_gcc): Use
13817 --disable-libcilkrts unconditionally, not just for the final GCC
13818 build for Hurd.
13819
522623e4
JM
13820 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13821 version to 4.15.
13822
8b406f87
RL
138232018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
13824
13825 [BZ #10871]
13826 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
13827 case).
13828
105e90bd
RL
138292018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
13830
13831 [BZ #10871]
13832 * localedata/locales/be_BY (mon): Rename to...
13833 (alt_mon): This, then synchronize with CLDR (nominative case).
13834 (abmon): Rename to...
13835 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
13836 (mon): Import from CLDR (genitive case).
13837 (abmon): Likewise.
13838 * localedata/locales/be_BY@latin (mon): Rename to...
13839 (alt_mon): This.
13840 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
13841
13842 * localedata/locales/be_BY@latin (lang_name): Reworded to
13843 "biełaruskaja mova".
13844
561cb414
RL
138452018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
13846
13847 [BZ #10871]
13848 * localedata/locales/el_CY (mon): Renamed to...
13849 (alt_mon): This.
13850 (mon): Import from CLDR (genitive case).
13851 * localedata/locales/el_GR: Likewise.
13852
f7bdf30d
RL
138532018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
13854
13855 [BZ #10871]
13856 * localedata/locales/ru_RU (mon): Rename to...
13857 (alt_mon): This.
13858 (abmon): Rename to...
13859 (ab_alt_mon): This.
13860 (mon): Import from CLDR (genitive case).
13861 (abmon): Copy from the old content except the 5th month which is
13862 now in the genitive case, even when abbreviated.
13863 * localedata/locales/ru_UA: Likewise.
13864 * time/tst-strptime.c (day_tests): Add an actual example of
13865 a difference between %b and %Ob in Russian.
13866
85285a0c
ST
138672018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13868
13869 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
da8168df
ST
13870 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
13871 a `c' variable.
3538a4b6 13872 * resolv/res-close.c: Include <stdlib.h>.
b29848b9
ST
13873 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
13874 <sys/wait.h>, <time.h>, <sys/uio.h>.
13875 (NOT_CANCEL_H): Add inclusion guard.
4f66dc23 13876 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
147d1dbb
ST
13877 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
13878 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
13879 return 0.
05ebfe87
ST
13880 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
13881 vm_address_t * to ElfW(Addr) * for dl_main parameter.
61a3a8c6
ST
13882 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
13883 instead of void *.
13884 * sysdeps/pthread/timer_create.c (timer_create): Do not use
13885 timer_ptr2id to cast struct timer_node * to void *.
d4d5b2dd
ST
13886 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
13887 --disable-libcilkrts to gcc configure.
19fd8d0d
ST
13888 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
13889 and make them the default for now.
903d3633
ST
13890 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
13891 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
7dab2d00
ST
13892 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
13893 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
13894 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
13895 MACH_IPC_COMPAT.
06fac9f5
ST
13896 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
13897 __task_terminate would ever return successfully.
f8177753
ST
13898 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
13899 to global scope.
41cdb1eb
ST
13900 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
13901 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
660b7bff
ST
13902 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
13903 critical section to make code simpler and avoid warning.
13904 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
13905 critical section to make code simpler and avoid warning.
844bf921
ST
13906 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
13907 const char * instead of char *.
f8bee46c
ST
13908 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
13909 __hurd_file_name_split, hurd_file_name_split,
13910 __hurd_directory_name_split, hurd_directory_name_split,
13911 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
13912 hurd_file_name_path_lookup): Make lookup function parameter take a
13913 const char *name instead of char *name.
13914 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
13915 __hurd_directory_name_split): Likewise.
13916 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
13917 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
40066975
ST
13918 * sysdeps/mach/hurd/check_native.c: New file.
13919 * sysdeps/mach/hurd/check_pf.c: New file.
7c5b106d
ST
13920 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
13921 (__freeifaddrs): Define macro to freeifaddrs.
5f982b0b
ST
13922 * sysdeps/mach/hurd/libhurduser.abilist: New file.
13923 * sysdeps/mach/libmachuser.abilist: New file.
cef7166a
ST
13924 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
13925 (do_test_bz20181): Rename accordingly.
13926 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
3fc1ecf9
ST
13927 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
13928 <sys/mount.h>.
28f6186f
ST
13929 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
13930 version only if __USE_EXTERN_INLINES is defined.
13931 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
13932 __hurd_sockfail): Likewise.
13933 (_hurd_fd_get): Always declare functions, and provide inline versions
13934 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
13935 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
13936 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
13937 _hurd_port_set): Always declare functions, and provide inline versions
13938 only if __USE_EXTERN_INLINES and _LIBC are defined and
13939 IS_IN(libc).
13940 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
13941 _hurd_critical_section_unlock): Likewise.
13942 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
13943 * __hurd_threadvar_location): Likewise.
13944 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
13945 _hurd_userlink_clear): Likewise.
13946 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
13947 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
13948 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
13949 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
13950 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
13951 __spin_lock_locked): Likewise.
13952 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
13953 __spin_lock_locked): Likewise.
13954 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
13955 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
13956 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
13957 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
13958 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
b1025304
ST
13959 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
13960 _POSIX_NO_TRUNC): Define to 0.
a902a086
ST
13961 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
13962 check size against PTHREAD_STACK_MIN.
625ba81e
ST
13963 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
13964 IS_IN(libpthread)]: Include <sigsetops.h>.
2e52dff4
ST
13965 * mach/Makefile (user-interfaces): Add mach/gnumach.
13966 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
13967 * sysdeps/mach/configure (mach_interface_list): Regenerate.
80463dc6
ST
13968 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
13969 instead of invalid -1.
1f89ac71
ST
13970 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
13971 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
13972 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
13973 <net/ppp_defs.h>.
85285a0c 13974
1fd1e27c 139752018-01-27 Thomas Schwinge <tschwinge@gnu.org>
84814e2a
TS
13976
13977 * hurd/fcntl-internal.h: New file.
13978
3854c5a8
JC
139792018-01-27 James Clarke <jrtc27@jrtc27.com>
13980
7e23a7dd
JC
13981 * sysdeps/hppa/fpu/libm-test-ulps: Update.
13982
3854c5a8
JC
13983 * sysdeps/alpha/fpu/libm-test-ulps: Update.
13984
5503f413
AS
139852018-01-26 Andreas Schwab <schwab@linux-m68k.org>
13986
13987 [BZ #22701]
13988 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
13989 Build only shared objects.
13990
caaf7804
CD
139912018-01-26 Carlos O'Donell <carlos@redhat.com>
13992
13993 * README: Update for hppa.
13994
1cbf818d
PM
139952018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
13996
caaf7804
CD
13997 * sysdeps/sparc/fpu/libm-test-ulps: Update
13998 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
1cbf818d 13999
caaf7804 140002018-01-26 Carlos O'Donell <carlos@redhat.com>
2ec0e7ea
CD
14001
14002 Revert:
14003
14004 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
14005
14006 [BZ #22563]
14007 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
14008 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
14009 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
14010 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
14011 to feature_1.
14012
14013 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
14014
14015 [BZ #22563]
14016 * bits/types/__cancel_jmp_buf_tag.h: New file.
14017 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
14018 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
14019 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
14020 * nptl/Makefile (headers): Add
14021 bits/types/__cancel_jmp_buf_tag.h.
14022 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
14023 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
14024 * sysdeps/nptl/pthread.h: Include
14025 <bits/types/__cancel_jmp_buf_tag.h>.
14026 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
14027 __cancel_jmp_buf.
14028 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
14029
65f6c94e
RL
140302018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
14031
14032 [BZ #10871]
14033 * localedata/locales/uk_UA (mon): Renamed to...
14034 (alt_mon): This.
14035 (alt_digits): "0" removed and then renamed to...
14036 (mon): This.
14037 (date_fmt): Definition changed not to use the alternative
14038 digits hack.
14039
fb58aac5
PD
140402018-01-25 Palmer Dabbelt <palmer@sifive.com>
14041
14042 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
14043 FLAG_RISCV_FLOAT_ABI_DOUBLE.
14044 * elf/elf.h (EF_RISCV_RVC): New define.
14045 (EF_RISCV_FLOAT_ABI): Likewise.
14046 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
14047 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
14048 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
14049 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
14050 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
14051 define.
14052 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
14053
128c43a2
AS
140542018-01-25 Andreas Schwab <schwab@suse.de>
14055
14056 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
14057 single quotes.
14058 * sysdeps/gnu/configure: Regenerate.
14059 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
14060 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
14061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
14062 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
14063 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
14064 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
14065 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
14066 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
14067
f9015003
ST
140682018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
14069
48130690 14070 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
47c4b4b0 14071 URL, and run autoconf, make it the default for now.
f9015003 14072
91b2cffa
JM
140732018-01-24 Joseph Myers <joseph@codesourcery.com>
14074
3005b705
JM
14075 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
14076 soft-float ColdFire configuration.
14077
69231fab
JM
14078 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
14079 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
14080 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
14081
d4c7e1d0
JM
14082 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
14083 MicroBlaze file.
14084
0cfe5be5
JM
14085 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
14086 ....
14087 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
14088 ... here.
14089 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
14090 New file.
14091
91b2cffa
JM
14092 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
14093 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
14094 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
14095 file.
14096
c739e191
SN
140972018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
14098
14099 [BZ #22742]
14100 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
14101 Rename to __reserved and add comment.
14102 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
14103 Rename to __reserved.
14104
394b5bac
JM
141052018-01-24 Joseph Myers <joseph@codesourcery.com>
14106
14107 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
14108 i686-gnu configurations.
14109 (Context.run_builds): Include mig, gnumach and hurd in components
14110 considered.
14111 (Context.checkout): Add mig, gnumach and hurd to components.
14112 (Context.checkout_tar): Add URL mappings for mig, gnumach and
14113 hurd.
14114 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
14115 (Config.build): Install gnumach headers, build mig and install
14116 hurd headers for 'gnu' OS.
14117 (Config.install_gnumach_headers): New function.
14118 (Config.install_hurd_headers): Likewise.
14119 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
14120 when building for 'gnu' OS.
14121
28c3f14f
TK
141222018-01-23 Tobias Klauser <tklauser@distanz.ch>
14123
14124 * manual/tunables.texi (Hardware Capability Tunables): Fix
14125 spelling.
14126
0f5e2da1
RJ
141272018-01-22 Rical Jasan <ricaljasan@pacific.net>
14128
14129 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
14130 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
14131 (ALTMON_11, ALTMON_12): Improve documentation.
14132 * manual/time.texi (strftime): Likewise.
14133
7817b14a
RL
141342018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
14135
14136 [BZ #10871]
14137 * localedata/locales/pl_PL: Alternative month names added,
14138 primary month names are genitive now.
14139 * time/tst-strptime.c (day_tests): Actually use a genitive case
14140 of a month name in Polish language.
14141
22390764
RL
141422018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
14143
14144 [BZ #10871]
14145 * manual/locale.texi: Document ALTMON_1..12 constants for
14146 nl_langinfo. Specify when to use ALTMON instead of MON.
14147 * manual/time.texi (strftime, strptime): Document GNU extension
14148 permitting O modifier with %B and %b. Specify when to use
14149 %OB instead of %B.
14150
761a585c
RL
141512018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
14152
14153 [BZ #10871]
14154 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
14155 names, define them as the same as abbreviated month names explicitly.
14156 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
14157 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
14158 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
14159 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
14160 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
14161 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
14162 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
14163 _NL_WABALTMON_12): New enum constants.
14164 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
14165 wab_alt_mon, and ab_alt_mon_defined members.
14166 (time_output): Output ab_alt_mon and wab_alt_mon members.
14167 (time_read): Read them, initialize them as copies of abmon and wabmon
14168 respectively if they are missing, initialize ab_alt_mon_defined.
14169 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
14170 * locale/programs/locfile-kw.h: Regenerate.
14171 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
14172 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
14173 and ru_RU.UTF-8.
14174 * time/strftime_l.c (a_altmonth, aam_len): New macros.
14175 [!COMPILE_WIDE] (ABALTMON_1): New macro.
14176 (__strftime_internal): Handle %Ob and %Oh formats.
14177 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
14178 (__strptime_internal): Handle %Ob and %Oh formats.
14179 * time/tst-strptime.c (day_tests): Add more tests to parse different
14180 forms of month names including the new %Ob format specifier.
14181
95cb863a
RL
141822018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
14183
14184 [BZ #10871]
14185 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
14186 define them as the same as primary full month names explicitly.
14187 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
14188 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
14189 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
14190 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
14191 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
14192 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
14193 _NL_WALTMON_12): New enum constants.
14194 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
14195 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
14196 macros.
14197 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
14198 walt_mon, and alt_mon_defined members.
14199 (time_output): Output alt_mon and walt_mon members.
14200 (time_read): Read them, initialize them as copies of mon and wmon
14201 respectively if they are missing, initialize alt_mon_defined.
14202 * locale/programs/locfile-kw.gperf (alt_mon): Define.
14203 * locale/programs/locfile-kw.h: Regenerate.
14204 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
14205 * localedata/tst-langinfo.c (map): Add tests for the new constants
14206 ALTMON_1 .. ALTMON_12.
14207 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
14208 and pl_PL.UTF-8.
14209 * time/strftime_l.c (f_altmonth): New macro.
14210 (__strftime_internal): Handle %OB format.
14211 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
14212 (__strptime_internal): Handle %OB format.
14213 * time/tst-strptime.c (day_tests): Add tests to parse different forms
14214 of month names including the new %OB format specifier.
14215
4612268a
TMQMF
142162018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14217
14218 [BZ #22685]
14219 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
14220 from ABORT_TRANSACTION.
14221 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
14222 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
14223 ABORT_TRANSACTION_IMPL): Likewise.
14224 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
14225 Linux code, but remove the code that aborts transactions.
14226
64f63cb4
ST
142272018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
14228
14229 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
14230
32ac6e92
RL
142312018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
14232
14233 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
14234 in date: "2004-14-09" should be "2004-09-14".
14235 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
14236 "2003-15-09" should be "2003-09-15".
14237
8e448310
AS
142382018-01-18 Arjun Shankar <arjun@redhat.com>
14239
14240 [BZ #22343]
71aa429b 14241 [BZ #22774]
4590634f 14242 CVE-2018-6485
71aa429b 14243 CVE-2018-6551
8e448310
AS
14244 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
14245 after padding.
14246 (_int_memalign): check for integer overflow before calling
14247 _int_malloc.
14248 * malloc/tst-malloc-too-large.c: New test.
14249 * malloc/Makefile: Add tst-malloc-too-large.
14250
e234d7cb
RL
142512018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
14252
14253 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
14254 in date: "2017-24-07" should be "2017-07-24".
14255 * localedata/locales/mai_IN: Likewise.
14256 * localedata/locales/mai_NP: Likewise.
14257
48b66019
DL
142582018-01-17 Dmitry V. Levin <ldv@altlinux.org>
14259
14260 * po/ru.po: Update translations.
14261
1eeddc58
JM
142622018-01-17 Joseph Myers <joseph@codesourcery.com>
14263
14264 [BZ #22719]
14265 * sysdeps/hppa/backtrace.c: New file.
14266
207a72e2
L
142672018-01-17 H.J. Lu <hongjiu.lu@intel.com>
14268
14269 [BZ #22715]
14270 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
14271 align La_x86_64_retval to VEC_SIZE.
14272
4942c4ea
JM
142732018-01-16 Joseph Myers <joseph@codesourcery.com>
14274
14275 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
14276 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
14277
10d200db
FW
142782018-01-16 Florian Weimer <fweimer@redhat.com>
14279
14280 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
14281 Move tst-thread-exit-clobber ...
14282 [$(CXX)] (tests-unsupported): ... to here.
14283
953c49cc
SN
142842018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
14285
14286 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
14287 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
14288 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
14289 (_dl_aarch64_cap_flags): Update.
14290 (_DL_HWCAP_COUNT): Update.
14291
afce1991
SN
142922018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
14293
14294 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
14295 (_DL_HWCAP_LAST): Remove.
14296 (_DL_HWCAP_COUNT): Move to ...
14297 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
14298 (_DL_HWCAP_COUNT): ... here.
14299
b725132d
FW
143002018-01-16 Florian Weimer <fweimer@redhat.com>
14301
14302 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
14303 mode with GNU extensions.
14304
c9e613a7
AH
143052018-01-15 Alan Hayward <alan.hayward@arm.com>
14306
14307 * elf/elf.h (NT_ARM_SVE): Define.
14308
860b0240
FW
143092018-01-15 Florian Weimer <fweimer@redhat.com>
14310
14311 [BZ #22636]
14312 * nptl/tst-minstack-throw.cc: New file.
14313 * nptl/Makefile (tests): Add tst-minstack-throw.
14314 (LDLIBS-tst-minstack-throw): Link with libstdc++.
14315 [!CXX] (tests-unsupported): Add tst-minstack-throw.
14316
16d0f6ac
JM
143172018-01-15 Joseph Myers <joseph@codesourcery.com>
14318
14319 * scripts/build-many-glibcs.py (Context.checkout): Default
14320 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
14321 version to 1.1.0.
14322
505d3910
CD
143232018-01-13 Carlos O'Donell <carlos@redhat.com>
14324
14325 [BZ #22707]
14326 * elf/elf.h (DF_1_STUB): Define.
14327 (DF_1_PIE): Define.
14328
af1e6be4
TMQMF
143292018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14330
14331 [BZ #22697]
14332 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
14333 Do not add 0.5 to integer or out-of-range arguments.
14334
98d13ce0
DL
143352018-01-12 Dmitry V. Levin <ldv@altlinux.org>
14336
14337 * po/bg.po: Update translations.
14338 * po/cs.po: Likewise.
14339 * po/de.po: Likewise.
14340 * po/ko.po: Likewise.
14341 * po/pl.po: Likewise.
14342 * po/sv.po: Likewise.
14343 * po/uk.po: Likewise.
14344 * po/vi.po: Likewise.
14345
3d1d7928
SN
143462018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
14347
14348 * aarch64/start.S (_start): Use __wrap_main.
14349 (__wrap_main): New local symbol.
14350
52a713fd
DL
143512018-01-12 Dmitry V. Levin <ldv@altlinux.org>
14352
14353 [BZ #22679]
14354 CVE-2018-1000001
14355 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
14356 generic_getcwd if the path returned by getcwd syscall is not absolute.
14357 * io/tst-getcwd-abspath.c: New test.
14358 * io/Makefile (tests): Add tst-getcwd-abspath.
14359
249a5895
IK
143602018-01-12 Istvan Kurucsai <pistukem@gmail.com>
14361
14362 * malloc/malloc.c (malloc_consolidate): Add size check.
14363
1a51e46e
FW
143642018-01-12 Florian Weimer <fweimer@redhat.com>
14365
14366 * support/write_message.c (write_message): Preserve errno.
14367 * support/check.c (print_failure): Likewise.
14368 * support/support_test_verify_impl.c (support_test_verify_impl):
14369 Likewise.
14370 * support/support_test_compare_failure.c
14371 (support_test_compare_failure): Likewise.
14372
9a08a366
FW
143732018-01-12 Florian Weimer <fweimer@redhat.com>
14374
14375 [BZ #22701]
14376 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
14377 Prevent installation of libnsl.so.
14378 (libnsl-inhibit-o): Do not build (or install) static libraries.
14379
80647883 143802018-01-12 Egmont Koblinger <egmont@gmail.com>
f172187b
EK
14381
14382 [BZ #22657]
14383 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
14384 before the day number which may produce a double space.
14385 (date_fmt): Likewise.
14386
c8924f1f
JM
143872018-01-12 Joseph Myers <joseph@codesourcery.com>
14388
14389 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
14390 instead of fegetenv.
14391
da09e6fa
JM
143922018-01-11 Joseph Myers <joseph@codesourcery.com>
14393
14394 [BZ #22702]
14395 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
14396 comment to say exceptions are discarded.
14397 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
14398 __fegetenv.
14399 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
14400 be enabled.
14401
08c6e952
FW
144022018-01-11 Florian Weimer <fweimer@redhat.com>
14403
14404 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
14405 and error message.
14406
d8b77890
FW
144072018-01-11 Florian Weimer <fweimer@redhat.com>
14408
14409 [BZ #22636]
14410 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
14411 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
14412
b303185d
JM
144132018-01-10 Joseph Myers <joseph@codesourcery.com>
14414
14415 [BZ #22693]
14416 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
14417 negative arguments in test for NaN or infinity argument.
14418
ee61d028
DL
144192018-01-10 Dmitry V. Levin <ldv@altlinux.org>
14420
14421 * po/libc.pot: Regenerate.
14422
f993b875
FW
144232018-01-10 Florian Weimer <fweimer@redhat.com>
14424
14425 [BZ #22636]
14426 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
14427 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
14428
09085ede
ST
144292018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14430
14431 * hurd/hurd/fd.h: Include <fcntl.h>
14432 (__hurd_at_flags): New function.
14433 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
14434 with call to __hurd_at_flags.
14435 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
14436 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
14437 __faccessat
14438 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
14439 (__access_noerrno): Use __faccessat_common instead of access_common.
14440 (__access): Likewise.
14441 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
14442 with a call to __faccessat.
14443 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
14444 (__faccessat_common): ... this. Move implementation of __access into it when
14445 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
14446 reauthenticate_cwdir_at helper to implement AT mechanism.
14447 (__faccessat_noerrno): New function, just calls __faccessat_common.
14448 (__faccessat): New function, just calls __faccessat_common.
14449 (faccessat): Define weak alias.
14450
12727488
JM
144512018-01-10 Joseph Myers <joseph@codesourcery.com>
14452
87faac55
JM
14453 [BZ #22691]
14454 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14455 (CFLAGS-s_fmaxmagl.c): New variable.
14456 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
14457
12727488
JM
14458 [BZ #22690]
14459 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
14460 long int for arguments of possibly overflowing addition or
14461 subtraction.
14462 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
14463
e134ca17
JM
144642018-01-09 Joseph Myers <joseph@codesourcery.com>
14465
b2584ac2
JM
14466 [BZ #22688]
14467 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14468 (CFLAGS-e_remainderl.c): New variable.
14469
e134ca17
JM
14470 [BZ #22687]
14471 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
14472 variable.
14473 (CFLAGS-s_cacoshl.c): Likewise.
14474 (CFLAGS-s_casinhl.c): Likewise.
14475 (CFLAGS-s_catanl.c): Likewise.
14476 (CFLAGS-s_catanhl.c): Likewise.
14477 (CFLAGS-s_cexpl.c): Likewise.
14478 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
14479 (CFLAGS-s_csinhl.c): Likewise.
14480 (CFLAGS-s_clogl.c): Likewise.
14481 (CFLAGS-s_clog10l.c): Likewise.
14482 (CFLAGS-s_csinl.c): Likewise.
14483 (CFLAGS-s_csqrtl.c): Likewise.
14484
d31a4a48
ST
144852017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
144862017-01-09 Svante Signell <svante.signell@gmail.com>
311ba8dc
ST
14487
14488 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
14489 (_hurd_exec_paths): New function.
14490 * hurd/hurd.h (_hurd_exec): Deprecate function.
14491 (_hurd_exec_paths): Declare function.
14492 * hurd/Versions: Export _hurd_exec_paths.
14493 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
14494 (__execve): Use __getcwd to build absolute path, and use
14495 _hurd_exec_paths instead of _hurd_exec.
14496 * sysdeps/mach/hurd/spawni.c: Likewise.
14497 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
14498 _hurd_exec.
14499
d7ff3f11
DL
145002018-01-08 Dmitry V. Levin <ldv@altlinux.org>
14501
14502 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
14503 test instead of failing in case of ENOENT returned by posix_openpt.
14504
401311cf
FW
145052018-01-08 Florian Weimer <fweimer@redhat.com>
14506
14507 resolv: Support binary labels in test framework.
14508 * support/resolv_test.c (struct to_be_freed): Remove.
14509 (struct compressed_name): New.
14510 (allocate_compressed_name, ascii_tolower)
14511 (compare_compressed_name): New functions.
14512 (struct resolv_response_builder): Update type of
14513 compression_offsets for use with tsearch. Rempve to_be_freed.
14514 (response_push_pointer_to_free): Remove function.
14515 (resolv_response_add_name): Rewrite using struct compressed_name
14516 and tsearch instead of hsearch_r.
14517 (response_builder_allocate): Remove initialization of
14518 compression_offsets.
14519 (response_builder_free): Update for removal of to_be_freed. Use
14520 tdestroy instead of hdestroy_r.
14521 * resolv/Makefile (tests): Add tst-resolv-binary.
14522 (tst-resolv-binary): Link with -lresolv -lpthread.
14523
2b3aa446
FW
145242018-01-08 Florian Weimer <fweimer@redhat.com>
14525
14526 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
14527 time. Pass positive flag instead of negative flag to
14528 support_test_compare_failure.
14529 (support_test_compare_failure): Change negative parameter to
14530 positive.
14531 * support/support_test_compare_failure.c (report)
14532 (support_test_compare_failure): Likewise.
14533 * support/tst-test_compare.c (return_ssize_t, return_int): New.
14534 (do_test): Check int/size_t, ssize_t/size_t comparisons.
14535
630f4cc3
SN
145362018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
14537
14538 [BZ #22637]
14539 * nptl/descr.h (stackblock, stackblock_size): Update comments.
14540 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
14541 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
14542 stacksize.
14543 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
14544
c70e4e9c
L
145452018-01-08 H.J. Lu <hongjiu.lu@intel.com>
14546
14547 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
14548 Add s_sincosf-sse2 and s_sincosf-fma.
14549 (CFLAGS-s_sincosf-fma.c): New.
14550 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
14551 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
14552 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
14553 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
14554 __sincosf is defined.
14555
579396ee
FW
145562018-01-08 Florian Weimer <fweimer@redhat.com>
14557
14558 * nptl/tst-thread-exit-clobber.cc: New file.
14559 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
14560 C++11 mode.
14561 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
14562 (tests): Add tst-thread-exit-clobber.
14563 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
14564
dabd75b6
FW
145652018-01-08 Florian Weimer <fweimer@redhat.com>
14566
14567 * support/check.h (support_static_assert): Define.
14568 (TEST_COMPARE): Use it.
14569
c2e014cc
AJ
145702018-01-07 Aurelien Jarno <aurelien@aurel32.net>
14571
14572 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
14573 [!__RLIM_T_MATCHES_RLIM64_T]
14574 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
14575 __getrlimit64. Add libc_hidden_weak.
14576
31a98837
PD
145772018-01-06 Palmer Dabbelt <palmer@sifive.com>
14578
14579 * elf/elf.h (R_RISCV_NONE): New define.
14580 (R_RISCV_32): Likewise.
14581 (R_RISCV_64): Likewise.
14582 (R_RISCV_RELATIVE): Likewise.
14583 (R_RISCV_COPY): Likewise.
14584 (R_RISCV_JUMP_SLOT): Likewise.
14585 (R_RISCV_TLS_DTPMOD32): Likewise.
14586 (R_RISCV_TLS_DTPMOD64): Likewise.
14587 (R_RISCV_TLS_DTPREL32): Likewise.
14588 (R_RISCV_TLS_DTPREL64): Likewise.
14589 (R_RISCV_TLS_TPREL32): Likewise.
14590 (R_RISCV_TLS_TPREL64): Likewise.
00505532
PD
14591 * Makerules (make-link-multidir): Make directories before linking into
14592 them.
150bbac1
PD
14593 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
14594 define.
14595 (VDSO_HASH_LINUX_4_15): Likewise.
1598f3ad
PD
14596 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
14597 in subdirectories of lib.
8e13c51b
PD
14598 * nptl/Makefile (/librt.so): Always depend on
14599 "$(shared-thread-library)".
31a98837 14600
fad7d57e
ST
146012018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14602
14603 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
4a5ce6e9
ST
14604 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
14605 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
14606 (___tls_get_addr).
14607 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
107a35a5
ST
14608 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
14609 "-O2 -march=i686".
01c7e549 14610 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
f417d92c
ST
14611 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
14612 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
14613 * sysdeps/gnu/glob-lstat-compat.c: New file.
14614 * sysdeps/gnu/glob64-lstat-compat.c: New file.
200fc24b 14615 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
fad7d57e 14616
3a32b716
TMQMF
146172018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14618
14619 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
14620 Reserve 16 chars to reloc_addr before calling _itoa_word.
14621
24731685
AJ
146222018-01-05 Aurelien Jarno <aurelien@aurel32.net>
14623
14624 [BZ #22678]
14625 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
14626 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
14627
19be56d8
AJ
14628 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
14629 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
14630
a6d0afb5
AJ
14631 * resource/tst-getrlimit.c: Add copyright header.
14632
8e900969
AJ
146332018-01-05 Aurelien Jarno <aurelien@aurel32.net>
14634 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14635
14636 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
14637 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
14638 Define __GI_getrlimit64 as weak alias of __getrlimit64.
14639 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
14640 instead.
14641 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
14642 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
14643 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
14644 RLIM64_INFINITY): Fix values to match the kernel ones.
14645 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
14646 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
14647 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
14648 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
14649 getrlimit64@@GLIBC_2_27.
14650 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
14651 and setrlimit64.
14652 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
14653 getrlimit, setrlimit, getrlimit64 and setrlimit64.
14654 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
14655 setrlimit, getrlimit64 and setrlimit64.
14656
0d0bc784
AJ
146572018-01-05 Aurelien Jarno <aurelien@aurel32.net>
14658
14659 [BZ #22648]
14660 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
14661 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
14662
ba374b6d
JM
146632018-01-04 Joseph Myers <joseph@codesourcery.com>
14664
14665 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
14666 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
14667 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
14668
4854ddd8
AZ
146692018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14670
b0a4eca2
AZ
14671 [BZ #15479]
14672 [BZ #22666]
14673 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
14674 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
14675
4854ddd8
AZ
14676 [BZ #15479]
14677 [BZ #22665]
14678 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
14679 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
14680 * sysdeps/alpha/fpu/s_floor.c: Likewise.
14681 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
14682
8a5df95f
FW
146832018-01-04 Florian Weimer <fweimer@redhat.com>
14684
14685 [BZ #22667]
14686 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
14687 Align the stack before calling exit.
14688 * stdlib/tst-makecontext-align.c: New file.
14689 * stdlib/Makefile (tests): Add tst-makecontext-align.
14690
82eef55f
FW
146912018-01-04 Florian Weimer <fweimer@redhat.com>
14692
14693 Add support for calling dlvsym from libc.so.
14694 * include/dlfcn.h (__libc_dlvsym): Declare.
14695 * elf/Makefile (tests-static-internal): Add
14696 tst-libc_dlvsym-static.
14697 (tests-internal): Add tst-libc_dlvsym.
14698 (modules-names): Add tst-libc_dlvsym-dso.
14699 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
14700 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
14701 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
14702 object tst-libc_dlvsym-dso.so needs to be built before running
14703 these tests.
14704 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
14705 * elf/Versions: Export __libc_dlvsym.
14706 * elf/dl-libc.c (struct do_dlvsym_args): New.
14707 (do_dlvsym, __libc_dlvsym): New functions.
14708 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
14709 (_dl_open_hook2): New variable.
14710 (__libc_register_dl_open_hook): Set it.
14711 * elf/tst-libc_dlvsym-dso.c: New file.
14712 * elf/tst-libc_dlvsym-static.c: Likewise.
14713 * elf/tst-libc_dlvsym.c: Likewise.
14714 * elf/tst-libc_dlvsym.h: Likewise.
14715
1714fc06
ST
147162018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
14717
14718 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
14719 include <sys/mount.h>.
14720
3c7d0312
WD
147212018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
14722
14723 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
14724 Add __NO_MATH_ERRNO__ check.
14725
7eff0954
JM
147262018-01-02 Joseph Myers <joseph@codesourcery.com>
14727
14728 * sysdeps/mips/mips32/libm-test-ulps: Update.
14729 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14730
77f49956
FW
147312018-01-02 Florian Weimer <fweimer@redhat.com>
14732
14733 * misc/tst-pselect.c: Add copyright header.
14734
363e4519 147352018-01-02 Aurelien Jarno <aurelien@aurel32.net>
d35989be
AJ
14736
14737 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
14738 comment.
14739 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
14740 comment.
14741 (settrlimit): Rename into setrlimit.
14742 (__sttrlimit): Rename into __setrlimit.
14743
3e4226ff
AJ
14744 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
14745 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
14746 never defined in that case.
14747
b9256ab6
JM
147482018-01-02 Joseph Myers <joseph@codesourcery.com>
14749
28fd6a44
JM
14750 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
14751
a4933a15
JM
14752 * sysdeps/arm/libm-test-ulps: Update.
14753
b9256ab6
JM
14754 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
14755 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
14756
4cf82d23
RS
147572018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14758
14759 * NEWS: Add cosf and sincosf to list of optimized functions.
14760
6a9dd7a7
AJ
147612018-01-02 Aurelien Jarno <aurelien@aurel32.net>
14762
14763 [BZ #22660]
14764 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
14765 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
14766 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
14767 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
14768
dbba87d5
DL
147692018-01-01 Dmitry V. Levin <ldv@altlinux.org>
14770
b05cb613
DL
14771 [BZ #22433]
14772 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
14773
dbba87d5
DL
14774 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
14775 making a copy of it.
14776
688903eb
JM
147772018-01-01 Joseph Myers <joseph@codesourcery.com>
14778
66ac23de
JM
14779 * manual/texinfo.tex: Update to version 2017-12-26.21 with
14780 trailing whitespace removed.
14781 * scripts/config.guess: Update to version 2018-01-01.
14782 * scripts/config.sub: Update to version 2018-01-01.
14783 * scripts/move-if-change: Update from gnulib.
14784
09533208
JM
14785 * NEWS: Update copyright dates.
14786 * catgets/gencat.c (print_version): Likewise.
14787 * csu/version.c (banner): Likewise.
14788 * debug/catchsegv.sh: Likewise.
14789 * debug/pcprofiledump.c (print_version): Likewise.
14790 * debug/xtrace.sh (do_version): Likewise.
14791 * elf/ldconfig.c (print_version): Likewise.
14792 * elf/ldd.bash.in: Likewise.
14793 * elf/pldd.c (print_version): Likewise.
14794 * elf/sotruss.sh: Likewise.
14795 * elf/sprof.c (print_version): Likewise.
14796 * iconv/iconv_prog.c (print_version): Likewise.
14797 * iconv/iconvconfig.c (print_version): Likewise.
14798 * locale/programs/locale.c (print_version): Likewise.
14799 * locale/programs/localedef.c (print_version): Likewise.
14800 * login/programs/pt_chown.c (print_version): Likewise.
14801 * malloc/memusage.sh (do_version): Likewise.
14802 * malloc/memusagestat.c (print_version): Likewise.
14803 * malloc/mtrace.pl: Likewise.
14804 * manual/libc.texinfo: Likewise.
14805 * nptl/version.c (banner): Likewise.
14806 * nscd/nscd.c (print_version): Likewise.
14807 * nss/getent.c (print_version): Likewise.
14808 * nss/makedb.c (print_version): Likewise.
14809 * posix/getconf.c (main): Likewise.
14810 * scripts/test-installation.pl: Likewise.
14811 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
14812
688903eb
JM
14813 * All files with FSF copyright notices: Update copyright dates
14814 using scripts/update-copyrights.
14815 * locale/programs/charmap-kw.h: Regenerated.
14816 * locale/programs/locfile-kw.h: Likewise.
14817
4f820792
ZW
148182017-12-31 Zack Weinberg <zackw@panix.com>
14819
14820 * libio/bits/libio-ldbl.h: Correct check for improper
14821 inclusion. Add own multiple include guard.
14822
3e3c904d
AJ
148232017-12-30 Aurelien Jarno <aurelien@aurel32.net>
14824 Dmitry V. Levin <ldv@altlinux.org>
14825
14826 [BZ #22625]
31f96325 14827 CVE-2017-16997
3e3c904d
AJ
14828 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
14829 string token expansion. Check for NULL pointer or empty string possibly
14830 returned by expand_dynamic_string_token.
14831 (decompose_rpath): Check for empty path after dynamic string
14832 token expansion.
14833
7e21972b
DL
148342017-12-29 Dmitry V. Levin <ldv@altlinux.org>
14835
c48831d0
DL
14836 [BZ #22433]
14837 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
14838
ac583f50
DL
14839 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
14840 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
14841 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
14842 and PTRACE_SYSCALL.
14843 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
14844 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
14845 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14846 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14847 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14848 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
14849
7e21972b
DL
14850 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
14851 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
14852 __ptrace_peeksiginfo_flags, ptrace): Move to ...
14853 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
14854 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14855 bits/ptrace-shared.h.
14856 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
14857 <bits/ptrace-shared.h>.
14858 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
14859 __ptrace_peeksiginfo_flags, ptrace): Remove.
14860 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
14861 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14862 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14863 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14864 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
14865
72f29e3a
AJ
148662017-12-29 Aurelien Jarno <aurelien@aurel32.net>
14867
14868 [BZ #17804]
14869 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
14870 end of the loop. Improve comments.
14871
54e4efc2
AJ
148722017-12-29 Zack Weinberg <zackw@panix.com>
14873
14874 [BZ #22615]
14875 * manual/errno.texi (Checking for Errors): Explicitly say that errno
14876 might be set on success.
14877
f8aa69be
AJ
148782017-12-29 Aurelien Jarno <aurelien@aurel32.net>
14879
14880 [BZ #22611]
14881 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
14882 is unchanged on success.
14883
97f13188
DL
148842017-12-27 Dmitry V. Levin <ldv@altlinux.org>
14885
2bd86632
DL
14886 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
14887 updated.
14888 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
14889 expand_dynamic_string_token): Likewise.
14890 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
14891 is_path argument.
14892
1c36e1e6
DL
14893 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
14894 contains ':'.
14895
97f13188
DL
14896 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
14897 is set and name contains ':', and all code depending on these checks.
14898
48a8f832
ZW
148992017-12-24 Zack Weinberg <zackw@panix.com>
14900
14901 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
14902 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
14903 respectively.
14904 * libio/libio.h: Rename the original version of this file to
14905 libio/bits/libio.h. Error out if not included by stdio.h or the
14906 stub libio.h.
14907 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
14908 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
14909 if not included by bits/libio.h or the stub _G_config.h.
14910 * sysdeps/unix/sysv/linux/_G_config.h: Move to
14911 sysdeps/unix/sysv/linux/bits. Error out if not included by
14912 bits/libio.h or the stub _G_config.h.
14913 * libio/stdio.h: Include bits/libio.h, not libio.h.
14914 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
14915 well as libio.h and _G_config.h.
14916
14917 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
14918 * libio/strfile.h, stdio-common/vfscanf.c
14919 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
14920 Include stdio.h, not _G_config.h nor libio.h.
14921 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
14922 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
14923
14924 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
14925
a47ad79a
DL
149262017-12-23 Dmitry V. Levin <ldv@altlinux.org>
14927
14928 [BZ #22347]
14929 * stdlib/getrandom.c (getrandom): Fix comment.
14930 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
14931
363e4519 149322017-12-23 Aurelien Jarno <aurelien@aurel32.net>
e65a5644 14933
f5c558f3
AJ
14934 [BZ #21161]
14935 * manual/arith.texi (strtoul): Fix a typo.
14936
e65a5644
AJ
14937 [BZ #22596]
14938 * manual/arith.texi (finite): Fix the description of the return
14939 value.
14940
ed8ae46b
EB
149412017-12-22 Eric Blake <ebb9@byu.net>
14942
14943 Avoid gcc warnings on cygwin
14944 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
14945 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
14946 Avoid unused variable.
14947
bad7a0c8
FW
149482017-12-22 Florian Weimer <fweimer@redhat.com>
14949
14950 * io/Makefile (routines): Add copy_file_range.
14951 (tests): Add tst-copy_file_range.
14952 (tests-static, tests-internal): Add tst-copy_file_range-compat.
14953 * io/Versions (GLIBC_2.27): Export copy_file_range.
14954 * io/copy_file_range-compat.c: New file.
14955 * io/copy_file_range.c: Likewise.
14956 * io/tst-copy_file_range-compat.c: Likewise.
14957 * io/tst-copy_file_range.c: Likewise.
14958 * manual/llio.texi (Copying File Data): New section.
14959 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
14960 * support/Makefile (libsupport-routines): Add support-xfstat,
14961 xftruncate, xlseek.
14962 * support/support-xfstat.c: New file.
14963 * support/xftruncate.c: Likewise.
14964 * support/xlseek.c: Likewise.
14965 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
14966 * sysdeps/unix/sysv/linux/**.abilist: Update.
14967 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
14968
6cb86fd2
SN
149692017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
14970
14971 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
14972 disable-multi-arch variant to aarch64-linux-gnu.
14973
41d11b15
JM
149742017-12-20 Joseph Myers <joseph@codesourcery.com>
14975
14976 * manual/texinfo.tex: Update to version 2017-12-18.20 with
14977 trailing whitespace removed.
14978 * scripts/config.guess: Update to version 2017-12-17.
14979 * scripts/config.sub: Update to version 2017-11-23.
14980 * scripts/install-sh: Update to version 2017-09-23.17.
14981 * scripts/move-if-change: Update to version 2017-09-13 06:45.
14982
4735850f
AZ
149832017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14984
8d2d239c
AZ
14985 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
14986 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
14987 * sysdeps/tile/_mcount.S (__mcount): Likewise.
14988 * sysdeps/tile/crti.S (_init, _fini): Likewise.
14989 * sysdeps/tile/crtn.S: Likewise.
14990 * sysdeps/tile/dl-start.S (_start): Likewise.
14991 * sysdeps/tile/dl-trampoline.S: Likewise.
14992 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
14993 * sysdeps/tile/start.S (_start): Likewise.
14994 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
14995 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
14996 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
14997 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
14998 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
14999 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
15000 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
15001
24d1d8ec
AZ
15002 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
15003 comment.
15004 * sysdeps/tile/preconfigure: Remove tilegx folder.
15005 * sysdeps/tile/tilegx/Implies: Move definitions to ...
15006 * sysdeps/tile/Implies: ... here.
15007 * sysdeps/tile/tilegx/Makefile: Move rules to ...
15008 * sysdeps/tile/Makefile: ... here.
15009 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
15010 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
15011 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
15012 * sysdeps/tile/bits/wordsize.h: ... here.
15013 * sysdeps/tile/tilegx/*: Move to ...
15014 * sysdeps/tile/*: ... here.
15015 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
15016 * sysdeps/tile/tilegx32/Implies: ... here.
15017 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
15018 * sysdeps/tile/tilegx64/Implies: ... here.
15019 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
15020 to ...
15021 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
15022 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
15023 * sysdeps/unix/sysv/linux/tile/*: ... here.
15024 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
15025 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
15026 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
15027 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
15028
ed95f611
AZ
15029 * README: Remove tilepro-*-linux-gnu from supported architecture.
15030 * scripts/build-many-glibcs.py: Likewise.
15031 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
15032 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
15033 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
15034 elf_machine_matches_host, elf_machine_dynamic,
15035 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
15036 howto, elf_machine_rela): Likewise.
15037 * sysdeps/tile/dl-start.S (_start): Likewise.
15038 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
15039 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
15040 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
15041 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
15042 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
15043 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
15044 Likewise.
15045 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
15046 * sysdeps/tile/preconfigure: Likewise.
15047 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
15048 POINTER_CHK_GUARD): Likewise.
15049 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
15050 * sysdeps/tile/start.S (_start): Likewise.
15051 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
15052 Likewise.
15053 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
15054 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
15055 CMOVNEZ): Remove.
15056 * sysdeps/unix/sysv/linux/tile/bits/environments.h
15057 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
15058 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
15059 Likewise.
15060 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
15061 * sysdeps/tile/tilepro/Implies: Remove file.
15062 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
15063 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
15064 * sysdeps/tile/tilepro/memchr.c: Likewise.
15065 * sysdeps/tile/tilepro/memcpy.S: Likewise.
15066 * sysdeps/tile/tilepro/memset.c: Likewise.
15067 * sysdeps/tile/tilepro/memusage.h: Likewise.
15068 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
15069 * sysdeps/tile/tilepro/strchr.c: Likewise.
15070 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
15071 * sysdeps/tile/tilepro/strlen.c: Likewise.
15072 * sysdeps/tile/tilepro/strrchr.c: Likewise.
15073 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
15074 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
15075 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
15076 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
15077 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
15078 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
15079 Likewise.
15080 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
15081 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15082 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
15083 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
15084 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15085 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
15086 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
15087 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
15088 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
15089 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
15090 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
15091 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
15092 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
15093 tilepro mention in comment.
15094
4735850f
AZ
15095 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
15096 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
15097 * nptl/pthread_join_common.c: New file: common function used on
15098 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
15099 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
15100 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
15101 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
15102 (cleanup): Move definition to pthread_join_common.c.
15103 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
15104 Remove superflous checks.
15105 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
15106 Likewise.
15107
8bfb461e
SN
151082017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
15109
15110 * sysdeps/aarch64/libm-test-ulps: Update.
15111
4e001969
AZ
151122017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15113
15114 * sysdeps/aarch64/memset.S (MEMSET): Define.
15115
8a26ad2a
FW
151162017-12-20 Florian Weimer <fweimer@redhat.com>
15117
15118 [BZ #22635]
15119 nptl: Provide full implementation of pthread_self in libc.so.
15120 * nptl/Makefile (routines): Add pthread_self.
15121 (libpthread-routines): Replace pthread_self with
15122 compat-pthread_self.
15123 * nptl/forward.c (pthread_self): Remove.
15124 * nptl/nptl-init.c (pthread_functions): Do not initialize
15125 ptr_pthread_self.
15126 * nptl/pthread_self.c (pthread_self): Remove weak alias.
15127 * nptl/compat-pthread_self.c: New file.
15128 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
15129 Remove ptr_pthread_self.
15130
5069ff32
AR
151312017-12-19 Arnold D. Robbins <arnold@skeeve.com>
15132
15133 * posix/regcomp.c: Fix spelling in comments.
15134 * posix/regex.h: Likewise.
15135 * posix/regex_internal.c: Likewise.
15136 * posix/regexec.c: Likewise.
15137
c85e54ac
GG
151382017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15139
15140 [BZ #22377]
15141 * math/Makefile [C++] (tests): Add test for iseqsig.
15142 * math/math.h [C++] (iseqsig): New implementation, which does
15143 not rely on __MATH_TG/__builtin_types_compatible_p.
15144 * math/test-math-iseqsig.cc: New file.
15145 * sysdeps/powerpc/powerpc64le/Makefile
15146 (CFLAGS-test-math-iseqsig.cc): New variable.
15147
10e93d96
DL
151482017-12-19 Dmitry V. Levin <ldv@altlinux.org>
15149
15150 * elf/dl-load.c (is_trusted_path): Remove.
15151 (fillin_rpath): Remove check_trusted argument and its use,
15152 all callers changed.
15153
ce16eb52
L
151542017-12-19 H.J. Lu <hongjiu.lu@intel.com>
15155
15156 [BZ #22630]
15157 * Makeconfig (link-pie-before-libc): Replace -pie with
15158 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
15159 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
15160 (tst-dlopen-aout-no-pie): New.
15161 (LDFLAGS-tst-prelink): Removed.
15162 (tst-prelink-no-pie): New.
15163 (LDFLAGS-tst-main1): Removed.
15164 (tst-main1-no-pie): New.
15165 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
15166 (tst-gmon-no-pie): New.
15167
126adc89
L
151682017-12-19 H.J. Lu <hongjiu.lu@intel.com>
15169
15170 * manual/install.texi: Document that --enable-static-pie
15171 implies PIE.
15172 * INSTALL: Regenerated.
15173
648615e1
BE
151742017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
15175
15176 [BZ #21309]
15177 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
15178 unsigned.
15179
f1e00502
JM
151802017-12-19 Joseph Myers <joseph@codesourcery.com>
15181
15182 Revert:
15183
15184 2017-12-19 Joseph Myers <joseph@codesourcery.com>
15185
15186 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15187
15188 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
15189
15190 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
15191 <errno.h>. Include "eexp.tbl".
15192 (half): New constant.
15193 (one): Likewise.
15194 (__ieee754_exp): Rewrite.
15195 (__slowexp): Remove prototype.
15196 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
15197 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
15198 * sysdeps/i386/fpu/slowexp.c: Likewise.
15199 * sysdeps/ia64/fpu/slowexp.c: Likewise.
15200 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
15201 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
15202 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
15203 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
15204 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
15205 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
15206 comment.
15207 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
15208 (CPPFLAGS-slowexp.c): Remove variable.
15209 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15210 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
15211 (CFLAGS-slowexp-fma.c): Remove variable.
15212 (CFLAGS-slowexp-fma4.c): Likewise.
15213 (CFLAGS-slowexp-avx.c): Likewise.
15214 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
15215 define as macro.
15216 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
15217 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
15218 * math/Makefile (type-double-routines): Remove slowexp.
15219 * manual/probes.texi (slowexp_p6): Remove.
15220 (slowexp_p32): Likewise.
15221
d711a00f
AZ
152222017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15223
e184ac3a
AZ
15224 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
15225 arithmetic.
15226
d711a00f
AZ
15227 * lib/glob.c (glob): Do not pass NULL to mempcpy.
15228
6f58c10d
JM
152292017-12-19 Joseph Myers <joseph@codesourcery.com>
15230
15231 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15232
6fd0a3c6
PM
152332017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
15234
15235 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
15236 <errno.h>. Include "eexp.tbl".
15237 (half): New constant.
15238 (one): Likewise.
15239 (__ieee754_exp): Rewrite.
15240 (__slowexp): Remove prototype.
15241 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
15242 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
15243 * sysdeps/i386/fpu/slowexp.c: Likewise.
15244 * sysdeps/ia64/fpu/slowexp.c: Likewise.
15245 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
15246 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
15247 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
15248 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
15249 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
15250 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
15251 comment.
15252 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
15253 (CPPFLAGS-slowexp.c): Remove variable.
15254 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15255 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
15256 (CFLAGS-slowexp-fma.c): Remove variable.
15257 (CFLAGS-slowexp-fma4.c): Likewise.
15258 (CFLAGS-slowexp-avx.c): Likewise.
15259 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
15260 define as macro.
15261 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
15262 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
15263 * math/Makefile (type-double-routines): Remove slowexp.
15264 * manual/probes.texi (slowexp_p6): Remove.
15265 (slowexp_p32): Likewise.
15266
3bb1ef58
AZ
152672017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15268 James Clarke <jrtc27@jrtc27.com>
15269
15270 [BZ #22603]
15271 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
15272 addition.
15273
554e3d51
AZ
152742017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15275
15276 [BZ #22605]
15277 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
15278 code.
15279
cba595c3
L
152802017-12-19 H.J. Lu <hongjiu.lu@intel.com>
15281
15282 [BZ #22563]
15283 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
15284 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
15285 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
15286 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
15287 to feature_1.
15288
f81ddabf
L
152892017-12-19 H.J. Lu <hongjiu.lu@intel.com>
15290
15291 [BZ #22563]
15292 * bits/types/__cancel_jmp_buf_tag.h: New file.
15293 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
15294 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
15295 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
15296 * nptl/Makefile (headers): Add
15297 bits/types/__cancel_jmp_buf_tag.h.
15298 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
15299 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
15300 * sysdeps/nptl/pthread.h: Include
15301 <bits/types/__cancel_jmp_buf_tag.h>.
15302 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
15303 __cancel_jmp_buf.
15304 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
15305
1a49fc59
L
153062017-12-18 H.J. Lu <hongjiu.lu@intel.com>
15307
15308 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
15309 --enable-static-pie variants to x86_64, x32 and i686.
15310
8e52f573
JM
153112017-12-19 Joseph Myers <joseph@codesourcery.com>
15312
66425185
JM
15313 [BZ #22631]
15314 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
15315 argument for attrubutes. All callers changed.
15316 (__inline_mathop1): Likewise. All callers changed.
15317 (__inline_mathop): Likewise. All callers changed.
15318 [__USE_MISC] (scalbn): Use __inline_forward instead of
15319 __inline_forward_c.
15320 [__USE_ISOC99] (scalbln): Likewise.
15321 [__USE_ISOC99] (nearbyint): Likewise.
15322 [__USE_ISOC99] (lrint): Likewise.
15323 [__USE_MISC] (scalbnf): Likewise.
15324 [__USE_ISOC99] (scalblnf): Likewise.
15325 [__USE_ISOC99] (nearbyintf): Likewise.
15326 [__USE_ISOC99] (lrintf): Likewise.
15327 [__USE_MISC] (scalbnl): Likewise.
15328 [__USE_ISOC99] (scalblnl): Likewise.
15329 [__USE_ISOC99] (nearbyintl): Likewise.
15330 [__USE_ISOC99] (lrintl): Likewise.
15331 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
15332 __inline_mathop and __m81_defun changed.
15333
8e52f573
JM
15334 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
15335 CPU or FPU for ARM hard-float configurations.
15336
1421f39b
JM
153372017-12-18 Joseph Myers <joseph@codesourcery.com>
15338
40c4162d
JM
15339 * nptl/tst-attr3.c: Include <libc-diag.h>.
15340 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
15341
5983df32
JM
15342 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
15343
1421f39b
JM
15344 * string/tester.c (test_strncat): Also disable -Warray-bounds
15345 warnings for two tests.
15346
00c714df
L
153472017-12-18 H.J. Lu <hongjiu.lu@intel.com>
15348
15349 [BZ #22614]
15350 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
15351 $(cc-pie-default) == yes.
15352 * config.make.in (cc-pie-default): New.
15353 * configure.ac (libc_cv_pie_default): Renamed to ...
15354 (libc_cv_cc_pie_default): This.
15355 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
15356 * configure: Regenerated.
15357
8e1472d2
FW
153582017-12-18 Florian Weimer <fweimer@redhat.com>
15359
15360 [BZ #20204]
15361 ld.so: Harden dl-libc/libdl hooks.
15362 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
15363 (rtld_active): New function.
15364 * dlfcn/dladdr.c (__dladdr): Call it.
15365 * dlfcn/dladdr1.c (__dladdr1): Likewise.
15366 * dlfcn/dlclose.c (__dlcose): Likewise.
15367 * dlfcn/dlerror.c (__dlerror): Likewise.
15368 * dlfcn/dlinfo.c (__dlinfo): Likewise.
15369 * dlfcn/dlmopen.c (__dlmopen): Likewise.
15370 * dlfcn/dlopen.c (__dlopen): Likewise.
15371 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
15372 * dlfcn/dlsym.c (__dlsym): Likewise.
15373 * dlfcn/dlvsym.c (__dlvsym): Likewise.
15374 * libio/vtables.c (_IO_vtable_check): Likewise.
15375 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
15376 (__libc_dlclose): Likewise.
15377 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
15378 assignment.
15379
49b036bc
JM
153802017-12-18 Joseph Myers <joseph@codesourcery.com>
15381
15382 [BZ #22446]
15383 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
15384 buffers for readlink input and output.
15385
368b6c8d
ST
153862017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
15387
c85c564d
ST
15388 [BZ #22624]
15389 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
15390 inhibit_stack_protector.
15391
368b6c8d
ST
15392 [BZ #22624]
15393 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
15394 inhibit_stack_protector.
15395
bb195224
DL
153962017-12-18 Dmitry V. Levin <ldv@altlinux.org>
15397
15398 [BZ #22627]
15399 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
15400 code and invocation.
15401
14d886ed
SN
154022017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
15403
15404 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
15405
7d38eb38
AJ
154062017-12-16 Aurelien Jarno <aurelien@aurel32.net>
15407
15408 [BZ #22505]
15409 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
15410
2e77deef
RS
154112017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15412
15413 * sysdeps/s390/fpu/libm-test-ulps: Update.
15414
0b9bef6d
RS
154152017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15416
15417 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15418
984ae996
RS
154192017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15420
15421 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
15422 constants to s_sincosf.h file.
15423 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15424 * sysdeps/ieee754/flt-32/s_sincosf.c: New
15425 implementation.
15426 * sysdeps/ieee754/flt-32/s_sincosf.h:
15427 New file.
15428
363e4519 154292017-12-12 Carlos O'Donell <carlos@redhat.com>
93930ea9
CD
15430
15431 [BZ #14681]
15432 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
15433 before mtrace.
15434
9d7a3741
L
154352017-12-15 H.J. Lu <hongjiu.lu@intel.com>
15436
15437 [BZ #19574]
15438 * INSTALL: Regenerated.
15439 * Makeconfig (real-static-start-installed-name): New.
15440 (pic-default): Updated for --enable-static-pie.
15441 (pie-default): New for --enable-static-pie.
15442 (default-pie-ldflag): Likewise.
15443 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
15444 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
15445 Replace $(static-start-installed-name) with
15446 $(real-static-start-installed-name).
15447 (+prectorT): Updated for --enable-static-pie.
15448 (+postctorT): Likewise.
15449 (CFLAGS-.o): Add $(pie-default).
15450 (CFLAGS-.op): Likewise.
15451 * NEWS: Mention --enable-static-pie.
15452 * config.h.in (ENABLE_STATIC_PIE): New.
15453 * configure.ac (--enable-static-pie): New configure option.
15454 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
15455 (have-static-pie): Likewise.
15456 Enable static PIE if linker supports --no-dynamic-linker.
15457 (ENABLE_STATIC_PIE): New AC_DEFINE.
15458 (enable-static-pie): New LIBC_CONFIG_VAR.
15459 * configure: Regenerated.
15460 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
15461 gr$(start-installed-name) for --enable-static-pie.
15462 (extra-objs): Likewise.
15463 (install-lib): Likewise.
15464 (extra-objs): Add static-reloc.o and static-reloc.os
15465 ($(objpfx)$(start-installed-name)): Also depend on
15466 $(objpfx)static-reloc.o.
15467 ($(objpfx)r$(start-installed-name)): New.
15468 ($(objpfx)g$(start-installed-name)): Also depend on
15469 $(objpfx)static-reloc.os.
15470 ($(objpfx)gr$(start-installed-name)): New.
15471 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
15472 in libc.a.
15473 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
15474 initimage.
15475 * csu/static-reloc.c: New file.
15476 * elf/Makefile (routines): Add dl-reloc-static-pie.
15477 (elide-routines.os): Likewise.
15478 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
15479 (tst-tls1-static-non-pie-no-pie): New.
15480 * elf/dl-reloc-static-pie.c: New file.
15481 * elf/dl-support.c (_dl_get_dl_main_map): New function.
15482 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
15483 STATIC_PIE_BOOTSTRAP.
15484 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
15485 * gmon/Makefile (tests): Add tst-gmon-static-pie.
15486 (tests-static): Likewise.
15487 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
15488 (tst-gmon-static-no-pie): New.
15489 (CFLAGS-tst-gmon-static-pie.c): Likewise.
15490 (CRT-tst-gmon-static-pie): Likewise.
15491 (tst-gmon-static-pie-ENV): Likewise.
15492 (tests-special): Likewise.
15493 ($(objpfx)tst-gmon-static-pie.out): Likewise.
15494 (clean-tst-gmon-static-pie-data): Likewise.
15495 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
15496 * gmon/tst-gmon-static-pie.c: New file.
15497 * manual/install.texi: Document --enable-static-pie.
15498 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
15499 (_dl_get_dl_main_map): Likewise.
15500 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
15501 * sysdeps/x86_64/configure.ac: Likewise.
15502 * sysdeps/i386/configure: Regenerated.
15503 * sysdeps/x86_64/configure: Likewise.
15504 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
15505 (ASFLAGS-.op): Likewise.
15506
95511aab
JM
155072017-12-15 Joseph Myers <joseph@codesourcery.com>
15508
15509 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
15510 * posix/tst-mmap-offset.c (fname): Use /tmp.
15511 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
15512
a7e3edf4
SE
155132017-12-15 Steve Ellcey <sellcey@cavium.com>
15514
15515 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
15516
d232f2e1
TS
155172017-12-15 Thomas Schwinge <thomas@codesourcery.com>
15518
15519 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
15520 errno.
15521
174edbde
JM
155222017-12-15 Joseph Myers <joseph@codesourcery.com>
15523
5170fa49
JM
15524 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
15525 --with-float=hard for arm-linux-gnueabihf configurations.
15526
f2da2fd8
JM
15527 [BZ #14121]
15528 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
15529 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
15530 ($(mo-installed)): Use $(objpfx)%.mo.
15531 (realclean): Remove rule.
15532
0c4fe28d
JM
15533 * po/Makefile (linguas): Remove rule and dependencies.
15534 (linguas.mo): Likewise.
15535 (.PHONY): Do not depend on linguas and linguas.mo.
15536 (podir): Remove variable.
15537 (pofiles): Likewise.
15538 [$(pofiles)] (%.po): Remove rule.
15539
174edbde
JM
15540 * sysdeps/sparc/sparc32/Makefile
15541 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
15542 start-of-line whitespace in argument of echo.
15543 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
15544 with whitespace. Generate __wrap_.udiv alias.
15545 * sysdeps/sparc/sparc32/rem.S: Regenerated.
15546 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
15547 * sysdeps/sparc/sparc32/udiv.S: Likewise.
15548 * sysdeps/sparc/sparc32/urem.S: Likewise.
15549
1e36806f
RS
155502017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15551
15552 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
15553 for aligned inputs.
15554
aa6932aa
SP
155552017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
15556
5f1603c3
SP
15557 * benchtests/bench-strcmp.c: Print output in JSON format.
15558
aa6932aa
SP
15559 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
15560
3ff3dfa5
FW
155612017-12-14 Florian Weimer <fweimer@redhat.com>
15562
15563 [BZ #22607]
15564 CVE-2017-1000409
15565 * elf/dl-load.c (_dl_init_paths): Compute number of components in
15566 the expanded path string.
15567
8a0b17e4
FW
155682017-12-14 Florian Weimer <fweimer@redhat.com>
15569
15570 [BZ #22606]
15571 CVE-2017-1000408
15572 * elf/dl-load.c (system_dirs): Update comment.
15573 (nsystem_dirs_len): Use array_length.
15574 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
15575
f58bd7f0
FW
155762017-12-14 Florian Weimer <fweimer@redhat.com>
15577
15578 Simplify compiling most of support/ outside of glibc.
15579 * support/check_addrinfo.c: Include <string.h>.
15580 * support/check_dns_packet.c: Likewise.
15581 * support/check_hostent.c: Likewise.
15582 * support/support_can_chroot.c: Include <support/xunistd.h>.
15583 * support/support_format_addrinfo.c: Include <stdlib.h>
15584 * support/support_format_dns_packet.c: Include <stdbool.h>.
15585 * support/support_format_hostent.c: Include <stdlib.h>.
15586 * support/support_format_netent.c: Likewise.
15587 * support/support_write_string.c: Include <support/xunistd.h>.
15588 * support/xdlfcn.c: Include <stddef.h>.
15589
4ca945e9
L
155902017-12-14 H.J. Lu <hongjiu.lu@intel.com>
15591
15592 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
15593
1b6e07f8
PM
155942017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
15595 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15596
e6a1c5dc
PM
15597 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
15598 (sysdeps_routines): Add memset-niagara7.
15599 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
15600 Likewise.
15601 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
15602 file.
15603 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
15604 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
15605 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
15606 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
15607 Add niagara7 option.
15608 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
15609 memset.
15610
1b6e07f8
PM
15611 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
15612 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
15613 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
15614 Likewise.
15615 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
15616 New file.
15617 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
15618 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
15619 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
15620 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
15621 and __memmove_niagara7.
15622 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
15623 Add niagara7 option.
15624 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
15625 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
15626 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
15627 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
15628 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
15629
bfb7bf22
JM
156302017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
15631
767a26d6
JM
15632 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
15633 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
15634 * sysdeps/sparc/sparc64/memmove.S: Likewise.
15635 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
15636
bfb7bf22
JM
15637 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
15638 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
15639 _dl_sparc_cap_flags array.
15640 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
15641
2bce01eb
SP
156422017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
15643
15644 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
15645 time whenever possible.
15646
363e4519 156472017-12-12 Carlos O'Donell <carlos@redhat.com>
243b6333
CD
15648
15649 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
15650 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
15651
6f7c0092
JM
156522017-12-12 Joseph Myers <joseph@codesourcery.com>
15653
15654 * soft-fp/fmadf4.c: Move to ....
15655 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
15656 * soft-fp/fmasf4.c: Move to ....
15657 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
15658 * soft-fp/fmatf4.c: Move to ....
15659 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
15660 * sysdeps/ieee754/soft-fp/Makefile: New file.
15661 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
15662 * sysdeps/arm/preconfigure: Regenerated.
15663 * sysdeps/arm/nofpu/Implies: New file.
15664 * sysdeps/arm/s_fma.c: Remove file.
15665 * sysdeps/arm/s_fmaf.c: Likewise.
15666 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
15667 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
15668 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
15669 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
15670 * sysdeps/microblaze/s_fma.c: Remove file.
15671 * sysdeps/microblaze/s_fmaf.c: Likewise.
15672 * sysdeps/mips/mips32/nofpu/Implies: New file.
15673 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
15674 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
15675 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
15676 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
15677 * sysdeps/mips/ieee754/s_fma.c: Remove file.
15678 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
15679 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
15680 implementation.
15681 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
15682 * sysdeps/nios2/s_fma.c: Remove file.
15683 * sysdeps/nios2/s_fmaf.c: Likewise.
15684 * sysdeps/sh/nofpu/Implies: New file.
15685 * sysdeps/sh/s_fma.c: Remove file.
15686 * sysdeps/sh/s_fmaf.c: Likewise.
15687 * sysdeps/tile/Implies: Add ieee754/soft-fp.
15688 * sysdeps/tile/s_fma.c: Remove file.
15689 * sysdeps/tile/s_fmaf.c: Likewise.
15690
ac817e08
L
156912017-12-12 H.J. Lu <hongjiu.lu@intel.com>
15692
15693 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15694 Add s_cosf-sse2 and s_cosf-fma.
15695 (CFLAGS-s_cosf-fma.c): New.
15696 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
15697 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
15698 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
15699
eb428576
SE
157002017-12-12 Steve Ellcey <sellcey@cavium.com>
15701
15702 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
15703
c80acdc3
AZ
157042017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15705
cc683f7e
AZ
15706 * libio/Makefile (tests): Add tst-bz22415.
15707 (tst-bz22415-ENV): New rule.
15708 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
15709 (tests-special): Add tst-bz22415-mem.out.
15710 ($(objpfx)tst-bz22415-mem.out): New rule.
15711 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
15712 in case of a successful seek operation.
15713 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15714 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
15715 buffer is required.
15716 * libio/tst-bz22415.c: New test.
15717
c80acdc3
AZ
15718 * sysdeps/ia64/fpu/libm-test-ulps: Update.
15719
363e4519 157202017-12-12 James Clarke <jrtc27@jrtc27.com>
89bd8016
JC
15721
15722 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
15723 __IPC_64 to 0 to avoid IPC_64 being set.
15724
4e0dca54
SN
157252017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
15726
15727 [BZ #22593]
15728 * math/bits/mathcalls.h (nextafter): Remove const.
15729 (nexttoward): Likewise.
15730
8df5d347
JM
157312017-12-12 Joseph Myers <joseph@codesourcery.com>
15732
15733 * configure.ac (--with-fp): Remove configure option.
15734 (with_fp_cond): New variable.
15735 (libc_cv_with_fp): New configure test. Use this variable instead
15736 of with_fp.
15737 * configure: Regenerated.
15738 * config.make.in (with-fp): Use @libc_cv_with_fp@.
15739 * manual/install.texi (Configuring and compiling): Remove
15740 --without-fp.
15741 * INSTALL: Regenerated.
15742 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
15743 * sysdeps/mips/preconfigure (with_fp_cond): Define.
15744 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
15745 * sysdeps/sh/preconfigure (with_fp_cond): Define.
15746 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
15747 use --without-fp to configure glibc.
15748
0cee1257
RJ
157492017-12-12 Rical Jasan <ricaljasan@pacific.net>
15750
15751 * manual/locale.texi (nl_langinfo): Fix a typo.
15752
363e4519 157532017-12-12 Aurelien Jarno <aurelien@aurel32.net>
f54ad2f9
AJ
15754
15755 [BZ #22588]
15756 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
15757
36975e8e
L
157582017-12-11 H.J. Lu <hongjiu.lu@intel.com>
15759
15760 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
15761 (CFLAGS-argp-parse.c): Likewise.
15762 (CFLAGS-argp-fmtstream.c): Likewise.
15763 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
15764 (CPPFLAGS-sha512-crypt.c): Likewise.
15765 (CPPFLAGS-md5-crypt.c): Likewise.
15766 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
15767 (CFLAGS-stack_chk_fail_local.c): Likewise.
15768 (CFLAGS-backtrace.c): Likewise.
15769 (CFLAGS-sprintf_chk.c): Likewise.
15770 (CFLAGS-snprintf_chk.c): Likewise.
15771 (CFLAGS-vsprintf_chk.c): Likewise.
15772 (CFLAGS-vsnprintf_chk.c): Likewise.
15773 (CFLAGS-asprintf_chk.c): Likewise.
15774 (CFLAGS-vasprintf_chk.c): Likewise.
15775 (CFLAGS-obprintf_chk.c): Likewise.
15776 (CFLAGS-dprintf_chk.c): Likewise.
15777 (CFLAGS-vdprintf_chk.c): Likewise.
15778 (CFLAGS-printf_chk.c): Likewise.
15779 (CFLAGS-fprintf_chk.c): Likewise.
15780 (CFLAGS-vprintf_chk.c): Likewise.
15781 (CFLAGS-vfprintf_chk.c): Likewise.
15782 (CFLAGS-gets_chk.c): Likewise.
15783 (CFLAGS-fgets_chk.c): Likewise.
15784 (CFLAGS-fgets_u_chk.c): Likewise.
15785 (CFLAGS-fread_chk.c): Likewise.
15786 (CFLAGS-fread_u_chk.c): Likewise.
15787 (CFLAGS-swprintf_chk.c): Likewise.
15788 (CFLAGS-vswprintf_chk.c): Likewise.
15789 (CFLAGS-wprintf_chk.c): Likewise.
15790 (CFLAGS-fwprintf_chk.c): Likewise.
15791 (CFLAGS-vwprintf_chk.c): Likewise.
15792 (CFLAGS-vfwprintf_chk.c): Likewise.
15793 (CFLAGS-fgetws_chk.c): Likewise.
15794 (CFLAGS-fgetws_u_chk.c): Likewise.
15795 (CFLAGS-read_chk.c): Likewise.
15796 (CFLAGS-pread_chk.c): Likewise.
15797 (CFLAGS-pread64_chk.c): Likewise.
15798 (CFLAGS-recv_chk.c): Likewise.
15799 (CFLAGS-recvfrom_chk.c): Likewise.
15800 (CFLAGS-tst-longjmp_chk.c): Likewise.
15801 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
15802 (CFLAGS-tst-longjmp_chk2.c): Likewise.
15803 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
15804 (CFLAGS-tst-longjmp_chk3.c): Likewise.
15805 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
15806 (CFLAGS-tst-chk1.c): Likewise.
15807 (CFLAGS-tst-chk2.c): Likewise.
15808 (CFLAGS-tst-chk3.c): Likewise.
15809 (CFLAGS-tst-chk4.cc): Likewise.
15810 (CFLAGS-tst-chk5.cc): Likewise.
15811 (CFLAGS-tst-chk6.cc): Likewise.
15812 (CFLAGS-tst-lfschk1.c): Likewise.
15813 (CFLAGS-tst-lfschk2.c): Likewise.
15814 (CFLAGS-tst-lfschk3.c): Likewise.
15815 (CFLAGS-tst-lfschk4.cc): Likewise.
15816 (CFLAGS-tst-lfschk5.cc): Likewise.
15817 (CFLAGS-tst-lfschk6.cc): Likewise.
15818 (CFLAGS-tst-ssp-1.c): Likewise.
15819 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
15820 (CFLAGS-scandir64.c): Likewise.
15821 (CFLAGS-scandir-tail.c): Likewise.
15822 (CFLAGS-scandir64-tail.c): Likewise.
15823 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
15824 (CFLAGS-dl-tunables.c): Likewise.
15825 (CFLAGS-dl-runtime.c): Likewise.
15826 (CFLAGS-dl-lookup.c): Likewise.
15827 (CFLAGS-dl-iterate-phdr.c): Likewise.
15828 (CFLAGS-vismain.c): Likewise.
15829 (CFLAGS-tst-linkall-static.c): Likewise.
15830 (CFLAGS-tst-linkall-static.c): Likewise.
15831 (CPPFLAGS-dl-load.c): Likewise.
15832 (CFLAGS-ldconfig.c): Likewise.
15833 (CFLAGS-dl-cache.c): Likewise.
15834 (CFLAGS-cache.c): Likewise.
15835 (CFLAGS-rtld.c): Likewise.
15836 (CFLAGS-multiload.c): Likewise.
15837 (CFLAGS-filtmod1.c): Likewise.
15838 (CFLAGS-tst-align.c): Likewise.
15839 (CFLAGS-tst-align2.c): Likewise.
15840 (CFLAGS-tst-alignmod.c): Likewise.
15841 (CFLAGS-tst-alignmod2.c): Likewise.
15842 (CPPFLAGS-tst-execstack.c): Likewise.
15843 (CFLAGS-tst-ptrguard1-static.c): Likewise.
15844 (CFLAGS-tst-latepthreadmod.c): Likewise.
15845 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
15846 (CFLAGS-getgrnam_r.c): Likewise.
15847 (CFLAGS-getgrent_r.c): Likewise.
15848 (CFLAGS-getgrent.c): Likewise.
15849 (CFLAGS-fgetgrent.c): Likewise.
15850 (CFLAGS-fgetgrent_r.c): Likewise.
15851 (CFLAGS-putgrent.c): Likewise.
15852 (CFLAGS-initgroups.c): Likewise.
15853 (CFLAGS-getgrgid.c): Likewise.
15854 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
15855 (CFLAGS-getsgent.c): Likewise.
15856 (CFLAGS-fgetsgent.c): Likewise.
15857 (CFLAGS-fgetsgent_r.c): Likewise.
15858 (CFLAGS-putsgent.c): Likewise.
15859 (CFLAGS-getsgnam.c): Likewise.
15860 (CFLAGS-getsgnam_r.c): Likewise.
15861 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
15862 (CFLAGS-iconv_charmap.c): Likewise.
15863 (CFLAGS-dummy-repertoire.c): Likewise.
15864 (CFLAGS-charmap.c): Likewise.
15865 (CFLAGS-linereader.c): Likewise.
15866 (CFLAGS-simple-hash.c): Likewise.
15867 (CFLAGS-gconv_conf.c): Likewise.
15868 (CFLAGS-iconvconfig.c): Likewise.
15869 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
15870 (CFLAGS-gethstbyad.c): Likewise.
15871 (CFLAGS-gethstbynm_r.c): Likewise.
15872 (CFLAGS-gethstbynm.c): Likewise.
15873 (CFLAGS-gethstbynm2_r.c): Likewise.
15874 (CFLAGS-gethstbynm2.c): Likewise.
15875 (CFLAGS-gethstent_r.c): Likewise.
15876 (CFLAGS-gethstent.c): Likewise.
15877 (CFLAGS-rcmd.c): Likewise.
15878 (CFLAGS-getnetbynm_r.c): Likewise.
15879 (CFLAGS-getnetbynm.c): Likewise.
15880 (CFLAGS-getnetbyad_r.c): Likewise.
15881 (CFLAGS-getnetbyad.c): Likewise.
15882 (CFLAGS-getnetent_r.c): Likewise.
15883 (CFLAGS-getnetent.c): Likewise.
15884 (CFLAGS-getaliasent_r.c): Likewise.
15885 (CFLAGS-getaliasent.c): Likewise.
15886 (CFLAGS-getrpcent_r.c): Likewise.
15887 (CFLAGS-getrpcent.c): Likewise.
15888 (CFLAGS-getservent_r.c): Likewise.
15889 (CFLAGS-getservent.c): Likewise.
15890 (CFLAGS-getprtent_r.c): Likewise.
15891 (CFLAGS-getprtent.c): Likewise.
15892 (CFLAGS-either_ntoh.c): Likewise.
15893 (CFLAGS-either_hton.c): Likewise.
15894 (CFLAGS-getnetgrent.c): Likewise.
15895 (CFLAGS-getnetgrent_r.c): Likewise.
15896 (CFLAGS-tst-checks-posix.c): Likewise.
15897 (CFLAGS-tst-sockaddr.c): Likewise.
15898 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
15899 (CFLAGS-tst-translit.c): Likewise.
15900 (CFLAGS-tst-gettext2.c): Likewise.
15901 (CFLAGS-tst-codeset.c): Likewise.
15902 (CFLAGS-tst-gettext3.c): Likewise.
15903 (CFLAGS-tst-gettext4.c): Likewise.
15904 (CFLAGS-tst-gettext5.c): Likewise.
15905 (CFLAGS-tst-gettext6.c): Likewise.
15906 * io/Makefile (CFLAGS-open.c): Likewise.
15907 (CFLAGS-open64.c): Likewise.
15908 (CFLAGS-creat.c): Likewise.
15909 (CFLAGS-creat64.c): Likewise.
15910 (CFLAGS-fcntl.c): Likewise.
15911 (CFLAGS-poll.c): Likewise.
15912 (CFLAGS-ppoll.c): Likewise.
15913 (CFLAGS-lockf.c): Likewise.
15914 (CFLAGS-statfs.c): Likewise.
15915 (CFLAGS-fstatfs.c): Likewise.
15916 (CFLAGS-statvfs.c): Likewise.
15917 (CFLAGS-fstatvfs.c): Likewise.
15918 (CFLAGS-fts.c): Likewise.
15919 (CFLAGS-fts64.c): Likewise.
15920 (CFLAGS-ftw.c): Likewise.
15921 (CFLAGS-ftw64.c): Likewise.
15922 (CFLAGS-lockf.c): Likewise.
15923 (CFLAGS-posix_fallocate.c): Likewise.
15924 (CFLAGS-posix_fallocate64.c): Likewise.
15925 (CFLAGS-fallocate.c): Likewise.
15926 (CFLAGS-fallocate64.c): Likewise.
15927 (CFLAGS-read.c): Likewise.
15928 (CFLAGS-write.c): Likewise.
15929 (CFLAGS-test-stat.c): Likewise.
15930 (CFLAGS-test-lfs.c): Likewise.
15931 * libio/Makefile (CFLAGS-fileops.c): Likewise.
15932 (CFLAGS-fputc.c): Likewise.
15933 (CFLAGS-fputwc.c): Likewise.
15934 (CFLAGS-freopen64.c): Likewise.
15935 (CFLAGS-freopen.c): Likewise.
15936 (CFLAGS-fseek.c): Likewise.
15937 (CFLAGS-fseeko64.c): Likewise.
15938 (CFLAGS-fseeko.c): Likewise.
15939 (CFLAGS-ftello64.c): Likewise.
15940 (CFLAGS-ftello.c): Likewise.
15941 (CFLAGS-fwide.c): Likewise.
15942 (CFLAGS-genops.c): Likewise.
15943 (CFLAGS-getc.c): Likewise.
15944 (CFLAGS-getchar.c): Likewise.
15945 (CFLAGS-getwc.c): Likewise.
15946 (CFLAGS-getwchar.c): Likewise.
15947 (CFLAGS-iofclose.c): Likewise.
15948 (CFLAGS-iofflush.c): Likewise.
15949 (CFLAGS-iofgetpos64.c): Likewise.
15950 (CFLAGS-iofgetpos.c): Likewise.
15951 (CFLAGS-iofgets.c): Likewise.
15952 (CFLAGS-iofgetws.c): Likewise.
15953 (CFLAGS-iofputs.c): Likewise.
15954 (CFLAGS-iofputws.c): Likewise.
15955 (CFLAGS-iofread.c): Likewise.
15956 (CFLAGS-iofsetpos64.c): Likewise.
15957 (CFLAGS-iofsetpos.c): Likewise.
15958 (CFLAGS-ioftell.c): Likewise.
15959 (CFLAGS-iofwrite.c): Likewise.
15960 (CFLAGS-iogetdelim.c): Likewise.
15961 (CFLAGS-iogetline.c): Likewise.
15962 (CFLAGS-iogets.c): Likewise.
15963 (CFLAGS-iogetwline.c): Likewise.
15964 (CFLAGS-ioputs.c): Likewise.
15965 (CFLAGS-ioseekoff.c): Likewise.
15966 (CFLAGS-ioseekpos.c): Likewise.
15967 (CFLAGS-iosetbuffer.c): Likewise.
15968 (CFLAGS-iosetvbuf.c): Likewise.
15969 (CFLAGS-ioungetc.c): Likewise.
15970 (CFLAGS-ioungetwc.c): Likewise.
15971 (CFLAGS-oldfileops.c): Likewise.
15972 (CFLAGS-oldiofclose.c): Likewise.
15973 (CFLAGS-oldiofgetpos64.c): Likewise.
15974 (CFLAGS-oldiofgetpos.c): Likewise.
15975 (CFLAGS-oldiofsetpos64.c): Likewise.
15976 (CFLAGS-oldiofsetpos.c): Likewise.
15977 (CFLAGS-peekc.c): Likewise.
15978 (CFLAGS-putc.c): Likewise.
15979 (CFLAGS-putchar.c): Likewise.
15980 (CFLAGS-putwc.c): Likewise.
15981 (CFLAGS-putwchar.c): Likewise.
15982 (CFLAGS-rewind.c): Likewise.
15983 (CFLAGS-wfileops.c): Likewise.
15984 (CFLAGS-wgenops.c): Likewise.
15985 (CFLAGS-oldiofopen.c): Likewise.
15986 (CFLAGS-iofopen.c): Likewise.
15987 (CFLAGS-iofopen64.c): Likewise.
15988 (CFLAGS-oldtmpfile.c): Likewise.
15989 (CFLAGS-tst_putwc.c): Likewise.
15990 * locale/Makefile (CFLAGS-md5.c): Likewise.
15991 (CFLAGS-charmap.c): Likewise.
15992 (CFLAGS-locfile.c): Likewise.
15993 (CFLAGS-charmap-dir.c): Likewise.
15994 * login/Makefile (CFLAGS-grantpt.c): Likewise.
15995 (CFLAGS-getpt.c): Likewise.
15996 (CFLAGS-pt_chown.c): Likewise.
15997 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
15998 (CFLAGS-obstack.c): Likewise.
15999 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
16000 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
16001 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
16002 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
16003 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
16004 (CFLAGS-test-tgmath.c): Likewise.
16005 (CFLAGS-test-tgmath2.c): Likewise.
16006 (CFLAGS-test-tgmath-ret.c): Likewise.
16007 (CFLAGS-test-powl.c): Likewise.
16008 (CFLAGS-test-snan.c): Likewise.
16009 (CFLAGS-test-signgam-finite.c): Likewise.
16010 (CFLAGS-test-signgam-finite-c99.c): Likewise.
16011 (CFLAGS-test-signgam-finite-c11.c): Likewise.
16012 (CFLAGS-test-signgam-uchar.c): Likewise.
16013 (CFLAGS-test-signgam-uchar-init.c): Likewise.
16014 (CFLAGS-test-signgam-uchar-static.c): Likewise.
16015 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
16016 (CFLAGS-test-signgam-uint.c): Likewise.
16017 (CFLAGS-test-signgam-uint-init.c): Likewise.
16018 (CFLAGS-test-signgam-uint-static.c): Likewise.
16019 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
16020 (CFLAGS-test-signgam-ullong.c): Likewise.
16021 (CFLAGS-test-signgam-ullong-init.c): Likewise.
16022 (CFLAGS-test-signgam-ullong-static.c): Likewise.
16023 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
16024 (CFLAGS-test-math-cxx11.cc): Likewise.
16025 (CFLAGS-test-math-isinff.cc): Likewise.
16026 (CFLAGS-test-math-iszero.cc): Likewise.
16027 (CFLAGS-test-math-issignaling.cc): Likewise.
16028 (CFLAGS-test-math-iscanonical.cc): Likewise.
16029 (CFLAGS-test-iszero-excess-precision.c): Likewise.
16030 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
16031 (CFLAGS-test-flt-eval-method.c): Likewise.
16032 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
16033 (CFLAGS-test-finite-macros.c): Likewise.
16034 * misc/Makefile (CFLAGS-select.c): Likewise.
16035 (CFLAGS-tsearch.c): Likewise.
16036 (CFLAGS-lsearch.c): Likewise.
16037 (CFLAGS-pselect.c): Likewise.
16038 (CFLAGS-readv.c): Likewise.
16039 (CFLAGS-writev.c): Likewise.
16040 (CFLAGS-preadv.c): Likewise.
16041 (CFLAGS-preadv64.c): Likewise.
16042 (CFLAGS-pwritev.c): Likewise.
16043 (CFLAGS-pwritev64.c): Likewise.
16044 (CFLAGS-preadv2.c): Likewise.
16045 (CFLAGS-preadv64v2.c): Likewise.
16046 (CFLAGS-pwritev2.c): Likewise.
16047 (CFLAGS-pwritev64v2.c): Likewise.
16048 (CFLAGS-usleep.c): Likewise.
16049 (CFLAGS-syslog.c): Likewise.
16050 (CFLAGS-error.c): Likewise.
16051 (CFLAGS-getpass.c): Likewise.
16052 (CFLAGS-mkstemp.c): Likewise.
16053 (CFLAGS-mkstemp64.c): Likewise.
16054 (CFLAGS-getsysstats.c): Likewise.
16055 (CFLAGS-getusershell.c): Likewise.
16056 (CFLAGS-err.c): Likewise.
16057 (CFLAGS-tst-tsearch.c): Likewise.
16058 (CFLAGS-msync.c): Likewise.
16059 (CFLAGS-fdatasync.c): Likewise.
16060 (CFLAGS-fsync.c): Likewise.
16061 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
16062 (CFLAGS-unwind.c): Likewise.
16063 (CFLAGS-unwind-forcedunwind.c): Likewise.
16064 (CFLAGS-pthread_cancel.c): Likewise.
16065 (CFLAGS-pthread_setcancelstate.c): Likewise.
16066 (CFLAGS-pthread_setcanceltype.c): Likewise.
16067 (CFLAGS-cancellation.c): Likewise.
16068 (CFLAGS-libc-cancellation.c): Likewise.
16069 (CFLAGS-pthread_exit.c): Likewise.
16070 (CFLAGS-forward.c): Likewise.
16071 (CFLAGS-pthread_testcancel.c): Likewise.
16072 (CFLAGS-pthread_join.c): Likewise.
16073 (CFLAGS-pthread_timedjoin.c): Likewise.
16074 (CFLAGS-pthread_once.c): Likewise.
16075 (CFLAGS-pthread_cond_wait.c): Likewise.
16076 (CFLAGS-sem_wait.c): Likewise.
16077 (CFLAGS-sem_timedwait.c): Likewise.
16078 (CFLAGS-fcntl.c): Likewise.
16079 (CFLAGS-lockf.c): Likewise.
16080 (CFLAGS-pread.c): Likewise.
16081 (CFLAGS-pread64.c): Likewise.
16082 (CFLAGS-pwrite.c): Likewise.
16083 (CFLAGS-pwrite64.c): Likewise.
16084 (CFLAGS-wait.c): Likewise.
16085 (CFLAGS-waitpid.c): Likewise.
16086 (CFLAGS-sigwait.c): Likewise.
16087 (CFLAGS-msgrcv.c): Likewise.
16088 (CFLAGS-msgsnd.c): Likewise.
16089 (CFLAGS-tcdrain.c): Likewise.
16090 (CFLAGS-open.c): Likewise.
16091 (CFLAGS-open64.c): Likewise.
16092 (CFLAGS-pause.c): Likewise.
16093 (CFLAGS-recv.c): Likewise.
16094 (CFLAGS-send.c): Likewise.
16095 (CFLAGS-accept.c): Likewise.
16096 (CFLAGS-sendto.c): Likewise.
16097 (CFLAGS-connect.c): Likewise.
16098 (CFLAGS-recvfrom.c): Likewise.
16099 (CFLAGS-recvmsg.c): Likewise.
16100 (CFLAGS-sendmsg.c): Likewise.
16101 (CFLAGS-close.c): Likewise.
16102 (CFLAGS-read.c): Likewise.
16103 (CFLAGS-write.c): Likewise.
16104 (CFLAGS-nanosleep.c): Likewise.
16105 (CFLAGS-sigsuspend.c): Likewise.
16106 (CFLAGS-msync.c): Likewise.
16107 (CFLAGS-fdatasync.c): Likewise.
16108 (CFLAGS-fsync.c): Likewise.
16109 (CFLAGS-pt-system.c): Likewise.
16110 (CFLAGS-tst-cleanup2.c): Likewise.
16111 (CFLAGS-tst-cleanupx2.c): Likewise.
16112 (CFLAGS-flockfile.c): Likewise.
16113 (CFLAGS-ftrylockfile.c): Likewise.
16114 (CFLAGS-funlockfile.c): Likewise.
16115 (CFLAGS-tst-initializers1.c): Likewise.
16116 (CFLAGS-tst-initializers1-c89.c): Likewise.
16117 (CFLAGS-tst-initializers1-c99.c): Likewise.
16118 (CFLAGS-tst-initializers1-c11.c): Likewise.
16119 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
16120 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
16121 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
16122 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
16123 (CFLAGS-nscd_getgr_r.c): Likewise.
16124 (CFLAGS-nscd_gethst_r.c): Likewise.
16125 (CFLAGS-nscd_getai.c): Likewise.
16126 (CFLAGS-nscd_initgroups.c): Likewise.
16127 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
16128 (CFLAGS-pause.c): Likewise.
16129 (CFLAGS-pread.c): Likewise.
16130 (CFLAGS-pread64.c): Likewise.
16131 (CFLAGS-pwrite.c): Likewise.
16132 (CFLAGS-pwrite64.c): Likewise.
16133 (CFLAGS-sleep.c): Likewise.
16134 (CFLAGS-wait.c): Likewise.
16135 (CFLAGS-waitid.c): Likewise.
16136 (CFLAGS-waitpid.c): Likewise.
16137 (CFLAGS-getopt.c): Likewise.
16138 (CFLAGS-wordexp.c): Likewise.
16139 (CFLAGS-sysconf.c): Likewise.
16140 (CFLAGS-pathconf.c): Likewise.
16141 (CFLAGS-fpathconf.c): Likewise.
16142 (CFLAGS-spawn.c): Likewise.
16143 (CFLAGS-spawnp.c): Likewise.
16144 (CFLAGS-spawni.c): Likewise.
16145 (CFLAGS-glob.c): Likewise.
16146 (CFLAGS-glob64.c): Likewise.
16147 (CFLAGS-getconf.c): Likewise.
16148 (CFLAGS-nanosleep.c): Likewise.
16149 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
16150 (CFLAGS-getpwent.c): Likewise.
16151 (CFLAGS-getpw.c): Likewise.
16152 (CFLAGS-fgetpwent_r.c): Likewise.
16153 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
16154 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
16155 (CFLAGS-mq_timedreceive.c): Likewise.
16156 (CFLAGS-mq_timedsend.c): Likewise.
16157 (CFLAGS-clock_nanosleep.c): Likewise.
16158 (CFLAGS-librt-cancellation.c): Likewise.
16159 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
16160 (CFLAGS-getspent.c): Likewise.
16161 (CFLAGS-fgetspent.c): Likewise.
16162 (CFLAGS-fgetspent_r.c): Likewise.
16163 (CFLAGS-putspent.c): Likewise.
16164 (CFLAGS-getspnam.c): Likewise.
16165 (CFLAGS-getspnam_r.c): Likewise.
16166 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
16167 (CFLAGS-sigsuspend.c): Likewise.
16168 (CFLAGS-sigtimedwait.c): Likewise.
16169 (CFLAGS-sigwait.c): Likewise.
16170 (CFLAGS-sigwaitinfo.c): Likewise.
16171 (CFLAGS-sigreturn.c): Likewise.
16172 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
16173 (CFLAGS-vfwprintf.c): Likewise.
16174 (CFLAGS-tmpfile.c): Likewise.
16175 (CFLAGS-tmpfile64.c): Likewise.
16176 (CFLAGS-tempname.c): Likewise.
16177 (CFLAGS-psignal.c): Likewise.
16178 (CFLAGS-vprintf.c): Likewise.
16179 (CFLAGS-cuserid.c): Likewise.
16180 (CFLAGS-errlist.c): Likewise.
16181 (CFLAGS-siglist.c): Likewise.
16182 (CFLAGS-scanf15.c): Likewise.
16183 (CFLAGS-scanf17.c): Likewise.
16184 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
16185 (CFLAGS-msort.c): Likewise.
16186 (CFLAGS-qsort.c): Likewise.
16187 (CFLAGS-system.c): Likewise.
16188 (CFLAGS-fmtmsg.c): Likewise.
16189 (CFLAGS-strfmon.c): Likewise.
16190 (CFLAGS-strfmon_l.c): Likewise.
16191 (CFLAGS-strfromd.c): Likewise.
16192 (CFLAGS-strfromf.c): Likewise.
16193 (CFLAGS-strfroml.c): Likewise.
16194 (CFLAGS-tst-bsearch.c): Likewise.
16195 (CFLAGS-tst-qsort.c): Likewise.
16196 (CFLAGS-tst-makecontext2.c): Likewise.
16197 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
16198 (CFLAGS-xnlm_prot.c): Likewise.
16199 (CFLAGS-xrstat.c): Likewise.
16200 (CFLAGS-xyppasswd.c): Likewise.
16201 (CFLAGS-xklm_prot.c): Likewise.
16202 (CFLAGS-xrex.c): Likewise.
16203 (CFLAGS-xsm_inter.c): Likewise.
16204 (CFLAGS-xmount.c): Likewise.
16205 (CFLAGS-xrusers.c): Likewise.
16206 (CFLAGS-xspray.c): Likewise.
16207 (CFLAGS-xnfs_prot.c): Likewise.
16208 (CFLAGS-xrquota.c): Likewise.
16209 (CFLAGS-xkey_prot.c): Likewise.
16210 (CFLAGS-auth_unix.c): Likewise.
16211 (CFLAGS-key_call.c): Likewise.
16212 (CFLAGS-pmap_rmt.c): Likewise.
16213 (CFLAGS-clnt_perr.c): Likewise.
16214 (CFLAGS-openchild.c): Likewise.
16215 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
16216 (CFLAGS-msgsnd.c): Likewise.
16217 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
16218 * time/Makefile (CFLAGS-tzfile.c): Likewise.
16219 (CFLAGS-tzset.c): Likewise.
16220 (CFLAGS-getdate.c): Likewise.
16221 (CFLAGS-test_time.c): Likewise.
16222 (CPPFLAGS-tst-tzname.c): Likewise.
16223 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
16224 (CFLAGS-zic.c): Likewise.
16225 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
16226 (CFLAGS-wcswidth.c): Likewise.
16227 (CFLAGS-wcstol.c): Likewise.
16228 (CFLAGS-wcstoul.c): Likewise.
16229 (CFLAGS-wcstoll.c): Likewise.
16230 (CFLAGS-wcstoull.c): Likewise.
16231 (CFLAGS-wcstod.c): Likewise.
16232 (CFLAGS-wcstold.c): Likewise.
16233 (CFLAGS-wcstof128.c): Likewise.
16234 (CFLAGS-wcstof.c): Likewise.
16235 (CFLAGS-wcstol_l.c): Likewise.
16236 (CFLAGS-wcstoul_l.c): Likewise.
16237 (CFLAGS-wcstoll_l.c): Likewise.
16238 (CFLAGS-wcstoull_l.c): Likewise.
16239 (CFLAGS-wcstod_l.c): Likewise.
16240 (CFLAGS-wcstold_l.c): Likewise.
16241 (CFLAGS-wcstof128_l.c): Likewise.
16242 (CFLAGS-wcstof_l.c): Likewise.
16243 (CPPFLAGS-tst-wchar-h.c): Likewise.
16244 (CPPFLAGS-wcstold_l.c): Likewise.
16245---
f4b2aea6
PC
162462017-12-11 Paul A. Clarke <pc@us.ibm.com>
16247
16248 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
16249
c9cd7b0c
AZ
162502017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16251 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16252
16253 * manual/tunables.texi (Hardware Capability Tunables): Document
16254 glibc.tune.cached_memopt.
16255 * sysdeps/powerpc/cpu-features.c: New file.
16256 * sysdeps/powerpc/cpu-features.h: New file.
16257 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
16258 _dl_powerpc_cpu_features.
16259 * sysdeps/powerpc/dl-tunables.list: New file.
16260 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
16261 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
16262 (INIT_ARCH): Initialize use_aligned_memopt.
16263 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
16264 IS_IN(rtld))]: Restrict dl_platform_init availability and
16265 initialize CPU features used by tunables.
16266 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
16267 Add memcpy-power8-cached.
16268 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
16269 __memcpy_power8_cached.
16270 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
16271 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
16272 New file.
16273
e70c6fee
L
162742017-12-11 H.J. Lu <hongjiu.lu@intel.com>
16275
16276 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
16277 (CFLAGS-noinl-tester.c): Likewise.
16278 (CFLAGS-tst-strlen.c): Likewise.
16279 (CFLAGS-stratcliff.c): Likewise.
16280 (CFLAGS-test-ffs.c): Likewise.
16281 (CFLAGS-tst-inlcall.c): Likewise.
16282 (CFLAGS-tst-xbzero-opt.c): Likewise.
16283 (CFLAGS-memcpy.c): Likewise.
16284 (CFLAGS-wordcopy.c): Likewise.
16285
dee94366
SL
162862017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
16287
16288 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
16289 Store r15 on stack and add cfi rule.
16290 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
16291 Likewise.
16292
363e4519 162932017-12-10 Aurelien Jarno <aurelien@aurel32.net>
f648728c
AJ
16294
16295 [BZ #22577]
16296 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
16297 call.
16298
9d0ffa60
L
162992017-12-07 H.J. Lu <hongjiu.lu@intel.com>
16300
16301 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16302 Add s_sinf-sse2 and s_sinf-fma.
16303 (CFLAGS-s_sinf-fma.c): New.
16304 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
16305 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
16306 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
16307
9574c7b6
L
163082017-12-07 H.J. Lu <hongjiu.lu@intel.com>
16309
16310 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
16311
d15e83c5
JM
163122017-12-07 Joseph Myers <joseph@codesourcery.com>
16313
16314 [BZ #22568]
16315 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
16316 part of result to imaginary part of argument if it is zero and the
16317 real part of the argument is not finite.
16318 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
16319 of result to real part of argument if it is zero and the imaginary
16320 part of the argument is not finite.
16321
d89756eb
MF
163222017-12-07 Mike FABIAN <mfabian@redhat.com>
16323
16324 [BZ #22524]
16325 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
16326 and to the list of locales to be built for testing.
16327 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
16328 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
16329 and build the collation rules upon that.
16330
1f9055ce
JM
163312017-12-07 Joseph Myers <joseph@codesourcery.com>
16332
16333 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
16334 * manual/math.texi (Mathematics): Document support for _Float32.
16335 * math/Makefile (test-types): Add float32.
16336 * math/Versions (GLIBC_2.27): Add _Float32 functions.
16337 * stdlib/Versions (GLIBC_2.27): Likewise.
16338 * wcsmbs/Versions (GLIBC_2.27): Likewise.
16339 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
16340 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16341 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
16342 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16343 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
16344 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16345 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
16346 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16347 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
16348 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16349 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
16350 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16351 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
16352 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16353 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
16354 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16355 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
16356 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16357 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
16358 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16359 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
16360 Likewise.
16361 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16362 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
16363 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
16364 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
16365 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
16367 Likewise.
16368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16369 Likewise.
16370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16371 Likewise.
16372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16373 Likewise.
16374
16375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
16376 Likewise.
16377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
16378 Likewise.
16379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16380 Likewise.
16381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16382 Likewise.
16383 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
16384 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16385 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
16386 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16387 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
16388 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16389 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
16390 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16391 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16392 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16393 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
16394 Likewise.
16395 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
16396 Likewise.
16397 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
16398 Likewise.
16399 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
16400 Likewise.
16401 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
16402 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16403 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
16404 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16405 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
16406 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16407 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
16408 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
16409
5244527d
JM
164102017-12-06 Joseph Myers <joseph@codesourcery.com>
16411
fb1ca2aa
JM
16412 * stdlib/strtof.c: Include <bits/floatn.h>
16413 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
16414 and later undefine as macro. Define as weak alias if
16415 [!USE_WIDE_CHAR].
16416 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
16417 and later undefine as macro. Define as weak alias if
16418 [USE_WIDE_CHAR].
16419 * stdlib/strtof_l.c: Include <bits/floatn.h>
16420 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
16421 and later undefine as macro. Define as weak alias if
16422 [!USE_WIDE_CHAR].
16423 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
16424 and later undefine as macro. Define as weak alias if
16425 [USE_WIDE_CHAR].
16426
fc10cc3f
JM
16427 * stdlib/strfromf.c: Include <bits/floatn.h>.
16428 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
16429 and later undefine as macro and define as weak alias.
16430
e420d228
JM
16431 * math/test-float32.h: New file.
16432
26007a2f
JM
16433 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
16434 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
16435 (libm_alias_float_other_r): Create f32 alias.
16436 (libm_alias_float_r): Use semicolon before call to
16437 libm_alias_float_other_r.
16438
c191f64c
JM
16439 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
16440 second argument to libm_alias_float_other.
16441 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
16442 second argument to libm_alias_float_other.
16443 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
16444 argument to libm_alias_float_other.
16445
5244527d
JM
16446 [BZ #22561]
16447 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
16448 real part of result for argument 0 + i * NaN.
16449 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
16450 results for tests of 0 + i * NaN.
16451
d73fac82
AZ
164522017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16453
16454 * sysdeps/alpha/fpu/libm-test-ulps: Update.
16455
7ec094e8
DM
164562017-12-06 David S. Miller <davem@davemloft.net>
16457
16458 * sysdeps/sparc/fpu/libm-test-ulps: Update
16459 exp_{downward,towardzero,upward} ulps.
16460
53994f12
JM
164612017-12-06 Joseph Myers <joseph@codesourcery.com>
16462
1dbe6f64
JM
16463 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
16464 variables static.
16465
53994f12
JM
16466 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
16467 (Y0_2D): Likewise.
16468 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
16469 (Y0_2D): Likewise.
16470 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
16471 (Y0_2D): Likewise.
16472 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
16473 (Y0_2D): Likewise.
16474
62ea2193
MF
164752017-12-06 Mike FABIAN <mfabian@redhat.com>
16476
16477 [BZ #22515]
16478 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
16479 and to the list of locales to be built for testing.
16480 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
16481 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
16482 and build the collation rules upon that.
16483
87235d70
RS
164842017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16485
16486 * NEWS: Add sinf to list of optimized functions.
16487
0d93b7fd
JM
164882017-12-06 Joseph Myers <joseph@codesourcery.com>
16489
16490 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
16491 (__HAVE_FLOAT32X): Likewise.
16492 * manual/math.texi (Mathematics): Document support for _Float64
16493 and _Float32x.
16494 * math/Makefile (test-types): Add float64 and float32x.
16495 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
16496 functions.
16497 * stdlib/Versions (GLIBC_2.27): Likewise.
16498 * wcsmbs/Versions (GLIBC_2.27): Likewise.
16499 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
16500 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16501 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
16502 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16503 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
16504 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16505 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
16506 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16507 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
16508 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16509 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
16510 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16511 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
16512 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16513 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
16514 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16515 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
16516 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16517 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
16518 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16519 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
16520 Likewise.
16521 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16522 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
16523 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
16524 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
16525 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
16527 Likewise.
16528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16529 Likewise.
16530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16531 Likewise.
16532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16533 Likewise.
16534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
16535 Likewise.
16536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
16537 Likewise.
16538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16539 Likewise.
16540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16541 Likewise.
16542 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
16543 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16544 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
16545 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16546 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
16547 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16548 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
16549 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16550 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16551 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16552 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
16553 Likewise.
16554 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
16555 Likewise.
16556 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
16557 Likewise.
16558 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
16559 Likewise.
16560 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
16561 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16562 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
16563 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16564 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
16565 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16566 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
16567 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
16568
f7787234
JM
165692017-12-05 Joseph Myers <joseph@codesourcery.com>
16570
16571 * bits/floatn-common.h: Include <bits/long-double.h>.
16572 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
16573 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
16574 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
16575 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
16576 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
16577 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
16578 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
16579 (__builtin_huge_valf64): Use __builtin_huge_vall.
16580 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
16581 (__builtin_inff64): Use __builtin_infl.
16582 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
16583 (__builtin_nanf64): Use __builtin_nanl.
16584 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
16585 (__builtin_nansf64): Use __builtin_nansl.
16586
363e4519
DL
165872017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
16588 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
07ed18d2
RA
16589 Carlos O'Donnell <carlos@redhat.com>
16590
16591 * elf/dl-tunables.list: Add elision parameters.
16592 * manual/tunables.texi: Add entries about elision tunable.
16593 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
16594 Add callback functions to dynamically enable/disable elision.
16595 Add multiple callbacks functions to set elision parameters.
16596 Deleted __libc_enable_secure check.
16597 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
16598 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
16599 * configure: Regenerated.
16600 * configure.ac: Option enable_lock_elision was deleted.
16601 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
16602 * config.make.in: Remove references to enable_lock_elision.
16603 * manual/install.texi: Elision configure option was removed.
16604 * INSTALL: Regenerated to remove enable_lock_elision.
16605 * nptl/Makefile:
16606 Disable elision so it can verify error case for destroying a mutex.
16607 * sysdeps/powerpc/nptl/elide.h:
16608 Cleanup ENABLE_LOCK_ELISION check.
16609 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
16610 * sysdeps/s390/configure: Regenerated.
16611 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
16612 * nptl/tst-mutex8.c:
16613 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
16614 * sysdeps/powerpc/powerpc32/sysdep.h:
16615 Deleted all ENABLE_LOCK_ELISION checks.
16616 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
16617 * sysdeps/powerpc/sysdep.h: Likewise.
16618 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
16619 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
16620 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
16621 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
16622 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
16623 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
16624 enable-lock-elision.
16625
a5a2a76b
JM
166262017-12-05 Joseph Myers <joseph@codesourcery.com>
16627
16628 * stdlib/strtod.c: Include <bits/floatn.h>.
16629 (BUILD_DOUBLE): New macro.
16630 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
16631 (strtof64): Define and later undefine as macro. Define as weak
16632 alias if [!USE_WIDE_CHAR].
16633 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
16634 (wcstof64): Define and later undefine as macro. Define as weak
16635 alias if [USE_WIDE_CHAR].
16636 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
16637 (strtof32x): Define and later undefine as macro. Define as weak
16638 alias if [!USE_WIDE_CHAR].
16639 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
16640 (wcstof32x): Define and later undefine as macro. Define as weak
16641 alias if [USE_WIDE_CHAR].
16642 * stdlib/strtod_l.c: Include <bits/floatn.h>.
16643 (BUILD_DOUBLE): New macro.
16644 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
16645 (strtof64_l): Define and later undefine as macro. Define as weak
16646 alias if [!USE_WIDE_CHAR].
16647 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
16648 (wcstof64_l): Define and later undefine as macro. Define as weak
16649 alias if [USE_WIDE_CHAR].
16650 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
16651 (strtof32x_l): Define and later undefine as macro. Define as weak
16652 alias if [!USE_WIDE_CHAR].
16653 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
16654 (wcstof32x_l): Define and later undefine as macro. Define as weak
16655 alias if [USE_WIDE_CHAR].
16656
94d80dfc
AZ
166572017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16658
16659 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
16660 (reduced): Use ones as double instead of integer.
16661
00d54af7
SN
166622017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
16663
16664 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
16665
f2d64d62
JM
166662017-12-05 Joseph Myers <joseph@codesourcery.com>
16667
1f70eae4
JM
16668 * stdlib/strfromd.c: Include <bits/floatn.h>.
16669 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
16670 and later undefine as macro and define as weak alias.
16671 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
16672 Likewise.
16673
e2c4dce5
JM
16674 * math/test-float32x.h: New file.
16675 * math/test-float64.h: Likewise.
16676
f2d64d62
JM
16677 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
16678 (libm_alias_double_other_r_f64): New macro.
16679 (libm_alias_double_other_r_f32x): Likewise.
16680 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
16681 libm_alias_double_other_r_f32x.
16682 (libm_alias_double_r): Use semicolon before call to
16683 libm_alias_double_other_r.
16684 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
16685 <bits/floatn.h>.
16686 (libm_alias_double_other_r_f64): New macro.
16687 (libm_alias_double_other_r_f32x): Likewise.
16688 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
16689 libm_alias_double_other_r_f32x.
16690
91c318e7
L
166912017-12-05 H.J. Lu <hongjiu.lu@intel.com>
16692
16693 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
16694 int.
16695 (SINF_FUNC): Likewise. Replace floor with simple casts.
16696
de9661d6
MF
166972017-12-05 Mike FABIAN <mfabian@redhat.com>
16698
16699 [BZ #22517]
16700 * localedata/Makefile: Add et_EE.UTF-8 to test-input
16701 and to the list of locales to be built for testing.
16702 * localedata/et_EE.UTF-8.in: New file for testing the collation.
16703 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
16704 and build the collation rules upon that.
16705
f18b8dc7
CM
167062017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
16707
16708 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
16709 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
16710 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
16711 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
16712 instead of __insn__xxx.
16713 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
16714 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
16715 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
16716 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
16717 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
16718 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
16719
446d22e9
FW
167202017-12-05 Florian Weimer <fweimer@redhat.com>
16721
16722 Linux: Implement interfaces for memory protection keys
16723 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
16724 xsignal, xsysconf.
16725 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
16726 * support/xunistd.h (xsysconf): Declare.
16727 * support/xraise.c: New file.
16728 * support/xsigaction.c: Likewise.
16729 * support/xsignal.c: Likewise.
16730 * support/xsysconf.c: Likewise.
16731 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
16732 pkey_set, pkey_get, pkey_mprotect.
16733 [misc] (tests): Add tst-pkey.
16734 (tst-pkey): Link with -lpthread.
16735 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
16736 pkey_free, pkey_set, pkey_get, pkey_mprotect.
16737 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
16738 (PKEY_DISABLE_WRITE): Define.
16739 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
16740 Declare.
16741 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
16742 (SEGV_PKUERR): Add.
16743 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
16744 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
16745 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
16746 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
16747 Add.
16748 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
16749 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
16750 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
16751 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
16752 * sysdeps/unix/sysv/linux/**.abilist: Update.
16753
da616c14
FW
167542017-12-05 Florian Weimer <fweimer@redhat.com>
16755
16756 * support/tst-test_compare.c (subprocess): Use long long instead
16757 of long argument for consistent type width across 32-bit and
16758 64-bit architectures.
16759 (do_test): Adjust expected output.
16760
216933b2
JM
167612017-12-05 Joseph Myers <joseph@codesourcery.com>
16762
16763 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
16764 (cosf): Define using libm_alias_float.
16765 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
16766 (fabsf): Define using libm_alias_float.
16767 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
16768 (fmaf): Define using libm_alias_float.
16769 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
16770 (rintf): Define using libm_alias_float.
16771 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
16772 (sinf): Define using libm_alias_float.
16773 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
16774 <libm-alias-float.h>.
16775 (modff): Define using libm_alias_float.
16776 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
16777 <libm-alias-float.h>.
16778 (logbf): Define using libm_alias_float.
16779 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
16780 <libm-alias-float.h>.
16781 (ceilf): Define using libm_alias_float.
16782 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
16783 <libm-alias-float.h>.
16784 (copysignf): Define using libm_alias_float.
16785 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
16786 <libm-alias-float.h>.
16787 (floorf): Define using libm_alias_float.
16788 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
16789 <libm-alias-float.h>.
16790 (llrintf): Define using libm_alias_float.
16791 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
16792 <libm-alias-float.h>.
16793 (llroundf): Define using libm_alias_float.
16794 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
16795 <libm-alias-float.h>.
16796 (lrintf): Define using libm_alias_float.
16797 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
16798 <libm-alias-float.h>.
16799 (lroundf): Define using libm_alias_float.
16800 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
16801 <libm-alias-float.h>.
16802 (nearbyintf): Define using libm_alias_float.
16803 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
16804 <libm-alias-float.h>.
16805 (rintf): Define using libm_alias_float.
16806 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
16807 <libm-alias-float.h>.
16808 (roundf): Define using libm_alias_float.
16809 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
16810 <libm-alias-float.h>.
16811 (truncf): Define using libm_alias_float.
16812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
16813 Include <libm-alias-float.h>.
16814 (ceilf): Define using libm_alias_float.
16815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
16816 Include <libm-alias-float.h>.
16817 (copysignf): Define using libm_alias_float.
16818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
16819 Include <libm-alias-float.h>.
16820 (floorf): Define using libm_alias_float.
16821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
16822 Include <libm-alias-float.h>.
16823 (llrintf): Define using libm_alias_float.
16824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
16825 Include <libm-alias-float.h>.
16826 (llroundf): Define using libm_alias_float.
16827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
16828 Include <libm-alias-float.h>.
16829 (logbf): Define using libm_alias_float.
16830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
16831 Include <libm-alias-float.h>.
16832 (lrintf): Define using libm_alias_float.
16833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
16834 Include <libm-alias-float.h>.
16835 (lroundf): Define using libm_alias_float.
16836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
16837 Include <libm-alias-float.h>.
16838 (modff): Define using libm_alias_float.
16839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
16840 Include <libm-alias-float.h>.
16841 (roundf): Define using libm_alias_float.
16842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
16843 Include <libm-alias-float.h>.
16844 (truncf): Define using libm_alias_float.
16845 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
16846 <libm-alias-float.h>.
16847 (llrintf): Define using libm_alias_float.
16848 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
16849 <libm-alias-float.h>.
16850 (llroundf): Define using libm_alias_float.
16851 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
16852 <libm-alias-float.h>.
16853 (ceilf): Define using libm_alias_float.
16854 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
16855 <libm-alias-float.h>.
16856 (floorf): Define using libm_alias_float.
16857 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
16858 <libm-alias-float.h>.
16859 (llroundf): Define using libm_alias_float.
16860 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
16861 <libm-alias-float.h>.
16862 (lroundf): Define using libm_alias_float.
16863 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
16864 <libm-alias-float.h>.
16865 (roundf): Define using libm_alias_float.
16866 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
16867 <libm-alias-float.h>.
16868 (truncf): Define using libm_alias_float.
16869 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
16870 <libm-alias-float.h>.
16871 (copysignf): Define using libm_alias_float.
16872 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
16873 <libm-alias-float.h>.
16874 (llrintf): Define using libm_alias_float.
16875 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
16876 <libm-alias-float.h>.
16877 (llroundf): Define using libm_alias_float.
16878 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
16879 <libm-alias-float.h>.
16880 (lrintf): Define using libm_alias_float.
16881 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
16882 <libm-alias-float.h>.
16883 (lroundf): Define using libm_alias_float.
16884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
16885 <libm-alias-float.h>.
16886 (ceilf): Define using libm_alias_float.
16887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
16888 <libm-alias-float.h>.
16889 (copysignf): Define using libm_alias_float.
16890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
16891 <libm-alias-float.h>.
16892 (cosf): Define using libm_alias_float.
16893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
16894 <libm-alias-float.h>.
16895 (floorf): Define using libm_alias_float.
16896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
16897 <libm-alias-float.h>.
16898 (llrintf): Define using libm_alias_float.
16899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
16900 <libm-alias-float.h>.
16901 (llroundf): Define using libm_alias_float.
16902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
16903 <libm-alias-float.h>.
16904 (logbf): Define using libm_alias_float.
16905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
16906 <libm-alias-float.h>.
16907 (modff): Define using libm_alias_float.
16908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
16909 <libm-alias-float.h>.
16910 (roundf): Define using libm_alias_float.
16911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
16912 <libm-alias-float.h>.
16913 (sinf): Define using libm_alias_float.
16914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
16915 <libm-alias-float.h>.
16916 (truncf): Define using libm_alias_float.
16917 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
16918 <libm-alias-float.h>.
16919 (ceilf): Define using libm_alias_float.
16920 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
16921 <libm-alias-float.h>.
16922 (copysignf): Define using libm_alias_float.
16923 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
16924 <libm-alias-float.h>.
16925 (floorf): Define using libm_alias_float.
16926 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
16927 <libm-alias-float.h>.
16928 (llrintf): Define using libm_alias_float.
16929 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
16930 <libm-alias-float.h>.
16931 (llroundf): Define using libm_alias_float.
16932 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
16933 <libm-alias-float.h>.
16934 (nearbyintf): Define using libm_alias_float.
16935 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
16936 <libm-alias-float.h>.
16937 (rintf): Define using libm_alias_float.
16938 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
16939 <libm-alias-float.h>.
16940 (roundf): Define using libm_alias_float.
16941 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
16942 <libm-alias-float.h>.
16943 (truncf): Define using libm_alias_float.
16944 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
16945 <libm-alias-float.h>.
16946 (ceilf): Define using libm_alias_float.
16947 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
16948 <libm-alias-float.h>.
16949 (floorf): Define using libm_alias_float.
16950 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
16951 <libm-alias-float.h>.
16952 (llroundf): Define using libm_alias_float.
16953 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
16954 <libm-alias-float.h>.
16955 (roundf): Define using libm_alias_float.
16956 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
16957 <libm-alias-float.h>.
16958 (truncf): Define using libm_alias_float.
16959 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
16960 <libm-alias-float.h>.
16961 (copysignf): Define using libm_alias_float.
16962 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
16963 <libm-alias-float.h>.
16964 (llrintf): Define using libm_alias_float.
16965 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
16966 <libm-alias-float.h>.
16967 (llroundf): Define using libm_alias_float.
16968 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
16969 <libm-alias-float.h>.
16970 (cosf): Define using libm_alias_float.
16971 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
16972 <libm-alias-float.h>.
16973 (llrintf): Define using libm_alias_float.
16974 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
16975 <libm-alias-float.h>.
16976 (llroundf): Define using libm_alias_float.
16977 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
16978 <libm-alias-float.h>.
16979 (sinf): Define using libm_alias_float.
16980
93485524
FW
169812017-12-04 Florian Weimer <fweimer@redhat.com>
16982
16983 * support/check.h (TEST_COMPARE): Define.
16984 (support_test_compare_failure): Declare.
16985 * support/Makefile (libsupport-routines): Add
16986 support_test_compare_failure.
16987 (tests): Add tst-test_compare.
16988 * support /support_test_compare_failure.c: New file.
16989 * support/tst-test_compare.c: Likewise.
16990
96b06a19
MF
169912017-12-04 Mike FABIAN <mfabian@redhat.com>
16992
16993 [BZ #22527]
16994 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
16995 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
16996 available, this rewrite of the collation rules does reproduce
16997 the test file in the same order.
16998
1f6d91f3
MF
169992017-12-04 Mike FABIAN <mfabian@redhat.com>
17000
17001 [BZ #10580]
17002 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
17003 digraphs in the month and day names. Using single code points for
17004 digraphs is deprecated. While there are dedicated Unicode
17005 codepoints, for the digraphs, these are included for backwards
17006 compatibility and modern texts use a sequence of Basic Latin
17007 characters. See: https://www.unicode.org/faq/ligature_digraph.html
17008 This makes the month and day names agree exactly with CLDR now,
17009 CLDR does not use the single code points for the digraphs either.
17010
2e49fed8
CM
170112017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
17012
17013 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
17014
73895b49
JM
170152017-12-04 Joseph Myers <joseph@codesourcery.com>
17016
17017 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
17018 of floor.
17019
4c1d801a
SP
170202017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
17021
17022 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
17023 Define only for libc.so.
17024
478593e6
SL
170252017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
17026
17027 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
17028 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
17029 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
17030 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
17031 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17032
7863a711
RS
170332017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17034
17035 [BZ #5997]
17036 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
17037
800a496a
JDA
170382017-12-02 John David Anglin <danglin@gcc.gnu.org>
17039
b3f7fb12
JDA
17040 [BZ libc/19170]
17041 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
17042 PREINIT_FUNCTION_WEAK is nonzero.
17043 (gmon_initializer): New function. Put procedure label for it in
17044 .init_array section.
17045 (_init): Don't call PREINIT_FUNCTION.
17046 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
17047 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
17048 value when map argument is null.
17049
800a496a
JDA
17050 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
17051 depi instruction from PIC pc-relative sequence.
17052 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
17053 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
17054 (elf_machine_load_address): Likewise.
17055 (elf_machine_runtime_setup): Likewise.
17056
d17542d2
JM
170572017-12-02 Joseph Myers <joseph@codesourcery.com>
17058
17059 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
17060 <libm-alias-double.h>.
17061 (logb): Define using libm_alias_double.
17062 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
17063 <libm-alias-double.h>.
17064 (copysign): Define using libm_alias_double.
17065 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
17066 <libm-alias-double.h>.
17067 (llrint): Define using libm_alias_double.
17068 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
17069 <libm-alias-double.h>.
17070 (llround): Define using libm_alias_double.
17071 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
17072 <libm-alias-double.h>.
17073 (lrint): Define using libm_alias_double.
17074 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
17075 <libm-alias-double.h>.
17076 (lround): Define using libm_alias_double.
17077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
17078 Include <libm-alias-double.h>.
17079 (copysign): Define using libm_alias_double.
17080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
17081 Include <libm-alias-double.h>.
17082 (llrint): Define using libm_alias_double.
17083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
17084 Include <libm-alias-double.h>.
17085 (llround): Define using libm_alias_double.
17086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
17087 <libm-alias-double.h>.
17088 (logb): Define using libm_alias_double.
17089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
17090 Include <libm-alias-double.h>.
17091 (lrint): Define using libm_alias_double.
17092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
17093 Include <libm-alias-double.h>.
17094 (lround): Define using libm_alias_double.
17095 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
17096 <libm-alias-double.h>.
17097 (llrint): Define using libm_alias_double.
17098 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
17099 <libm-alias-double.h>.
17100 (llround): Define using libm_alias_double.
17101 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
17102 <libm-alias-double.h>.
17103 (llround): Define using libm_alias_double.
17104 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
17105 <libm-alias-double.h>.
17106 (lround): Define using libm_alias_double.
17107 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
17108 <libm-alias-double.h>.
17109 (copysign): Define using libm_alias_double.
17110 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
17111 <libm-alias-double.h>.
17112 (llrint): Define using libm_alias_double.
17113 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
17114 <libm-alias-double.h>.
17115 (llround): Define using libm_alias_double.
17116 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
17117 <libm-alias-double.h>.
17118 (lrint): Define using libm_alias_double.
17119 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
17120 <libm-alias-double.h>.
17121 (lround): Define using libm_alias_double.
17122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
17123 <libm-alias-double.h>.
17124 (copysign): Define using libm_alias_double.
17125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
17126 <libm-alias-double.h>.
17127 (llrint): Define using libm_alias_double.
17128 (lrint): Likewise.
17129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
17130 <libm-alias-double.h>.
17131 (llround): Define using libm_alias_double.
17132 (lround): Likewise.
17133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
17134 <libm-alias-double.h>.
17135 (logb): Define using libm_alias_double.
17136 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
17137 <libm-alias-double.h>.
17138 (copysign): Define using libm_alias_double.
17139 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
17140 <libm-alias-double.h>.
17141 (llrint): Define using libm_alias_double.
17142 (lrint): Likewise.
17143 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
17144 <libm-alias-double.h>.
17145 (llround): Define using libm_alias_double.
17146 (lround): Likewise.
17147 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
17148 <libm-alias-double.h>.
17149 (llround): Define using libm_alias_double.
17150 (lround): Likewise.
17151 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
17152 <libm-alias-double.h>.
17153 (copysign): Define using libm_alias_double.
17154 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
17155 <libm-alias-double.h>.
17156 (llrint): Define using libm_alias_double.
17157 (lrint): Likewise.
17158 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
17159 <libm-alias-double.h>.
17160 (llround): Define using libm_alias_double.
17161 (lround): Likewise.
17162 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
17163 <libm-alias-double.h>.
17164 (llrint): Define using libm_alias_double.
17165 (lrint): Likewise.
17166 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
17167 <libm-alias-double.h>.
17168 (llround): Define using libm_alias_double.
17169 (lround): Likewise.
17170
ec2cf3f4
JM
171712017-12-01 Joseph Myers <joseph@codesourcery.com>
17172
0ddde474
JM
17173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
17174 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
17175 compat symbol based on llround.
17176
0d5ba561
JM
17177 * sysdeps/powerpc/power7/fpu/s_logb.c
17178 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
17179 symbol based on __logb, not on logb.
17180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
17181 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
17182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
17183 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
17184
51ea3b20
JM
17185 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
17186 (rint): Define using libm_alias_double.
17187 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
17188 <libm-alias-double.h>.
17189 (modf): Define using libm_alias_double.
17190 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
17191 <libm-alias-double.h>.
17192 (ceil): Define using libm_alias_double.
17193 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
17194 <libm-alias-double.h>.
17195 (floor): Define using libm_alias_double.
17196 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
17197 <libm-alias-double.h>.
17198 (nearbyint): Define using libm_alias_double.
17199 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
17200 <libm-alias-double.h>.
17201 (rint): Define using libm_alias_double.
17202 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
17203 <libm-alias-double.h>.
17204 (round): Define using libm_alias_double.
17205 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
17206 <libm-alias-double.h>.
17207 (trunc): Define using libm_alias_double.
17208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
17209 <libm-alias-double.h>.
17210 (ceil): Define using libm_alias_double.
17211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
17212 Include <libm-alias-double.h>.
17213 (floor): Define using libm_alias_double.
17214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
17215 <libm-alias-double.h>.
17216 (modf): Define using libm_alias_double.
17217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
17218 Include <libm-alias-double.h>.
17219 (round): Define using libm_alias_double.
17220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
17221 Include <libm-alias-double.h>.
17222 (trunc): Define using libm_alias_double.
17223 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
17224 <libm-alias-double.h>.
17225 (ceil): Define using libm_alias_double.
17226 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
17227 <libm-alias-double.h>.
17228 (floor): Define using libm_alias_double.
17229 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
17230 <libm-alias-double.h>.
17231 (round): Define using libm_alias_double.
17232 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
17233 <libm-alias-double.h>.
17234 (trunc): Define using libm_alias_double.
17235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
17236 <libm-alias-double.h>.
17237 (ceil): Define using libm_alias_double.
17238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
17239 <libm-alias-double.h>.
17240 (floor): Define using libm_alias_double.
17241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
17242 <libm-alias-double.h>.
17243 (modf): Define using libm_alias_double.
17244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
17245 <libm-alias-double.h>.
17246 (round): Define using libm_alias_double.
17247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
17248 <libm-alias-double.h>.
17249 (trunc): Define using libm_alias_double.
17250 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
17251 <libm-alias-double.h>.
17252 (ceil): Define using libm_alias_double.
17253 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
17254 <libm-alias-double.h>.
17255 (floor): Define using libm_alias_double.
17256 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
17257 <libm-alias-double.h>.
17258 (nearbyint): Define using libm_alias_double.
17259 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
17260 <libm-alias-double.h>.
17261 (rint): Define using libm_alias_double.
17262 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
17263 <libm-alias-double.h>.
17264 (round): Define using libm_alias_double.
17265 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
17266 <libm-alias-double.h>.
17267 (trunc): Define using libm_alias_double.
17268 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
17269 <libm-alias-double.h>.
17270 (ceil): Define using libm_alias_double.
17271 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
17272 <libm-alias-double.h>.
17273 (floor): Define using libm_alias_double.
17274 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
17275 <libm-alias-double.h>.
17276 (round): Define using libm_alias_double.
17277 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
17278 <libm-alias-double.h>.
17279 (trunc): Define using libm_alias_double.
17280
ec2cf3f4
JM
17281 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
17282 (fabs): Define using libm_alias_double.
17283 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
17284 (fma): Define using libm_alias_double.
17285 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
17286 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
17287 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
17288 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
17289
5b7bd975
AZ
172902017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17291
0594b13f
AZ
17292 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
17293
dbdfcf3b
AZ
17294 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
17295 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
17296 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
17297
5b7bd975
AZ
17298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
17299 due redirect macro.
17300
ef9ecfa6
AS
173012017-12-01 Andreas Schwab <schwab@linux-m68k.org>
17302
17303 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
17304
5b4e5e78
AZ
173052017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17306
2a14526b
AZ
17307 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
17308 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
17309 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
17310 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
17311
dbeb74ef 17312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1c051a9b
AZ
17313 (libm-sysdep_routines): Add s_nearbyintf-generic and
17314 s_nearbyint-generic.
17315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
17316 New file.
17317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
17318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
17319 Likewise.
17320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
17321 Likewise.
17322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
17323 file.
17324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
17325 Likewise.
17326
17327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
dbeb74ef
AZ
17328 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
17329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
17330 file.
17331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
17332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
17333 Likewise.
17334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
17335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
17336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
17337
fa7ded96
AZ
17338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
17339 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
17340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
17341 file.
17342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
17343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
17344 Likewise.
17345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
17346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
17347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
17348
e240cf0e
AZ
17349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
17350 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
17351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
17352 file.
17353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
17354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
17355 Likewise.
17356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
17357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
17358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
17359
5b4e5e78
AZ
17360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
17361 (sysdep_calls): New rule.
17362 (sysdep_routines): Use sysdep_calls as base.
17363 (libm-sysdep_routines): Add generic rule for symbols shared with
17364 libc. Add s_copysign-generic and s_copysign-generic objects.
17365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
17366 New file.
17367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
17368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
17369 Likewise.
17370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
17371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
17372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
17373
d985adae
MF
173742017-12-01 Mike FABIAN <mfabian@redhat.com>
17375
17376 [BZ #22519]
17377 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
17378 the list of locales to be built for testing.
17379 * localedata/is_IS.UTF-8.in: New file.
17380 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
17381 on iso14651_t1.
17382
ff84a0e0
JM
173832017-12-01 Joseph Myers <joseph@codesourcery.com>
17384
17385 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
17386 <libm-alias-float.h>.
17387 (fabsf): Define using libm_alias_float.
17388
ef5d8b43
L
173892017-11-30 H.J. Lu <hongjiu.lu@intel.com>
17390
17391 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
17392
c0535adf
JM
173932017-11-30 Joseph Myers <joseph@codesourcery.com>
17394
f938b397
JM
17395 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
17396 <libm-alias-float.h>.
17397 (fabsf): Define using libm_alias_float.
17398 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
17399 <libm-alias-float.h>.
17400 (lrintf): Define using libm_alias_float.
17401 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
17402 <libm-alias-float.h>.
17403 (rintf): Define using libm_alias_float.
17404
2251fad0
JM
17405 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
17406 <libm-alias-double.h>.
17407 (fabs): Define using libm_alias_double.
17408 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
17409 <libm-alias-double.h>.
17410 (lrint): Define using libm_alias_double.
17411 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
17412 <libm-alias-double.h>.
17413 (rint): Define using libm_alias_double.
17414
e53df1de
JM
17415 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
17416 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
17417 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
17418 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
17419 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
17420 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
17421 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
17422 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
17423 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
17424 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
17425 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
17426 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
17427 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
17428 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
17429 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
17430 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
17431 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
17432 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
17433 s_atan_template.c.
17434 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
17435 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
17436 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
17437 s_ceil_template.c.
17438 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
17439 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
17440 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
17441 s_cos_template.c.
17442 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
17443 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
17444 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
17445 s_expm1_template.c.
17446 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
17447 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
17448 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
17449 s_fabs_template.c.
17450 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
17451 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
17452 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
17453 s_floor_template.c.
17454 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
17455 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
17456 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
17457 s_frexp_template.c.
17458 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
17459 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
17460 s_lrint_template.c.
17461 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
17462 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
17463 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
17464 s_modf_template.c.
17465 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
17466 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
17467 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
17468 s_nearbyint_template.c.
17469 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
17470 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
17471 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
17472 s_remquo_template.c.
17473 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
17474 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
17475 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
17476 s_rint_template.c.
17477 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
17478 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
17479 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
17480 s_sin_template.c.
17481 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
17482 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
17483 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
17484 s_sincos_template.c.
17485 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
17486 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
17487 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
17488 s_tan_template.c.
17489 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
17490 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
17491 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
17492 s_tanh_template.c.
17493 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
17494 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
17495 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
17496 s_trunc_template.c.
17497 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
17498 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
17499 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
17500 s_atan.c instead of including s_atan.c.
17501 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
17502 s_atanf.c instead of including s_atanf.c.
17503 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
17504 s_atanl.c instead of including s_atanl.c.
17505 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
17506 instead of s_atan.c.
17507 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
17508 instead of s_atanf.c.
17509 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
17510 instead of s_atanl.c.
17511
c0535adf
JM
17512 * scripts/update-copyrights: Do not handle intl/plural.c
17513 specially.
17514
1faaf703
JB
175152017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
17516
17517 [BZ #22432]
17518 * configure.ac (BISON): Require to be present.
17519 * configure: Regenerated.
17520 * intl/Makefile (generated): Add plural.c.
17521 [$(BISON) != no]: Make code unconditional.
17522 (plural.c): Change rule to $(objpfx)plural.c.
17523 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
17524 * intl/plural.c: Remove.
17525 * manual/install.texi (Tools for Compilation): Document bison as
17526 required.
17527 * INSTALL: Regenerated.
17528
faec6323
JM
175292017-11-30 Joseph Myers <joseph@codesourcery.com>
17530
bd6ea9ed
JM
17531 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
17532 <libm-alias-double.h>.
17533 (llrint): Define using libm_alias_double.
17534 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
17535 <libm-alias-float.h>.
17536 (llrintf): Define using libm_alias_float.
17537 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
17538 <libm-alias-ldouble.h>.
17539 (llrintl): Define using libm_alias_ldouble.
17540
faec6323
JM
17541 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
17542 declare_mgen_alias instead of weak_alias.
17543 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
17544 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
17545 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
17546
023cade3
AZ
175472017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17548
9e2279a0
AZ
17549 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
17550 Add add_n-generic.
17551 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
17552 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
17553 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
17554
75f37c71
AZ
17555 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
17556 Add submul_1-generic.
17557 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
17558 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
17559 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
17560
b70cbbfc 17561 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
dda1d2e8
AZ
17562 Add addmul_1-generic.
17563 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
17564 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
17565 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
17566
17567 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
b70cbbfc
AZ
17568 Add sub_n-generic.
17569 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
17570 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
17571 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
17572
023cade3
AZ
17573 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
17574 Add mul_1-generic.
17575 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
17576 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
17577 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
17578
fbb5fd03
MF
175792017-11-30 Mike FABIAN <mfabian@redhat.com>
17580
17581 According to CLDR, collation rules for Serbian and Bosnian
17582 should be the same as for Croatian.
17583
17584 [BZ #22534]
17585 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
17586 and to the list of locales to be built for testing.
17587 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
17588 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
17589 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
17590 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
17591
5e56e937
MF
175922017-11-30 Mike FABIAN <mfabian@redhat.com>
17593
17594 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
17595 to make test case pass.
17596 * localedata/hr_HR.UTF-8.in: Add more test strings.
17597
cf4341ca
MF
175982017-11-30 Mike FABIAN <mfabian@redhat.com>
17599
17600 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
17601
363e4519 176022017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
9ca6b343
DSN
17603
17604 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
17605 the list of locales to built for testing.
17606 * localedata/hr_HR.UTF-8.in: New file.
17607
363e4519 176082017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
37075ae1
DSN
17609
17610 [BZ #10580]
17611 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
17612 iso14651_t1.
17613 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
17614 CLDR (except use ligatures for the digraphs, CLDR does not use
17615 the ligatures), add first_workday, some fixes in the date and time
17616 formats.
17617 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
17618 for Đ and đ.
17619 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
17620 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
17621 Add int_p_cs_precedes and int_n_cs_precedes.
17622 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
17623 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
17624 LC_MONETARY now).
17625 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
17626 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
17627 name_miss.
17628 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
17629 and lang_lib. Change postal_fmt.
17630
f33632cc
L
176312017-11-30 H.J. Lu <hongjiu.lu@intel.com>
17632
17633 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
17634 <setjmp.h>.
17635 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
17636 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
17637 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
17638 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
17639 * sysdeps/generic/setjmpP.h: New file.
17640 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
17641 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
17642 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
17643 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
17644 Add jmp_buf-ssp.sym.
17645 (tests): Add tst-saved_mask-1.
17646
34697694
AS
176472017-11-30 Arjun Shankar <arjun@redhat.com>
17648
17649 [BZ #22375]
37ac8e63 17650 CVE-2017-17426
34697694
AS
17651 * malloc/malloc.c (__libc_malloc): Use checked_request2size
17652 instead of request2size.
17653
3e5efdbd
JM
176542017-11-30 Joseph Myers <joseph@codesourcery.com>
17655
18305fba
JM
17656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
17657 (__lllrint): Remove alias.
17658 (lllrint): Likewise.
17659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
17660 (__lllrintf): Likewise.
17661 (lllrintf): Likewise.
17662
3e5efdbd
JM
17663 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
17664 <libm-alias-float.h>.
17665 (copysignf): Define using libm_alias_float.
17666 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
17667 <libm-alias-float.h>.
17668 (fabsf): Define using libm_alias_float.
17669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
17670 Include <libm-alias-float.h>.
17671 (copysignf): Define using libm_alias_float.
17672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
17673 <libm-alias-float.h>.
17674 (fabsf): Define using libm_alias_float.
17675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
17676 <libm-alias-float.h>.
17677 (fdimf): Define using libm_alias_float.
17678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
17679 <libm-alias-float.h>.
17680 (fmaf): Define using libm_alias_float.
17681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
17682 <libm-alias-float.h>.
17683 (llrintf): Define using libm_alias_float.
17684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
17685 Include <libm-alias-float.h>.
17686 (nearbyintf): Define using libm_alias_float.
17687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
17688 <libm-alias-float.h>.
17689 (rintf): Define using libm_alias_float.
17690 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
17691 <libm-alias-float.h>.
17692 (llrintf): Define using libm_alias_float.
17693 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
17694 <libm-alias-float.h>.
17695 (lrintf): Define using libm_alias_float.
17696 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
17697 <libm-alias-float.h>.
17698 (nearbyintf): Define using libm_alias_float.
17699 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
17700 <libm-alias-float.h>.
17701 (rintf): Define using libm_alias_float.
17702 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
17703 <libm-alias-float.h>.
17704 (ceilf): Define using libm_alias_float.
17705 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
17706 <libm-alias-float.h>.
17707 (floorf): Define using libm_alias_float.
17708 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
17709 <libm-alias-float.h>.
17710 (fmaf): Define using libm_alias_float.
17711 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
17712 <libm-alias-float.h>.
17713 (lrintf): Define using libm_alias_float.
17714 (llrintf): Likewise.
17715 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
17716 <libm-alias-float.h>.
17717 (nearbyintf): Define using libm_alias_float.
17718 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
17719 <libm-alias-float.h>.
17720 (rintf): Define using libm_alias_float.
17721 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
17722 <libm-alias-float.h>.
17723 (truncf): Define using libm_alias_float.
17724 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
17725 <libm-alias-float.h>.
17726 (copysignf): Define using libm_alias_float.
17727 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
17728 <libm-alias-float.h>.
17729 (fabsf): Define using libm_alias_float.
17730 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
17731 <libm-alias-float.h>.
17732 (lrintf): Define using libm_alias_float.
17733 (llrintf): Likewise.
17734 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
17735 <libm-alias-float.h>.
17736 (nearbyintf): Define using libm_alias_float.
17737 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
17738 <libm-alias-float.h>.
17739 (rintf): Define using libm_alias_float.
17740
011fba7e
JM
177412017-11-29 Joseph Myers <joseph@codesourcery.com>
17742
875cd548
JM
17743 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
17744 <libm-alias-double.h>.
17745 (copysign): Define using libm_alias_double.
17746 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
17747 <libm-alias-double.h>.
17748 (fabs): Define using libm_alias_double.
17749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
17750 Include <libm-alias-double.h>.
17751 (copysign): Define using libm_alias_double.
17752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
17753 <libm-alias-double.h>.
17754 (fabs): Define using libm_alias_double.
17755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
17756 <libm-alias-double.h>.
17757 (fdim): Define using libm_alias_double.
17758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
17759 <libm-alias-double.h>.
17760 (fma): Define using libm_alias_double.
17761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
17762 <libm-alias-double.h>.
17763 (llrint): Define using libm_alias_double.
17764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
17765 Include <libm-alias-double.h>.
17766 (nearbyint): Define using libm_alias_double.
17767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
17768 <libm-alias-double.h>.
17769 (rint): Define using libm_alias_double.
17770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
17771 <libm-alias-double.h>.
17772 (fabs): Define using libm_alias_double.
17773 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
17774 <libm-alias-double.h>.
17775 (llrint): Define using libm_alias_double.
17776 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
17777 <libm-alias-double.h>.
17778 (nearbyint): Define using libm_alias_double.
17779 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
17780 <libm-alias-double.h>.
17781 (rint): Define using libm_alias_double.
17782 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
17783 <libm-alias-double.h>.
17784 (ceil): Define using libm_alias_double.
17785 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
17786 <libm-alias-double.h>.
17787 (floor): Define using libm_alias_double.
17788 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
17789 <libm-alias-double.h>.
17790 (fma): Define using libm_alias_double.
17791 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
17792 <libm-alias-double.h>.
17793 (lrint): Define using libm_alias_double.
17794 (llrint): Likewise.
17795 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
17796 <libm-alias-double.h>.
17797 (nearbyint): Define using libm_alias_double.
17798 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
17799 <libm-alias-double.h>.
17800 (rint): Define using libm_alias_double.
17801 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
17802 <libm-alias-double.h>.
17803 (trunc): Define using libm_alias_double.
17804 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
17805 <libm-alias-double.h>.
17806 (copysign): Define using libm_alias_double.
17807 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
17808 <libm-alias-double.h>.
17809 (fabs): Define using libm_alias_double.
17810 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
17811 <libm-alias-double.h>.
17812 (lrint): Define using libm_alias_double.
17813 (llrint): Likewise.
17814 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
17815 <libm-alias-double.h>.
17816 (nearbyint): Define using libm_alias_double.
17817 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
17818 <libm-alias-double.h>.
17819 (rint): Define using libm_alias_double.
17820
cf4ebc27
JM
17821 [BZ #22229]
17822 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
17823 <math_ldbl_opt.h>.
17824 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
17825
0c097378
JM
17826 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17827 SPARC --disable-multi-arch glibc variants.
17828
34bb10aa
JM
17829 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
17830 <libm-alias-float.h>.
17831 (exp2f): Define using libm_alias_float, or libm_alias_float_other
17832 if [SHARED].
17833 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
17834 <libm-alias-float.h>.
17835 (exp2f): Define using libm_alias_float, or libm_alias_float_other
17836 if [SHARED].
17837 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
17838 <libm-alias-float.h>.
17839 (exp2f): Define using libm_alias_float, or libm_alias_float_other
17840 if [SHARED].
17841 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
17842 <libm-alias-float.h>.
17843 (exp2f): Define using libm_alias_float, or libm_alias_float_other
17844 if [SHARED].
17845 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
17846 <libm-alias-float.h>.
17847 (exp2f): Define using libm_alias_float, or libm_alias_float_other
17848 if [SHARED].
17849 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
17850 <libm-alias-float.h>.
17851 (ceilf): Define using libm_alias_float.
17852 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
17853 <libm-alias-float.h>.
17854 (floorf): Define using libm_alias_float.
17855 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
17856 <libm-alias-float.h>.
17857 (fmaf): Define using libm_alias_float.
17858 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
17859 <libm-alias-float.h>.
17860 (nearbyintf): Define using libm_alias_float.
17861 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
17862 <libm-alias-float.h>.
17863 (rintf): Define using libm_alias_float.
17864 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
17865 <libm-alias-float.h>.
17866 (truncf): Define using libm_alias_float.
17867 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
17868 (copysignf): Define using libm_alias_float.
17869 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
17870 (cosf): Define using libm_alias_float.
17871 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
17872 (fabsf): Define using libm_alias_float.
17873 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
17874 (fmaxf): Define using libm_alias_float.
17875 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
17876 (fminf): Define using libm_alias_float.
17877 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
17878 (llrintf): Define using libm_alias_float.
17879 [!__ILP32__] (lrintf): Likewise.
17880 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
17881 (sincosf): Define using libm_alias_float.
17882 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
17883 (sinf): Define using libm_alias_float.
17884 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
17885 (lrintf): Define using libm_alias_float.
17886
011fba7e
JM
17887 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
17888 <libm-alias-double.h>.
17889 (atan): Define using libm_alias_double.
17890 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
17891 <libm-alias-double.h>.
17892 (ceil): Define using libm_alias_double.
17893 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
17894 <libm-alias-double.h>.
17895 (floor): Define using libm_alias_double.
17896 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
17897 <libm-alias-double.h>.
17898 (fma): Define using libm_alias_double.
17899 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
17900 <libm-alias-double.h>.
17901 (nearbyint): Define using libm_alias_double.
17902 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
17903 <libm-alias-double.h>.
17904 (rint): Define using libm_alias_double.
17905 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
17906 <libm-alias-double.h>.
17907 (sin): Define using libm_alias_double.
17908 (cos): Likewise.
17909 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
17910 <libm-alias-double.h>.
17911 (tan): Define using libm_alias_double.
17912 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
17913 <libm-alias-double.h>.
17914 (trunc): Define using libm_alias_double.
17915 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
17916 (copysign): Define using libm_alias_double.
17917 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
17918 (fabs): Define using libm_alias_double.
17919 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
17920 (fmax): Define using libm_alias_double.
17921 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
17922 (fmin): Define using libm_alias_double.
17923 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
17924 (llrint): Define using libm_alias_double.
17925 [!__ILP32__] (lrint): Likewise.
17926 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
17927 (lrint): Define using libm_alias_double.
17928
1cbd7bfe
AZ
179292017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17930
21bfcc3d
AZ
17931 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
17932 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
17933 objects.
17934 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
17935 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
17936 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
17937 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
17938 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
17939 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
17940
522228dd
AZ
17941 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
17942 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
17943 objects.
17944 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
17945 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
17946 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
17947 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
17948 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
17949 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
17950
2a6f4fab
AZ
17951 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
17952 (libm-sysdep_routines): Add s_nearbyint-generic and
17953 s_nearbyintf-generic objects.
17954 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
17955 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
17956 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
17957 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
17958 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
17959 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
17960
712b5b83
AZ
17961 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
17962 Add s_finitef-generic and s_finite-generic objects.
17963 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
17964 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
17965 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
17966 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
17967 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
17968 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
17969
c96d3335
AZ
17970 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
17971 Add s_isinff-generic and s_isinf-generic objects.
17972 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
17973 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
17974 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
17975 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
17976 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
17977 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
17978
c6862a23
AZ
17979 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
17980 Add s_isnanf-generic and s_isnan-generic objects.
17981 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
17982 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
17983 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
17984 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
17985 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
17986 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
17987
1cbd7bfe
AZ
17988 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
17989 macro.
17990 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
17991 rule.
17992 (sysdep_routines): Use sysdep_calls as base.
17993 (libm-sysdep_routines): Add generic rule for symbols shared with
17994 libc. Add s_signbit-generic and s_signbitf-generic objects.
17995 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
17996 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
17997 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
17998 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
17999 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
18000 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
18001
aa1142c5
JM
180022017-11-29 Joseph Myers <joseph@codesourcery.com>
18003
18004 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
18005 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
18006 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
18007 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
18008 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
18009 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
18010 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
18011 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
18012 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
18013 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
18014 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
18015 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
18016 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
18017 libm_alias_float_r.
18018 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
18019 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
18020 (logf): Likewise.
18021 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
18022 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
18023 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
18024 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
18025 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
18026 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
18027 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
18028 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
18029 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
18030 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
18031 libm_alias_float.
18032 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
18033 (cosf): Likewise.
18034 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
18035 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
18036 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
18037 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
18038 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
18039 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
18040 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
18041 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
18042 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
18043 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
18044 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
18045 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
18046 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
18047 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
18048 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
18049 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
18050 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
18051 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
18052 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
18053 libm_alias_float.
18054 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
18055 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
18056 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
18057 * sysdeps/ia64/fpu/w_lgammaf_main.c
18058 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
18059 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
18060
363e4519
DL
180612017-11-28 Mike FABIAN <mfabian@redhat.com>
18062 Alexandre Oliva <aoliva@redhat.com>
8da25eec
AO
18063
18064 [BZ #17750]
18065 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
18066 * localedata/fr_CA.UTF-8.in: New file with test data for backward
18067 accents sorting.
18068 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
18069 sorting.
18070 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
18071 * localedata/locales/de_DE (LC_COLLATE): Likewise.
18072 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
18073 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
18074 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
18075 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
18076 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
18077 instead of “ifdef DIACRIT_BACKWARD”.
18078
a55430cb
AZ
180792017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18080
18081 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
18082 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
18083 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
18084 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
18085 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
18086 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
18087 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
18088 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
18089 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
18090 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
18091 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
18092 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
18093 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
18094 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
18095 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
18096 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
18097 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
18098 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
18099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18100 ($(have-as-vis3) == yes): Remove conditional.
18101 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
18102 Likewise.
18103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
18104 file.
18105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
18106 file.
18107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
18108 file.
18109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
18110 file.
18111 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
18112 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
18113 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
18114 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
18115 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
18116 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
18117 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
18118 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
18119
0609ec0a
JM
181202017-11-29 Joseph Myers <joseph@codesourcery.com>
18121
18122 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
18123 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
18124 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
18125 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
18126 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
18127 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
18128 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
18129 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
18130 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
18131 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
18132 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
18133 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
18134 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
18135 libm_alias_double_r.
18136 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
18137 (log): Likewise.
18138 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
18139 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
18140 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
18141 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
18142 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
18143 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
18144 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
18145 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
18146 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
18147 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
18148 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
18149 libm_alias_double.
18150 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
18151 (cos): Likewise.
18152 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
18153 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
18154 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
18155 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
18156 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
18157 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
18158 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
18159 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
18160 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
18161 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
18162 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
18163 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
18164 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
18165 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
18166 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
18167 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
18168 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
18169 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
18170 libm_alias_double.
18171 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
18172 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
18173 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
18174 * sysdeps/ia64/fpu/w_lgamma_main.c
18175 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
18176 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
18177
d5bfa34a
JDA
181782017-11-28 John David Anglin <danglin@gcc.gnu.org>
18179
18180 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
18181 address of $global$ into %dp register earlier. Use pc-relative
18182 instruction sequence for PIC case.
18183
bc4e8f9b
JM
181842017-11-28 Joseph Myers <joseph@codesourcery.com>
18185
e4602cba
JM
18186 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
18187 (asinhf): Define using libm_alias_float.
18188 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
18189 (atanf): Define using libm_alias_float.
18190 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
18191 (cbrtf): Define using libm_alias_float.
18192 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
18193 (ceilf): Define using libm_alias_float.
18194 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
18195 (copysignf): Define using libm_alias_float.
18196 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
18197 (expm1f): Define using libm_alias_float.
18198 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
18199 (fabsf): Define using libm_alias_float.
18200 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
18201 (floorf): Define using libm_alias_float.
18202 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
18203 (fmaxf): Define using libm_alias_float.
18204 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
18205 (fminf): Define using libm_alias_float.
18206 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
18207 (frexpf): Define using libm_alias_float.
18208 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
18209 (llrintf): Define using libm_alias_float.
18210 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
18211 (logbf): Define using libm_alias_float.
18212 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
18213 (lrintf): Define using libm_alias_float.
18214 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
18215 (nearbyintf): Define using libm_alias_float.
18216 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
18217 (remquof): Define using libm_alias_float.
18218 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
18219 (rintf): Define using libm_alias_float.
18220 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
18221 (truncf): Define using libm_alias_float.
18222 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
18223 <libm-alias-float.h>.
18224 (exp2f): Define using libm_alias_float, or libm_alias_float_other
18225 if [SHARED].
18226 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
18227 <libm-alias-float.h>.
18228 (expf): Define using libm_alias_float, or libm_alias_float_other
18229 if [SHARED].
18230 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
18231 <libm-alias-float.h>.
18232 (log2f): Define using libm_alias_float, or libm_alias_float_other
18233 if [SHARED].
18234 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
18235 <libm-alias-float.h>.
18236 (logf): Define using libm_alias_float, or libm_alias_float_other
18237 if [SHARED].
18238 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
18239 <libm-alias-float.h>.
18240 (powf): Define using libm_alias_float, or libm_alias_float_other
18241 if [SHARED].
18242 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
18243 <libm-alias-float.h>.
18244 (cosf): Define using libm_alias_float.
18245 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
18246 <libm-alias-float.h>.
18247 (sincosf): Define using libm_alias_float.
18248 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
18249 <libm-alias-float.h>.
18250 (sinf): Define using libm_alias_float.
18251 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
18252 (fmaxf): Define using libm_alias_float.
18253 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
18254 (fminf): Define using libm_alias_float.
18255 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
18256 <libm-alias-float.h>.
18257 (fmaf): Define using libm_alias_float.
18258
bc4e8f9b
JM
18259 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
18260 (asinh): Define using libm_alias_double.
18261 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
18262 (atan): Define using libm_alias_double.
18263 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
18264 (cbrt): Define using libm_alias_double.
18265 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
18266 (ceil): Define using libm_alias_double.
18267 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
18268 (copysign): Define using libm_alias_double.
18269 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
18270 (expm1): Define using libm_alias_double.
18271 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
18272 (fabs): Define using libm_alias_double.
18273 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
18274 (fdim): Define using libm_alias_double.
18275 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
18276 (floor): Define using libm_alias_double.
18277 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
18278 (fmax): Define using libm_alias_double.
18279 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
18280 (fmin): Define using libm_alias_double.
18281 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
18282 (frexp): Define using libm_alias_double.
18283 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
18284 (llrint): Define using libm_alias_double.
18285 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
18286 (logb): Define using libm_alias_double.
18287 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
18288 (lrint): Define using libm_alias_double.
18289 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
18290 (nearbyint): Define using libm_alias_double.
18291 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
18292 (remquo): Define using libm_alias_double.
18293 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
18294 (rint): Define using libm_alias_double.
18295 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
18296 (trunc): Define using libm_alias_double.
18297 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
18298 (fmax): Define using libm_alias_double.
18299 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
18300 (fmin): Define using libm_alias_double.
18301 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
18302 (fma): Define using libm_alias_double.
18303
8d81ce0c
L
183042017-11-28 H.J. Lu <hongjiu.lu@intel.com>
18305
18306 [BZ #22370]
18307 * elf/dl-hwcaps.c (ROUND): Removed.
18308 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
18309 and ELF_NOTE_NEXT_OFFSET.
18310 * elf/dl-load.c (ROUND): Removed.
18311 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
18312 * elf/readelflib.c (ROUND): Removed.
18313 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
18314 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
18315 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
18316 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
18317
6940bd96
JM
183182017-11-28 Joseph Myers <joseph@codesourcery.com>
18319
313ba463
JM
18320 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
18321 [!__fmaf] (fmaf): Define using libm_alias_float.
18322
6940bd96
JM
18323 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
18324 [!__fma] (fma): Define using libm_alias_double.
18325 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
18326
22c69b6a
MF
183272017-11-28 Mike FABIAN <mfabian@redhat.com>
18328
18329 [BZ #22336]
18330 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
18331 and implement the collation rules for cs from CLDR on top of that.
18332 * Makefile: Add cs_CZ.UTF-8 to test-input.
18333 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
18334
8d7d3ba8
SP
183352017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
18336
18337 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
18338
0422ed1e
VR
183392017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
18340 Icarus Sparry <icarus.w.sparry@intel.com>
18341
18342 * benchtests/Makefile:Add BENCHSET to allow subsets of
18343 benchmarks to be run.
18344 * benchtests/README: Add documentation for: Running subsets of
18345 benchmarks.
18346
0595e360
VR
183472017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
18348
d5090db3
VR
18349 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
18350 range of tests names.
18351
0595e360
VR
18352 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
18353 result from property and remove "max", min" and "mean" from
18354 required properties based on benchtests/bench-skeleton.c.
18355
b4c645c2
FW
183562017-11-28 Florian Weimer <fweimer@redhat.com>
18357
18358 [BZ #20826]
18359 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
18360 due to Internet requirement.
18361 * posix/Makefile (tests): Remove tst-getaddrinfo4,
18362 tst-getaddrinfo5.
18363 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
18364
88684de7
AZ
183652017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18366
69056564
AZ
18367 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
18368 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
18369 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
18370 (sysdep_routines): Add memset-ultra1.
18371 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
18372 file.
18373 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
18374 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
18375 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
18376 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
18377 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
18378 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
18379 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
18380 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18381
88684de7
AZ
18382 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
18383 file.
18384 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
18385 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
18386 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
18387 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
18388 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
18389 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
18390 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
18391 macro.
18392 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
18393 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
18394 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
18395 (sysdep_routines): Add memcpy-ultra1.
18396 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
18397 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
18398
d8124864
JM
183992017-11-28 Joseph Myers <joseph@codesourcery.com>
18400
f433d0b3
JM
18401 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
18402 (cfloat_versions): Take function argument without trailing 'f'.
18403 Call libm_alias_float_other.
18404 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
18405 * sysdeps/alpha/fpu/cargf.c: Likewise.
18406 * sysdeps/alpha/fpu/cimagf.c: Likewise.
18407 * sysdeps/alpha/fpu/conjf.c: Likewise.
18408 * sysdeps/alpha/fpu/crealf.c: Likewise.
18409 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
18410 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
18411 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
18412 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
18413 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
18414 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
18415 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
18416 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
18417 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
18418 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
18419 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
18420 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
18421 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
18422 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
18423 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
18424 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
18425 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
18426 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
18427 (clog10f): Use libm_alias_float_other.
18428 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
18429 (ceilf): Define using libm_alias_float.
18430 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
18431 (copysignf): Define using libm_alias_float.
18432 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
18433 (fabsf): Define using libm_alias_float.
18434 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
18435 (floorf): Define using libm_alias_float.
18436 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
18437 (fmaxf): Define using libm_alias_float.
18438 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
18439 (fminf): Define using libm_alias_float.
18440 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
18441 (lrintf): Define using libm_alias_float.
18442 (llrintf): Likewise.
18443 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
18444 (lroundf): Define using libm_alias_float.
18445 (llroundf): Likewise.
18446 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
18447 (rintf): Define using libm_alias_float.
18448 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
18449 (truncf): Define using libm_alias_float.
18450
15ff4900
JM
18451 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
18452 (ceilf): Define using libm_alias_float.
18453 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
18454 (floorf): Define using libm_alias_float.
18455 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
18456 (fmaf): Define using libm_alias_float.
18457 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
18458 (fmaxf): Define using libm_alias_float.
18459 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
18460 (fminf): Define using libm_alias_float.
18461 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
18462 (llrintf): Define using libm_alias_float.
18463 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
18464 (llroundf): Define using libm_alias_float.
18465 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
18466 (lrintf): Define using libm_alias_float.
18467 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
18468 (lroundf): Define using libm_alias_float.
18469 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
18470 <libm-alias-float.h>.
18471 (nearbyintf): Define using libm_alias_float.
18472 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
18473 (rintf): Define using libm_alias_float.
18474 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
18475 (roundf): Define using libm_alias_float.
18476 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
18477 (truncf): Define using libm_alias_float.
18478
5de60638
JM
18479 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
18480 (ceil): Define using libm_alias_double.
18481 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
18482 (copysign): Define using libm_alias_double.
18483 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
18484 (fabs): Define using libm_alias_double.
18485 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
18486 (floor): Define using libm_alias_double.
18487 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
18488 (fmax): Define using libm_alias_double.
18489 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
18490 (fmin): Define using libm_alias_double.
18491 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
18492 (lrint): Define using libm_alias_double.
18493 (llrint): Likewise.
18494 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
18495 (lround): Define using libm_alias_double.
18496 (llround): Likewise.
18497 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
18498 (rint): Define using libm_alias_double.
18499 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
18500 (trunc): Define using libm_alias_double.
18501
d8124864
JM
18502 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
18503 (libm_alias_double_r): Add semicolon after weak_alias call.
18504
f07d2ec8
JM
185052017-11-27 Joseph Myers <joseph@codesourcery.com>
18506
18507 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
18508 (ceil): Define using libm_alias_double.
18509 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
18510 (floor): Define using libm_alias_double.
18511 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
18512 (fma): Define using libm_alias_double.
18513 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
18514 (fmax): Define using libm_alias_double.
18515 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
18516 (fmin): Define using libm_alias_double.
18517 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
18518 (llrint): Define using libm_alias_double.
18519 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
18520 (llround): Define using libm_alias_double.
18521 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
18522 (lrint): Define using libm_alias_double.
18523 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
18524 (lround): Define using libm_alias_double.
18525 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
18526 (nearbyint): Define using libm_alias_double.
18527 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
18528 (rint): Define using libm_alias_double.
18529 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
18530 (round): Define using libm_alias_double.
18531 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
18532 (trunc): Define using libm_alias_double.
18533
4bab0224
FW
185342017-11-27 Florian Weimer <fweimer@redhat.com>
18535
18536 * sysdeps/unix/sysv/linux/mlock2.c: New file.
18537 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
18538 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
18539 (tests): Add tst-mlock2.
18540 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
18541 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
18542 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
18543 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
18544 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
18545 for mlock. Document mlock2.
18546
a23aa5b7
JM
185472017-11-27 Joseph Myers <joseph@codesourcery.com>
18548
18549 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
18550 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
18551 Likewise.
18552 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
18553 Likewise.
18554 * sysdeps/x86/Makeconfig: New file.
18555 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
18556 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
18557 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
18558 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
18559 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
18560 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
18561 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
18562 Likewise.
18563 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
18564 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
18565 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
18566 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
18567 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
18568 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
18569 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
18570 * manual/math.texi (Mathematics): Document support for _Float64x.
18571 * math/Versions (GLIBC_2.27): Add _Float64x functions.
18572 * stdlib/Versions (GLIBC_2.27): Likewise.
18573 * wcsmbs/Versions (GLIBC_2.27): Likewise.
18574 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
18575 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18576 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18577 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18578 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18579 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18580 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18581 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18582 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18583 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18584 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
18586 Likewise.
18587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18588 Likewise.
18589 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18590 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18591 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18592 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18593 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18594 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18595 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18596 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18597 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18598 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18599 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18600 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18601 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
18602 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
18603
c2c299fd
AS
186042017-11-27 Andreas Schwab <schwab@suse.de>
18605
18606 * elf/Makefile (dl-routines): Add dl-sort-maps.
18607 * elf/dl-sort-maps.c: New file.
18608 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
18609 (_dl_sort_maps): Declare.
18610 * elf/dl-fini.c (_dl_sort_fini): Remove.
18611 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
18612 * elf/dl-close.c (_dl_close_worker): Likewise.
18613 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
18614 open-coding it.
18615 * elf/dl-open.c (dl_open_worker): Likewise.
18616
9d4b0117
JM
186172017-11-24 Joseph Myers <joseph@codesourcery.com>
18618
de61465c
JM
18619 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
18620 using libm_alias_float128.
18621 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
18622 Likewise.
18623 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
18624 Likewise.
18625 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
18626 (setpayloadsigf128): Likewise.
18627 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
18628 Likewise.
18629 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
18630 Likewise.
18631
9ae6d171
JM
18632 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
18633 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
18634 -mfloat128 to CFLAGS.
18635 ($(foreach
18636 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
18637 Likewise.
18638 (CFLAGS-libm-test-support-float64x.c): New variable.
18639 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
18640 $(f128-loader-link) to gnulib-tests.
18641
6e70d156
JM
18642 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
18643 (libm_alias_float128_other_r): If
18644 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
18645 alias.
18646 (libm_alias_float128_r): Add semicolon after weak_alias call.
18647 * sysdeps/generic/libm-alias-ldouble.h
18648 (libm_alias_ldouble_other_r_f128): New macro.
18649 (libm_alias_ldouble_other_r_f64x): Likewise.
18650 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
18651 and libm_alias_ldouble_other_r_f64x.
18652 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
18653 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
18654 (libm_alias_ldouble_other_r_f128): New macro.
18655 (libm_alias_ldouble_other_r_f64x): Likewise.
18656 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
18657 and libm_alias_ldouble_other_r_f64x.
18658
df2806cd
JM
18659 * stdlib/strfroml.c: Always include <stdlib.h>.
18660 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
18661 undefine as macro and define as weak alias.
18662 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
18663 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
18664 <stdlib.h>.
18665 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
18666 Define and later undefine as macro and define as weak alias.
18667
0df4fe35
JM
18668 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
18669 Define and later undefine as macro. Define as weak alias if
18670 [!USE_WIDE_CHAR].
18671 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
18672 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
18673 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
18674 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
18675 Define and later undefine as macro. Define as weak alias if
18676 [!USE_WIDE_CHAR].
18677 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
18678 Define and later undefine as macro. Define as weak alias if
18679 [USE_WIDE_CHAR].
18680 * sysdeps/ieee754/float128/strtof128_l.c
18681 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
18682 Define and later undefine as macro. Define as weak alias if
18683 [!USE_WIDE_CHAR].
18684 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
18685 Define and later undefine as macro. Define as weak alias if
18686 [USE_WIDE_CHAR].
18687 * sysdeps/ieee754/ldbl-128/strtold_l.c
18688 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
18689 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
18690 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
18691 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
18692 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
18693 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
18694 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
18695 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
18696 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
18697 * sysdeps/ieee754/ldbl-96/strtold_l.c
18698 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
18699 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
18700 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
18701 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
18702
ae7207d0
JM
18703 * math/test-float64x.h: New file.
18704 * math/Makefile (type-float64x-yes): New variable.
18705 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
18706
9596fc69
JM
18707 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
18708 function-like macro.
18709 (min_of_type_): Likewise.
18710 (min_of_type_l): Likewise.
18711 (min_of_type_f128): Likewise.
18712 (min_of_type): Pass () as last argument of __MATH_TG.
18713
46453c3c
JM
18714 * stdlib/tst-strtod-round-skeleton.c
18715 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
18716 headers.
18717
01e659e7
JM
18718 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
18719 for combinations of long double with _Float64 and _Float64x.
18720
5c60afdd
JM
18721 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
18722 (__DECL_SIMD_cosf32): Likewise.
18723 (__DECL_SIMD_cosf64): Likewise.
18724 (__DECL_SIMD_cosf32x): Likewise.
18725 (__DECL_SIMD_cosf64x): Likewise.
18726 (__DECL_SIMD_cosf128x): Likewise.
18727 (__DECL_SIMD_sinf16): Likewise.
18728 (__DECL_SIMD_sinf32): Likewise.
18729 (__DECL_SIMD_sinf64): Likewise.
18730 (__DECL_SIMD_sinf32x): Likewise.
18731 (__DECL_SIMD_sinf64x): Likewise.
18732 (__DECL_SIMD_sinf128x): Likewise.
18733 (__DECL_SIMD_sincosf16): Likewise.
18734 (__DECL_SIMD_sincosf32): Likewise.
18735 (__DECL_SIMD_sincosf64): Likewise.
18736 (__DECL_SIMD_sincosf32x): Likewise.
18737 (__DECL_SIMD_sincosf64x): Likewise.
18738 (__DECL_SIMD_sincosf128x): Likewise.
18739 (__DECL_SIMD_logf16): Likewise.
18740 (__DECL_SIMD_logf32): Likewise.
18741 (__DECL_SIMD_logf64): Likewise.
18742 (__DECL_SIMD_logf32x): Likewise.
18743 (__DECL_SIMD_logf64x): Likewise.
18744 (__DECL_SIMD_logf128x): Likewise.
18745 (__DECL_SIMD_expf16): Likewise.
18746 (__DECL_SIMD_expf32): Likewise.
18747 (__DECL_SIMD_expf64): Likewise.
18748 (__DECL_SIMD_expf32x): Likewise.
18749 (__DECL_SIMD_expf64x): Likewise.
18750 (__DECL_SIMD_expf128x): Likewise.
18751 (__DECL_SIMD_powf16): Likewise.
18752 (__DECL_SIMD_powf32): Likewise.
18753 (__DECL_SIMD_powf64): Likewise.
18754 (__DECL_SIMD_powf32x): Likewise.
18755 (__DECL_SIMD_powf64x): Likewise.
18756 (__DECL_SIMD_powf128x): Likewise.
18757
9d4b0117
JM
18758 * stdlib/Versions (libc): Move entries for wcstof128 and
18759 wcstof128_l to ....
18760 * wcsmbs/Versions (libc): ... here.
18761 Include <float128-abi.h>.
18762
7911dd47
FW
187632017-11-24 Florian Weimer <fweimer@redhat.com>
18764
18765 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18766 bits/mman-shared.h.
18767 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
18768 <bits/mman-shared.h>.
18769 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
18770 to ...
18771 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
18772 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
18773 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
18774 <bits/mman-shared.h>.
18775
c45d78aa
AZ
187762017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18777
18778 [BZ #22457]
18779 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
18780 posix_memalign/free.
18781 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
18782
3ffc4cc1
MF
187832017-11-22 Mike FABIAN <mfabian@redhat.com>
18784
18785 [BZ #22469]
18786 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
18787 and implement the collation rules for pl from CLDR on top of that.
18788 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
18789 of locales to be built for testing.
18790 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
18791
3a327316
JM
187922017-11-23 Joseph Myers <joseph@codesourcery.com>
18793
18794 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
18795 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
18796 libm_alias_ldouble_other.
18797 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
18798 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
18799 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
18800 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
18801 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
18802 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
18803 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
18804 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
18805 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
18806 libm_alias_ldouble_r.
18807 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
18808 libm_alias_ldouble_other.
18809 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
18810 (log10l): Likewise.
18811 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
18812 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
18813 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
18814 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
18815 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
18816 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
18817 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
18818 (atan2l): Likewise.
18819 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
18820 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
18821 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
18822 libm_alias_ldouble.
18823 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
18824 (cosl): Likewise.
18825 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
18826 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
18827 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
18828 (expl): Likewise.
18829 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
18830 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
18831 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
18832 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
18833 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
18834 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
18835 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
18836 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
18837 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
18838 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
18839 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
18840 libm_alias_ldouble.
18841 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
18842 libm_alias_ldouble_other.
18843 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
18844 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
18845 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
18846 libm_alias_ldouble.
18847 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
18848 libm_alias_ldouble_other.
18849 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
18850 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
18851 * sysdeps/ia64/fpu/w_lgammal_main.c
18852 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
18853 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
18854
0a947e06
FW
188552017-11-23 Florian Weimer <fweimer@redhat.com>
18856
18857 * malloc/malloc.c (tcache_thread_shutdown): Rename from
18858 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
18859 alike. Remove freeres marker.
18860 * malloc/arena.c (arena_thread_freeres): Call
18861 tcache_thread_shutdown.
18862
67f36c79
FW
188632017-11-23 Florian Weimer <fweimer@redhat.com>
18864
18865 [BZ #22459]
18866 Export nscd hash function as __nss_hash.
18867 * include/nss.h (__nss_hash): Declare.
18868 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
18869 symbol.
18870 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
18871 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
18872 of __nscd_hash.
18873 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
18874 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
18875 * nss/Makefiles (routines): Add nss_hash.
18876 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
18877 * nss/nss_hash.c: Rename from nis/nis_hash.c.
18878 (__nss_hash): Rename from __nis_hash. Define hidden alias.
18879 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
18880
cccb6d4e
FW
188812017-11-23 Florian Weimer <fweimer@redhat.com>
18882
18883 [BZ #22478]
18884 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
18885 Return error code, not -1.
18886 * signal/tst-sigwait-eintr.c: New file.
18887 * signal/Makefile (tests): Add tst-sigwait-eintr.
18888
59d2cbb1
FW
188892017-11-23 Florian Weimer <fweimer@redhat.com>
18890
18891 Linux: Add memfd_create system call wrapper
18892 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
18893 tst-memfd_create.
18894 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
18895 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
18896 [__USE_GNU] (memfd_create): Declare.
18897 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
18898 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
18899 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
18900 * sysdeps/unix/sysv/linux/**.abilist: Update.
18901 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
18902
a90d1ac2
JM
189032017-11-22 Joseph Myers <joseph@codesourcery.com>
18904
0a9d1d62
JM
18905 * localedata/gen-locale.sh: Fix typo in variable name.
18906
754034c4
JM
18907 * resolv/res_debug.c (p_secstodate): Condition definition on
18908 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
18909 directly as __p_secstodate, and as a compat symbol. Do not use
18910 libresolv_hidden_def.
18911 * resolv/resolv.h (p_secstodate): Remove macro and function
18912 declaration.
18913 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
18914 using p_secstodate.
18915 * include/resolv.h (__p_secstodate): Do not use
18916 libresolv_hidden_proto.
18917 * resolv/Makefile (tests): Move tst-p_secstodate to ....
18918 (tests-internal): ... here.
18919 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
18920 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
18921 and declare and use __p_secstodate and use compat_symbol_reference
18922 in that case.
18923 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
18924 implementation returning 77.
18925
f120cda6
JM
18926 [BZ #22463]
18927 * resolv/res_debug.c: Include <libc-diag.h>.
18928 (p_secstodate): Assert time_t at least as wide as u_long. On
18929 overflow, use integer seconds since the epoch as output, or use
18930 "<overflow>" as output and set errno to EOVERFLOW if integer
18931 seconds since the epoch would be 14 or more characters.
18932 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
18933 for sprintf call.
18934 * resolv/tst-p_secstodate.c: New file.
18935 * resolv/Makefile (tests): Add tst-p_secstodate.
18936 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
18937
a90d1ac2
JM
18938 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
18939 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
18940 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
18941
0285e6bd
PE
189422017-11-22 Paul Eggert <eggert@cs.ucla.edu>
18943
18944 * posix/regcomp.c (init_word_char): Add comments.
18945
4bae6150
JM
189462017-11-22 Joseph Myers <joseph@codesourcery.com>
18947
18948 [BZ #22447]
18949 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
18950 strlen to compute length of ut_user and set trailing NUL byte of
18951 result explicitly.
18952
4b7af5fc
MF
189532017-11-21 Mike FABIAN <mfabian@redhat.com>
18954
18955 [BZ #15537]
18956 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
18957 using “copy "iso14651_t1"” and then implementing the
18958 collation rules for lv from CLDR on top of that.
18959 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
18960 of locales to be built for testing.
18961 * lv_LV.UTF-8.in: New file with test data to test the Latvian
18962 sorting.
18963
922bb78c
JM
189642017-11-21 Joseph Myers <joseph@codesourcery.com>
18965
18966 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
18967 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
18968 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
18969 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
18970 [__USE_MISC] (MADV_HWPOISON): New macro.
18971 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
18972
a3aaa598
AZ
189732017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18974
18975 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
18976 -Wmissing-braces on GCC 4.9.
18977
8beba15d
SL
189782017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
18979
18980 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
18981 * sysdeps/s390/s390-32/start.S (_start): Likewise
18982 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
18983 (thread_start): Likewise.
18984 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
18985 (thread_start): Likewise.
18986 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
18987 (__makecontext_ret): Likewise.
18988 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
18989 (__makecontext_ret): Likewise.
18990
80eb52e3
SL
189912017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
18992
18993 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
18994 __wcschrnul): Remove attribute_hidden.
18995
567d8c1f
PE
189962017-11-20 Paul Eggert <eggert@cs.ucla.edu>
18997
18998 regex: don't assume uint64_t or uint32_t
18999 This avoids -Werror=overflow errors for 32-bit systems in
19000 the 64-bit case. Problem reported by Joseph Myers in:
19001 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
19002 Also, when this code is used in Gnulib it ports to platforms
19003 that lack uint64_t and uint32_t. The C standard doesn't guarantee
19004 them, and on some 32-bit compilers there is no uint64_t.
19005 Problem reported by Gianluigi Tiesi in:
19006 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
19007 * posix/regcomp.c (init_word_char): Don't assume that the types
19008 uint64_t and uint32_t exist. Adapted from Gnulib patch
19009 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
19010 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
19011
4d7632ff
SP
190122017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
19013
5a67c4fa
SP
19014 * sysdeps/aarch64/memset-reg.h: New file.
19015 * sysdeps/aarch64/memset.S: Use it.
19016 (__memset): Rename to MEMSET macro.
19017 [ZVA_MACRO]: Use zva_macro.
19018 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
19019 Add memset_generic and memset_falkor.
19020 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
19021 (__libc_ifunc_impl_list): Add memset ifuncs.
19022 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
19023 local variable zva_size.
19024 * sysdeps/aarch64/multiarch/memset.c: New file.
19025 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
19026 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
19027 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
19028 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
19029 (DCZID_DZP_MASK): New macro.
19030 (DCZID_BS_MASK): Likewise.
19031 (init_cpu_features): Read and set zva_size.
19032 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
19033 (struct cpu_features): New member zva_size.
19034
eb332f9f
SP
19035 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
19036 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
19037 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
19038
4d7632ff
SP
19039 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
19040 backwards. Fix timing computation.
19041 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
19042 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
19043 on memset by N at a time. Fix timing computation.
19044
a465b89e
FW
190452017-11-20 Florian Weimer <fweimer@redhat.com>
19046
19047 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
19048 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
19049
0f74bbf5
FW
190502017-11-19 Florian Weimer <fweimer@redhat.com>
19051
19052 manual: Document mprotect
19053 * manual/memory.texi (Memory Protection): New section.
19054 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
19055 documentation of PROT_* flags and reference the Memory Protection
19056 section instead.
19057
f6e965ee
FW
190582017-11-19 Florian Weimer <fweimer@redhat.com>
19059
19060 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
19061 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
19062 (Scatter-Gather): ... to here. Remove misleading comment.
19063
363e4519 190642017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
ea69a5c8 19065
5f9d1949
CB
19066 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
19067 style.
19068
ea69a5c8
CB
19069 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
19070 when /proc/<pid>/setgroups does not exist.
19071
8db7f48c
FW
190722017-11-18 Florian Weimer <fweimer@redhat.com>
19073
19074 * sysdeps/unix/sysv/linux/tst-ttyname.c
19075 (become_root_in_mount_ns): Remove.
19076 (do_in_chroot_1): Call support_enter_mount_namespace.
19077 (do_in_chroot_2): Likewise.
19078 (do_test): Call support_become_root early.
19079
273a0c49
FW
190802017-11-18 Florian Weimer <fweimer@redhat.com>
19081
19082 * support/namespace.h (support_enter_mount_namespace): Declare.
19083 * support/support_enter_mount_namespace.c: New file.
19084 * support/Makefile (libsupport-routines): Add
19085 support_enter_mount_namespace.
19086
8adfb0ee
FW
190872017-11-18 Florian Weimer <fweimer@redhat.com>
19088
19089 * support/temp_file.c (support_create_temp_directory): Use
19090 test_dir and do not rely on the presence of the XXXXXX suffix.
19091 * support/temp_file.h (support_create_temp_directory): Update
19092 comment.
19093 * support/tst-xreadlink.c (do_test): Adjust.
19094 * support/support_chroot.c (support_chroot_create): Likewise.
19095
df0c40ee
TMQMF
190962017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19097
19098 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
19099 macro.
19100 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
19101 htm-no-suspend.
19102
015c6dc2
JM
191032017-11-17 Joseph Myers <joseph@codesourcery.com>
19104
f58e5f48
JM
19105 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
19106 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
19107 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
19108 (ceill): Define using libm_alias_ldouble.
19109 * sysdeps/x86_64/fpu/s_copysignl.S: Include
19110 <libm-alias-ldouble.h>.
19111 (copysignl): Define using libm_alias_ldouble.
19112 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
19113 (fabsl): Define using libm_alias_ldouble.
19114 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
19115 (floorl): Define using libm_alias_ldouble.
19116 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
19117 (fmaxl): Define using libm_alias_ldouble.
19118 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
19119 (fminl): Define using libm_alias_ldouble.
19120 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
19121 (llrintl): Define using libm_alias_ldouble.
19122 (lrintl): Likewise.
19123 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
19124 <libm-alias-ldouble.h>.
19125 (nearbyintl): Define using libm_alias_ldouble.
19126 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
19127 (truncl): Define using libm_alias_ldouble.
19128 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
19129 <libm-alias-ldouble.h>.
19130 (lrintl): Define using libm_alias_ldouble.
19131
2ce30701
JM
19132 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
19133 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
19134 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
19135 (asinhl): Define using libm_alias_ldouble.
19136 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
19137 (atanl): Define using libm_alias_ldouble.
19138 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
19139 (cbrtl): Define using libm_alias_ldouble.
19140 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
19141 (ceill): Define using libm_alias_ldouble.
19142 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
19143 (copysignl): Define using libm_alias_ldouble.
19144 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
19145 (fabsl): Define using libm_alias_ldouble.
19146 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
19147 (floorl): Define using libm_alias_ldouble.
19148 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
19149 (fmaxl): Define using libm_alias_ldouble.
19150 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
19151 (fminl): Define using libm_alias_ldouble.
19152 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
19153 (frexpl): Define using libm_alias_ldouble.
19154 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
19155 (llrintl): Define using libm_alias_ldouble.
19156 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
19157 (logbl): Define using libm_alias_ldouble.
19158 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
19159 (lrintl): Define using libm_alias_ldouble.
19160 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
19161 (nearbyintl): Define using libm_alias_ldouble.
19162 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
19163 (nextafterl): Define using libm_alias_ldouble.
19164 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
19165 (remquol): Define using libm_alias_ldouble.
19166 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
19167 (rintl): Define using libm_alias_ldouble.
19168 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
19169 (truncl): Define using libm_alias_ldouble.
19170 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
19171 (fmaxl): Define using libm_alias_ldouble.
19172 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
19173 (fminl): Define using libm_alias_ldouble.
19174
015c6dc2
JM
19175 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
19176 to C syntax instead of availability and properties of types.
19177 * bits/floatn.h [!__ASSEMBLER]: Likewise.
19178 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
19179 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
19180 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
19181 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
19182 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
19183
ce003e5d
FW
191842017-11-17 Florian Weimer <fweimer@redhat.com>
19185
19186 support_become_root: Enable file creation in namespaces.
19187 * support/support_become_root.c (setup_mapping): New function.
19188 (support_become_root): Call it.
19189
e7df6c5c
JM
191902017-11-17 Joseph Myers <joseph@codesourcery.com>
19191
19192 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
19193 macro.
19194
58a813bf
AZ
191952017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19196
19197 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
19198 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
19199
f97773d1
JM
192002017-11-16 Joseph Myers <joseph@codesourcery.com>
19201
6a6aa1f3
JM
19202 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
19203
f97773d1
JM
19204 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
19205 version to 4.14.
19206
a306c790
SP
192072017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
19208
7b0fb870
SP
19209 * INSTALL: Fix botched up regeneration.
19210
19211 * NEWS: Update sourceare link to https.
a306c790
SP
19212 * configure.ac: Likewise.
19213 * crypt/md5test-giant.c: Likewise.
19214 * dlfcn/bug-atexit1.c: Likewise.
19215 * dlfcn/bug-atexit2.c: Likewise.
19216 * localedata/README: Likewise.
19217 * malloc/tst-mallocfork.c: Likewise.
19218 * manual/install.texi: Likewise.
19219 * nptl/tst-pthread-getattr.c: Likewise.
19220 * stdio-common/tst-fgets.c: Likewise.
19221 * stdio-common/tst-fwrite.c: Likewise.
19222 * sunrpc/Makefile: Likewise.
19223 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
19224 * wcsmbs/tst-mbrtowc2.c: Likewise.
7b0fb870
SP
19225 * configure: Regenerate.
19226 * INSTALL: Regenerate.
a306c790 19227
7532837d
MS
192282017-11-15 Martin Sebor <msebor@redhat.com>
19229
19230 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
19231 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
19232 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
19233
495a56fd
LS
192342017-11-15 Luke Shumaker <lukeshu@parabola.nu>
19235
d9611e30
LS
19236 [BZ #22145]
19237 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
19238 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
19239
a09dfc19
LS
19240 [BZ #22145]
19241 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
19242 Defer is_pty check until end of the function.
19243 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19244
2fbce9c2
LS
19245 [BZ #22145]
19246 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
19247 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
19248 (ttyname): Likewise.
19249 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
19250 (__ttyname_r): Likewise.
19251
d10d6cab
LS
19252 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
19253 int to bool.
19254
9b5a8750
LS
19255 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
19256
495a56fd
LS
19257 * manual/terminal.texi (Is It a Terminal):
19258 Mention ENODEV for ttyname and ttyname_r.
19259
fa680dc6
JM
192602017-11-15 Joseph Myers <joseph@codesourcery.com>
19261
78cde19f
JM
19262 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
19263 constant and macro.
19264
fa680dc6
JM
19265 * sysdeps/unix/sysv/linux/bits/mman-linux.h
19266 [__USE_MISC] (MADV_WIPEONFORK): New macro.
19267 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
19268 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
19269 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
19270 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
19271
ad4f43a2
AZ
192722017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19273
1ba1d8a4
AZ
19274 * signal/sigrelse.c (sigrelse): Optimize implementation.
19275
ad4f43a2
AZ
19276 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
19277 (__sigpause): Rely on __sigsuspend to implement single thread
19278 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
19279
d0212d42
JM
192802017-11-15 Joseph Myers <joseph@codesourcery.com>
19281
19282 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19283 kernel version to 4.14.
19284
2180fee1
SE
192852017-11-15 Steve Ellcey <sellcey@cavium.com>
19286
19287 [BZ #22442]
19288 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
19289 Check if ifname is too long.
19290
cad7ca39
LS
192912017-11-15 Luke Shumaker <lukeshu@parabola.nu>
19292
19293 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
19294
58c9f659
MF
192952017-11-15 Mike FABIAN <mfabian@redhat.com>
19296
19297 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
19298 was accidentally lost.
19299
0fa87c01
MF
193002017-11-15 Mike FABIAN <mfabian@redhat.com>
19301
19302 * localedata/locales/az_IR: Add standard copyright header.
19303
34eb4157
FW
193042017-11-15 Florian Weimer <fweimer@redhat.com>
19305
19306 [BZ #22439]
19307 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
19308 not just the top one. Output a new "subheaps" statistic.
19309
7a9368a1
FW
193102017-11-15 Florian Weimer <fweimer@redhat.com>
19311
19312 [BZ #22408]
19313 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
19314 under the per-arena lock.
19315 * malloc/Makefile (tests): Add tst-malloc_info.
19316 (tst-malloc_info): Link with libpthread.
19317 * malloc/tst-malloc_info.c: New file.
19318
be3a79a3
JM
193192017-11-15 Joseph Myers <joseph@codesourcery.com>
19320
19321 [BZ #21660]
19322 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
19323 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
19324 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
19325 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
19326 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
19327 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
19328 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
19329 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
19330 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
19331 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
19332 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
19333 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
19334 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
19335 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
19336 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
19337 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
19338 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
19339 (__floating_type): Likewise.
19340 (__real_integer_type): Likewise.
19341 (__complex_integer_type): Likewise.
19342 (__expr_is_real): Likewise.
19343 (__tgmath_real_type_sub): Likewise.
19344 (__tgmath_real_type): Likewise.
19345 (__tgmath_complex_type_sub): Likewise.
19346 (__tgmath_complex_type): Likewise.
19347 (__TGMATH_F128): Likewise.
19348 (__TGMATH_CF128): Likewise.
19349 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
19350 new macros.
19351 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
19352 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
19353 Likewise.
19354 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
19355 Likewise.
19356 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
19357 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
19358 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
19359 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
19360 Likewise.
19361 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
19362 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
19363 Likewise.
19364 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
19365 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
19366 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
19367 Likewise.
19368 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
19369 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
19370 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
19371 (cimag): Likewise.
19372 (creal): Likewise.
19373
ec72135e
JM
193742017-11-14 Joseph Myers <joseph@codesourcery.com>
19375
2e64ec9c
JM
19376 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
19377 for stpncpy calls for GCC 8.
19378 (test_strncat): Disable -Wstringop-truncation warning for strncat
19379 calls for GCC 8. Disable -Wstringop-overflow= warning for one
19380 strncat call for GCC 7.
19381 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
19382 calls for GCC 8.
19383 (test_memcmp): Use memcpy instead of strncpy for calls not copying
19384 trailing NUL.
19385
ec72135e
JM
19386 * string/bug-strncat1.c: Include <libc-diag.h>.
19387 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
19388
363e4519 193892017-11-13 Claude Paroz <claude@2xlibre.net>
a259f5d3
CP
19390
19391 [BZ #22387]
19392 * localedata/locales/aa_DJ: Improved readibility by replacing
19393 <Uxxxx> sequences in the ASCII printable range by their ASCII
19394 character equivalents.
19395 * localedata/locales/aa_ER: Likewise.
19396 * localedata/locales/aa_ER@saaho: Likewise.
19397 * localedata/locales/aa_ET: Likewise.
19398 * localedata/locales/af_ZA: Likewise.
19399 * localedata/locales/agr_PE: Likewise.
19400 * localedata/locales/ak_GH: Likewise.
19401 * localedata/locales/am_ET: Likewise.
19402 * localedata/locales/anp_IN: Likewise.
19403 * localedata/locales/ar_AE: Likewise.
19404 * localedata/locales/ar_BH: Likewise.
19405 * localedata/locales/ar_DZ: Likewise.
19406 * localedata/locales/ar_EG: Likewise.
19407 * localedata/locales/ar_IN: Likewise.
19408 * localedata/locales/ar_IQ: Likewise.
19409 * localedata/locales/ar_JO: Likewise.
19410 * localedata/locales/ar_KW: Likewise.
19411 * localedata/locales/ar_LB: Likewise.
19412 * localedata/locales/ar_LY: Likewise.
19413 * localedata/locales/ar_MA: Likewise.
19414 * localedata/locales/ar_OM: Likewise.
19415 * localedata/locales/ar_QA: Likewise.
19416 * localedata/locales/ar_SA: Likewise.
19417 * localedata/locales/ar_SD: Likewise.
19418 * localedata/locales/ar_SS: Likewise.
19419 * localedata/locales/ar_SY: Likewise.
19420 * localedata/locales/ar_TN: Likewise.
19421 * localedata/locales/ar_YE: Likewise.
19422 * localedata/locales/as_IN: Likewise.
19423 * localedata/locales/ast_ES: Likewise.
19424 * localedata/locales/ayc_PE: Likewise.
19425 * localedata/locales/az_AZ: Likewise.
19426 * localedata/locales/az_IR: Likewise.
19427 * localedata/locales/be_BY: Likewise.
19428 * localedata/locales/be_BY@latin: Likewise.
19429 * localedata/locales/bem_ZM: Likewise.
19430 * localedata/locales/ber_DZ: Likewise.
19431 * localedata/locales/ber_MA: Likewise.
19432 * localedata/locales/bg_BG: Likewise.
19433 * localedata/locales/bhb_IN: Likewise.
19434 * localedata/locales/bho_IN: Likewise.
19435 * localedata/locales/bi_VU: Likewise.
19436 * localedata/locales/bn_BD: Likewise.
19437 * localedata/locales/bn_IN: Likewise.
19438 * localedata/locales/bo_CN: Likewise.
19439 * localedata/locales/bo_IN: Likewise.
19440 * localedata/locales/br_FR: Likewise.
19441 * localedata/locales/brx_IN: Likewise.
19442 * localedata/locales/bs_BA: Likewise.
19443 * localedata/locales/byn_ER: Likewise.
19444 * localedata/locales/ca_AD: Likewise.
19445 * localedata/locales/ca_ES: Likewise.
19446 * localedata/locales/ca_FR: Likewise.
19447 * localedata/locales/ca_IT: Likewise.
19448 * localedata/locales/ce_RU: Likewise.
19449 * localedata/locales/chr_US: Likewise.
19450 * localedata/locales/cmn_TW: Likewise.
19451 * localedata/locales/crh_UA: Likewise.
19452 * localedata/locales/cs_CZ: Likewise.
19453 * localedata/locales/csb_PL: Likewise.
19454 * localedata/locales/cv_RU: Likewise.
19455 * localedata/locales/cy_GB: Likewise.
19456 * localedata/locales/da_DK: Likewise.
19457 * localedata/locales/de_AT: Likewise.
19458 * localedata/locales/de_BE: Likewise.
19459 * localedata/locales/de_CH: Likewise.
19460 * localedata/locales/de_DE: Likewise.
19461 * localedata/locales/de_IT: Likewise.
19462 * localedata/locales/de_LI: Likewise.
19463 * localedata/locales/de_LU: Likewise.
19464 * localedata/locales/doi_IN: Likewise.
19465 * localedata/locales/dv_MV: Likewise.
19466 * localedata/locales/dz_BT: Likewise.
19467 * localedata/locales/el_CY: Likewise.
19468 * localedata/locales/el_GR: Likewise.
19469 * localedata/locales/en_AG: Likewise.
19470 * localedata/locales/en_AU: Likewise.
19471 * localedata/locales/en_BW: Likewise.
19472 * localedata/locales/en_CA: Likewise.
19473 * localedata/locales/en_DK: Likewise.
19474 * localedata/locales/en_GB: Likewise.
19475 * localedata/locales/en_HK: Likewise.
19476 * localedata/locales/en_IE: Likewise.
19477 * localedata/locales/en_IL: Likewise.
19478 * localedata/locales/en_IN: Likewise.
19479 * localedata/locales/en_NG: Likewise.
19480 * localedata/locales/en_NZ: Likewise.
19481 * localedata/locales/en_PH: Likewise.
19482 * localedata/locales/en_SG: Likewise.
19483 * localedata/locales/en_US: Likewise.
19484 * localedata/locales/en_ZA: Likewise.
19485 * localedata/locales/en_ZM: Likewise.
19486 * localedata/locales/en_ZW: Likewise.
19487 * localedata/locales/eo: Likewise.
19488 * localedata/locales/es_AR: Likewise.
19489 * localedata/locales/es_BO: Likewise.
19490 * localedata/locales/es_CL: Likewise.
19491 * localedata/locales/es_CO: Likewise.
19492 * localedata/locales/es_CR: Likewise.
19493 * localedata/locales/es_CU: Likewise.
19494 * localedata/locales/es_DO: Likewise.
19495 * localedata/locales/es_EC: Likewise.
19496 * localedata/locales/es_ES: Likewise.
19497 * localedata/locales/es_GT: Likewise.
19498 * localedata/locales/es_HN: Likewise.
19499 * localedata/locales/es_MX: Likewise.
19500 * localedata/locales/es_NI: Likewise.
19501 * localedata/locales/es_PA: Likewise.
19502 * localedata/locales/es_PE: Likewise.
19503 * localedata/locales/es_PR: Likewise.
19504 * localedata/locales/es_PY: Likewise.
19505 * localedata/locales/es_SV: Likewise.
19506 * localedata/locales/es_US: Likewise.
19507 * localedata/locales/es_UY: Likewise.
19508 * localedata/locales/es_VE: Likewise.
19509 * localedata/locales/et_EE: Likewise.
19510 * localedata/locales/eu_ES: Likewise.
19511 * localedata/locales/eu_ES@euro: Likewise.
19512 * localedata/locales/fa_IR: Likewise.
19513 * localedata/locales/ff_SN: Likewise.
19514 * localedata/locales/fi_FI: Likewise.
19515 * localedata/locales/fil_PH: Likewise.
19516 * localedata/locales/fo_FO: Likewise.
19517 * localedata/locales/fr_BE: Likewise.
19518 * localedata/locales/fr_CA: Likewise.
19519 * localedata/locales/fr_CH: Likewise.
19520 * localedata/locales/fr_FR: Likewise.
19521 * localedata/locales/fr_LU: Likewise.
19522 * localedata/locales/fur_IT: Likewise.
19523 * localedata/locales/fy_DE: Likewise.
19524 * localedata/locales/fy_NL: Likewise.
19525 * localedata/locales/ga_IE: Likewise.
19526 * localedata/locales/gd_GB: Likewise.
19527 * localedata/locales/gez_ER: Likewise.
19528 * localedata/locales/gez_ET: Likewise.
19529 * localedata/locales/gl_ES: Likewise.
19530 * localedata/locales/gu_IN: Likewise.
19531 * localedata/locales/gv_GB: Likewise.
19532 * localedata/locales/ha_NG: Likewise.
19533 * localedata/locales/hak_TW: Likewise.
19534 * localedata/locales/he_IL: Likewise.
19535 * localedata/locales/hi_IN: Likewise.
19536 * localedata/locales/hif_FJ: Likewise.
19537 * localedata/locales/hne_IN: Likewise.
19538 * localedata/locales/hr_HR: Likewise.
19539 * localedata/locales/hsb_DE: Likewise.
19540 * localedata/locales/ht_HT: Likewise.
19541 * localedata/locales/hu_HU: Likewise.
19542 * localedata/locales/hy_AM: Likewise.
19543 * localedata/locales/i18n: Likewise.
19544 * localedata/locales/ia_FR: Likewise.
19545 * localedata/locales/id_ID: Likewise.
19546 * localedata/locales/ig_NG: Likewise.
19547 * localedata/locales/ik_CA: Likewise.
19548 * localedata/locales/is_IS: Likewise.
19549 * localedata/locales/it_CH: Likewise.
19550 * localedata/locales/it_IT: Likewise.
19551 * localedata/locales/iu_CA: Likewise.
19552 * localedata/locales/ja_JP: Likewise.
19553 * localedata/locales/ka_GE: Likewise.
19554 * localedata/locales/kk_KZ: Likewise.
19555 * localedata/locales/kl_GL: Likewise.
19556 * localedata/locales/kn_IN: Likewise.
19557 * localedata/locales/ko_KR: Likewise.
19558 * localedata/locales/kok_IN: Likewise.
19559 * localedata/locales/ks_IN: Likewise.
19560 * localedata/locales/ks_IN@devanagari: Likewise.
19561 * localedata/locales/ku_TR: Likewise.
19562 * localedata/locales/kw_GB: Likewise.
19563 * localedata/locales/ky_KG: Likewise.
19564 * localedata/locales/lb_LU: Likewise.
19565 * localedata/locales/lg_UG: Likewise.
19566 * localedata/locales/li_BE: Likewise.
19567 * localedata/locales/li_NL: Likewise.
19568 * localedata/locales/lij_IT: Likewise.
19569 * localedata/locales/ln_CD: Likewise.
19570 * localedata/locales/lo_LA: Likewise.
19571 * localedata/locales/lt_LT: Likewise.
19572 * localedata/locales/lv_LV: Likewise.
19573 * localedata/locales/lzh_TW: Likewise.
19574 * localedata/locales/mag_IN: Likewise.
19575 * localedata/locales/mai_IN: Likewise.
19576 * localedata/locales/mg_MG: Likewise.
19577 * localedata/locales/mhr_RU: Likewise.
19578 * localedata/locales/mi_NZ: Likewise.
19579 * localedata/locales/mk_MK: Likewise.
19580 * localedata/locales/ml_IN: Likewise.
19581 * localedata/locales/mn_MN: Likewise.
19582 * localedata/locales/mni_IN: Likewise.
19583 * localedata/locales/mr_IN: Likewise.
19584 * localedata/locales/ms_MY: Likewise.
19585 * localedata/locales/mt_MT: Likewise.
19586 * localedata/locales/my_MM: Likewise.
19587 * localedata/locales/nan_TW: Likewise.
19588 * localedata/locales/nan_TW@latin: Likewise.
19589 * localedata/locales/nb_NO: Likewise.
19590 * localedata/locales/nds_DE: Likewise.
19591 * localedata/locales/nds_NL: Likewise.
19592 * localedata/locales/ne_NP: Likewise.
19593 * localedata/locales/nhn_MX: Likewise.
19594 * localedata/locales/niu_NU: Likewise.
19595 * localedata/locales/niu_NZ: Likewise.
19596 * localedata/locales/nl_AW: Likewise.
19597 * localedata/locales/nl_BE: Likewise.
19598 * localedata/locales/nl_NL: Likewise.
19599 * localedata/locales/nn_NO: Likewise.
19600 * localedata/locales/nr_ZA: Likewise.
19601 * localedata/locales/nso_ZA: Likewise.
19602 * localedata/locales/oc_FR: Likewise.
19603 * localedata/locales/om_ET: Likewise.
19604 * localedata/locales/om_KE: Likewise.
19605 * localedata/locales/or_IN: Likewise.
19606 * localedata/locales/os_RU: Likewise.
19607 * localedata/locales/pa_IN: Likewise.
19608 * localedata/locales/pa_PK: Likewise.
19609 * localedata/locales/pap_AW: Likewise.
19610 * localedata/locales/pap_CW: Likewise.
19611 * localedata/locales/pl_PL: Likewise.
19612 * localedata/locales/ps_AF: Likewise.
19613 * localedata/locales/pt_BR: Likewise.
19614 * localedata/locales/pt_PT: Likewise.
19615 * localedata/locales/quz_PE: Likewise.
19616 * localedata/locales/raj_IN: Likewise.
19617 * localedata/locales/ro_RO: Likewise.
19618 * localedata/locales/ru_RU: Likewise.
19619 * localedata/locales/ru_UA: Likewise.
19620 * localedata/locales/rw_RW: Likewise.
19621 * localedata/locales/sa_IN: Likewise.
19622 * localedata/locales/sat_IN: Likewise.
19623 * localedata/locales/sc_IT: Likewise.
19624 * localedata/locales/sd_IN: Likewise.
19625 * localedata/locales/sd_IN@devanagari: Likewise.
19626 * localedata/locales/se_NO: Likewise.
19627 * localedata/locales/sgs_LT: Likewise.
19628 * localedata/locales/shs_CA: Likewise.
19629 * localedata/locales/si_LK: Likewise.
19630 * localedata/locales/sid_ET: Likewise.
19631 * localedata/locales/sk_SK: Likewise.
19632 * localedata/locales/sl_SI: Likewise.
19633 * localedata/locales/sm_WS: Likewise.
19634 * localedata/locales/so_DJ: Likewise.
19635 * localedata/locales/so_ET: Likewise.
19636 * localedata/locales/so_KE: Likewise.
19637 * localedata/locales/so_SO: Likewise.
19638 * localedata/locales/sq_AL: Likewise.
19639 * localedata/locales/sq_MK: Likewise.
19640 * localedata/locales/sr_ME: Likewise.
19641 * localedata/locales/sr_RS: Likewise.
19642 * localedata/locales/sr_RS@latin: Likewise.
19643 * localedata/locales/ss_ZA: Likewise.
19644 * localedata/locales/st_ZA: Likewise.
19645 * localedata/locales/sv_FI: Likewise.
19646 * localedata/locales/sv_SE: Likewise.
19647 * localedata/locales/sw_KE: Likewise.
19648 * localedata/locales/sw_TZ: Likewise.
19649 * localedata/locales/szl_PL: Likewise.
19650 * localedata/locales/ta_IN: Likewise.
19651 * localedata/locales/ta_LK: Likewise.
19652 * localedata/locales/tcy_IN: Likewise.
19653 * localedata/locales/te_IN: Likewise.
19654 * localedata/locales/tg_TJ: Likewise.
19655 * localedata/locales/th_TH: Likewise.
19656 * localedata/locales/the_NP: Likewise.
19657 * localedata/locales/ti_ER: Likewise.
19658 * localedata/locales/ti_ET: Likewise.
19659 * localedata/locales/tig_ER: Likewise.
19660 * localedata/locales/tk_TM: Likewise.
19661 * localedata/locales/tl_PH: Likewise.
19662 * localedata/locales/tn_ZA: Likewise.
19663 * localedata/locales/to_TO: Likewise.
19664 * localedata/locales/tpi_PG: Likewise.
19665 * localedata/locales/tr_CY: Likewise.
19666 * localedata/locales/tr_TR: Likewise.
19667 * localedata/locales/ts_ZA: Likewise.
19668 * localedata/locales/tt_RU: Likewise.
19669 * localedata/locales/tt_RU@iqtelif: Likewise.
19670 * localedata/locales/ug_CN: Likewise.
19671 * localedata/locales/uk_UA: Likewise.
19672 * localedata/locales/unm_US: Likewise.
19673 * localedata/locales/ur_IN: Likewise.
19674 * localedata/locales/ur_PK: Likewise.
19675 * localedata/locales/uz_UZ: Likewise.
19676 * localedata/locales/uz_UZ@cyrillic: Likewise.
19677 * localedata/locales/ve_ZA: Likewise.
19678 * localedata/locales/vi_VN: Likewise.
19679 * localedata/locales/wa_BE: Likewise.
19680 * localedata/locales/wae_CH: Likewise.
19681 * localedata/locales/wal_ET: Likewise.
19682 * localedata/locales/wo_SN: Likewise.
19683 * localedata/locales/xh_ZA: Likewise.
19684 * localedata/locales/yi_US: Likewise.
19685 * localedata/locales/yo_NG: Likewise.
19686 * localedata/locales/yue_HK: Likewise.
19687 * localedata/locales/yuw_PG: Likewise.
19688 * localedata/locales/zh_CN: Likewise.
19689 * localedata/locales/zh_HK: Likewise.
19690 * localedata/locales/zh_SG: Likewise.
19691 * localedata/locales/zh_TW: Likewise.
19692 * localedata/locales/zu_ZA: Likewise.
19693
cae87e64
FW
196942017-11-13 Florian Weimer <fweimer@redhat.com>
19695
19696 * support/next_to_fault.h, support/next_to_fault.c: New files.
19697 * support/Makefile (libsupport-routines): Add next_to_fault.
19698 * resolv/tst-inet_pton.c (struct next_to_fault)
19699 (next_to_fault_allocate, next_to_fault_free): Remove.
19700 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
19701
4a306ef1
L
197022017-11-13 H.J. Lu <hongjiu.lu@intel.com>
19703
19704 * elf/dl-support.c: Include <dl-procruntime.c>.
19705 * include/link.h: Include <link_map.h>.
19706 * sysdeps/generic/dl-procruntime.c: New file.
19707 * sysdeps/generic/link_map.h: Likewise.
19708 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
19709 the writable ld.so namespace.
19710
e69897bf
PE
197112017-11-12 Paul Eggert <eggert@cs.ucla.edu>
19712
19713 timezone: pacify GCC -Wstringop-truncation
19714 Problem reported by Martin Sebor in:
19715 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
19716 * timezone/zic.c (writezone): Use memcpy, not strncpy.
19717
1ffe1ccb
FW
197182017-11-12 Florian Weimer <fweimer@redhat.com>
19719
eceed671
FW
19720 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
19721 tst-xreadlink.
19722 (tests): Add tst-xreadlink.
1ffe1ccb
FW
19723 * support/support.h (xstrndup): Declare.
19724 * support/xunistd.h (xunlink, xreadlink): Declare.
19725 * support/temp_file.h (support_create_temp_directory): Declare.
19726 * support/temp_file.c (support_create_temp_directory): New function.
19727 * support/support_chroot.c (support_chroot_create): Use it.
19728 * support/xreadlink.c: New file.
19729 * support/xstrndup.c: Likewise.
19730 * support/xunlink.c: Likewise.
19731 * support/tst-xreadlink.c: Likewise.
19732
456b40a9
JDA
197332017-11-11 John David Anglin <danglin@gcc.gnu.org>
19734
19735 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
19736
c0a25aa9
FW
197372017-11-11 Florian Weimer <fweimer@redhat.com>
19738
19739 [BZ #22409]
19740 [BZ #22412]
19741 * resolv/res_comp.c (printable_string, binary_hnok)
19742 (binary_leading_dash): New functions.
19743 (res_hnok): Reimplement using these functions and ns_name_pton.
19744 (res_ownok): Likewise.
19745 (res_mailok): Reimplement using printable_string, ns_name_pton and
19746 binary_hnok.
19747 (res_dnok): Reimplement using printable_string and ns_name_pton.
19748 * resolv/tst-res_hnok.c (tests): Add additional tests.
19749 (LETTERDIGITS, PRINTABLE): Define.
19750 (do_test): Adjust one_char results.
19751
9e0ad304
FW
197522017-11-11 Florian Weimer <fweimer@redhat.com>
19753
19754 [BZ #22413]
19755 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
19756 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
19757
e2a9fca8
FW
197582017-11-11 Florian Weimer <fweimer@redhat.com>
19759
19760 * resolv/tst-ns_name_pton.c: New file.
19761 * resolv/Makefile (tests): Add tst-ns_name_pton.
19762 (tst-ns_name_pton): Link against libresolv.
19763
5c1a6923
FW
197642017-11-11 Florian Weimer <fweimer@redhat.com>
19765
19766 * resolv/tst-res_hnok.c: New file.
19767 * resolv/Makefile (tests): Add tst-res_hnok.
19768 (tst-res_hnok): Link against libresolv.
19769
a19c0a1d
FW
197702017-11-11 Florian Weimer <fweimer@redhat.com>
19771
19772 * resolv/tst-resolv-network.c: Use test framework instead explicit
19773 main function.
19774
8cb5295d
L
197752017-11-09 H.J. Lu <hongjiu.lu@intel.com>
19776
19777 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
19778 <jmp_buf-macros.h>.
19779 [!_ISOMAC] (STR_HELPER): New.
19780 [!_ISOMAC] (STR): Likewise.
19781 [!_ISOMAC] (TEST_SIZE): Likewise.
19782 [!_ISOMAC] (TEST_ALIGN): Likewise.
19783 [!_ISOMAC] (TEST_OFFSET): Likewise.
19784 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
19785 field offsets of jmp_buf as well as sigjmp_buf.
19786 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
19787 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
19788 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
19789 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
19790 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
19791 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
19792 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
19793 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
19794 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
19795 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
19796 Likewise.
19797 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
19798 Likewise.
19799 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
19800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
19801 Likewise.
19802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
19803 Likewise.
19804 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
19805 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
19806 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
19807 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
19808 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
19809 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
19810 Likewise.
19811 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
19812 Likewise.
19813 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
19814 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
19815 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
19816
58c4a161
JM
198172017-11-07 Joseph Myers <joseph@codesourcery.com>
19818
3683b423
JM
19819 * include/float.h
19820 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19821 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
19822 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19823 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
19824 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19825 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
19826 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19827 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
19828 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19829 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
19830 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19831 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
19832 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19833 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
19834 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19835 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
19836 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19837 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
19838 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19839 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
19840 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19841 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
19842 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19843 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
19844 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19845 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
19846 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19847 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
19848 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19849 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
19850 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19851 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
19852 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19853 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
19854 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19855 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
19856 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19857 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
19858 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19859 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
19860 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19861 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
19862 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19863 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
19864 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19865 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
19866 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19867 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
19868 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19869 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
19870 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19871 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
19872 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19873 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
19874 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19875 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
19876 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19877 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
19878 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19879 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
19880 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19881 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
19882 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19883 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
19884 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19885 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
19886 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19887 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
19888 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19889 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
19890 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19891 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
19892 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19893 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
19894 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19895 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
19896 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19897 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
19898 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19899 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
19900 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19901 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
19902 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19903 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
19904 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19905 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
19906 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19907 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
19908
58c4a161
JM
19909 * stdlib/tst-strtod.h (F16): New macro.
19910 (F32): Likewise.
19911 (F64): Likewise.
19912 (F32X): Likewise.
19913 (F64X): Likewise.
19914 (F128X): Likewise.
19915 (IF_FLOAT16): Likewise.
19916 (IF_FLOAT32): Likewise.
19917 (IF_FLOAT64): Likewise.
19918 (IF_FLOAT32X): Likewise.
19919 (IF_FLOAT64X): Likewise.
19920 (IF_FLOAT128X): Likewise.
19921 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
19922 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
19923 (STRTOD_TEST_FOREACH): Likewise.
19924 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
19925 (CHOOSE_f64): Likewise.
19926 (CHOOSE_f32x): Likewise.
19927 (CHOOSE_f64x): Likewise.
19928
feda96a1
AS
199292017-11-07 Andreas Schwab <schwab@suse.de>
19930
19931 * nptl/Makefile (tests-internal): Remove tst-typesizes.
19932
1bd0cbb8
MF
199332017-11-07 Mike FABIAN <mfabian@redhat.com>
19934
19935 [BZ #22403]
19936 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
19937 to be escaped.
19938 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
19939 to be escaped.
19940
363e4519 199412017-11-07 Claude Paroz <claude@2xlibre.net>
d8301314
CP
19942
19943 [BZ #22403]
19944 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
19945 to be escaped.
19946 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
19947 to be escaped.
19948 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
19949 to be escaped.
19950
dff91cd4
AZ
199512017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19952
06be6368
AZ
19953 [BZ #22298]
19954 * nptl/allocatestack.c (allocate_stack): Check if
19955 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
19956 __PTHREAD_MUTEX_HAVE_PREV is defined.
19957 * nptl/descr.h (pthread): Likewise.
19958 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
19959 Likewise.
19960 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
19961 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
19962 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
19963 * sysdeps/nptl/bits/thread-shared-types.h
19964 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
19965 defines.
19966 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
19967 of __WORDSIZE for internal layout.
19968 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
19969 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
19970 instead of __WORDSIZE whether to use an union for __spins and __list
19971 fields.
19972 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
19973 case.
19974 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
19975 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
19976 defines.
19977 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
19978 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
19979 Likewise.
19980 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
19981 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
19982 Likewise.
19983 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
19984 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
19985 Likewise.
19986 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
19987 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
19988 Likewise.
19989 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
19990 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
19991 Likewise.
19992 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
19993 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
19994 Likewise.
19995 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
19996 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
19997 Likewise.
19998 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
19999 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
20000 Likewise.
20001 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
20002 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
20003 Likewise.
20004 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
20005 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
20006 Likewise.
20007 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
20008 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
20009 Likewise.
20010 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
20011 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
20012 Likewise.
20013 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
20014 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
20015 Likewise.
20016 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
20017 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
20018 Likewise.
20019
72b3c6ee
AZ
20020 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
20021 New macros.
20022 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
20023 checks for expected input type size.
20024 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
20025 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
20026 Likewise.
20027 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
20028 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
20029 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
20030 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
20031 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
20032 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
20033 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
20034 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
20035 superflous runtime assert check.
20036 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
20037 Likewise.
20038 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
20039 Likewise.
20040 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
20041 Likewise.
20042 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
20043 Likewise.
20044 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
20045 Likewise.
20046 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
20047 Likewise.
20048 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
20049 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
20050 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
20051 Likewise.
20052 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
20053 Likewise.
20054 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
20055 Likewise.
20056 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
20057 Likewise.
20058 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
20059 Likewise.
20060 * nptl/pthread_attr_setinheritsched.c
20061 (__pthread_attr_setinheritsched): Likewise.
20062 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
20063 Likewise.
20064 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
20065 Likewise.
20066 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
20067 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
20068 __old_pthread_attr_setstack): Likewise.
20069 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
20070 Likewise.
20071 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
20072 Likewise.
20073 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
20074 Likewise.
20075 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
20076 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
20077 Likewise.
20078 * nptl/tst-typesizes.c: Remove file.
20079
dff91cd4
AZ
20080 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
20081 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
20082 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
20083 checks for internal pthread_mutex_t offsets.
20084 * sysdeps/aarch64/nptl/pthread-offsets.h
20085 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
20086 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
20087 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
20088 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
20089 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
20090 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
20091 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
20092 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
20093 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
20094 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
20095 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
20096 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
20097 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
20098 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
20099 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
20100 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
20101 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
20102 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
20103
b7fc95f8
FW
201042017-11-07 Florian Weimer <fweimer@redhat.com>
20105
20106 * bits/mman-linux.h: Move ...
20107 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
20108 comment.
20109 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
20110 outdated comment.
20111
6b860364
RS
201122017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20113
20114 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
20115 Redefine STRNLEN as __strnlen_power8.
20116
802c1f16
AZ
201172017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20118
d83da3a4
AZ
20119 * signal/sighold.c (sighold): Optimize implementation.
20120
6a4235f1
AZ
20121 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
20122 __NR_rt_sigqueueinfo.
20123
8b0e795a
AZ
20124 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
20125 __sigtimedwait.
20126 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
20127 assume __NR_rt_sigtimedwait.
20128 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
20129 and add LIBC_CANCEL_HANDLED for cancellation marking.
20130 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
20131
a1a638dd
AZ
20132 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
20133 (sysdeps_routines): Add memchr_noneon.
20134 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
20135 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
20136 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
20137 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
20138 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
20139 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
20140 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
20141
802c1f16
AZ
20142 * sysdeps/arm/arm-ifunc.h: New file.
20143 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
20144 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
20145 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
20146 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
20147 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
20148 (__memcpy_neon): Avoid create hidden alias.
20149 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
20150 (__memcpy_vfp): Likewise.
20151 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
20152 (sysdep_routines): Add memcpy_arm.
20153 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
20154
abcb584d
L
201552017-11-06 H.J. Lu <hongjiu.lu@intel.com>
20156
20157 [BZ #22362]
20158 * Makerules (make-link-multidir): New.
20159 * config.make.in (multidir): New.
20160 * configure.ac (libc_cv_multidir): New. AC_SUBST.
20161 * configure: Regenerated.
20162 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
20163 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
20164 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
20165 New target.
20166
4e2dff67
JM
201672017-11-06 Joseph Myers <joseph@codesourcery.com>
20168
20169 [BZ #22402]
20170 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
20171 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
20172
a1c7cd3c
MF
201732017-11-04 Mike FABIAN <mfabian@redhat.com>
20174
20175 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
20176 to be escaped.
20177
b9af29c0
FW
201782017-11-04 Florian Weimer <fweimer@redhat.com>
20179
20180 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
20181
4ca70e1a
JM
201822017-11-03 Joseph Myers <joseph@codesourcery.com>
20183
20184 * math/math.h [__HAVE_DISTINCT_FLOAT16
20185 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
20186 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
20187 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
20188 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
20189 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
20190 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
20191 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
20192 (__MATH_TG_F32): New macro.
20193 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
20194 (__MATH_TG_F64X): Likewise.
20195 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
20196 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
20197
ba0e6668
DL
201982017-11-03 Dmitry V. Levin <ldv@altlinux.org>
20199
20200 * po/de.po: Update translations.
20201 * po/ru.po: Likewise.
20202
bc18a6d3
FW
202032017-11-03 Florian Weimer <fweimer@redhat.com>
20204
20205 * manual/filesys.texi (Hard Links): Document linkat.
20206
97255170
JM
202072017-11-03 Joseph Myers <joseph@codesourcery.com>
20208
86ec4865
JM
20209 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
20210 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
20211 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
20212 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
20213 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
20214 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
20215 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
20216 the same as _Float128.
20217 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
20218 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
20219 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
20220
97255170
JM
20221 * stdlib/stdlib.h
20222 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
20223 Declare.
20224 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
20225 Likewise.
20226 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
20227 Likewise.
20228 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20229 (strtof32x): Likewise.
20230 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20231 (strtof64x): Likewise.
20232 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20233 (strtof128x): Likewise.
20234 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20235 (strfromf16): Likewise.
20236 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20237 (strfromf32): Likewise.
20238 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20239 (strfromf64): Likewise.
20240 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20241 (strfromf32x): Likewise.
20242 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20243 (strfromf64x): Likewise.
20244 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20245 (strfromf128x): Likewise.
20246 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
20247 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
20248 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
20249 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
20250 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
20251 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
20252
6d58ce5e
RH
202532017-11-03 Richard Henderson <rth@twiddle.net>
20254
20255 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
20256
659ca267
SN
202572017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
20258
20259 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
20260
94d2f0af
SN
202612017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
20262
20263 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
20264 DT_TLSDESC_GOT initialization.
20265 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
20266 (_dl_tlsdesc_resolve_hold): Likewise.
20267 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
20268 (_dl_tlsdesc_resolve_hold): Likewise.
20269 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
20270 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
20271
28e1ddf3
SN
202722017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
20273
20274 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
20275
0ca3d1d6
SN
202762017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
20277
20278 [BZ #18572]
20279 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
20280 non-lazily for R_ARM_TLS_DESC.
20281
2c1d4e5f
SN
202822017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
20283
20284 [BZ #17078]
20285 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
20286 R_ARM_TLS_DESC case.
20287 (elf_machine_lazy_rel): Remove the prelink check.
20288
91c5a366
SN
202892017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
20290
20291 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
20292 DT_TLSDESC_GOT initialization.
20293 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
20294 (_dl_tlsdesc_resolve_rela): Likewise.
20295 (_dl_tlsdesc_resolve_hold): Likewise.
20296 (_dl_tlsdesc_undefweak): Remove ldar.
20297 (_dl_tlsdesc_dynamic): Likewise.
20298 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
20299 (_dl_tlsdesc_resolve_rela): Likewise.
20300 (_dl_tlsdesc_resolve_hold): Likewise.
20301 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
20302 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
20303 (_dl_tlsdesc_resolve_rela): Likewise.
20304 (_dl_tlsdesc_resolve_hold): Likewise.
20305
b7cf203b
SN
203062017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
20307
20308 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
20309 binding and initialization non-lazily for R_AARCH64_TLSDESC.
20310
0cc5b022
SN
203112017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
20312
20313 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
20314 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
20315
43ddff2e
JM
203162017-11-02 Joseph Myers <joseph@codesourcery.com>
20317
20318 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
20319 Declare.
20320 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
20321 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
20322 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
20323 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
20324 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
20325 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
20326 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
20327 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
20328 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
20329 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
20330 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
20331
5baac970
MF
203322017-11-02 Mike FABIAN <mfabian@redhat.com>
20333
20334 [BZ #22382]
20335 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
20336 * localedata/locales/tpi_PG: Add standard header.
20337
ef11081f
FW
203382017-11-02 Florian Weimer <fweimer@redhat.com>
20339
20340 test-errno-linux: quotactl can fail with EPERM in containers.
20341 * sysdeps/unix/sysv/linux/test-errno-linux.c
20342 (LIST, LIST_FORWARD): New macros.
20343 (check_error_in_list): New function.
20344 (test_wrp_rv): Accept list of permitted error codes.
20345 (test_wrp_rv2): Remove.
20346 (test_wrp): Call test_wrp_rv with list of error codes.
20347 (test_wrp2): Accept list of error codes.
20348 (do_test): Adjust. Allow EPERM for quotactl.
20349
d10b132b
FW
203502017-11-02 Florian Weimer <fweimer@redhat.com>
20351
20352 * stdio-common/bug16.c (do_test): Use array_length.
20353 * stdio-common/errlist.c (_sys_nerr): Likewise.
20354 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
20355 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
20356 * stdio-common/psiginfo.c (psiginfo): Use array_length.
20357 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
20358 (do_test): Use array_length.
20359 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
20360 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
20361 * stdio-common/tst-printf-round.c (do_test): Likewise.
20362 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
20363 (CHECK): Use array_length.
20364 * stdio-common/tstdiomisc.c (t3, F): Likewise.
20365 * stdio-common/tstscanf.c (main): Likewise.
20366 * stdio-common/vfprintf.c (process_string_arg): Likewise.
20367
c94a5688
FW
203682017-11-02 Florian Weimer <fweimer@redhat.com>
20369
20370 Add array_length and array_end macros.
20371 * include/array_length.h: New file.
20372
2fac6a6c
FW
203732017-11-02 Florian Weimer <fweimer@redhat.com>
20374
20375 [BZ #22332]
20376 * posix/tst-glob-tilde.c (do_noescape): New variable.
20377 (one_test): Process it.
20378 (do_test): Set do_noescape. Add unescaping test case.
20379
2f1b212e
JM
203802017-11-01 Joseph Myers <joseph@codesourcery.com>
20381
260fbd0a
JM
20382 * math/complex.h
20383 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
20384 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
20385 with appropriate macros defined and undefined.
20386 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
20387 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
20388 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
20389 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
20390 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
20391 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
20392 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
20393 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
20394 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
20395 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
20396
2f1b212e
JM
20397 * math/complex.h
20398 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
20399 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
20400 that for long double. Do not condition define and undefine of
20401 _Mdouble_complex_ on [__CFLOAT128].
20402
95b93c6e
L
204032017-11-01 H.J. Lu <hongjiu.lu@intel.com>
20404
20405 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
20406 of <sysdeps/generic/sysdep.h>.
20407 (ALIGNARG): Removed.
20408 (ASM_SIZE_DIRECTIVE): Likewise.
20409 (ENTRY): Likewise.
20410 (END): Likewise.
20411 (ENTRY_CHK): Likewise.
20412 (END_CHK): Likewise.
20413 (syscall_error): Likewise.
20414 (mcount): Likewise.
20415 (PSEUDO_END): Likewise.
20416 (L): Likewise.
20417 (atom_text_section): Likewise.
20418 * sysdeps/x86/sysdep.h: New file.
20419 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
20420 of <sysdeps/generic/sysdep.h>.
20421 (ALIGNARG): Removed.
20422 (ASM_SIZE_DIRECTIVE): Likewise.
20423 (ENTRY): Likewise.
20424 (END): Likewise.
20425 (ENTRY_CHK): Likewise.
20426 (END_CHK): Likewise.
20427 (syscall_error): Likewise.
20428 (mcount): Likewise.
20429 (PSEUDO_END): Likewise.
20430 (L): Likewise.
20431 (atom_text_section): Likewise.
20432
1bb36539
RL
204332017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
20434
20435 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
20436 category of LC_CTYPE set to "i18n:2012".
20437 * localedata/locales/i18n_ctype: Regenerate.
20438
067f5d97 204392017-10-31 Yury Norov <ynorov@caviumnetworks.com>
e8681faa 20440
87bbc4cf
YN
20441 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
20442 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
20443 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
20444 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
20445
e8681faa
YN
20446 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
20447 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
20448 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
20449 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
20450
540af6e2
JM
204512017-10-31 Joseph Myers <joseph@codesourcery.com>
20452
43e66283
JM
20453 * math/complex.h
20454 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
20455 New macro.
20456 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
20457 Likewise.
20458 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
20459 Likewise.
20460 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20461 (CMPLXF32X): Likewise.
20462 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20463 (CMPLXF64X): Likewise.
20464 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20465 (CMPLXF128X): Likewise.
20466
540af6e2
JM
20467 * math/math.h
20468 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
20469 (__MATH_EVAL_FMT2): Define to add 0.0f.
20470
58af72b4
AM
204712017-10-31 Alan Modra <amodra@gmail.com>
20472
20473 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
20474 include sysdep.h.
20475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
20476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
20477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
20478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
20479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
20480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
20481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
20482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
20483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
20484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
20485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
20486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
20487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
20488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
20489 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
20490 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
20491 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
20492 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
20493 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
20494 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
20495 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
20496 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
20497 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
20498 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
20499 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
20500 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
20501 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
20502 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
20503 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
20504 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
20505 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
20506 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
20507 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
20508 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
20509 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
20510 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
20511 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
20512 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
20513 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
20514 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
20515 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
20516 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
20517 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
20518 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
20519 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
20520 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
20521 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
20522 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
20523 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
20524 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
20525 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
20526 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
20527 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
20528 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
20529 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
20530 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
20531 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
20532 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
20533 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
20534 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
20535 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
20536 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
20537 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
20538 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
20539 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
20540 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
20541 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
20542 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
20543 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
20544
20545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
20546 include sysdep.h and math_ldbl_opt.h.
20547
20548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
20549 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
20550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
20551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
20552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
20553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
20554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
20555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
20556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
20557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
20558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
20559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
20560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
20561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
20562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
20563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
20564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
20565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
20566 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
20567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
20568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
20569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
20570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
20571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
20572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
20573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
20574
112f30b3
AM
205752017-10-31 Alan Modra <amodra@gmail.com>
20576
20577 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
20578 string/strncase_l.c, not string/strncase.c.
20579 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
20580 (libc_hidden_def): Redefine.
20581
e9e7eced
AM
205822017-10-31 Alan Modra <amodra@gmail.com>
20583
20584 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
20585 (__STRCMP, STRCMP, __strcasecmp_l): Define.
20586 (__strcasecmp): Don't define.
20587
f7b465cf
AM
205882017-10-31 Alan Modra <amodra@gmail.com>
20589
20590 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
20591 IS_IN (libc).
20592 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
20593 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
20594 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
20595
d46b09f9
AM
205962017-10-31 Alan Modra <amodra@gmail.com>
20597
20598 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
20599 USE_AS_STPNCPY.
20600
e9b8e194
AM
206012017-10-31 Alan Modra <amodra@gmail.com>
20602
20603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
20604 Redefine only when SHARED.
20605
eda162dd
JM
206062017-10-30 Joseph Myers <joseph@codesourcery.com>
20607
b61afe8c
JM
20608 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
20609 Include <bits/math-finite.h> with appropriate macros defined and
20610 undefined.
20611 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
20612 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
20613 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
20614 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
20615 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
20616
eda162dd
JM
20617 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
20618 [!_Mlong_double_] (_Mlong_double_): Likewise.
20619 [!_Mfloat16_] (_Mfloat16_): Likewise.
20620 [!_Mfloat32_] (_Mfloat32_): Likewise.
20621 [!_Mfloat64_] (_Mfloat64_): Likewise.
20622 [!_Mfloat128_] (_Mfloat128_): Likewise.
20623 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
20624 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
20625 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
20626 (_Mdouble_): Define without indirection through those macros.
20627 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
20628 [!_Mfloat128_] (_Mfloat128_): Likewise.
20629 [_Mlong_double_] (_Mlong_double_): Likewise.
20630 (_Mdouble_): Define without indirection through those macros.
20631 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
20632 not add -D_Mlong_double_=double.
20633 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
20634 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
20635
4ad5106e
L
206362017-10-30 H.J. Lu <hongjiu.lu@intel.com>
20637
20638 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
20639
fe326df7
L
206402017-10-30 H.J. Lu <hongjiu.lu@intel.com>
20641
20642 * sysdeps/x86/libc-start.c: Reformat.
20643
c5cc4514
L
206442017-10-30 H.J. Lu <hongjiu.lu@intel.com>
20645
20646 [BZ #22353]
20647 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
20648 (1): Renamed to ...
20649 (L(Src0)): This.
20650 (L(Src1)): New.
20651 (L(Src2)): Likewise.
20652 (L(1)): Renamed to ...
20653 (L(Src3)): This.
20654
ce12269f
JM
206552017-10-30 Joseph Myers <joseph@codesourcery.com>
20656
20657 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
20658 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
20659 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
20660 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
20661 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
20662 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
20663 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
20664 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
20665 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
20666 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
20667 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
20668 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
20669 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
20670 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
20671 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
20672 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
20673 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
20674 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
20675 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
20676 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
20677 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
20678 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
20679 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
20680 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
20681 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
20682 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
20683 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
20684 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
20685 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
20686 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
20687 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
20688 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
20689 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
20690 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
20691 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
20692 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
20693 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
20694 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
20695 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
20696 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
20697 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
20698 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
20699 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
20700 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
20701 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
20702 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
20703 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
20704 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
20705 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
20706 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
20707 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
20708 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
20709 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
20710 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
20711 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
20712 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
20713 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
20714 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
20715 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
20716 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
20717 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
20718 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
20719 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
20720 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
20721 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
20722 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
20723
4484b9e2
FW
207242017-10-30 Florian Weimer <fweimer@redhat.com>
20725
20726 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
20727 always defined.
20728 * io/tst-mkdirat.c (do_test): Likewise.
20729 * io/tst-mkfifoat.c (do_test): Likewise.
20730 * io/tst-mknodat.c (do_test): Likewise.
20731 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
20732 * locale/programs/locale.c (select_dirs): Likewise.
20733 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
20734 * posix/bug-glob2.c (my_readdir): Likewise.
20735 * posix/tst-dir.c (main): Likewise.
20736 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
20737 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
20738
68fe16dd
FW
207392017-10-30 Florian Weimer <fweimer@redhat.com>
20740
20741 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
20742 just __USE_GNU.
20743
dadf23f0
FW
207442017-10-30 Florian Weimer <fweimer@redhat.com>
20745
20746 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
20747 Convert to support/test-driver.c.
20748 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
20749 New macro parameters.
20750 (PRINTF): Remove macro. Use test_verbose conditionals instead.
20751 * posix/tst-gnuglob.c: New file.
20752 * posix/tst-gnuglob64.c: Likewise.
20753 * posix/Makefile (tests): Add tst-gnuglob64.
20754
363e4519 207552017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
fbcecc08
MF
20756
20757 [BZ #19485]
20758 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
20759 and use a better translation for March in “mon”.
20760 * localedata/locales/csb_PL: Use more ASCII to improve the
20761 readability of the source.
20762
b110af82
MF
207632017-10-30 Mike FABIAN <mfabian@redhat.com>
20764
20765 [BZ #13953]
20766 * localedata/locales/km_KH: Use ASCII as much
20767 as possible for better readability of the source and
20768 remove useless comments.
20769 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
20770 was commented out and apparently wrong anyway because it was
20771 using Lao characters. If Buddhist era should be used
20772 for km_KH, a native speaker should write the correct formaat
20773 for Khmer.
20774 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
20775 (According to CLDR, the first weekday for Cambodia is Sunday).
20776 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
20777 (These were using Lao characters which must be wrong. If we get
20778 the correct data from a native speaker, we could add it back, until
20779 then it is better not to have name_mr and name_mrs at all than
20780 having it wrong).
20781
f301e533
RL
207822017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
20783
20784 * locale/loadlocale.c: Correct size of
20785 _nl_value_type_LC_<category> arrays.
20786
7e9d7073
JM
207872017-10-27 Joseph Myers <joseph@codesourcery.com>
20788
20789 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
20790 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
20791 with appropriate macros defined and undefined.
20792 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
20793 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
20794 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
20795 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
20796 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
20797
63d3b468
L
207982017-10-27 H.J. Lu <hongjiu.lu@intel.com>
20799
20800 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
20801 "-O2 -march=i586".
20802
a4cc02c7
MF
208032017-10-27 Mike FABIAN <mfabian@redhat.com>
20804
20805 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
20806 with lowercase letters to make it agree with CLDR.
20807
1e5971ec
MF
208082017-10-27 Mike FABIAN <mfabian@redhat.com>
20809
20810 [BZ #15260]
20811 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
20812 first letters of yesstr and nostr in yesexpr and noexpr,
20813 not for the full words.
20814 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
20815 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
20816 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
20817 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
20818 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
20819 first letters of yesstr and nostr in yesexpr and noexpr,
20820 until now only English was matched in yesexpr and noexpr.
20821 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
20822 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
20823 fil but not for tl. As tl and fil are very similar, using fil
20824 is probably better than using English.
20825
363e4519 208262017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
bc5fc7de
MF
20827
20828 [BZ #21706]
20829 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
20830 in yesstr and nostr.
20831
5d220788
JM
208322017-10-26 Joseph Myers <joseph@codesourcery.com>
20833
ecc7da5b
JM
20834 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
20835 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
20836 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
20837 Likewise.
20838 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
20839 Likewise.
20840 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
20841 Likewise.
20842 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
20843 Likewise.
20844 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20845 (SNANF128X): Likewise.
20846
5d220788
JM
20847 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
20848 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
20849 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20850 (HUGE_VAL_F32): Likewise.
20851 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20852 (HUGE_VAL_F64): Likewise.
20853 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20854 (HUGE_VAL_F32X): Likewise.
20855 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20856 (HUGE_VAL_F64X): Likewise.
20857 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20858 (HUGE_VAL_F128X): Likewise.
20859
363e4519 208602017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
67ad7163
TV
20861
20862 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
20863 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
20864 for the br_FR locale.
20865
363e4519 208662017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
408dff7e
TV
20867
20868 [BZ #21706]
20869 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
20870
337ff3c5
CD
208712017-10-25 Carlos O'Donell <carlos@redhat.com>
20872
02eec681
CD
20873 * locale/programs/record-status.h: Define globals, and function
20874 prototypes. Move function bodies...
20875 * locale/programs/record-status.c: ... to here. New file.
20876 * iconv/Makefile (iconv_prog-modules): Add record-status.
20877 * locale/Makefile (lib-modules): Likewise.
20878 * iconv/iconv_prog.c: Remove verbose.
20879 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
20880 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
20881 record a warning about ASCII compatibility.
20882 * locale/programs/ld-monetary.c (monetary_finish): If
20883 warn_int_curr_symbol is true then record a warning about the symbol
20884 not being in our ISO 4217 list.
20885 * locale/programs/locale.c: Include record-status.h. Remove verbose.
20886 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
20887 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
20888 (OPT_NO_WARN): Define.
20889 (OPT_WARN): Define.
20890 (options): Add entry for --no-warnings, and --warnings.
20891 (set_warnings): New function to enable/disable warnings.
20892 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
20893 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
20894 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
20895 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
20896 Pass flags to generate_locale.
20897 (generate_locale): Accept new flag argument and pass it to localedef
20898 invocation.
20899 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
20900 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
20901
56fa555a
CD
20902 * localedata/Makefile (test-input-data): Use full file name.
20903 * localedata/da_DK.in: Rename to...
20904 * localedata/da_DK.ISO-8859-1.in: ...this.
20905 * localedata/de_DE.in: Rename to...
20906 * localedata/de_DE.ISO-8859-1.in: ...this.
20907 * localedata/en_US.in: Rename to...
20908 * localedata/en_US.ISO-8859-1.in: ...this.
20909 * localedata/fr_FR.in: Rename to...
20910 * localedata/fr_FR.UTF-8.in: ... this.
20911 * localedata/hr_HR.in: Rename to...
20912 * localedata/hr_HR.ISO-8859-2.in: ...this.
20913 * localedata/hu_HU.in: Rename to...
20914 * localedata/hu_HU.UTF-8.in: ...this.
20915 * localedata/si_LK.in: Rename to...
20916 * localedata/si_LK.UTF-8.in: ...this.
20917 * localedata/sv_SE.in: Rename to...
20918 * localedata/sv_SE.ISO-8859-1.in: ...this.
20919 * localedata/tr_TR.in: Rename to...
20920 * localedata/tr_TR.UTF-8.in: ...this.
20921 * localedata/uk_UA.in: Rename to...
20922 * localedata/uk_UA.UTF-8.in: ...this.
20923 * localedata/sort-test.sh: Test file is locale name with the
20924 suffix.
20925
337ff3c5
CD
20926 * localedata/unicode-gen/Makefile (check_i18n): Rename to
20927 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
20928 file.
20929 * localedata/locales/i18n_ctype: Regenerate.
20930 * localedata/locales/tr_TR: Likewise.
20931 * localedata/locales/translit_circle: Likewise.
20932 * localedata/locales/translit_cjk_compat: Likewise.
20933 * localedata/locales/translit_combining: Likewise.
20934 * localedata/locales/translit_compat: Likewise.
20935 * localedata/locales/translit_font: Likewise.
20936 * localedata/locales/translit_fraction: Likewise.
20937
63da5cd4
RS
209382017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20939
20940 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
20941 lxvd2x/stxvd2x with lvx/stvx.
20942 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
20943
a122dbfb
L
209442017-10-25 H.J. Lu <hongjiu.lu@intel.com>
20945
20946 * include/alloc_buffer.h: Replace "if if " with "if " in
20947 comments.
20948 * sysdeps/mips/memcpy.S: Likkewise.
20949 * sysdeps/mips/memset.S: Likewise.
20950 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
20951 Likewise.
20952 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
20953 Likewise.
20954 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
20955 Likewise.
20956
9be7530c
MF
209572017-10-25 Mike FABIAN <mfabian@redhat.com>
20958
20959 [BZ #15261]
20960 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
20961 yesexpr and noexpr.
20962 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
20963 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
20964 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
20965 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
20966 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
20967 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
20968 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
20969
6ccbf6ff
MF
209702017-10-25 Mike FABIAN <mfabian@redhat.com>
20971
20972 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
20973 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
20974 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
20975 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
20976 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
20977 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
20978 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
20979 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
20980 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
20981 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
20982 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
20983 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
20984
58b1a7ea
MF
209852017-10-25 Mike FABIAN <mfabian@redhat.com>
20986
20987 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
20988 as possible for better readability of the source.
20989 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
20990 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
20991 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
20992 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
20993 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
20994 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
20995 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
20996 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
20997 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
20998 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
20999 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
21000 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
21001 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
21002 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
21003 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
21004 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
21005 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
21006 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
21007 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
21008 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
21009 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
21010 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
21011 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
21012 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
21013 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
21014 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
21015 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
21016 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
21017 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
21018 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
21019 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
21020 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
21021 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
21022 * localedata/locales/en_US (LC_MESSAGES): Likewise.
21023 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
21024 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
21025 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
21026 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
21027 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
21028 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
21029 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
21030 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
21031 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
21032 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
21033 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
21034 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
21035 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
21036 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
21037 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
21038 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
21039 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
21040 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
21041 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
21042 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
21043 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
21044 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
21045 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
21046 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
21047 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
21048 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
21049 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
21050 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
21051 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
21052 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
21053 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
21054 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
21055 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
21056 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
21057 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
21058 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
21059 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
21060 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
21061 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
21062 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
21063 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
21064 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
21065 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
21066 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
21067 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
21068 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
21069 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
21070 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
21071 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
21072 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
21073 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
21074 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
21075 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
21076 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
21077 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
21078 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
21079 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
21080 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
21081 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
21082 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
21083 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
21084 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
21085 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
21086 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
21087 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
21088 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
21089 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
21090 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
21091 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
21092 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
21093 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
21094 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
21095 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
21096 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
21097 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
21098 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
21099 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
21100 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
21101 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
21102 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
21103 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
21104 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
21105 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
21106 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
21107 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
21108 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
21109 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
21110 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
21111 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
21112 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
21113 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
21114 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
21115 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
21116 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
21117 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
21118 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
21119 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
21120 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
21121 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
21122 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
21123 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
21124 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
21125 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
21126 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
21127 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
21128 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
21129 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
21130 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
21131 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
21132 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
21133 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
21134 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
21135 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
21136 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
21137 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
21138 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
21139 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
21140 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
21141 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
21142 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
21143 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
21144 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
21145 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
21146 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
21147 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
21148 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
21149 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
21150 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
21151 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
21152 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
21153 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
21154 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
21155 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
21156 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
21157 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
21158 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
21159 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
21160 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
21161 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
21162 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
21163
17e78edb
MF
211642017-10-25 Mike FABIAN <mfabian@redhat.com>
21165
21166 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
21167 (Use first letters of yesstr and nostr correctly instead of using
21168 full words).
21169
74e7284f
MF
211702017-10-25 Mike FABIAN <mfabian@redhat.com>
21171
21172 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
21173 (Use first letters of yesstr and nostr correctly).
21174
b41a0ff1
MF
211752017-10-25 Mike FABIAN <mfabian@redhat.com>
21176
21177 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
21178 also check for the first characters of yesstr and nostr.
21179 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
21180 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
21181
d971f380
MF
211822017-10-25 Mike FABIAN <mfabian@redhat.com>
21183
21184 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
21185 also check for Chinese characters.
21186
effc9e1d
MF
211872017-10-25 Mike FABIAN <mfabian@redhat.com>
21188
21189 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
21190 match also for the contents of yesstr and nostr. As the first letter
21191 of yesstr and nostr is equal, checking only for the first letter
21192 is not enough.
21193
10320881
MF
211942017-10-25 Mike FABIAN <mfabian@redhat.com>
21195
21196 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
21197 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
21198
d8682a15
MF
211992017-10-25 Mike FABIAN <mfabian@redhat.com>
21200
21201 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
21202 of main contributor.
21203
1bfb86ae
MF
212042017-10-25 Mike FABIAN <mfabian@redhat.com>
21205
21206 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
21207 instead of using English.
21208
da33d60b
MF
212092017-10-25 Mike FABIAN <mfabian@redhat.com>
21210
21211 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
21212 by including the first letters of nostr and yesexpr in the regexp.
21213 Also make it more readable by using ASCII where possible.
21214
725bbb3e
MF
212152017-10-25 Mike FABIAN <mfabian@redhat.com>
21216
21217 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
21218 the first letter of nostr in the regexp. It agrees with CLDR now.
21219 Also make it more readable by using ASCII where possible.
21220
fe043d8a
MF
212212017-10-24 Mike FABIAN <mfabian@redhat.com>
21222
21223 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
21224 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
21225 these strings contain a U+17D6 (which somewhat looks like a colon)
21226 instead of a real colon to separate the full words for “yes”
21227 and “no” from the single letter responses.
21228
360a8df3
MF
212292017-10-24 Mike FABIAN <mfabian@redhat.com>
21230
21231 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
21232 it agree with CLDR (include the first letter of yesstr).
21233 Also make it more readable by using ASCII where possible.
21234
bab7b6b0
MF
212352017-10-24 Mike FABIAN <mfabian@redhat.com>
21236
21237 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
21238 and improve yesexpr and noexpr. The yesstr and nostr apparently
21239 came from CLDR. And CLDR has a bug there: these strings contain
21240 a U+0903 (which looks like a colon) instead of a real colon
21241 to separate the full words for “yes” and “no” from the single
21242 letter responses.
21243
3e79f758
MF
212442017-10-24 Mike FABIAN <mfabian@redhat.com>
21245
21246 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
21247 letters of the full yesstr and nostr in yesexpr and noexpr.
21248
4960c879
MF
212492017-10-24 Mike FABIAN <mfabian@redhat.com>
21250
21251 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
21252 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
21253 * localedata/locales/an_ES: Make source more readable by using ASCII
21254 where possible.
21255
b06a054f
MF
212562017-10-24 Mike FABIAN <mfabian@redhat.com>
21257
21258 [BZ #20952]
21259 * localedata/locales/yuw_PG: New file.
21260 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
21261 * locale/iso-639.def: Add Yau (Uruwa).
21262
905a7725
WD
212632017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
21264
21265 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
21266
3f6bb8a3
WD
212672017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
21268
21269 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
21270 (__libc_realloc): Likewise.
21271 (_mid_memalign): Likewise.
21272 (__libc_calloc): Likewise.
21273
1d479c8c
MF
212742017-10-23 Mike FABIAN <mfabian@redhat.com>
21275
21276 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
21277 by adding the generic +1 and -0 as in all other locales.
21278 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
21279 day names and make it more readable by using ASCII where possible.
21280
91c3985c
JM
212812017-10-24 Joseph Myers <joseph@codesourcery.com>
21282
21283 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
21284 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
21285
aa95a241
AZ
212862017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21287
21288 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
21289 WNOHANG in waitpid call.
21290
db9bab09
SP
212912017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
21292
a2e0a7f1
SP
21293 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
21294 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
21295
db9bab09
SP
21296 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
21297 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
21298 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
21299 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
21300 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
21301 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
21302 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
21303 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
21304 variables.
21305
5062680c
MC
213062017-10-23 Michael Collison <michael.collison@arm.com>
21307
21308 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
21309 with __builtin_sqrt.
21310 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
21311 with __builtin_sqrtf.
21312 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
21313 with __builtin_ceil.
21314 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
21315 with __builtin_ceilf.
21316 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
21317 with __builtin_floor.
21318 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
21319 with __builtin_floorf.
21320 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
21321 with __builtin_fma.
21322 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
21323 with __builtin_fmaf.
21324 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
21325 with __builtin_fmax.
21326 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
21327 with __builtin_fmaxf.
21328 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
21329 with __builtin_fmin.
21330 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
21331 with __builtin_fminf.
21332 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
21333 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
21334 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
21335 with builtin_rint and conversion to int.
21336 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
21337 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
21338 with builtin_llround.
21339 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
21340 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
21341 with builtin_rint and conversion to long int.
21342 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
21343 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
21344 with builtin_lround.
21345 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
21346 with builtin_lroundf.
21347 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
21348 statements with __builtin_nearbyint.
21349 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
21350 statements with __builtin_nearbyintf.
21351 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
21352 with __builtin_rint.
21353 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
21354 with __builtin_rintf.
21355 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
21356 with __builtin_round.
21357 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
21358 with __builtin_roundf.
21359 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
21360 with __builtin_trunc.
21361 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
21362 with __builtin_truncf.
be080b6c
SN
21363 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
21364 and s_l[l]round[f].c too.
5062680c 21365
174935af
AM
213662017-10-23 Alan Modra <amodra@gmail.com>
21367
21368 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
21369 Adjust stack after restoring regs. Add missing LR cfi_restore.
21370
750a0e49
AM
213712017-10-23 Alan Modra <amodra@gmail.com>
21372
21373 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
21374 Move LR save and frame setup/teardown and LR restore to
21375 immediately around memset call. Provide cfi.
21376
5313581c
L
213772017-10-22 H.J. Lu <hongjiu.lu@intel.com>
21378
21379 * sysdeps/i386/fpu/e_powf.S: Removed.
21380 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
21381 * sysdeps/i386/fpu/w_powf.c: Likewise.
21382 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
21383 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21384 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
21385 Add e_powf-sse2.
21386 (CFLAGS-e_powf-sse2.c): New.
21387 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
21388 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
21389
6089a3ee
L
213902017-10-22 H.J. Lu <hongjiu.lu@intel.com>
21391
21392 * sysdeps/i386/fpu/e_log2f.S: Removed.
21393 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
21394 * sysdeps/i386/fpu/w_log2f.c: Likewise.
21395 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
21396 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21397 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
21398 Add e_log2f-sse2.
21399 (CFLAGS-e_log2f-sse2.c): New.
21400 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
21401 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
21402
80bb5935
L
214032017-10-22 H.J. Lu <hongjiu.lu@intel.com>
21404
21405 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21406 Add e_powf-fma.
21407 (CFLAGS-e_powf-fma.c): New.
21408 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
21409 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
21410
5c7adbd8
L
214112017-10-22 H.J. Lu <hongjiu.lu@intel.com>
21412
21413 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21414 Add e_log2f-fma.
21415 (CFLAGS-e_log2f-fma.c): New.
21416 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
21417 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
21418
0ccc7153
L
214192017-10-22 H.J. Lu <hongjiu.lu@intel.com>
21420
21421 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21422 Add e_logf-fma.
21423 (CFLAGS-e_logf-fma.c): New.
21424 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
21425 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
21426
fe596486
L
214272017-10-22 H.J. Lu <hongjiu.lu@intel.com>
21428
21429 * sysdeps/i386/fpu/e_logf.S: Removed.
21430 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
21431 * sysdeps/i386/fpu/w_logf.c: Likewise.
21432 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
21433 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
21434 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21435 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
21436 Add e_logf-sse2.
21437 (CFLAGS-e_logf-sse2.c): New.
21438 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
21439 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
21440
7eda65f6
L
214412017-10-22 H.J. Lu <hongjiu.lu@intel.com>
21442
21443 * sysdeps/i386/fpu/e_exp2f.S: Removed.
21444 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
21445 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
21446 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21447 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
21448 Add e_exp2f-sse2.
21449 (CFLAGS-e_exp2f-sse2.c): New.
21450 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
21451 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
21452
5d15c969
L
214532017-10-22 H.J. Lu <hongjiu.lu@intel.com>
21454
21455 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21456 Add e_exp2f-fma.
21457 (CFLAGS-e_exp2f-fma.c): New.
21458 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
21459 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
21460
b2f6137e
L
214612017-10-22 H.J. Lu <hongjiu.lu@intel.com>
21462
21463 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
21464 * sysdeps/i386/fpu/e_expf.S: Likewise.
21465 * sysdeps/i386/fpu/math_errf.c: Likewise.
21466 * sysdeps/i386/fpu/w_expf.c: Likewise.
21467 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
21468 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
21469 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
21470 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
21471 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21472 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
21473 Remove e_expf-ia32.
21474 (CFLAGS-e_expf-sse2.c): New.
21475 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
21476 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
21477
e1f59beb
L
214782017-10-22 H.J. Lu <hongjiu.lu@intel.com>
21479
21480 * sysdeps/x86_64/fpu/e_expf.S: Removed.
21481 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
21482 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
21483 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
21484 e_expf.c.
21485 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
21486 New.
21487 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
21488 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
21489 Renamed to ...
21490 (__redirect_expf): This.
21491 (SYMBOL_NAME): Changed to expf.
21492 (__ieee754_expf): Renamed to ...
21493 (__expf): This.
21494 (__GI___expf): This.
21495 (__ieee754_expf): Add strong_alias.
21496 (__expf_finite): Likewise.
21497 (__expf): New.
21498 Include <sysdeps/ieee754/flt-32/e_expf.c>.
21499
363e4519 215002017-10-22 Paul Eggert <eggert@cs.ucla.edu>
a159b53f
PE
21501
21502 [BZ #22332]
21503 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
21504 unescaping.
21505
e80fc1fc
FW
215062017-10-21 Florian Weimer <fweimer@redhat.com>
21507
21508 * posix/Makefile (tests): Add tst-glob-tilde.
21509 (tests-special): Add tst-glob-tilde-mem.out
21510 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
21511 (tst-glob-tilde-mem.out): Add mtrace check.
21512 * posix/tst-glob-tilde.c: New file.
21513
797ba44b
JM
215142017-10-20 Joseph Myers <joseph@codesourcery.com>
21515
21516 * bits/floatn-common.h: New file.
21517 * math/Makefile (headers): Add bits/floatn-common.h.
21518 * bits/floatn.h: Include <bits/floatn-common.h>.
21519 * sysdeps/ia64/bits/floatn.h: Likewise.
21520 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
21521 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
21522 * sysdeps/powerpc/bits/floatn.h: Likewise.
21523 * sysdeps/x86/bits/floatn.h: Likewise.
21524
fe05e1cb
AZ
215252017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21526
8f6f5362
AZ
21527 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
21528 indicates whether compiler emits an warning for alias for
21529 functions with incompatible types.
21530
fe05e1cb
AZ
21531 [BZ #22273]
21532 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
21533 the auxiliary process is terminated by a signal before calling _exit
21534 or execve.
21535
b52b0d79
L
215362017-10-20 H.J. Lu <hongjiu.lu@intel.com>
21537
21538 [BZ #21265]
21539 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
21540 New.
21541 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
21542 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
21543 and bit_arch_XSAVEC_Usable if needed.
21544 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
21545 and bit_arch_Use_dl_runtime_resolve_opt.
21546 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
21547 Removed.
21548 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
21549 (bit_arch_Prefer_No_AVX512): Updated.
21550 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
21551 (bit_arch_XSAVEC_Usable): New.
21552 (STATE_SAVE_OFFSET): Likewise.
21553 (STATE_SAVE_MASK): Likewise.
21554 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
21555 (cpu_features): Add xsave_state_size and xsave_state_full_size.
21556 (index_arch_Use_dl_runtime_resolve_opt): Removed.
21557 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
21558 (index_arch_XSAVEC_Usable): New.
21559 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
21560 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
21561 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
21562 is enabled.
21563 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
21564 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
21565 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
21566 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
21567 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
21568 _dl_runtime_resolve_xsavec.
21569 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
21570 Removed.
21571 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
21572 instead of VEC_SIZE.
21573 (REGISTER_SAVE_BND0): Removed.
21574 (REGISTER_SAVE_BND1): Likewise.
21575 (REGISTER_SAVE_BND3): Likewise.
21576 (REGISTER_SAVE_RAX): Always defined to 0.
21577 (VMOV): Removed.
21578 (_dl_runtime_resolve_avx): Likewise.
21579 (_dl_runtime_resolve_avx_slow): Likewise.
21580 (_dl_runtime_resolve_avx_opt): Likewise.
21581 (_dl_runtime_resolve_avx512): Likewise.
21582 (_dl_runtime_resolve_avx512_opt): Likewise.
21583 (_dl_runtime_resolve_sse): Likewise.
21584 (_dl_runtime_resolve_sse_vex): Likewise.
21585 (USE_FXSAVE): New.
21586 (_dl_runtime_resolve_fxsave): Likewise.
21587 (USE_XSAVE): Likewise.
21588 (_dl_runtime_resolve_xsave): Likewise.
21589 (USE_XSAVEC): Likewise.
21590 (_dl_runtime_resolve_xsavec): Likewise.
21591 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
21592 Removed.
21593 (_dl_runtime_resolve_avx512_opt): Likewise.
21594 (_dl_runtime_resolve_avx): Likewise.
21595 (_dl_runtime_resolve_avx_opt): Likewise.
21596 (_dl_runtime_resolve_sse): Likewise.
21597 (_dl_runtime_resolve_sse_vex): Likewise.
21598 (_dl_runtime_resolve_fxsave): New.
21599 (_dl_runtime_resolve_xsave): Likewise.
21600 (_dl_runtime_resolve_xsavec): Likewise.
21601
363e4519 216022017-10-20 Paul Eggert <eggert@cs.ucla.edu>
c369d66e
PE
21603
21604 [BZ #22320]
21605 CVE-2017-15670
21606 * posix/glob.c (__glob): Fix one-byte overflow.
21607
6d43de4b
WD
216082017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
21609
21610 * malloc/malloc.c (sysdep-cancel.h): Add include.
21611
a15d53e2
WD
216122017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
21613
21614 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
21615
b9a558e7
WH
216162017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
21617
21618 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
21619 (tests): Remove $(objpfx)ga_test depdendency.
21620 * resolv/ga_test.c: Remove file.
21621
b6b08b8e
MF
216222017-10-20 Mike FABIAN <mfabian@redhat.com>
21623
21624 [BZ #18812]
21625 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
21626 * localedata/locales/kab_DZ: New file.
21627
9ba7e810
L
216282017-10-20 H.J. Lu <hongjiu.lu@intel.com>
21629
21630 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
21631 _dl_relocate_static_pie instead of _dl_start to compute load
21632 address in static PIE.
21633
4027a4fd
L
216342017-10-20 H.J. Lu <hongjiu.lu@intel.com>
21635
21636 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
21637
2f9314b4
MF
216382017-10-20 Mike FABIAN <mfabian@redhat.com>
21639
21640 [BZ #13605]
21641 * localedata/SUPPORTED: Add shn_MM/UTF-8.
21642 * localedata/locales/shn_MM: New file.
21643
63b4baa4
FW
216442017-10-20 Florian Weimer <fweimer@redhat.com>
21645
21646 [BZ #22321]
21647 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
21648 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
21649 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
21650 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
21651 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
21652 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
21653
95ccb619
L
216542017-10-19 H.J. Lu <hongjiu.lu@intel.com>
21655
21656 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
21657
37bb78cb
JM
216582017-10-19 Joseph Myers <joseph@codesourcery.com>
21659
76f2ed92
JM
21660 * sysdeps/mips/ieee754/bits/floatn.h: New file.
21661
37bb78cb
JM
21662 [BZ #22322]
21663 * sysdeps/mips/bits/long-double.h: Move to ....
21664 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
21665
d74e6f6c
WD
216662017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
21667
21668 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
21669
363e4519 216702017-10-19 Valery Reznic <valery_reznic@yahoo.com>
4d916f0f
L
21671 H.J. Lu <hongjiu.lu@intel.com>
21672
21673 [BZ #22299]
21674 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
21675 GLRO(dl_platform) to NULL.
21676 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
21677 (modules-names): Add tst-platformmod-1 and
21678 x86_64/tst-platformmod-2.
21679 (CFLAGS-tst-platform-1.c): New.
21680 (CFLAGS-tst-platformmod-1.c): Likewise.
21681 (CFLAGS-tst-platformmod-2.c): Likewise.
21682 (LDFLAGS-tst-platformmod-2.so): Likewise.
21683 ($(objpfx)tst-platform-1): Likewise.
21684 ($(objpfx)tst-platform-1.out): Likewise.
21685 (tst-platform-1-ENV): Likewise.
21686 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
21687 * sysdeps/x86_64/tst-platform-1.c: New file.
21688 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
21689 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
21690
4b0fa403
MF
216912017-10-19 Mike FABIAN <mfabian@redhat.com>
21692
21693 [BZ #13994]
21694 * locale/iso-639.def: Add Karbi.
21695 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
21696 * localedata/locales/mjw_IN: New file.
21697
81325b12
JM
216982017-10-18 Joseph Myers <joseph@codesourcery.com>
21699
21700 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
21701 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
21702 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
21703 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
21704 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
21705 (libm_alias_ldouble_other_r): Also create _Float128 alias.
21706 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
21707 <bits/floatn.h>.
21708 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
21709 (libm_alias_ldouble_other_r): Also create _Float128 alias.
21710 * manual/math.texi (Mathematics): Document additional architecture
21711 support for _Float128.
21712 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21713 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21714 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21715 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21716 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21717 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21718 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21719 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21720 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21721 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21722 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21723 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21724 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21725 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21726 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21727
a68ba2f3
SN
217282017-10-18 Renlin Li <renlin.li@arm.com>
21729
21730 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
21731 _DYNAMIC symbol to calculate load address.
21732
346729f6
PC
217332017-10-18 Paul A. Clarke <pc@us.ibm.com>
21734
21735 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
21736 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
21737 summary bits.
21738 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
21739 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
21740
508b1e71
MF
217412017-10-18 Mike FABIAN <mfabian@redhat.com>
21742
21743 [BZ #16777]
21744 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
21745 and improve readability by using more ASCII.
21746 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
21747 and improve readability by using more ASCII.
21748
2c2245b9
WD
217492017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
21750
21751 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
21752 not all targets support atomics on bool.
21753
13c92696
JM
217542017-10-17 Joseph Myers <joseph@codesourcery.com>
21755
21756 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
21757 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
21758 __f128.
21759 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
21760 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
21761 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
21762 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
21763 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
21764 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
21765
71d85045
AZ
217662017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21767
21768 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
21769 defines.
21770
3381be5c
WD
217712017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
21772
21773 [BZ #22159]
21774 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
21775 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
21776 (do_check_remalloced_chunk): Fix build bug.
21777 (do_check_malloc_state): Add assert that checks arena->top.
21778 (malloc_consolidate): Remove initialization.
21779 (int_mallinfo): Remove call to malloc_consolidate.
21780 (__libc_mallopt): Clarify why malloc_consolidate is needed.
21781
e956075a
WD
217822017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
21783
21784 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
21785 (have_fastchunks): Remove.
21786 (clear_fastchunks): Remove.
21787 (set_fastchunks): Remove.
21788 (malloc_state): Add have_fastchunks.
21789 (malloc_init_state): Use have_fastchunks.
21790 (do_check_malloc_state): Remove incorrect invariant checks.
21791 (_int_malloc): Use have_fastchunks.
21792 (_int_free): Likewise.
21793 (malloc_consolidate): Likewise.
21794
e4dd4ace
WD
217952017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
21796
21797 * malloc/malloc.c (tcache_put): Inline.
21798 (tcache_get): Inline.
21799
5bf58bc7
AJ
218002017-10-17 Jordi Mallach <jordi@gnu.org>
21801
21802 Aurelien Jarno <aurelien@aurel32.net>
21803 [BZ #2522]
21804 * localedata/locales/ca_ES@valencia: New file.
21805 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
21806
386e1c26
RN
218072017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
21808
21809 [BZ #22296]
21810 * math/math.h: Let signbit use the builtin in C++ mode with gcc
21811 < 6.x
21812
4e17c78e
AZ
218132017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21814
3d265601
AZ
21815 * scripts/build-many-glibcs.py (Context.add_all_configs):
21816 Add arm-linux-gnueabihf multiarch extra_glibcs.
21817
4e17c78e
AZ
21818 * sysdeps/generic/ifunc-init.h: New file.
21819 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
21820
56a752ab
MF
218212017-10-17 Mike FABIAN <mfabian@redhat.com>
21822
21823 [BZ #22019]
21824 * localedata/locales/el_GR: Set n_cs_precedes to 0.
21825 * localedata/locales/el_CY: copy "el_GR" because it is identical.
21826 * stdlib/tst-strfmon_l.c: adapt test case.
21827
c38a4bfd
JM
218282017-10-16 Joseph Myers <joseph@codesourcery.com>
21829
21830 * sysdeps/generic/float128-abi.h: New file.
21831 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
21832 non-__prefixed symbols to ....
21833 * math/Versions: ... here. Include <float128-abi.h>.
21834 * stdlib/Versions ... and here. Include <float128-abi.h>
21835
76009b26
FW
218362017-10-16 Florian Weimer <fweimer@redhat.com>
21837
21838 * version.h (VERSION): Switch to ".9000" as the development
21839 version suffix.
21840
7ece6cd5
FW
218412017-10-16 Florian Weimer <fweimer@redhat.com>
21842
21843 [BZ #22050]
21844 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
21845 compat_symbol_reference to access non-default version.
21846
d8287b36
FW
218472017-10-16 Florian Weimer <fweimer@redhat.com>
21848
21849 * malloc/Makefile (others-extras): Set to mcheck-init.o.
21850
3480ddc4
CD
218512017-10-16 Carlos O'Donell <carlos@redhat.com>
21852
21853 * include/shlib-compat.h (compat_symbol_reference): Update
21854 comment.
21855
02010e79
JM
218562017-10-16 Joseph Myers <joseph@codesourcery.com>
21857
596f7013
JM
21858 * math/Makefile (test-types): Add
21859 $(type-float128-$(float128-alias-fcts)).
21860 * math/test-float128.h (TYPE_STR): Define conditional on
21861 [FLT128_MANT_DIG == LDBL_MANT_DIG].
21862 (ULP_IDX): Likewise.
21863 (ULP_I_IDX): Likewise.
21864
02010e79
JM
21865 * stdlib/strtold.c: Include <bits/floatn.h>
21866 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
21867 and later undefine as macro. Define as weak alias if
21868 [!USE_WIDE_CHAR].
21869 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
21870 and later undefine as macro. Define as weak alias if
21871 [USE_WIDE_CHAR].
21872 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
21873 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
21874 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
21875 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
21876 Define and later undefine as macro. Define as weak alias if
21877 [USE_WIDE_CHAR].
21878 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
21879 <bits/floatn.h>.
21880 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
21881 Define and later undefine as macro. Define as weak alias if
21882 [!USE_WIDE_CHAR].
21883 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
21884 Define and later undefine as macro. Define as weak alias if
21885 [USE_WIDE_CHAR].
21886
ea91c315
CD
218872017-10-15 Carlos O'Donell <carlos@redhat.com>
21888
21889 * localedata/collate-test.c (allocate_arrays): Don't use \n in
21890 record_verbose messages.
21891
8e57c943
L
218922017-10-15 H.J. Lu <hongjiu.lu@intel.com>
21893
21894 [BZ #22052]
21895 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
21896 to silence -O3 -Wall warning with GCC 7.
21897
a4777c46
L
218982017-10-14 H.J. Lu <hongjiu.lu@intel.com>
21899
21900 * Makeconfig (+link-static-before-libc): Use the first of
21901 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
21902 * gmon/Makefile (tests): Add tst-gmon-static.
21903 (tests-static): Likewise.
21904 (CFLAGS-tst-gmon-static.c): New.
21905 (CRT-tst-gmon-static): Likewise.
21906 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
21907 (tst-gmon-static-ENV): Likewise.
21908 (tests-special): Likewise.
21909 ($(objpfx)tst-gmon-static.out): Likewise.
21910 (clean-tst-gmon-static-data): Likewise.
21911 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
21912 * gmon/tst-gmon-static-gprof.sh: New file.
21913 * gmon/tst-gmon-static.c: Likewise.
21914
bc3821bb
CD
219152017-10-13 Carlos O'Donell <carlos@redhat.com>
21916
21917 [BZ #22295]
21918 * locale/programs/linereader.c (get_string): Don't warn on
21919 non-symbolic character.
21920
a3e23a2c
CD
21921 [BZ #22294]
21922 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
21923 int_curr_symbol.
21924
f16491eb
CD
21925 [BZ #22292]
21926 * locale/programs/record-status.h: New file
21927 * locale/programs/locale.c: Add comment.
21928 * locale/programs/charmap-dir.c: Don't include error.h.
21929 (charmap_opendir): Use record_error.
21930 * locale/programs/charmap.c: Don't include error.h.
21931 (charmap_read): Use record_error, and record_warning.
21932 (parse_charmap): Likewise.
21933 * locale/programs/ld-address.c: Don't include error.h.
21934 (address_finish): Use record_error, and record_warning.
21935 * locale/programs/ld-collate.c: Don't include error.h.
21936 (collate_finish): Use record_error, and record_error_at_line.
21937 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
21938 (ctype_class_new): Likewise.
21939 (ctype_map_new): Likewise.
21940 (set_one_default): Likewise.
21941 (set_class_defaults): Likewise.
21942 (translit_flatten): Likewise.
21943 (allocate_arrays): Use record_error, and record_verbose.
21944 * locale/programs/ld-identification.c: Don't include error.h.
21945 (indentation_finish): Use record_error and record_warning.
21946 * locale/programs/ld-measurement.c: Don't include error.h.
21947 (measurement_finish): Use record_error.
21948 * locale/programs/ld-messages.c
21949 (message_finish): Likewise.
21950 * locale/programs/ld-monetary.c
21951 (monetary_finish): Likewise.
21952 * locale/programs/ld-name.c (name_finish): Use record_error
21953 and record_warning.
21954 * locale/programs/ld-numeric.c
21955 (numeric_finish): Use record_error.
21956 * locale/programs/ld-paper.c: Don't include error.h.
21957 (paper_finish): Use record_error.
21958 * locale/programs/ld-telephone.c: Don't include error.h.
21959 (telephone_finish): Use record_error.
21960 * locale/programs/ld-time.c (time_finish): Likewise.
21961 * locale/programs/linereader.h (lr_error): Make inline func.
21962 * locale/programs/localedef.c: Define recorded_warning_count,
21963 and recorded_error_count.
21964 (main): Use record_error. Use recorded_error_count and
21965 recorded_warning_count to issue correct error returns.
21966 (add_to_readlist): Use record_error.
21967 (find_locale): Likewise.
21968 (load_locale): Likewise.
21969 * locale/programs/localedef.h: Remove be_quiet
21970 and WITH_CUR_LOCALE.
21971 * locale/programs/locarchive.c (compare_from_file): Use
21972 record_error.
21973 * locale/programs/locfile.c (write_locale_data): Use
21974 record_error.
21975 * locale/programs/repertoire.c: Dont include error.h.
21976 (repertoire_complain): Use record_error.
21977 * localedata/tst-fmon.sh: Expect failures from localedef.
21978 * localedata/tst-locale.sh: Likewise.
21979 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
21980
8dc8be75
CD
21981 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
21982 (REPORTS): Likewise.
21983 (check): Likewise.
21984 (i18n): Rename to...
21985 (i18n_ctype): ...this.
21986 (i18n-report): Rename to...
21987 (i18n_ctype-report): ...this.
21988 * localedata/locales/i18n_ctype: Regenerate.
21989 * localedata/locales/i18n: copy i18n_ctype.
21990
f8718a9e
JM
219912017-10-13 Joseph Myers <joseph@codesourcery.com>
21992
18c08b96
JM
21993 * stdlib/strfroml.c: Include <bits/floatn.h>.
21994 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
21995 Define before include of <stdlib.h> and undefine afterwards, then
21996 define as weak alias.
21997
f8718a9e
JM
21998 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
21999 Undefine and restore default definition. Use
22000 libm_alias_ldouble_other.
22001
e4f530da
PZ
220022017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
22003
22004 [BZ #22153]
22005 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
22006 in coredumps.
22007
86445888
JC
220082017-10-13 James Clarke <jrtc27@jrtc27.com>
22009
22010 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
22011 Assign sym_map to be map for local symbols, as TLS relocations
22012 use sym_map to determine whether the symbol is defined and to
22013 extract the TLS information.
22014 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
22015 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
22016
179dcdb7
TMQMF
220172017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22018
e8dbd6a3
TMQMF
22019 [BZ #22189]
22020 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
22021 (math_force_eval): Add powerpc version.
22022
179dcdb7
TMQMF
22023 [BZ #22142]
22024 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
22025 -DBL_MAX.
22026 (do_test): Likewise.
22027 * stdio-common/tst-printf.sh: Likewise.
22028 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
22029 ifdef clause in order to set the carry bit right. Replace r0 by
22030 0 without changing the behavior.
22031
7d25d410
JM
220322017-10-13 Joseph Myers <joseph@codesourcery.com>
22033
006e7664
JM
22034 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
22035 <libm-alias-ldouble.h>.
22036 (fabsl): Define using libm_alias_ldouble.
22037 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
22038 <libm-alias-ldouble.h>.
22039 (fabsl): Define using libm_alias_ldouble.
22040
1def91b3
JM
22041 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
22042 Remove conditional code.
22043
7d25d410
JM
22044 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
22045 Rename to __clog10_internal_l.
22046 (__clog10_internal_l): Define aliases using
22047 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
22048 with __clog10.
22049
077ee129
RS
220502017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22051
22052 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
22053 * benchtests/sincosf-inputs: New file.
22054 * benchtests/cosf-inputs: New file.
22055 * benchtests/sinf-inputs: New file.
22056
5ba41de9
SN
220572017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
22058
22059 * posix/tst-spawn.c (do_test): Wait for both children.
22060
d165ca64
L
220612017-10-12 H.J. Lu <hongjiu.lu@intel.com>
22062
22063 [BZ #22284]
22064 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
22065 tests-pie): Add tst-gmon-pie.
22066 (CFLAGS-tst-gmon-pie.c): New.
22067 (CRT-tst-gmon-pie): Likewise.
22068 (tst-gmon-pie-ENV): Likewise.
22069 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
22070 ($(objpfx)tst-gmon-pie.out): Likewise.
22071 (clean-tst-gmon-pie-data): Likewise.
22072 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
22073 * gmon/gmon.c [PIC]: Include <link.h>.
22074 [PIC] (callback): New function.
22075 (write_hist): Add an argument for load address. Subtract load
22076 address from PCs.
22077 (write_call_graph): Likewise.
22078 (write_gmon): Call __dl_iterate_phdr to get load address, pass
22079 it to write_hist and write_call_graph.
7bacdcfc 22080 * gmon/tst-gmon-pie.c: New file.
d165ca64 22081
bc9620d0
JM
220822017-10-11 Joseph Myers <joseph@codesourcery.com>
22083
22084 * math/Makefile (test-types-basic): New variable.
22085 (test-types): Likewise.
22086 (libm-test-support): Use $(test-types) instead of $(types).
22087 (libm-tests-base-normal): Likewise.
22088 (libm-tests-base-finite): Likewise.
22089 (libm-tests-base-inline): Likewise.
22090 (generated): Likewise.
22091 ($(objpfx)libm-test-support-$(t).c): Likewise.
22092 (libm-tests-for-type iterator): Likewise.
22093 (libm-test-support iterator): Likewise.
22094 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
22095 (ulp_idx): Use ULP_IDX.
22096 * math/test-ldouble.h: Include <float.h>.
22097 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
22098 (ULP_IDX): New macro.
22099 (ULP_I_IDX): Likewise.
22100 * math/test-double.h (ULP_IDX): Likewise.
22101 (ULP_I_IDX): Likewise.
22102 * math/test-float.h (ULP_IDX): Likewise.
22103 (ULP_I_IDX): Likewise.
22104 * math/test-float128.h (ULP_IDX): Likewise.
22105 (ULP_I_IDX): Likewise.
22106
09c76a74
AZ
221072017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22108
22109 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
22110 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
22111 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
22112 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
22113 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
22114 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
22115 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
22116 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
22117 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
22118 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
22119 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
22120 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
22121 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
22122 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22123 (SINGLE_THREAD_BY_GLOBAL): Define.
22124 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
22125 Likewise.
22126 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
22127 Likewise.
22128 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
22129 Likewise.
22130 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
22131 Likewise.
22132 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
22133 (SINGLE_THREAD_BY_GLOBAL): Likewise.
22134 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
22135 Likewise.
22136
2faa42da
AS
221372017-10-11 Andreas Schwab <schwab@suse.de>
22138
22139 * nis/Makefile (aux): Remove.
22140 * nscd/Makefile (aux): Add nscd_hash.
22141 (nscd-modules): Likewise.
22142 ($(objpfx)nscd): Don't depend on libnsl.
22143 * nscd/nscd_hash.c: New file.
22144 * nscd/nscd_hash.h: Likewise.
22145 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
22146 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
22147 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
22148 instead of <nis/rpcsvc/nis.h>.
22149 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
22150
d8425e11
FW
221512017-10-11 Florian Weimer <fweimer@redhat.com>
22152
22153 [BZ #22078]
22154 Avoid large NSS buffers with many addresses, aliases.
22155 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
22156 using dynarrays and struct alloc_buffer.
22157 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
22158 (tst-nss-files-hosts-multi): Link with -ldl.
22159 * nss/tst-nss-files-hosts-multi.c: New file.
22160
78e806fd
FW
221612017-10-11 Florian Weimer <fweimer@redhat.com>
22162
22163 [BZ #18023]
22164 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
22165 scratch_buffer. Eliminate gotos.
22166
541f19ba
JM
221672017-10-11 Joseph Myers <joseph@codesourcery.com>
22168
0ff64d3a
JM
22169 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
22170 libm_alias_ldouble_other.
22171 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
22172 undefine and redefine.
22173 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
22174 (exp10l): Do not define here.
22175 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
22176 (weak_alias): Undefine and redefine.
22177 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
22178 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
22179 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
22180 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
22181
541f19ba
JM
22182 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
22183 [!__fma] (fma): Define using libm_alias_double.
22184 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
22185 [!__fmaf] (fmaf): Define using libm_alias_float.
22186 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
22187 (fmal): Define using libm_alias_ldouble.
22188
24b6515d
JM
221892017-10-10 Joseph Myers <joseph@codesourcery.com>
22190
22191 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
22192 New macro.
22193 (libm_alias_double_other): Likewise.
22194 (libm_alias_double_r): Use libm_alias_double_other_r.
22195 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
22196 New macro.
22197 (libm_alias_float_other): Likewise.
22198 (libm_alias_float_r): Use libm_alias_float_other_r.
22199 * sysdeps/generic/libm-alias-float128.h
22200 (libm_alias_float128_other_r): New macro.
22201 (libm_alias_float128_other): Likewise.
22202 (libm_alias_float128_r): Use libm_alias_float128_other_r.
22203 * sysdeps/generic/libm-alias-ldouble.h
22204 (libm_alias_ldouble_other_r): New macro.
22205 (libm_alias_ldouble_other): Likewise.
22206 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
22207 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
22208 (libm_alias_double_other_r): New macro.
22209 (libm_alias_double_other): Likewise.
22210 (libm_alias_double_r): Use libm_alias_double_other_r.
22211 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
22212 (libm_alias_ldouble_other_r): New macro.
22213 (libm_alias_ldouble_other): Likewise.
22214 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
22215 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
22216 [!USE_AS_COMPAT]: Use libm_alias_double_other.
22217 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
22218 [!USE_AS_COMPAT]: Use libm_alias_float_other.
22219 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
22220 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
22221 * math/w_exp2f.c: Use libm_alias_float_other.
22222 * math/w_expf.c: Likewise.
22223 * math/w_log2f.c: Likewise.
22224 * math/w_logf.c: Likewise.
22225 * math/w_powf.c: Likewise.
22226 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
22227 [!__exp2f]: Use libm_alias_float_other.
22228 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
22229 [!__expf]: Use libm_alias_float_other.
22230 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
22231 [!__log2f]: Use libm_alias_float_other.
22232 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
22233 [!__logf]: Use libm_alias_float_other.
22234 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
22235 [!__powf]: Use libm_alias_float_other.
22236
8ed70de2
FW
222372017-10-10 Florian Weimer <fweimer@redhat.com>
22238
22239 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
22240 function.
22241 (_nss_files_gethostbyname3_r): Call it.
22242
a8dce619
JM
222432017-10-09 Joseph Myers <joseph@codesourcery.com>
22244
22245 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
22246 error. Remove default definition of declare_mgen_alias.
22247 [!declare_mgen_alias_r]: Likewise.
22248 * sysdeps/generic/math-type-macros-double.h
22249 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
22250 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
22251 (declare_mgen_alias_r): Likewise.
22252 * sysdeps/generic/math-type-macros-float128.h
22253 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
22254 * sysdeps/generic/math-type-macros-ldouble.h
22255 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
22256 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
22257 macro.
22258 (declare_mgen_alias_r_s): Likewise.
22259 (declare_mgen_alias_r): Likewise.
22260 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
22261 (lgamma_r): Define using libm_alias_double_r.
22262 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
22263 (lgammaf_r): Define using libm_alias_float_r.
22264 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
22265 (lgammal_r): Define using libm_alias_ldouble_r.
22266 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
22267 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
22268
bedac136
AZ
222692017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22270
22271 * lib/glob.c (__glob_pattern_type): Remove now-spurious
22272 extern declaration.
22273
c7509db2
JM
222742017-10-09 Joseph Myers <joseph@codesourcery.com>
22275
22276 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
22277
d6c064e9
JW
222782017-10-09 Jonathan Wakely <jwakely@redhat.com>
22279
22280 [BZ #21326]
22281 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
22282 [__cplusplus >= 201103] (__USE_ISOC99): Define.
22283 * math/Makefile (test-math-cxx11): New test.
22284 * math/test-math-cxx11.cc: New file.
22285
98e07420
CB
222862017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
22287
22288 * login/openpty.c (openpty): Close slave pty file descriptor on error.
22289
645ac9aa
CB
22290 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
22291 call to allocate the slave pty file descriptor.
22292
fd3b4e7c
JM
222932017-10-06 Joseph Myers <joseph@codesourcery.com>
22294
f85a176f
JM
22295 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
22296 [!__fma] (fma): Define using libm_alias_double.
22297 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
22298 [!__fma] (fma): Define using libm_alias_double.
22299
fd3b4e7c
JM
22300 * sysdeps/ieee754/float128/float128_private.h: Include
22301 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
22302 (libm_alias_ldouble_r): Undefine and redefine.
22303 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
22304 <libm-alias-ldouble.h>.
22305 (asinhl): Define using libm_alias_ldouble.
22306 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
22307 <libm-alias-ldouble.h>.
22308 (atanl): Define using libm_alias_ldouble.
22309 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
22310 <libm-alias-ldouble.h>.
22311 (cbrtl): Define using libm_alias_ldouble.
22312 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
22313 <libm-alias-ldouble.h>.
22314 (ceill): Define using libm_alias_ldouble.
22315 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
22316 <libm-alias-ldouble.h>.
22317 (copysignl): Define using libm_alias_ldouble.
22318 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
22319 <libm-alias-ldouble.h>.
22320 (cosl): Define using libm_alias_ldouble.
22321 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
22322 <libm-alias-ldouble.h>.
22323 (erfl): Define using libm_alias_ldouble.
22324 (erfcl): Likewise.
22325 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
22326 <libm-alias-ldouble.h>.
22327 (expm1l): Define using libm_alias_ldouble.
22328 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
22329 <libm-alias-ldouble.h>.
22330 (fabsl): Define using libm_alias_ldouble.
22331 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
22332 <libm-alias-ldouble.h>.
22333 (floorl): Define using libm_alias_ldouble.
22334 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
22335 <libm-alias-ldouble.h>.
22336 (fmal): Define using libm_alias_ldouble.
22337 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
22338 <libm-alias-ldouble.h>.
22339 (frexpl): Define using libm_alias_ldouble.
22340 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
22341 libm_alias_ldouble.
22342 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
22343 <libm-alias-ldouble.h>.
22344 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
22345 libm_alias_ldouble.
22346 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
22347 <libm-alias-ldouble.h>.
22348 (getpayloadl): Define using libm_alias_ldouble.
22349 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
22350 <libm-alias-ldouble.h>.
22351 (llrintl): Define using libm_alias_ldouble.
22352 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
22353 <libm-alias-ldouble.h>.
22354 (llroundl): Define using libm_alias_ldouble.
22355 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
22356 <libm-alias-ldouble.h>.
22357 (logbl): Define using libm_alias_ldouble.
22358 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
22359 <libm-alias-ldouble.h>.
22360 (lrintl): Define using libm_alias_ldouble.
22361 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
22362 <libm-alias-ldouble.h>.
22363 (lroundl): Define using libm_alias_ldouble.
22364 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
22365 <libm-alias-ldouble.h>.
22366 (modfl): Define using libm_alias_ldouble.
22367 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
22368 <libm-alias-ldouble.h>.
22369 (nearbyintl): Define using libm_alias_ldouble.
22370 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
22371 <libm-alias-ldouble.h>.
22372 (nextafterl): Define using libm_alias_ldouble.
22373 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
22374 <libm-alias-ldouble.h>.
22375 (nextupl): Define using libm_alias_ldouble.
22376 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
22377 <libm-alias-ldouble.h>.
22378 (remquol): Define using libm_alias_ldouble.
22379 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
22380 <libm-alias-ldouble.h>.
22381 (rintl): Define using libm_alias_ldouble.
22382 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
22383 <libm-alias-ldouble.h>.
22384 (roundevenl): Define using libm_alias_ldouble.
22385 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
22386 <libm-alias-ldouble.h>.
22387 (roundl): Define using libm_alias_ldouble.
22388 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
22389 using libm_alias_ldouble.
22390 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
22391 <libm-alias-ldouble.h>.
22392 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
22393 Define using libm_alias_ldouble.
22394 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
22395 <libm-alias-ldouble.h>.
22396 (sincosl): Define using libm_alias_ldouble.
22397 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
22398 <libm-alias-ldouble.h>.
22399 (sinl): Define using libm_alias_ldouble.
22400 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
22401 <libm-alias-ldouble.h>.
22402 (tanhl): Define using libm_alias_ldouble.
22403 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
22404 <libm-alias-ldouble.h>.
22405 (tanl): Define using libm_alias_ldouble.
22406 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
22407 <libm-alias-ldouble.h>.
22408 (totalorderl): Define using libm_alias_ldouble.
22409 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
22410 <libm-alias-ldouble.h>.
22411 (totalordermagl): Define using libm_alias_ldouble.
22412 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
22413 <libm-alias-ldouble.h>.
22414 (truncl): Define using libm_alias_ldouble.
22415 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
22416 libm_alias_ldouble.
22417 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
22418 libm_alias_ldouble.
22419 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
22420 <libm-alias-ldouble.h>.
22421 (weak_alias): Do not undefine and redefine.
22422 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
22423 (copysignl): Define with long_double_symbol only if [IS_IN
22424 (libc)].
22425 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
22426 <libm-alias-ldouble.h>.
22427 (weak_alias): Do not undefine and redefine.
22428 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
22429 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
22430 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
22431 <libm-alias-ldouble.h>.
22432 (weak_alias): Do not undefine and redefine.
22433 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
22434 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
22435 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
22436 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
22437 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
22438 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
22439 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
22440 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
22441 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
22442 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
22443 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
22444 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
22445 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
22446 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
22447 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
22448 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
22449 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
22450 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
22451 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
22452 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
22453 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
22454 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
22455 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
22456 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
22457 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
22458 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
22459
1e26d351
CD
224602017-10-06 Carlos O'Donell <carlos@redhat.com>
22461
22462 [BZ #22111]
22463 * malloc/malloc.c (tcache_shutting_down): Use bool type.
22464 (tcache_thread_freeres): Set tcache_shutting_down before
22465 freeing the tcache.
22466 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
22467 * malloc/tst-malloc-tcache-leak.c: New file.
22468
d1386762
RS
224692017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22470
22471 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
22472 back to powerpc32 file.
22473 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
22474 (memrchr): Add __memrchr_power8 to ifunc list.
22475 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
22476 extra bytes for unaligned inputs.
22477
6dff1983
JM
224782017-10-06 Joseph Myers <joseph@codesourcery.com>
22479
22480 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
22481 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
22482 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
22483 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
22484 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
22485
86f9568a
JM
224862017-10-05 Joseph Myers <joseph@codesourcery.com>
22487
0db0b931
JM
22488 * sysdeps/arm/libm-test-ulps: Update.
22489
86f9568a
JM
22490 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
22491 <libm-alias-ldouble.h>.
22492 (asinhl): Define using libm_alias_ldouble.
22493 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
22494 <libm-alias-ldouble.h>.
22495 (cbrtl): Define using libm_alias_ldouble.
22496 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
22497 <libm-alias-ldouble.h>.
22498 (copysignl): Define using libm_alias_ldouble.
22499 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
22500 <libm-alias-ldouble.h>.
22501 (cosl): Define using libm_alias_ldouble.
22502 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
22503 <libm-alias-ldouble.h>.
22504 (erfl): Define using libm_alias_ldouble.
22505 (erfcl): Likewise.
22506 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
22507 <libm-alias-ldouble.h>.
22508 (fmal): Define using libm_alias_ldouble.
22509 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
22510 <libm-alias-ldouble.h>.
22511 (frexpl): Define using libm_alias_ldouble.
22512 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
22513 libm_alias_ldouble.
22514 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
22515 <libm-alias-ldouble.h>.
22516 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
22517 libm_alias_ldouble.
22518 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
22519 <libm-alias-ldouble.h>.
22520 (getpayloadl): Define using libm_alias_ldouble.
22521 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
22522 <libm-alias-ldouble.h>.
22523 (llrintl): Define using libm_alias_ldouble.
22524 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
22525 <libm-alias-ldouble.h>.
22526 (llroundl): Define using libm_alias_ldouble.
22527 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
22528 <libm-alias-ldouble.h>.
22529 (lrintl): Define using libm_alias_ldouble.
22530 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
22531 <libm-alias-ldouble.h>.
22532 (lroundl): Define using libm_alias_ldouble.
22533 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
22534 <libm-alias-ldouble.h>.
22535 (modfl): Define using libm_alias_ldouble.
22536 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
22537 <libm-alias-ldouble.h>.
22538 (nextupl): Define using libm_alias_ldouble.
22539 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
22540 <libm-alias-ldouble.h>.
22541 (remquol): Define using libm_alias_ldouble.
22542 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
22543 <libm-alias-ldouble.h>.
22544 (roundevenl): Define using libm_alias_ldouble.
22545 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
22546 <libm-alias-ldouble.h>.
22547 (roundl): Define using libm_alias_ldouble.
22548 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
22549 using libm_alias_ldouble.
22550 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
22551 <libm-alias-ldouble.h>.
22552 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
22553 <libm-alias-ldouble.h>.
22554 (setpayloadsigl): Define using libm_alias_ldouble.
22555 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
22556 <libm-alias-ldouble.h>.
22557 (sincosl): Define using libm_alias_ldouble.
22558 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
22559 <libm-alias-ldouble.h>.
22560 (sinl): Define using libm_alias_ldouble.
22561 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
22562 <libm-alias-ldouble.h>.
22563 (tanhl): Define using libm_alias_ldouble.
22564 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
22565 <libm-alias-ldouble.h>.
22566 (tanl): Define using libm_alias_ldouble.
22567 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
22568 <libm-alias-ldouble.h>.
22569 (totalorderl): Define using libm_alias_ldouble.
22570 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
22571 <libm-alias-ldouble.h>.
22572 (totalordermagl): Define using libm_alias_ldouble.
22573 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
22574 libm_alias_ldouble.
22575 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
22576 libm_alias_ldouble.
22577
9ec87fd2
SP
225782017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
22579
dd5bc7f1
SP
22580 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
22581 memmove_falkor.
22582 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
22583 (__libc_ifunc_impl_list): Likewise.
22584 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
22585 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
22586
5bfb0404
SP
22587 * benchtests/bench-memmove-walk.c: New file.
22588 * benchtests/Makefile (string-benchset): Add it.
22589
36bb8edf
SP
22590 * benchtests/bench-memset-walk.c: New file.
22591 * benchtests/Makefile (string-benchset): Add it.
22592
9ec87fd2
SP
22593 * benchtests/bench-memcpy-walk.c: New file.
22594 * benchtests/Makefile (string-benchset): Add it.
22595
1e9522c6
FW
225962017-10-05 Florian Weimer <fweimer@redhat.com>
22597
22598 nscd: Eliminate compilation time dependency in the build output.
22599 * nscd/nscd_stat.c (STATDATA_VERSION)
22600 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
22601 (STATDATA_VERSION_FULL): New macro definitions.
22602 (compilation): Remove.
22603 (struct statdata): Adjust version member.
22604 (send_stats): Set version from STATDATA_VERSION_FULL.
22605 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
22606
644d3857
JM
226072017-10-05 Joseph Myers <joseph@codesourcery.com>
22608
22609 * configure.ac (--enable-add-ons): Remove option.
22610 (machine): Do not mention add-ons in comment.
22611 (LIBC_PRECONFIGURE): Likewise.
22612 (add_ons): Remove variable and sanity checks and logic to locate
22613 add-ons.
22614 (add_ons_automatic): Remove variable.
22615 (configured_add_ons): Likewise.
22616 (add_ons_sfx): Likewise.
22617 (add_ons_pfx): Likewise.
22618 (add_on_subdirs): Likewise.
22619 (sysnames_add_ons): Likewise. Remove loop over add-ons and
22620 consideration of add-ons in Implies handling.
22621 (sysdeps_add_ons): Likewise.
22622 * configure: Regenerated.
22623 * libidn/configure.ac: Remove.
22624 * libidn/configure: Likewise.
22625 * sysdeps/unix/inet/configure.ac: New file.
22626 * sysdeps/unix/inet/configure: New generated file.
22627 * sysdeps/unix/inet/Subdirs: Add libidn.
22628 * Makeconfig (sysdeps-srcdirs): Remove variable.
22629 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
22630 ($(common-objpfx)config.status): Do not depend on add-on files.
22631 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
22632 comment.
22633 (all-subdirs): Do not include $(add-on-subdirs).
22634 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
22635 * config.make.in (add-ons): Remove variable.
22636 (add-on-subdirs): Likewise.
22637 (sysdeps-add-ons): Likewise.
22638 * manual/Makefile (add-chapters): Remove.
22639 ($(objpfx)texis): Do not depend on $(add-chapters).
22640 (nonexamples): Do not handle $(add-chapters).
22641 (examples): Do not handle $(add-ons).
22642 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
22643 libc-texinfo.sh.
22644 * manual/install.texi (Installation): Do not mention add-ons.
22645 (--enable-add-ons): Do not document configure option.
22646 * INSTALL: Regenerated.
22647 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
22648 * manual/maint.texi (Hierarchy Conventions): Do not mention
22649 add-ons.
22650 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
22651 --enable-add-ons.
22652 * scripts/gen-sorted.awk: Do not handle Subdirs files from
22653 add-ons.
22654 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
22655 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
22656
19f82f35
AS
226572017-10-05 Andreas Schwab <schwab@suse.de>
22658
22659 [BZ #15142]
22660 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
22661 (_IO_flush_all_lockp): Always lock list_all_lock.
22662 (_IO_flush_all_linebuffered): Likewise.
22663 (_IO_unbuffer_all): Likewise.
22664
91e7cf98
FW
226652017-10-05 Florian Weimer <fweimer@redhat.com>
22666
22667 [BZ #15436]
22668 Do not flush stdio streams on abort.
22669 * stdlib/abort.c (fflush): Remove macro definition.
22670 (abort): Remove stages related to stdio flushing.
22671
0c251257
FW
226722017-10-05 Florian Weimer <fweimer@redhat.com>
22673
22674 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
22675
7ea59e3e
SL
226762017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
22677
22678 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
22679
84d0e6f0
FW
226802017-10-05 Florian Weimer <fweimer@redhat.com>
22681
22682 * support/support_format_hostent.c (support_format_hostent): Add
22683 more error information for NETDB_INTERNAL.
22684
ee417882
L
226852017-10-04 H.J. Lu <hongjiu.lu@intel.com>
22686
22687 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
22688 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
22689 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
22690 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
22691 AC_DEFINE if multi-arch is enabled.
22692 * sysdeps/i386/configure: Regenerated.
22693
a67029ff
L
226942017-10-04 H.J. Lu <hongjiu.lu@intel.com>
22695
22696 * Makeconfig (+link-static-before-libc): Use
22697 $(DEFAULT-LDFLAGS-$(@F)).
22698 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
22699 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
22700 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
22701
5dba84b3
L
227022017-10-04 H.J. Lu <hongjiu.lu@intel.com>
22703
22704 * elf/Makefile (tests): Add tst-main1.
22705 (modules-names): Add tst-main1mod.
22706 ($(objpfx)tst-main1): New.
22707 (CRT-tst-main1): Likewise.
22708 (LDFLAGS-tst-main1): Likewise.
22709 (LDLIBS-tst-main1): Likewise.
22710 (tst-main1mod.so-no-z-defs): Likewise.
22711 * elf/tst-main1.c: New file.
22712 * elf/tst-main1mod.c: Likewise.
22713
758f1bfa
L
227142017-10-04 H.J. Lu <hongjiu.lu@intel.com>
22715
22716 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
22717
7e16a5d1
JM
227182017-10-04 Joseph Myers <joseph@codesourcery.com>
22719
22720 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
22721 (fma): Define using libm_alias_double.
22722 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
22723 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
22724 <math_ldbl_opt.h>.
22725 (fmal): Do not define as compat symbol here.
22726 * sysdeps/alpha/fpu/s_fma.c: New file.
22727
db4f87ba
SN
227282017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
22729
22730 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
22731
72d13ed1
JM
227322017-10-04 Joseph Myers <joseph@codesourcery.com>
22733
32d372d5
JM
22734 [BZ #22229]
22735 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
22736 <math_ldbl_opt.h>
22737 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
22738 and libc.
22739 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
22740 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
22741 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
22742 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
22743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22744 Include <math_ldbl_opt.h>
22745 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
22746 and libc.
22747 (compat_symbol): Undefine and redefine.
22748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
22749 <math_ldbl_opt.h>
22750 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
22751 (compat_symbol): Undefine and redefine.
22752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
22753 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
22754 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
22755 GLIBC_2_1 for libm.
22756 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
22757 GLIBC_2.0 copysignl symbol.
22758 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
22759 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
22760
72d13ed1
JM
22761 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
22762
11c4f501
FW
227632017-10-04 Florian Weimer <fweimer@redhat.com>
22764
22765 * scripts/check-local-headers.sh: Ignore nspr4 header file
22766 directory in addition to nspr.
22767
57b4af19
GT
227682017-10-04 Guido Trentalancia <guido@trentalancia.net>
22769
22770 [BZ #17956]
22771 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
22772 * configure: Regenerate.
22773 * crypt/Makefile (nss-cpp-flags): New variable.
22774 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
22775 (CPPFLAGS-md5-crypt.c): Use it.
22776 * scripts/check-local-headers.sh: Ignore nspr header file
22777 directory.
22778
64d1e08e
AS
227792017-10-04 Andreas Schwab <schwab@suse.de>
22780
22781 * nis/Makefile (services): Remove compat.
22782 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
22783 ($(objpfx)libnss_compat.so): Remove rule.
22784 * nis/Versions (libnss_compat): Remove.
22785 * nss/Makefile (services): Add compat.
22786 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
22787 * nss/Versions (libnss_compat): Define.
22788 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
22789 Don't include <rpc/types.h>. Replace bool_t by bool.
22790 * nss/nss_compat/compat-initgroups.c: Likewise.
22791 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
22792 instead of <rpcsrv/ypclnt.h>.
22793 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
22794 yp_get_default_domain.
22795 * nss/nss_compat/compat-pwd.c: Likewise.
22796 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
22797 yp_get_default_domain.
22798 * nss/nss_compat/nisdomain.c: New file.
22799 * nss/nss_compat/nisdomain.h: Likewise.
22800
86c27ade
SN
228012017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
22802
22803 [BZ #22244]
22804 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
22805 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
22806
8f8f8ef7
SN
228072017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
22808
22809 [BZ #22243]
22810 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
22811 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
22812
95577475
L
228132017-10-03 H.J. Lu <hongjiu.lu@intel.com>
22814
22815 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
22816 "movl main@GOTOFF(%ebx), %eax".
22817
02d2d892
L
228182017-10-03 H.J. Lu <hongjiu.lu@intel.com>
22819
22820 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
22821 allow undefined _DYNAMIC in PIE libc.a.
22822 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
22823 Likewse.
22824
0c609d19
L
228252017-10-03 H.J. Lu <hongjiu.lu@intel.com>
22826
22827 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
22828 check _DYNAMIC.
22829
c34a19ed
L
228302017-10-03 H.J. Lu <hongjiu.lu@intel.com>
22831
22832 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
22833 check _DYNAMIC.
22834
cdd4155d
L
228352017-10-03 H.J. Lu <hongjiu.lu@intel.com>
22836
22837 * math/test-math-iscanonical.cc (error): Replace bool with int.
22838
4699cb8b
JM
228392017-10-03 Joseph Myers <joseph@codesourcery.com>
22840
d8f619b3
JM
22841 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
22842 (modf): Define using libm_alias_double, only if [!__modf].
22843 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
22844 <libm-alias-double.h>.
22845 (modf): Define using libm_alias_double, only if [!__modf].
22846 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
22847 compat symbol here.
22848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
22849 (weak_alias): Do not undefine and redefine.
22850 (strong_alias): Likewise.
22851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
22852 (weak_alias): Likewise.
22853 (strong_alias): Likewise.
22854
4699cb8b
JM
22855 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
22856 (logb): Define using libm_alias_double, only if [!__logb].
22857 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
22858 <libm-alias-double.h>.
22859 (logb): Define using libm_alias_double, only if [!__logb].
22860 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
22861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
22862 (weak_alias): Do not undefine and redefine.
22863 (strong_alias): Likewise.
22864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
22865 (weak_alias): Likewise.
22866 (strong_alias): Likewise.
22867
bcc4e4bb
L
228682017-10-03 H.J. Lu <hongjiu.lu@intel.com>
22869
22870 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
22871 Check SHARED instead PIC.
22872
39793865
JM
228732017-10-03 Joseph Myers <joseph@codesourcery.com>
22874
7f1cbdf8
JM
22875 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
22876 [!__fmaf] (fmaf): Define using libm_alias_float.
22877
39793865
JM
22878 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
22879 (frexp): Define using libm_alias_double.
22880 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
22881 <libm-alias-double.h>.
22882 (frexp): Define using libm_alias_double.
22883 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
22884 compat symbol here.
22885
aa0235df
GG
228862017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
22887
22888 [BZ #22235]
22889 * math/math.h: Trivial fix for unbalanced parentheses in comment.
22890 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
22891 (CFLAGS-test-math-iscanonical.cc): New variable.
22892 * math/test-math-iscanonical.cc: New file.
22893 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
22894 Provide a C++ implementation based on function overloading,
22895 rather than using __MATH_TG, which uses C-only builtins.
22896 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
22897 Likewise.
22898 * sysdeps/powerpc/powerpc64le/Makefile
22899 (CFLAGS-test-math-iscanonical.cc): New variable.
22900
a1132b5e
JM
229012017-10-03 Joseph Myers <joseph@codesourcery.com>
22902
22903 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
22904 (ceil): Define using libm_alias_double.
22905 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
22906 (floor): Define using libm_alias_double.
22907 * sysdeps/ieee754/dbl-64/s_llround.c: Include
22908 <libm-alias-double.h>.
22909 (llround): Define using libm_alias_double.
22910 * sysdeps/ieee754/dbl-64/s_lround.c: Include
22911 <libm-alias-double.h>.
22912 (lround): Define using libm_alias_double.
22913 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
22914 <libm-alias-double.h>.
22915 (nearbyint): Define using libm_alias_double.
22916 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
22917 <libm-alias-double.h>.
22918 (remquo): Define using libm_alias_double.
22919 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
22920 (rint): Define using libm_alias_double.
22921 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
22922 (round): Define using libm_alias_double.
22923 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
22924 (trunc): Define using libm_alias_double.
22925 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
22926 <libm-alias-double.h>.
22927 (ceil): Define using libm_alias_double.
22928 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
22929 <libm-alias-double.h>.
22930 (floor): Define using libm_alias_double.
22931 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
22932 <libm-alias-double.h>.
22933 (llround): Define using libm_alias_double.
22934 [_LP64] (lround): Likewise.
22935 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
22936 <libm-alias-double.h>.
22937 [!_LP64] (lround): Define using libm_alias_double.
22938 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
22939 <libm-alias-double.h>.
22940 (nearbyint): Define using libm_alias_double.
22941 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
22942 <libm-alias-double.h>.
22943 (remquo): Define using libm_alias_double.
22944 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
22945 <libm-alias-double.h>.
22946 (rint): Define using libm_alias_double.
22947 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
22948 <libm-alias-double.h>.
22949 (round): Define using libm_alias_double.
22950 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
22951 <libm-alias-double.h>.
22952 (trunc): Define using libm_alias_double.
22953 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
22954 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
22955 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
22956 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
22957 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
22958 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
22959 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
22960 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
22961 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
22962
f275f64e
SN
229632017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22964
22965 * math/w_remainder.c: New file.
22966 * math/w_remainderf.c: New file.
22967 * math/w_remainderl.c: New file.
22968
b8818ab5
L
229692017-10-03 H.J. Lu <hongjiu.lu@intel.com>
22970
22971 * elf/rtld.c (BOOTSTRAP_MAP): New.
22972 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
22973 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
22974 Likewise.
22975 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
22976 Likewise.
22977 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
22978 Likewise.
22979
3d1870fa
ST
229802017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
22981
22982 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
22983 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
22984 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
22985 rtld_hidden_data_ver): Define to empty.
22986 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
22987 __assert_perror_fail): Likewise.
22988 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
22989 (__rewinddir): Likewise.
22990 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
22991 (__profile_frequency): Likewise.
22992 * include/setjmp.h (__sigsetjmp): Likewise.
22993 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
22994 __libc_sigaction): Likewise.
22995 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
22996 not set hidden attribute.
22997 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
22998 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
22999 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
23000 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
23001 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
23002 __fxstatat64): Likewise.
23003 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
23004 (__uname): Likewise.
23005 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
23006 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
23007 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
23008 (NO_RTLD_HIDDEN): Set.
23009 * sysdeps/mach/hurd/configure: Refresh.
23010 * config.h.in: Refresh.
23011
527cd19c
JM
230122017-10-02 Joseph Myers <joseph@codesourcery.com>
23013
38722448
JM
23014 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
23015 (atan): Define using libm_alias_double.
23016 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
23017 (tan): Define using libm_alias_double.
23018 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
23019 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
23020
527cd19c
JM
23021 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
23022 define as weak alias of __atan. Do not define any aliases if
23023 [__atan].
23024 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
23025 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
23026 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
23027 as weak alias of __tan. Do not define any aliases if [__tan].
23028 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
23029 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
23030 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
23031 __atan.
23032 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
23033 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
23034 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
23035 and define as weak alias of __atan.
23036 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
23037 __atan.
23038 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
23039 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
23040 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
23041 define as weak alias of __tan.
23042
bdc5c592
SN
230432017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
23044
23045 * math/w_lgamma.c: New file.
23046 * math/w_lgammaf.c: New file.
23047 * math/w_lgammal.c: New file.
23048
bd4430c2
SN
230492017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
23050
23051 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
23052 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
23053 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
23054 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
23055 * sysdeps/ieee754/flt-32/w_logf.c: New file.
23056 * sysdeps/ieee754/flt-32/w_powf.c: New file.
23057 * sysdeps/i386/fpu/w_log2f.c: New file.
23058 * sysdeps/i386/fpu/w_logf.c: New file.
23059 * sysdeps/i386/fpu/w_powf.c: New file.
23060 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
23061 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
23062 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
23063
f7a0b063
SN
230642017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
23065 H.J. Lu <hongjiu.lu@intel.com>
23066
23067 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
23068 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
23069 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
23070 * sysdeps/ieee754/flt-32/w_expf.c: New file.
23071 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
23072 the new expf code.
23073 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
23074 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
23075 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
23076 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
23077 * sysdeps/i386/fpu/w_exp2f.c: New file.
23078 * sysdeps/i386/fpu/w_expf.c: New file.
23079 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
23080 * sysdeps/x86_64/fpu/w_expf.c: New file.
23081
72d3d281
SN
230822017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
23083
23084 * math/Versions (logf): New libm symbol at GLIBC_2.27.
23085 (log2f): Likewise.
23086 (powf): Likewise.
23087 * math/w_log2f.c: New file.
23088 * math/w_logf.c: New file.
23089 * math/w_powf.c: New file.
23090 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
23091 * math/w_logf_compat.c (__logf_compat): Likewise.
23092 * math/w_powf_compat.c (__powf_compat): Likewise.
23093 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
23094 * sysdeps/ia64/fpu/e_logf.S: Likewise.
23095 * sysdeps/ia64/fpu/e_powf.S: Likewise.
23096 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
23097 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23098 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
23099 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
23100 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23101 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23102 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
23103 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
23104 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
23105 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
23106 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23107 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
23108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
23109 Likewise.
23110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
23111 Likewise.
23112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23113 Likewise.
23114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
23115 Likewise.
23116 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23117 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23118 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
23119 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23120 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23121 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
23122 Likewise.
23123 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
23124 Likewise.
23125 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23126 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23127 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23128
59ba2d2b
RS
231292017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23130
23131 * sysdeps/powerpc/powerpc64/multiarch/Makefile
23132 (sysdep_routines): Add memrchr_power8.
23133 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23134 (memrchr): Add __memrchr_power8 to list of memrchr functions.
23135 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
23136 New file.
23137 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
23138 (memrchr): Add __memrchr_power8 to ifunc list.
23139 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
23140
397286ea
L
231412017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23142
23143 [BZ #18822]
23144 * sysdeps/unix/sysv/linux/posix_fadvise64.c
23145 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
23146 libc_hidden_def.
23147 * sysdeps/unix/sysv/linux/posix_fallocate64.c
23148 (__posix_fallocate64_l64): Likewise.
23149
d0a4512b
L
231502017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23151
23152 [BZ #18822]
23153 * sysdeps/unix/sysv/linux/sched_setaffinity.c
23154 (__sched_setaffinity_new): Add libc_hidden_proto and
23155 libc_hidden_def.
23156
c0769f70
L
231572017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23158
23159 [BZ #18822]
23160 * include/glob.h (__glob64): Add libc_hidden_proto.
23161 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
23162 libc_hidden_def.
23163
0e7d5b6e
L
231642017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23165
23166 [BZ #18822]
23167 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
23168 attribute_hidden.
23169
bde06c87
L
231702017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23171
23172 [BZ #18822]
23173 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
23174
fa426590
L
231752017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23176
23177 [BZ #18822]
23178 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
23179 libc_hidden_def.
23180
2f8a05d8
L
231812017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23182
23183 [BZ #18822]
23184 * csu/version.c (__libc_print_version): Add attribute_hidden.
23185
7bfd08ac
L
231862017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23187
23188 [BZ #18822]
23189 * include/libc-internal.h (__init_misc): Add attribute_hidden.
23190
0e1fd06c
L
231912017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23192
23193 [BZ #18822]
23194 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
23195
36e7ae1e
L
231962017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23197
23198 [BZ #18822]
23199 * nscd/nscd_helper.c (__nis_hash): New prototype.
23200
87078544
L
232012017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23202
23203 [BZ #18822]
23204 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
23205 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
23206 libc_hidden_def.
23207 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
23208 * termios/tcgetattr.c (__tcgetattr): Likewise.
23209
dd3121df
L
232102017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23211
23212 [BZ #18822]
23213 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
23214 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
23215 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
23216 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
23217 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
23218
047d1a81
L
232192017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23220
23221 [BZ #18822]
23222 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
23223
fd331b11
L
232242017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23225
23226 [BZ #18822]
23227 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
23228 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
23229
57f859bd
L
232302017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23231
23232 [BZ #18822]
23233 * intl/hash-string.h (__hash_string): Add attribute_hidden.
23234
d1903329
L
232352017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23236
23237 [BZ #18822]
23238 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
23239 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
23240
b4744101
L
232412017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23242
23243 [BZ #18822]
23244 * include/ifreq.h: New file.
23245 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
23246 (__ifreq): Likewise.
23247 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
23248 (__ifreq): Likewise.
23249
43b7dfd1
L
232502017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23251
23252 [BZ #18822]
23253 * include/idna.h: New file.
23254 * inet/getnameinfo.c: Include <idna.h> instead of
23255 <libidn/idna.h>.
23256 (__idna_to_unicode_lzlz): Removed.
23257 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
23258 <libidn/idna.h>.
23259 (__idna_to_ascii_lz): Removed.
23260 (__idna_to_unicode_lzlz): Likewise.
23261
2c0cd8f8
L
232622017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23263
23264 [BZ #18822]
23265 * include/plural-exp.h: New file.
23266 * intl/plural-exp.c: Include <plural-exp.h> instead of
23267 "plural-exp.h".
23268
8369d216
L
232692017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23270
23271 [BZ #18822]
23272 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
23273 "getsourcefilter.h".
23274 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
23275 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
23276 "getsourcefilter.h".
23277 (__get_sol): Removed.
23278
a0aef783
L
232792017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23280
23281 [BZ #18822]
23282 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
23283 to ...
23284 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
23285
3ee8209b
L
232862017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23287
23288 [BZ #18822]
23289 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
23290 attribute_hidden.
23291
6036fc38
L
232922017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23293
23294 [BZ #18822]
23295 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
23296
fe84fed0
L
232972017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23298
23299 [BZ #18822]
23300 * include/search.h (__tdestroy): Add libc_hidden_proto.
23301 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
23302
048dd681
L
233032017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23304
23305 [BZ #18822]
23306 * include/assert.h (__assert_fail_base): Add attribute_hidden.
23307
6e342af6
L
233082017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23309
23310 [BZ #18822]
23311 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
23312 attribute_hidden.
23313
6a088436
L
233142017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23315
23316 [BZ #18822]
23317 * include/signal.h (__kill): Add libc_hidden_proto.
23318 (__sigblock): Likewise.
23319 (__sigprocmask): Likewise.
23320 (__sigaltstack): Likewise.
23321 * signal/kill.c (__kill): Add libc_hidden_def.
23322 * signal/sigblock.c (__sigblock): Likewise.
23323 * signal/sigprocmask.c (__sigprocmask): Likewise.
23324 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
23325 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
23326 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
23327 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
23328 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
23329 Likewise.
23330 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
23331 Likewise.
23332 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
23333 (__sigprocmask): Likewise.
23334 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
23335 Likewise.
23336 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
23337 (__sigprocmask): Likewise.
23338 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
23339 Likewise.
23340
78cf1d74
L
233412017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23342
23343 [BZ #18822]
23344 * include/string.h (__strsep): Add libc_hidden_proto.
23345 * string/strsep.c (__strsep): Add libc_hidden_def.
23346
85b35894
L
233472017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23348
23349 [BZ #18822]
23350 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
23351 attribute_hidden.
23352 (__spawni): Likewise.
23353
225f7eec
L
233542017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23355
23356 [BZ #18822]
23357 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
23358 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
23359 libc_hidden_def.
23360
372fe247
L
233612017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23362
23363 [BZ #18822]
23364 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
23365
9e5ee8b8
L
233662017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23367
23368 [BZ #18822]
23369 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
23370 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
23371 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
23372 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
23373 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
23374 Likewise.
23375 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
23376 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
23377
2ff16592
L
233782017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23379
23380 [BZ #18822]
23381 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
23382 (__dcigettext): Likewise.
23383
b5648377
L
233842017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23385
23386 [BZ #18822]
23387 * include/sys/sysinfo.h (__get_nprocs_conf): Add
23388 libc_hidden_proto.
23389 (__get_nprocs): Likewise.
23390 (__get_phys_pages): Likewise.
23391 (__get_avphys_pages): Likewise.
23392 (__get_child_max): Add attribute_hidden.
23393 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
23394 (__get_nprocs): Likewise.
23395 (__get_phys_pages): Likewise.
23396 (__get_avphys_pages): Likewise.
23397 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
23398 libc_hidden_def.
23399 (__get_nprocs): Likewise.
23400 (__get_phys_pages): Likewise.
23401 (__get_avphys_pages): Likewise.
23402 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
23403 libc_hidden_def.
23404 (__get_nprocs_conf): Likewise.
23405 (__get_phys_pages): Likewise.
23406 (__get_avphys_pages): Likewise.
23407
0389a6aa
L
234082017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23409
23410 [BZ #18822]
23411 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
23412 attribute_hidden.
23413 (__netlink_close): Likewise.
23414 (__netlink_free_handle): Likewise.
23415 (__netlink_request): Likewise.
23416
d48354d8
L
234172017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23418
23419 [BZ #18822]
23420 * include/rpc/rpc.h (__rpc_thread_variables): Add
23421 attribute_hidden.
23422 (__rpc_thread_svc_cleanup): Likewise.
23423 (__rpc_thread_clnt_cleanup): Likewise.
23424 (__rpc_thread_key_cleanup): Likewise.
23425
d6daff12
L
234262017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23427
23428 [BZ #18822]
23429 * include/sys/uio.h (__readv): Add libc_hidden_proto.
23430 (__writev): Likewise.
23431 * misc/readv.c (__readv): Add libc_hidden_def.
23432 * misc/writev.c (__writev): Likewise.
23433 * sysdeps/posix/readv.c (__readv): Likewise.
23434 * sysdeps/posix/writev.c (__writev): Likewise.
23435 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
23436 (__readv): Likewise.
23437 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
23438 (__writev): Likewise.
23439
b68f8620
L
234402017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23441
23442 [BZ #18822]
23443 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
23444 (__regcomp): Add libc_hidden_proto.
23445 (__regexec): Likewise.
23446 (__regfree): Likewise.
23447 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
23448 (__regfree): Likewise.
23449 * posix/regexec.c (__regexec): Likewise.
23450
59c04e67
L
234512017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23452
23453 [BZ #18822]
23454 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
23455 (__getutent): Likewise.
23456 (__getutid): Likewise.
23457 (__getutline): Likewise.
23458 (__pututline): Likewise.
23459 (__getutent_r): Likewise.
23460 (__getutid_r): Likewise.
23461 (__getutline_r): Likewise.
23462 (__utmpname): Add attribute_hidden.
23463 (__setutent): Likewise.
23464 (__endutent): Likewise.
23465 * login/getutent.c (__getutent): Add libc_hidden_def.
23466 * login/getutent_r.c (__getutent_r): Likewise.
23467 (__pututline): Likewise.
23468 * login/getutid.c (__getutid): Likewise.
23469 * login/getutid_r.c (__getutid_r): Likewise.
23470 * login/getutline.c (__getutline): Likewise.
23471 * login/getutline_r.c (__getutline_r): Likewise.
23472 * login/updwtmp.c (__updwtmp): Likewise.
23473
4587a421
L
234742017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23475
23476 [BZ #18822]
23477 * include/dirent.h (__opendir): Always add attribute_hidden.
23478 (__fdopendir): Likewise.
23479 (__closedir): Likewise.
23480 (__readdir): Likewise.
23481 (__readdir64): Add libc_hidden_proto.
23482 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
23483 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
23484 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
23485 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
23486 New alias.
23487
9635ce69
L
234882017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23489
23490 [BZ #18822]
23491 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
23492 * include/netdb.h (__gethostbyaddr_r): Likewise.
23493 (__gethostbyname_r): Likewise.
23494 (__gethostbyname2_r): Likewise.
23495 (__getnetbyaddr_r): Likewise.
23496 (__getnetbyname_r): Likewise.
23497 (__getservbyname_r): Likewise.
23498 (__getservbyport_r): Likewise.
23499 (__getprotobyname_r): Likewise.
23500 (__getprotobynumber_r): Likewise.
23501 (__getnetgrent_r): Likewise.
23502 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
23503 (__getrpcbynumber_r): Likewise.
23504 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
23505
2e0a6909
L
235062017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23507
23508 [BZ #18822]
23509 * include/stdio.h (__fcloseall): Add attribute_hidden.
23510 (__getline): Likewise.
23511 (__path_search): Likewise.
23512 (__gen_tempname): Likewise.
23513 (__libc_message): Likewise.
23514 (__flockfile): Likewise.
23515 (__funlockfile): Likewise.
23516 (__fxprintf): Likewise.
23517 (__fxprintf_nocancel): Likewise.
23518
94fd682c
L
235192017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23520
23521 [BZ #18822]
23522 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
23523 (__sgetsgent_r): Likewise.
23524
e1b33bba
L
235252017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23526
23527 [BZ #18822]
23528 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
23529 (__statfs64): Likewise.
23530 (__fstatfs64): Likewise.
23531 * include/sys/statvfs.h (__statvfs64): Likewise.
23532 (__fstatvfs64): Likewise.
23533 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
23534 (__statfs_filesize_max): Likewise.
23535 (__statfs_symlinks): Likewise.
23536 (__statfs_chown_restricted): Likewise.
23537
b0f56784
L
235382017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23539
23540 [BZ #18822]
23541 * include/time.h (__tzstring): Add attribute_hidden.
23542 (__tzfile_read): Likewise.
23543 (__tzfile_compute): Likewise.
23544 (__tzfile_default): Likewise.
23545 (__tzset_parse_tz): Likewise.
23546 (__offtime): Likewise.
23547 (__asctime_r): Likewise.
23548 (__tzset): Likewise.
23549 (__tz_convert): Likewise.
23550 (__getdate_r): Likewise.
23551 (__getclktck): Likewise.
23552
a4338d99
L
235532017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23554
23555 [BZ #18822]
23556 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
23557 (__nscd_unmap): Likewise.
23558 (__nscd_cache_search): Likewise.
23559 (__nscd_get_nl_timestamp): Likewise.
23560 (__nscd_getpwnam_r): Likewise.
23561 (__nscd_getpwuid_r): Likewise.
23562 (__nscd_getgrnam_r): Likewise.
23563 (__nscd_getgrgid_r): Likewise.
23564 (__nscd_gethostbyname_r): Likewise.
23565 (__nscd_gethostbyname2_r): Likewise.
23566 (__nscd_gethostbyaddr_r): Likewise.
23567 (__nscd_getai): Likewise.
23568 (__nscd_getgrouplist): Likewise.
23569 (__nscd_getservbyname_r): Likewise.
23570 (__nscd_getservbyport_r): Likewise.
23571 (__nscd_innetgr): Likewise.
23572 (__nscd_setnetgrent): Likewise.
23573
a2ca1652
L
235742017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23575
23576 [BZ #18822]
23577 * include/gmp.h: Declare internal functions only if _ISOMAC is
23578 undefined.
23579 (__mpn_extract_double): Add attribute_hidden.
23580 (__mpn_extract_long_double): Likewise.
23581 (__mpn_extract_float128): Likewise.
23582 (__mpn_construct_float): Likewise.
23583 (__mpn_construct_double): Likewise.
23584 (__mpn_construct_long_double): Likewise.
23585 (__mpn_construct_float128): Likewise.
23586 (mpn_add_1): Likewise.
23587 (mpn_addmul_1): Likewise.
23588 (mpn_add_n): Likewise.
23589 (mpn_cmp): Likewise.
23590 (mpn_divrem): Likewise.
23591 (mpn_lshift): Likewise.
23592 (mpn_mul): Likewise.
23593 (mpn_mul_1): Likewise.
23594 (mpn_rshift): Likewise.
23595 (mpn_sub_1): Likewise.
23596 (mpn_submul_1): Likewise.
23597 (mpn_sub_n): Likewise.
23598
44af8a32
L
235992017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23600
23601 [BZ #18822]
23602 * include/wchar.h (__wcsnlen): Add attribute_hidden.
23603 (__wcscat): Likewise.
23604 (__btowc): Likewise.
23605 (__wcrtomb): Likewise.
23606 (__mbsrtowcs): Likewise.
23607 (__wcsrtombs): Likewise.
23608 (__mbsnrtowcs): Likewise.
23609 (__wcsnrtombs): Likewise.
23610 (__wcsncpy): Likewise.
23611 (__wcpncpy): Likewise.
23612 (__wmemcpy): Likewise.
23613 (__wmempcpy): Likewise.
23614 (__wmemmove): Likewise.
23615 (__wcschrnul): Likewise.
23616 (__vfwscanf): Likewise.
23617 (__vswprintf): Likewise.
23618 (__fwprintf): Likewise.
23619 (__vfwprintf): Likewise.
23620
783cd767
L
236212017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23622
23623 [BZ #18822]
23624 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
23625 (__getgrgid_r): Likewise.
23626 (__getgrnam_r): Likewise.
23627 * include/pwd.h (__getpwuid_r): Likewise.
23628 (__getpwnam_r): Likewise.
23629 (__fgetpwent_r): Likewise.
23630 * include/shadow.h (__getspnam_r): Likewise.
23631 (__sgetspent_r): Likewise.
23632 (__fgetspent_r): Likewise.
23633
7ec4b39a
L
236342017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23635
23636 [BZ #18822]
23637 * include/unistd.h (__access): Add attribute_hidden.
23638 (__lseek64): Likewise.
23639 (__libc_pread64): Likewise.
23640 (__pipe2): Likewise.
23641 (__sleep): Likewise.
23642 (__chdir): Likewise.
23643 (__fchdir): Likewise.
23644 (__getcwd): Likewise.
23645 (__rmdir): Likewise.
23646 (__execvpe): Likewise.
23647 (__execve): Likewise.
23648 (__setsid): Likewise.
23649 (__getuid): Likewise.
23650 (__geteuid): Likewise.
23651 (__getgid): Likewise.
23652 (__getegid): Likewise.
23653 (__getgroups): Likewise.
23654 (__group_member): Likewise.
23655 (__ttyname_r): Likewise.
23656 (__isatty): Likewise.
23657 (__readlink): Likewise.
23658 (__unlink): Likewise.
23659 (__gethostname): Likewise.
23660 (__profil): Likewise.
23661 (__getdtablesize): Likewise.
23662 (__brk): Likewise.
23663 (__ftruncate): Likewise.
23664 (__ftruncate64): Likewise.
23665
8345a760
L
236662017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23667
23668 [BZ #18822]
23669 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
23670 * argp/argp-fs-xinl.c: Likewise.
23671 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
23672 * argp/argp-parse.c: Include <argp.h>.
23673 * argp/argp-xinl.c: Likewise.
23674 * include/argp-fmtstream.h: New file.
23675 * include/argp.h (__argp_error): Add attribute_hidden.
23676 (__argp_failure): Likewise.
23677 (__argp_input): Likewise.
23678 (__argp_state_help): Likewise.
23679
c26dd7c6
L
236802017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23681
23682 [BZ #18822]
23683 * include/wchar.h (____wcstof_l_internal): New prototype.
23684 (____wcstod_l_internal): Likewise.
23685 (____wcstold_l_internal): Likewise.
23686 (____wcstol_l_internal): Likewise.
23687 (____wcstoul_l_internal): Likewise.
23688 (____wcstoll_l_internal): Likewise.
23689 (____wcstoull_l_internal): Likewise.
23690 (____wcstof128_l_internal): Likewise.
23691 * sysdeps/ieee754/float128/wcstof128.c
23692 (____wcstof128_l_internal): Removed.
23693 * sysdeps/ieee754/float128/wcstof128_l.c
23694 (____wcstof128_l_internal): Likewise.
23695 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
23696 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
23697 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
23698 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
23699 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
23700 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
23701 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
23702 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
23703 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
23704 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
23705
3aff5644
L
237062017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23707
23708 [BZ #18822]
23709 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
23710 instead of <sys/statvfs.h>.
23711 (__internal_statvfs): Removed.
23712 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
23713 instead of <sys/statvfs.h>.
23714 (__internal_statvfs64): Removed.
23715 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
23716 "internal_statvfs.h" instead of <sys/statvfs.h>.
23717 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
23718 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
23719 instead of <sys/statvfs.h>.
23720 (__internal_statvfs): Removed.
23721 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
23722 instead of <sys/statvfs.h>.
23723 (__internal_statvfs64): Removed.
23724
8bcdb7e0
L
237252017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23726
23727 [BZ #18822]
23728 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
23729 (__gconv_close): Likewise.
23730 (__gconv): Likewise.
23731 (__gconv_find_transform): Likewise.
23732 (__gconv_lookup_cache): Likewise.
23733 (__gconv_compare_alias_cache): Likewise.
23734 (__gconv_load_cache): Likewise.
23735 (__gconv_get_path): Likewise.
23736 (__gconv_close_transform): Likewise.
23737 (__gconv_release_cache): Likewise.
23738 (__gconv_find_shlib): Likewise.
23739 (__gconv_release_shlib): Likewise.
23740 (__gconv_get_builtin_trans): Likewise.
23741 (__gconv_compare_alias): Likewise.
23742 * include/dlfcn.h (_dlerror_run): Likewise.
23743 * include/stdio.h (__fortify_fail_abort): Likewise.
23744 * include/time.h (__tz_compute): Likewise.
23745 (__strptime_internal): Likewise.
23746 * intl/gettextP.h (_nl_find_domain): Likewise.
23747 (_nl_load_domain): Likewise.
23748 (_nl_find_msg): Likewise.
23749 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
23750 (EXTRACT_PLURAL_EXPRESSION): Likewise.
23751 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
23752 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
23753 (__gai_find_request): Likewise.
23754 (__gai_remove_request): Likewise.
23755 (__gai_notify): Likewise.
23756 (__gai_notify_only): Likewise.
23757 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
23758 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
23759 (_dl_non_dynamic_init): Likewise.
23760 (_dl_aux_init): Likewise.
23761 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
23762 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
23763 Likewise.
23764 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
23765 (__wcsmbs_clone_conv): Likewise.
23766 (__wcsmbs_named_conv): Likewise.
23767
8ed3b643
L
237682017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23769
23770 [BZ #18822]
23771 * include/stdlib.h (__random): Add attribute_hidden.
23772 (__random_r): Likewise.
23773 (__srandom_r): Likewise.
23774 (__initstate_r): Likewise.
23775 (__setstate_r): Likewise.
23776 (__erand48_r): Likewise.
23777 (__nrand48_r): Likewise.
23778 (__jrand48_r): Likewise.
23779 (__srand48_r): Likewise.
23780 (__seed48_r): Likewise.
23781 (__lcong48_r): Likewise.
23782 (__drand48_iterate): Likewise.
23783 (__setenv): Likewise.
23784 (__unsetenv): Likewise.
23785 (__clearenv): Likewise.
23786 (__ptsname_r): Likewise.
23787 (__posix_openpt): Likewise.
23788 (__add_to_environ): Likewise.
23789 (__realpath): Add libc_hidden_proto.
23790 (__ecvt_r): Likewise.
23791 (__fcvt_r): Likewise.
23792 (__qecvt_r): Likewise.
23793 (__qfcvt_r): Likewise.
23794 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
23795 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
23796
ef9b6f73
L
237972017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23798
23799 [BZ #18822]
23800 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
23801 * include/time.h (__mktime_internal): Likewise.
23802 * libio/iolibio.h (__fopen_internal): Likewise.
23803
8da92e72
JDA
238042017-10-01 John David Anglin <danglin@gcc.gnu.org>
23805
23806 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
23807 pointer in frame.
23808 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
23809 Correct offset used to restore PIC register.
23810
388784cf
JDA
238112017-09-30 John David Anglin <danglin@gcc.gnu.org>
23812
23813 [BZ libc/22165]
23814 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
23815 code to load address of __getcontext_ret when generating PIC code.
23816
2000067a
L
238172017-09-30 H.J. Lu <hongjiu.lu@intel.com>
23818
23819 * elf/Makefile (tests-static-internal): Add
23820 tst-tls1-static-non-pie.
23821 (LDFLAGS-tst-tls1-static-non-pie): New.
23822 * elf/tst-tls1-static-non-pie.c: New file.
23823
1e2bffd0
JM
238242017-09-29 Joseph Myers <joseph@codesourcery.com>
23825
23826 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
23827 (asinh): Define using libm_alias_double.
23828 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
23829 (cbrt): Define using libm_alias_double.
23830 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
23831 <libm-alias-double.h>.
23832 (copysign): Define using libm_alias_double.
23833 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
23834 (erf): Define using libm_alias_double.
23835 (erfc): Likewise.
23836 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
23837 (expm1): Define using libm_alias_double.
23838 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
23839 (fabs): Define using libm_alias_double.
23840 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
23841 libm_alias_double.
23842 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
23843 <libm-alias-double.h>.
23844 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
23845 libm_alias_double.
23846 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
23847 <libm-alias-double.h>.
23848 (getpayload): Define using libm_alias_double.
23849 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
23850 <libm-alias-double.h>.
23851 (llrint): Define using libm_alias_double.
23852 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
23853 (lrint): Define using libm_alias_double.
23854 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
23855 <libm-alias-double.h>.
23856 (nextup): Define using libm_alias_double.
23857 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
23858 <libm-alias-double.h>.
23859 (roundeven): Define using libm_alias_double.
23860 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
23861 libm_alias_double.
23862 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
23863 <libm-alias-double.h>.
23864 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
23865 using libm_alias_double.
23866 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
23867 (cos): Define using libm_alias_double.
23868 (sin): Likewise.
23869 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
23870 <libm-alias-double.h>.
23871 (sincos): Define using libm_alias_double.
23872 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
23873 (tanh): Define using libm_alias_double.
23874 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
23875 <libm-alias-double.h>.
23876 (totalorder): Define using libm_alias_double.
23877 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
23878 <libm-alias-double.h>.
23879 (totalordermag): Define using libm_alias_double.
23880 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
23881 libm_alias_double.
23882 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
23883 libm_alias_double.
23884 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
23885 <libm-alias-double.h>.
23886 (getpayload): Define using libm_alias_double.
23887 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
23888 <libm-alias-double.h>.
23889 (roundeven): Define using libm_alias_double.
23890 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
23891 <libm-alias-double.h>.
23892 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
23893 <libm-alias-double.h>.
23894 (totalorder): Define using libm_alias_double.
23895 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
23896 <libm-alias-double.h>.
23897 (totalordermag): Define using libm_alias_double.
23898 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
23899 libc compat symbol here.
23900 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
23901 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
23902 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
23903 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
23904 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
23905 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
23906 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
23907 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
23908 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
23909 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
23910
8172aad9
L
239112017-09-29 H.J. Lu <hongjiu.lu@intel.com>
23912
23913 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
23914 _dl_relocate_static_pie instead of _dl_start to compute load
23915 address in static PIE. Return 0 if _DYNAMIC is undefined for
23916 static executable.
23917
54464e74
L
239182017-09-29 H.J. Lu <hongjiu.lu@intel.com>
23919
23920 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
23921 _DYNAMIC is undefined for static executable.
23922
f6c5e5bc
L
239232017-09-29 H.J. Lu <hongjiu.lu@intel.com>
23924
23925 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
23926
2f92505d
JM
239272017-09-29 Joseph Myers <joseph@codesourcery.com>
23928
23929 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23930
bd8d53bb
WD
239312017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
23932
23933 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
23934 (__ieee754_lgamma_r): Use fabs rather than __fabs.
23935 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
23936 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
23937 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
23938 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
23939 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
23940 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
23941 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
23942 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
23943 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
23944 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
23945 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
23946 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
23947 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
23948 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
23949 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
23950
fffb1507
WD
239512017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
23952
23953 * math/bits/cmathcalls.h (cimag): Remove inline.
23954 (creal): Remove inline.
23955 (conj): Remove inline.
23956
4ea49f4c
SN
239572017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
23958
23959 * math/Makefile (type-float-routines): Add e_powf_log2_data.
23960 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
23961 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
23962 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
23963 (issignalingf_inline): Likewise.
23964 (POWF_LOG2_TABLE_BITS): Likewise.
23965 (POWF_LOG2_POLY_ORDER): Likewise.
23966 (POWF_SCALE_BITS): Likewise.
23967 (POWF_SCALE): Likewise.
23968 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
23969 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
23970 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
23971
875c76c7
SN
239722017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
23973
23974 * math/Makefile (type-float-routines): Add e_log2f_data.
23975 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
23976 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
23977 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
23978 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
23979 * sysdeps/i386/fpu/e_log2f_data.c: New file.
23980 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
23981 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
23982
90c42e40
SN
239832017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
23984
23985 * math/Makefile (type-float-routines): Add e_logf_data.
23986 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
23987 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
23988 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
23989 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
23990 * sysdeps/i386/fpu/e_logf_data.c: New file.
23991 * sysdeps/ia64/fpu/e_logf_data.c: New file.
23992 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
23993
4088d8dd
L
239942017-09-28 H.J. Lu <hongjiu.lu@intel.com>
23995
23996 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
23997 undefined _DYNAMIC in PIE libc.a.
23998 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
23999 Likewse.
24000
4d3693ec
WD
240012017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
24002
24003 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
24004 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
24005 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
24006 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
24007 (__signbit): Remove.
24008 (__signbitl): Remove.
24009 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
24010 (__signbit): Remove.
24011 (__signbitl): Remove.
24012 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
24013 (__signbit): Remove.
24014 (__signbitl): Remove.
24015 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
24016 (__signbit): Remove.
24017 (__signbitl): Remove.
24018 * sysdeps/tile/bits/mathinline.h: Delete file.
24019 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
24020 (__signbit): Remove.
24021 (__signbitl): Remove.
24022
1e6d0723
WD
240232017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
24024
24025 * math/math.h: Improve handling of C99 isgreater macros.
24026 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
24027 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
24028 * sysdeps/powerpc/bits/mathinline.h: Likewise.
24029 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
24030 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
24031
b2f03cf3
SN
240322017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
24033
24034 * sysdeps/aarch64/libm-test-ulps: Update.
24035
f124cb38
JM
240362017-09-28 Joseph Myers <joseph@codesourcery.com>
24037
24038 [BZ #22225]
24039 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24040 math_opt_barrier on argument when doing arithmetic on it.
24041 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
24042 Likewise. Use math_force_eval not math_opt_barrier after
24043 arithmetic.
24044 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
24045 math_opt_barrier on argument when doing arithmetic on it.
24046 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
24047 Likewise.
24048
7edd0691
L
240492017-09-27 H.J. Lu <hongjiu.lu@intel.com>
24050
24051 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
24052 libc_hidden_def.
24053 (__freeifaddrs): Likewise.
24054
2c7bbfaf
ST
240552017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
24056
24057 * include/dirent.h (__dirfd): New declaration.
24058 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
24059 alias.
24060 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
24061 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
24062 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
52a1f181
ST
24063 * include/unistd.h (__revoke): New declaration.
24064 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
24065 alias.
24066 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
24067 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
24068 revoke.
64a4af28
ST
24069 * include/dirent.h (__seekdir): New declaration.
24070 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
24071 redefine as weak alias.
24072 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
24073 of seekdir.
4009ddc6
ST
24074 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
24075 and use libc_hidden_def on them.
24076 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
24077 them.
24078 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
24079 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
24080 instead of getifaddrs and freeifaddrs.
2c7bbfaf 24081
825adeee
L
240822017-09-26 H.J. Lu <hongjiu.lu@intel.com>
24083
24084 [BZ #18822]
24085 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
24086 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
24087 (__dso_handle): Remove declaration.
24088 * dlfcn/tstatexit.c (__dso_handle): Removed.
24089 (main): Don't check __dso_handle.
24090 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
24091 (main): Don't check __dso_handle.
24092 * include/dso_handle.h: New file.
24093 * malloc/mtrace.c: Include <dso_handle.h>.
24094 (mtrace): Pass __dso_handle directly.
24095 * nptl/pthread_atfork.c: Include <dso_handle.h>.
24096 (__dso_handle): Remove declaration.
24097 (__pthread_atfork): Pass __dso_handle directly.
24098 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
24099 (__dso_handle): Removed.
24100 * posix/wordexp-test.c: Include <dso_handle.h>.
24101 (__dso_handle): Remove declaration.
24102 (__app_register_atfork): Pass __dso_handle directly.
24103 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
24104 (__dso_handle): Remove declaration.
24105 (at_quick_exit): Pass __dso_handle directly.
24106 * stdlib/atexit.c: Include <dso_handle.h>.
24107 (__dso_handle): Remove declaration.
24108 (atexit): Pass __dso_handle directly.
24109 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
24110 (__dso_handle): Removed.
24111
bfb0deb3
JM
241122017-09-26 Joseph Myers <joseph@codesourcery.com>
24113
24114 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
24115 using VDSO.
24116
cebcb9f8
AM
241172017-09-26 Alexey Makhalov <amakhalov@vmware.com>
24118
24119 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
24120 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
24121 values to correct default value for given type.
24122
592d5c75
L
241232017-09-26 H.J. Lu <hongjiu.lu@intel.com>
24124
24125 [BZ #22101]
24126 * elf/Makefile (tests): Add tst-debug1.
24127 ($(objpfx)tst-debug1): New.
24128 ($(objpfx)tst-debug1.out): Likewise.
24129 ($(objpfx)tst-debug1mod1.so): Likewise.
24130 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
24131 with p_filesz == 0.
24132 * elf/tst-debug1.c: New file.
24133
2d9193f2
JM
241342017-09-26 Joseph Myers <joseph@codesourcery.com>
24135
24136 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
24137 Define using __ifunc.
24138
4c5a7a02
TMQMF
241392017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24140
24141 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
24142 exp2f() values.
24143
12ef66c4
JM
241442017-09-26 Joseph Myers <joseph@codesourcery.com>
24145
24146 [BZ #22156]
24147 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
24148
44dade71
FW
241492017-09-26 Florian Weimer <fweimer@redhat.com>
24150
24151 * resolv/Makefile (tests-internal): Fix typo in comment.
24152
eaca16f1
FW
241532017-09-26 Florian Weimer <fweimer@redhat.com>
24154
24155 * resolv/nss_dns/dns-host.c: Fix typo in comment.
24156
ccf970c7
AZ
241572017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24158
5f9f31ad
AZ
24159 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
24160 Use an union instead of a max_align_t array for __space,
24161 so that __space is the same size on all platforms.
24162 * malloc/scratch_buffer_grow_preserve.c
24163 (__libc_scratch_buffer_grow_preserve): Likewise.
24164
ccf970c7
AZ
24165 [BZ #22183]
24166 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
24167 version to 2.
24168 * posix/Makefile (routines): Add glob-lstat-compat and
24169 glob64-lstat-compat.
24170 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
24171 * posix/glob-lstat-compat.c: New file.
24172 * posix/glob64-lstat-compat.c: Likewise.
24173 * posix/tst-glob_lstat_compat.c: Likewise.
24174 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
24175 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
24176 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
24177 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
24178 Likewise.
24179 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
24180 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
24181 * posix/glob.c (glob_lstat): New function.
24182 (glob): Rename to __glob and add versioned symbol to 2.27.
24183 (glob_in_dir): Use glob_lstat.
24184 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
24185 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
24186 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
24187 2.27.
24188 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
24189 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
24190 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
24191 gl_lstat on glob call.
24192 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
24193 and glob64 symbols.
24194 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24195 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
24196 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
24197 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
24198 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
24199 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
24200 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
24201 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
24202 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
24203 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24204 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24205 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
24206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
24207 Likewise.
24208 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
24209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
24210 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24211 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24212 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
24213 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24214 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24215 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
24216 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
24217 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
24218 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
24219 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
24220
b4396163
L
242212017-09-25 H.J. Lu <hongjiu.lu@intel.com>
24222
24223 * configure.ac (AS): Require binutils 2.25 or later.
24224 * configure: Regenerated.
24225
8f834987
PP
242262017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
24227
24228 [BZ #22207]
24229 * stdlib/test-atexit-race-common.c (do_test): Minimize required
24230 VM size.
24231
3de93d19
DD
242322017-09-25 DJ Delorie <dj@redhat.com>
24233
24234 [BZ #22161]
24235 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
24236 resetting timeout.
24237
9947638d
SL
242382017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
24239
24240 * sysdeps/ieee754/dbl-64/sincos32.h
24241 [SINCCOS32_H]: Remove define.
24242 [SINCOS32_H]: Define.
24243
f5f0f526
SN
242442017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
24245
24246 * math/Versions (expf): New libm symbol at GLIBC_2.27.
24247 (exp2f): Likewise.
24248 * math/w_exp2f.c: New file.
24249 * math/w_expf.c: New file.
24250 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
24251 * math/w_expf_compat.c (__expf_compat): Likewise.
24252 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
24253 * sysdeps/ia64/fpu/e_expf.S: Likewise.
24254 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
24255 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24256 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
24257 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
24258 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24259 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24260 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
24261 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
24262 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
24263 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
24264 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24265 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
24266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
24267 Likewise.
24268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
24269 Likewise.
24270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24271 Likewise.
24272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
24273 Likewise.
24274 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24275 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24276 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
24277 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24278 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24279 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
24280 Likewise.
24281 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24282 Likewise.
24283 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24284 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
24285 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
24286
72aa6233
SN
242872017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
24288
24289 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
24290 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
24291 (roundtoint, converttoint): Likewise.
24292 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
24293 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
24294 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
24295 * sysdeps/ieee754/flt-32/math_config.h: New file.
24296 * sysdeps/ieee754/flt-32/math_errf.c: New file.
24297 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
24298 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
24299 * sysdeps/i386/fpu/math_errf.c: New file.
24300 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
24301 * sysdeps/ia64/fpu/math_errf.c: New file.
24302 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
24303 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
24304
5e6f3253
ST
243052017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
24306
24307 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
24308 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
24309 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
24310 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
24311 to make sure that these symbols are defined.
b38a42a0
ST
24312 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
24313 of <limits.h>
24314 (__need_NULL): Do not define.
24315 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
24316 alignment.
24317 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
24318 CMGROUP_MAX, cmsgcred): Do not define.
24319 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
24320 NULL.
24321 * bits/socket.h: Likewise.
fcafcd16
ST
24322 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
24323 __gettimeofday instead of gettimeofday.
24324 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
24325 instead of settimeofday.
5e6f3253 24326
2f49ce7d
JM
243272017-09-22 Joseph Myers <joseph@codesourcery.com>
24328
24329 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
24330 (asinhf): Define using libm_alias_float.
24331 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
24332 (atanf): Define using libm_alias_float.
24333 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
24334 (cbrtf): Define using libm_alias_float.
24335 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
24336 (ceilf): Define using libm_alias_float.
24337 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
24338 <libm-alias-float.h>.
24339 (copysignf): Define using libm_alias_float.
24340 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
24341 (cosf): Define using libm_alias_float.
24342 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
24343 (erff): Define using libm_alias_float.
24344 (erfcf): Likewise.
24345 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
24346 (expm1f): Define using libm_alias_float.
24347 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
24348 (fabsf): Define using libm_alias_float.
24349 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
24350 (floorf): Define using libm_alias_float.
24351 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
24352 (frexpf): Define using libm_alias_float.
24353 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
24354 libm_alias_float.
24355 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
24356 <libm-alias-float.h>.
24357 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
24358 libm_alias_float.
24359 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
24360 <libm-alias-float.h>.
24361 (getpayloadf): Define using libm_alias_float.
24362 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
24363 <libm-alias-float.h>.
24364 (llrintf): Define using libm_alias_float.
24365 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
24366 <libm-alias-float.h>.
24367 (llroundf): Define using libm_alias_float.
24368 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
24369 (logbf): Define using libm_alias_float.
24370 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
24371 (lrintf): Define using libm_alias_float.
24372 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
24373 (lroundf): Define using libm_alias_float.
24374 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
24375 (modff): Define using libm_alias_float.
24376 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
24377 <libm-alias-float.h>.
24378 (nearbyintf): Define using libm_alias_float.
24379 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
24380 <libm-alias-float.h>.
24381 (nextafterf): Define using libm_alias_float.
24382 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
24383 <libm-alias-float.h>.
24384 (nextupf): Define using libm_alias_float.
24385 * sysdeps/ieee754/flt-32/s_remquof.c: Include
24386 <libm-alias-float.h>.
24387 (remquof): Define using libm_alias_float.
24388 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
24389 (rintf): Define using libm_alias_float.
24390 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
24391 <libm-alias-float.h>.
24392 (roundevenf): Define using libm_alias_float.
24393 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
24394 (roundf): Define using libm_alias_float.
24395 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
24396 using libm_alias_float.
24397 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
24398 <libm-alias-float.h>.
24399 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
24400 Define using libm_alias_float.
24401 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
24402 <libm-alias-float.h>.
24403 (sincosf): Define using libm_alias_float.
24404 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
24405 (sinf): Define using libm_alias_float.
24406 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
24407 (tanf): Define using libm_alias_float.
24408 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
24409 (tanhf): Define using libm_alias_float.
24410 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
24411 <libm-alias-float.h>.
24412 (totalorderf): Define using libm_alias_float.
24413 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
24414 <libm-alias-float.h>.
24415 (totalordermagf): Define using libm_alias_float.
24416 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
24417 (truncf): Define using libm_alias_float.
24418 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
24419 libm_alias_float.
24420 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
24421 libm_alias_float.
24422
c5c4a626
GG
244232017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
24424
24425 [BZ #22146]
24426 math/math.h: Let fpclassify use the builtin in C++ mode, even
24427 when optimazing for size.
24428
23947846
JM
244292017-09-22 Joseph Myers <joseph@codesourcery.com>
24430
24431 * csu/Makefile (generated): Do not add version-info.h.
24432 (before-compile): Likewise.
24433 (all-Banner-files): Remove variable.
24434 ($(objpfx)version-info.h): Remove rule.
24435 * csu/version.c (banner): Do not include "version-info.h".
24436 * libidn/Banner: Remove.
24437 * manual/contrib.texi (Simon Josefsson): New entry.
24438
9ac3c682
GG
244392017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
24440
24441 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24442 Remove conditionals on LDBL_MANT_DIG.
24443 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
24444 (__ieee754_lgammal_r): Likewise.
24445
d2f0ed09
GG
244462017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
24447
24448 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
24449 _Float128 and L().
24450 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
24451 _Float128 and L(). Replace _Float128 with long double and L(x)
24452 with xL, throughout the file.
24453 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
24454 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
24455 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
24456 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
24457
c5c2e667
GG
244582017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
24459
24460 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
24461 sysdeps/ieee754/ldbl-128ibm.
24462 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
24463 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
24464 of including it. Keep _Float128 and L() intact. These will be
24465 reviewed by a separate patch.
24466 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
24467 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
24468 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
24469 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
24470
e010deb2
GG
244712017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
24472
24473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
24474 (__finitef128): Define to __redirect___finitef128.
24475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
24476 (__isinff128): Define to __redirect___isinff128.
24477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
24478 (__isnanf128): Define to __redirect___isnanf128.
24479
ffa44804
GG
244802017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
24481
24482 * sysdeps/powerpc/powerpc64le/Makefile
24483 (CFLAGS-tst-strtod-nan-locale.c): New variable.
24484 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
24485
e5e4d7cc
PP
244862017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
24487 Carlos O'Donell <carlos@redhat.com>
24488
24489 [BZ #22180]
24490 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
24491 * stdlib/test-dlclose-exit-race.c: New file.
24492 * stdlib/test-dlclose-exit-race-helper.c: New file.
24493 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
24494
c10c5267
JM
244952017-09-21 Joseph Myers <joseph@codesourcery.com>
24496
24497 * crypt/Banner: Remove file.
24498 * nptl/Banner: Likewise.
24499 * resolv/Banner: Likewise.
24500 * soft-fp/Banner: Likewise.
24501 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
24502 ($(objpfx)version.d): Remove dependency on banner.h.
24503 ($(objpfx)version.os): Likewise.
24504 * nptl/version.c (banner): Do not include banner.h.
24505 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
24506 Jelinek and BIND code.
24507
1cc9e59a
PP
245082017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
24509 Carlos O'Donell <carlos@redhat.com>
24510
24511 * support/xdlfcn.h: New file.
24512 * support/xdlfcn.c: New file.
24513 * support/Makefile (libsupport-routines): Add xdlfcn.
24514 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
24515
ae8372d7
JM
245162017-09-20 Joseph Myers <joseph@codesourcery.com>
24517
24518 [BZ #20142]
24519 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24520 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
24521 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
24522 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
24523 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
24524 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
24525 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
24526 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
24527
26e70aec
PP
245282017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
24529 Ricky Zhou <rickyz@google.com>
24530 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
24531
24532 [BZ #14333]
24533 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
24534 Remove atomics.
24535 (__new_exitfn): Fail registration when we finished at_exit processing.
24536 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
24537 * stdlib/on_exit.c (__on_exit): Likewise.
24538 * stdlib/exit.c (__exit_funcs_done): New variable.
24539 (__run_exit_handlers): Use __exit_funcs_lock.
24540 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
24541 declarations.
24542 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
24543 (test-cxa_atexit-race, test-on_exit-race): New tests.
24544 * stdlib/test-atexit-race-common.c: New file.
24545 * stdlib/test-atexit-race.c: New file.
24546 * stdlib/test-at_quick_exit-race.c: New file.
24547 * stdlib/test-cxa_atexit-race.c: New file.
24548 * stdlib/test-on_exit-race.c: New file.
24549
0525ce48
SN
245502017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
24551
24552 * benchtests/Makefile: Add exp2f and log2f benchmarks.
24553 * benchtests/exp2f-inputs: Copy of expf-inputs.
24554 * benchtests/log2f-inputs: Copy of logf-inputs.
24555
d82468d1
JM
245562017-09-19 Joseph Myers <joseph@codesourcery.com>
24557
24558 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
24559 Explicitly take address of first element of array arguments in
24560 call to INLINE_SYSCALL.
24561
43ffc53a
AS
245622017-09-19 Andreas Schwab <schwab@suse.de>
24563
24564 [BZ #22134]
24565 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
24566 execveat first.
24567 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
24568 unimplemented.
24569 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
24570 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
24571 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24572 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
24573 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
24574 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
24575 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24576 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
24577 * posix/Makefile (tests): Add tst-fexecve.
24578 * posix/tst-fexecve.c: New file.
24579
a5dcc87e
WD
245802017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
24581
24582 * benchtests/Makefile: Add logf benchmark.
24583 * benchtests/logf-inputs: Add reduced trace from wrf_r.
24584
7024d544
WD
245852017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
24586
24587 * benchtests/Makefile: Add expf benchmark.
24588 * benchtests/expf-inputs: Add reduced trace from wrf_r.
24589
ca3a382e
WD
245902017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
24591
24592 * csu/Makefile: Add -funwind-tables to libc-start.c.
24593 * debug/Makefile: Add -funwind-tables to backtrace.c.
24594 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
24595 * sysdeps/arm/Makefile: Likewise.
24596 * sysdeps/i386/Makefile: Likewise.
24597 * sysdeps/m68k/Makefile: Likewise.
24598 * sysdeps/mips/Makefile: Likewise.
24599 * sysdeps/nios2/Makefile: Likewise.
24600 * sysdeps/sh/Makefile: Likewise.
24601 * sysdeps/sparc/Makefile: Likewise.
24602
eb375def
JM
246032017-09-19 Joseph Myers <joseph@codesourcery.com>
24604
24605 * benchtests/Makefile (bench-math): Add trunc and truncf.
24606 (CFLAGS-bench-trunc.c): New variable.
24607 (CFLAGS-bench-truncf.c): Likewise.
24608 * benchtests/trunc-inputs: New file.
24609 * benchtests/truncf-inputs: Likewise.
24610
bd17ba29
RS
246112017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24612
24613 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
24614
92892fdb
JM
246152017-09-18 Joseph Myers <joseph@codesourcery.com>
24616
6d9b0b5a
JM
24617 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
24618 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
24619 redefine.
24620 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
24621 (exp10l): Define as weak alias.
24622 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
24623 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
24624 and redefine.
24625 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
24626 (remainderl): Define as weak alias.
24627
92892fdb
JM
24628 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
24629 (fmal): Define using libm_alias_ldouble.
24630 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
24631 (acoshl): Define using libm_alias_ldouble.
24632 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
24633 (acosl): Define using libm_alias_ldouble.
24634 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
24635 (asinl): Define using libm_alias_ldouble.
24636 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
24637 (atan2l): Define using libm_alias_ldouble.
24638 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
24639 (atanhl): Define using libm_alias_ldouble.
24640 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
24641 (coshl): Define using libm_alias_ldouble.
24642 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
24643 (exp10l): Define using libm_alias_ldouble.
24644 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
24645 (exp2l): Define using libm_alias_ldouble.
24646 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
24647 (expl): Define using libm_alias_ldouble.
24648 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
24649 (fmodl): Define using libm_alias_ldouble.
24650 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
24651 (hypotl): Define using libm_alias_ldouble.
24652 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
24653 (j0l): Define using libm_alias_ldouble.
24654 (y0l): Likewise.
24655 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
24656 (j1l): Define using libm_alias_ldouble.
24657 (y1l): Likewise.
24658 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
24659 (jnl): Define using libm_alias_ldouble.
24660 (ynl): Likewise.
24661 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
24662 (log10l): Define using libm_alias_ldouble.
24663 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
24664 (log2l): Define using libm_alias_ldouble.
24665 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
24666 (logl): Define using libm_alias_ldouble.
24667 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
24668 (powl): Define using libm_alias_ldouble.
24669 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
24670 (remainderl): Define using libm_alias_ldouble.
24671 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
24672 (sinhl): Define using libm_alias_ldouble.
24673 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
24674 (sqrtl): Define using libm_alias_ldouble.
24675 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
24676 (tgammal): Define using libm_alias_ldouble.
24677 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
24678 (exp10l): Do not use long_double_symbol here.
24679 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
24680 [LIBM_SVID_COMPAT] (remainderl): Likewise.
24681 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
24682 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
24683 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
24684 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
24685 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
24686 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
24687 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
24688 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
24689 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
24690 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
24691 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
24692 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
24693 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
24694 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
24695 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
24696 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
24697 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
24698 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
24699 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
24700 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
24701
6cd380dd
WB
247022017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
24703
24704 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
24705 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
24706
1c6d89e9
ST
247072017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
24708
24709 * io/read.c (read): Add libc_hidden_weak.
24710 * sysdeps/mach/hurd/read.c (read): Likewise.
24711 * io/write.c (write): Likewise.
24712 * sysdeps/mach/hurd/write.c (write): Likewise.
24713 * io/pread64.c (__pread64): Likewise.
24714 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
24715 * posix/pread64.c (__pread64): Add libc_hidden_def.
24716
06b1de23
SP
247172017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
24718
140647ea
SP
24719 * benchtests/scripts/compare_strings.py: New option -g.
24720 (draw_graph): Print a message that a graph is being generated.
24721 (process_results): Generate graph only if -g is passed.
24722 (main): Process option -g.
24723
5a6547b7
SP
24724 * benchtests/scripts/compare_strings.py (process_results):
24725 Better spacing for output.
24726
06b1de23
SP
24727 * benchtests/scripts/compare_strings.py: Use argparse.
24728 * benchtests/README: Document existence of compare_strings.py.
24729
c67a2328
JM
247302017-09-15 Joseph Myers <joseph@codesourcery.com>
24731
9ac44708
JM
24732 * math/s_fma.c: Include <libm-alias-double.h>.
24733 (fma): Define using libm_alias_double.
24734 * math/s_nextafter.c: Include <libm-alias-double.h>.
24735 (nextafter): Define using libm_alias_double.
24736 * math/w_acos_compat.c: Include <libm-alias-double.h>.
24737 (acos): Define using libm_alias_double.
24738 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
24739 (aocsh): Define using libm_alias_double.
24740 * math/w_asin_compat.c: Include <libm-alias-double.h>.
24741 (asin): Define using libm_alias_double.
24742 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
24743 (atan2): Define using libm_alias_double.
24744 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
24745 (atanh): Define using libm_alias_double.
24746 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
24747 (cosh): Define using libm_alias_double.
24748 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
24749 (exp10): Define using libm_alias_double.
24750 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
24751 (exp2): Define using libm_alias_double.
24752 * math/w_exp_compat.c: Include <libm-alias-double.h>.
24753 (exp): Define using libm_alias_double.
24754 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
24755 (fmod): Define using libm_alias_double.
24756 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
24757 (hypot): Define using libm_alias_double.
24758 * math/w_j0_compat.c: Include <libm-alias-double.h>.
24759 (j0): Define using libm_alias_double.
24760 (y0): Likewise.
24761 * math/w_j1_compat.c: Include <libm-alias-double.h>.
24762 (j1): Define using libm_alias_double.
24763 (y1): Likewise.
24764 * math/w_jn_compat.c: Include <libm-alias-double.h>.
24765 (jn): Define using libm_alias_double.
24766 (yn): Likewise.
24767 * math/w_log10_compat.c: Include <libm-alias-double.h>.
24768 (log10): Define using libm_alias_double.
24769 * math/w_log2_compat.c: Include <libm-alias-double.h>.
24770 (log2): Define using libm_alias_double.
24771 * math/w_log_compat.c: Include <libm-alias-double.h>.
24772 (log): Define using libm_alias_double.
24773 * math/w_pow_compat.c: Include <libm-alias-double.h>.
24774 (pow): Define using libm_alias_double.
24775 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
24776 (remainder): Define using libm_alias_double.
24777 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
24778 (sinh): Define using libm_alias_double.
24779 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
24780 (sqrt): Define using libm_alias_double.
24781 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
24782 (tgamma): Define using libm_alias_double.
24783 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
24784 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
24785 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
24786 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
24787 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
24788 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
24789 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
24790 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
24791 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
24792 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
24793 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
24794 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
24795 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
24796 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
24797 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
24798 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
24799 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
24800 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
24801 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
24802 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
24803 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
24804 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
24805 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
24806 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
24807 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
24808
c67a2328
JM
24809 * math/e_acoshl.c: Remove.
24810 * math/e_acosl.c: Likewise.
24811 * math/e_asinl.c: Likewise.
24812 * math/e_atan2l.c: Likewise.
24813 * math/e_atanhl.c: Likewise.
24814 * math/e_coshl.c: Likewise.
24815 * math/e_expl.c: Likewise.
24816 * math/e_fmodl.c: Likewise.
24817 * math/e_gammal_r.c: Likewise.
24818 * math/e_hypotl.c: Likewise.
24819 * math/e_j0l.c: Likewise.
24820 * math/e_j1l.c: Likewise.
24821 * math/e_jnl.c: Likewise.
24822 * math/e_lgammal_r.c: Likewise.
24823 * math/e_log10l.c: Likewise.
24824 * math/e_log2l.c: Likewise.
24825 * math/e_logl.c: Likewise.
24826 * math/e_powl.c: Likewise.
24827 * math/e_rem_pio2l.c: Likewise.
24828 * math/e_sinhl.c: Likewise.
24829 * math/e_sqrtf128.c: Likewise.
24830 * math/e_sqrtl.c: Likewise.
24831 * math/k_cosl.c: Likewise.
24832 * math/k_sinl.c: Likewise.
24833 * math/k_tanl.c: Likewise.
24834 * math/s_asinhl.c: Likewise.
24835 * math/s_atanl.c: Likewise.
24836 * math/s_cbrtl.c: Likewise.
24837 * math/s_erfl.c: Likewise.
24838 * math/s_expm1l.c: Likewise.
24839 * math/s_log1pl.c: Likewise.
24840 * math/s_tanhl.c: Likewise.
24841
61c45f25
TMQMF
248422017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24843
24844 [BZ #21745]
24845 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
24846 [$(subdir) = math] (sysdep_calls): New variable. Has the
24847 previous contents of sysdep_routines, but re-sorted..
24848 [$(subdir) = math] (sysdep_routines): Re-use the contents from
24849 sysdep_calls.
24850 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
24851 defined in sysdep_calls and replace by the respective m_* names.
24852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
24853 (compat_symbol): Undefine to avoid duplicated compat symbols in
24854 libc.
24855
5bcdb315
JM
248562017-09-15 Joseph Myers <joseph@codesourcery.com>
24857
24858 * math/s_fmaf.c: Include <libm-alias-float.h>.
24859 (fmaf): Define using libm_alias_float.
24860 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
24861 (acosf): Define using libm_alias_float.
24862 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
24863 (acoshf): Define using libm_alias_float.
24864 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
24865 (asinf): Define using libm_alias_float.
24866 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
24867 (atan2f): Define using libm_alias_float.
24868 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
24869 (atanhf): Define using libm_alias_float.
24870 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
24871 (coshf): Define using libm_alias_float.
24872 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
24873 (exp10f): Define using libm_alias_float.
24874 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
24875 (fmodf): Define using libm_alias_float.
24876 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
24877 (hypotf): Define using libm_alias_float.
24878 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
24879 (j0f): Define using libm_alias_float.
24880 (y0f): Likewise.
24881 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
24882 (j1f): Define using libm_alias_float.
24883 (y1f): Likewise.
24884 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
24885 (jnf): Define using libm_alias_float.
24886 (ynf): Likewise.
24887 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
24888 (log10f): Define using libm_alias_float.
24889 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
24890 (log2f): Define using libm_alias_float.
24891 * math/w_logf_compat.c: Include <libm-alias-float.h>.
24892 (logf): Define using libm_alias_float.
24893 * math/w_powf_compat.c: Include <libm-alias-float.h>.
24894 (powf): Define using libm_alias_float.
24895 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
24896 (remainderf): Define using libm_alias_float.
24897 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
24898 (sinhf): Define using libm_alias_float.
24899 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
24900 (sqrtf): Define using libm_alias_float.
24901 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
24902 (tgammaf): Define using libm_alias_float.
24903
01f28812
JM
249042017-09-14 Joseph Myers <joseph@codesourcery.com>
24905
24906 * include/math.h (roundeven): Change hidden_proto call to
24907 __roundeven.
24908 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
24909 alias.
24910 [NO_LONG_DOUBLE] (__j0l): New strong alias.
24911 (y0): Rename to __y0 and define as weak alias.
24912 [NO_LONG_DOUBLE] (__y0l): New strong alias.
24913 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
24914 alias.
24915 (y0f): Rename to __y0f and define as weak alias.
24916 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
24917 alias.
24918 [NO_LONG_DOUBLE] (__j1l): New strong alias.
24919 (y1): Rename to __y1 and define as weak alias.
24920 [NO_LONG_DOUBLE] (__y1l): New strong alias.
24921 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
24922 alias.
24923 (y1f): Rename to __y1f and define as weak alias.
24924 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
24925 alias.
24926 [NO_LONG_DOUBLE] (__jnl): New strong alias.
24927 (yn): Rename to __yn and define as weak alias.
24928 [NO_LONG_DOUBLE] (__ynl): New strong alias.
24929 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
24930 alias.
24931 (ynf): Rename to __ynf and define as weak alias.
24932 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
24933 (fromfp): Define as weak alias.
24934 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
24935 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
24936 (fromfpx): Define as weak alias.
24937 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
24938 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
24939 __getpayload and define as weak alias.
24940 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
24941 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
24942 __roundeven and define as weak alias.
24943 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
24944 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
24945 __setpayload.
24946 (setpayload): Define as weak alias.
24947 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
24948 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
24949 __setpayloadsig.
24950 (setpayloadsig): Define as weak alias.
24951 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
24952 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
24953 __totalorder and define as weak alias.
24954 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
24955 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
24956 to __totalordermag and define as weak alias.
24957 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
24958 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
24959 (ufromfp): Define as weak alias.
24960 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
24961 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
24962 __ufromfpx.
24963 (ufromfpx): Define as weak alias.
24964 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
24965 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
24966 Rename to __getpayload and define as weak alias.
24967 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
24968 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
24969 Rename to __roundeven and define as weak alias.
24970 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
24971 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
24972 Rename to __totalorder and define as weak alias.
24973 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
24974 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
24975 (totalordermag): Rename to __totalordermag and define as weak
24976 alias.
24977 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
24978 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
24979 macro.
24980 (__roundevenl): Likewise.
24981 (__totalorderl): Likewise.
24982 (__totalordermagl): Likewise
24983 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
24984 __fromfpf128.
24985 (fromfpf128): Define as weak alias.
24986 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
24987 __fromfpxf128.
24988 (fromfpxf128): Define as weak alias.
24989 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
24990 __setpayloadf128.
24991 (setpayloadf128): Define as weak alias.
24992 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
24993 __setpayloadsigf128.
24994 (setpayloadsigf128): Define as weak alias.
24995 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
24996 __ufromfpf128.
24997 (ufromfpf128): Define as weak alias.
24998 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
24999 __ufromfpxf128.
25000 (ufromfpxf128): Define as weak alias.
25001 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
25002 (fromfpf): Define as weak alias.
25003 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
25004 __fromfpxf.
25005 (fromfpxf): Define as weak alias.
25006 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
25007 __getpayloadf and define as weak alias.
25008 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
25009 __roundevenf and define as weak alias.
25010 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
25011 __setpayloadf.
25012 (setpayloadf): Define as weak alias.
25013 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
25014 __setpayloadsigf.
25015 (setpayloadsigf): Define as weak alias.
25016 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
25017 __totalorderf and define as weak alias.
25018 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
25019 Rename to __totalordermagf and define as weak alias.
25020 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
25021 __ufromfpf.
25022 (ufromfpf): Define as weak alias.
25023 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
25024 __ufromfpxf.
25025 (ufromfpxf): Define as weak alias.
25026 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
25027 __fromfpl.
25028 (fromfpl): Define as weak alias.
25029 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
25030 __fromfpxl.
25031 (fromfpxl): Define as weak alias.
25032 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
25033 to __getpayloadl and define as weak alias.
25034 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
25035 __roundevenl and define as weak alias.
25036 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
25037 __setpayloadl.
25038 (setpayloadl): Define as weak alias.
25039 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
25040 __setpayloadsigl.
25041 (setpayloadsigl): Define as weak alias.
25042 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
25043 to __totalorderl and define as weak alias.
25044 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
25045 Rename to __totalordermagl and define as weak alias.
25046 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
25047 __ufromfpl.
25048 (ufromfpl): Define as weak alias.
25049 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
25050 __ufromfpxl.
25051 (ufromfpxl): Define as weak alias.
25052 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
25053 __fromfpl.
25054 (fromfpl): Define as weak alias.
25055 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
25056 __fromfpxl.
25057 (fromfpxl): Define as weak alias.
25058 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
25059 Rename to __getpayloadl and define as weak alias.
25060 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
25061 to __roundevenl and define as weak alias. Call __roundeven
25062 instead of roundeven.
25063 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
25064 __setpayloadl.
25065 (setpayloadl): Define as weak alias.
25066 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
25067 __setpayloadsigl.
25068 (setpayloadsigl): Define as weak alias.
25069 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
25070 Rename to __totalorderl and define as weak alias.
25071 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
25072 Rename to __totalordermagl and define as weak alias.
25073 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
25074 __ufromfpl.
25075 (ufromfpl): Define as weak alias.
25076 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
25077 __ufromfpxl.
25078 (ufromfpxl): Define as weak alias.
25079 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
25080 __fromfpl.
25081 (fromfpl): Define as weak alias.
25082 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
25083 __fromfpxl.
25084 (fromfpxl): Define as weak alias.
25085 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
25086 __getpayloadl and define as weak alias.
25087 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
25088 __roundevenl and define as weak alias.
25089 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
25090 __setpayloadl.
25091 (setpayloadl): Define as weak alias.
25092 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
25093 __setpayloadsigl.
25094 (setpayloadsigl): Define as weak alias.
25095 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
25096 __totalorderl and define as weak alias.
25097 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
25098 Rename to __totalordermagl and define as weak alias.
25099 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
25100 __ufromfpl.
25101 (ufromfpl): Define as weak alias.
25102 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
25103 __ufromfpxl.
25104 (ufromfpxl): Define as weak alias.
25105
29c933fb
SP
251062017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
25107
503c92c3
SP
25108 * benchtests/bench-string.h (realloc_bufs): New function.
25109 (test_init): Call it.
25110 * benchtests/bench-memset-large.c (do_test): Likewise.
25111 * benchtests/bench-memset.c (do_test): Likewise.
25112
29c933fb
SP
25113 * benchtests/bench-memset-large.c: Print output in JSON
25114 format.
25115 * benchtests/bench-memset.c: Likewise.
25116
799c8d69
MF
251172017-09-14 Mike FABIAN <mfabian@redhat.com>
25118
25119 [BZ #21084]
25120 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
25121 * iconvdata/Makefile: Add IBM858.
25122 * iconvdata/gconv-modules: Likewise.
25123 * iconvdata/tst-tables.sh: Likewise.
25124 * iconvdata/ibm858.c: New file.
25125 * localedata/charmaps/IBM858: Likewise.
25126
c207f7ce 251272017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
fcc82c06
AK
25128
25129 [BZ #22023]
25130 * locales/niu_NZ (LC_TIME): copy "niu_NU".
25131 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
25132
f28a0926
AK
251332017-09-14 Mike FABIAN <mfabian@redhat.com>
25134
25135 [BZ #22112]
25136 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
25137 and add tel_int_fmt.
25138
02093e62
JM
251392017-09-14 Joseph Myers <joseph@codesourcery.com>
25140
25141 * sysdeps/generic/libm-alias-float128.h: New file.
25142 * sysdeps/generic/math-type-macros-float128.h: Include
25143 <libm-alias-float128.h>.
25144 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
25145
1aae75ef
JM
251462017-09-13 Joseph Myers <joseph@codesourcery.com>
25147
25148 * sysdeps/generic/libm-alias-ldouble.h: New file.
25149 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
25150 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
25151 * sysdeps/generic/math-type-macros-ldouble.h: Include
25152 <libm-alias-ldouble.h>.
25153 [!declare_mgen_alias] (declare_mgen_alias): Define to use
25154 libm_alias_ldouble.
25155
bcea7ad6
SN
251562017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
25157
25158 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
25159 * math/w_exp_compat.c: ... here.
25160 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
25161 * math/w_expf_compat.c: ... here.
25162 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
25163 * math/w_expl_compat.c: ... here.
25164 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
25165 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
25166 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
25167 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
25168
0fc56478
JM
251692017-09-13 Joseph Myers <joseph@codesourcery.com>
25170
25171 * math/w_scalbln_template.c (strong_alias): Do not undefine and
25172 redefine.
25173 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
25174 macro.
25175 (ldexpl): Only define as compat symbol for libc, not libm.
25176 (scalbnl): Define as compat symbol for libc here.
25177 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
25178 define for [IS_IN (libc)].
25179 (__ldexpl_2): Remove alias.
25180 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
25181 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
25182 name in long_double_symbol call.
25183 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
25184 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
25185 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
25186 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
25187 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
25188 Remove macro.
25189 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
25190 Define as compat symbol.
25191
3ca622e4
AZ
251922017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25193
25194 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
25195 * sysdeps/unix/sysv/linux/alpha/Makefile
25196 [$(subdir) = csu] (sysdep_routines): Remove rule.
25197
620ff9ee
JM
251982017-09-13 Joseph Myers <joseph@codesourcery.com>
25199
25200 * sysdeps/generic/libm-alias-double.h: New file.
25201 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
25202 * sysdeps/generic/math-type-macros-double.h: Include
25203 <libm-alias-double.h>.
25204 [declare_mgen_alias] (declare_mgen_alias): Define to use
25205 libm_alias_double.
25206 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
25207 (M_LIBM_NEED_COMPAT): Remove macro.
25208 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
25209 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
25210 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
25211 code.
25212 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25213 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25214 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25215 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25216 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25217 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25218 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25219 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25220 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25221 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25222 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25223 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25224 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25225 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25226 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25227 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25228 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25229 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25230 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25231 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25232 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25233 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25234 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25235 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25236 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25237 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25238 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25239 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
25240 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
25241 macro.
25242 (declare_mgen_alias): New macro.
25243 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
25244 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
25245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
25246 (M_LIBM_NEED_COMPAT): Remove macro.
25247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
25248 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
25249 <first-versions.h>.
25250 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
25251 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
25252
a891caff
JM
252532017-09-12 Joseph Myers <joseph@codesourcery.com>
25254
25255 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
25256 (declare_mgen_alias_2): Remove.
25257 * sysdeps/generic/math-type-macros-double.h
25258 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
25259 Likewise.
25260 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
25261 alias.
25262 (ldexp): Define with declare_mgen_alias.
25263 (scalbn): Likewise.
25264
a1a78204
SE
252652017-09-12 Steve Ellcey <sellcey@cavium.com>
25266
25267 * grp/initgroups.c: Include config.h.
25268 (DEFAULT_CONFIG): New macro.
25269 (internal_getgrouplist): Use DEFAULT_CONFIG.
25270 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25271 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
25272 (DEFAULT_DEFCONFIG): New macro.
25273 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
25274 * nss/grp-lookup.c: Include config.h
25275 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
25276 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
25277 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
25278 * manual/nss.texi: Update default values section.
25279
ef8adeb0
L
252802017-09-12 H.J. Lu <hongjiu.lu@intel.com>
25281
25282 [BZ #21967]
25283 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
25284 New.
25285 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
25286 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
25287 Handle MathVec_Prefer_No_AVX512.
25288 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
25289 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
25290 is set.
25291
a166531f
ST
252922017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
25293
25294 * posix/sched_primax.c (__sched_get_priority_max): Add
25295 libc_hidden_def.
25296 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
25297 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
25298 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
25299 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
25300 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
25301 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
25302 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
25303 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
25304 Add aliases.
25305
4b7d1efb
JM
253062017-09-11 Joseph Myers <joseph@codesourcery.com>
25307
25308 * sysdeps/generic/libm-alias-float.h: New file.
25309 * sysdeps/generic/math-type-macros-float.h: Include
25310 <libm-alias-float.h>.
25311 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
25312
45ff3463
L
253132017-09-11 H.J. Lu <hongjiu.lu@intel.com>
25314
25315 [BZ #22093]
25316 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
25317 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
25318 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
25319 (HWCAP_IMPORTANT): Likewise.
25320 (HWCAP_X86_64): New enum.
25321 (HWCAP_X86_AVX512_1): Updated.
25322 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
25323 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
25324 (modules-names): Add x86_64/tst-x86_64mod-1.
25325 (LDFLAGS-tst-x86_64mod-1.so): New.
25326 ($(objpfx)tst-x86_64-1): Likewise.
25327 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
25328 (tst-x86_64-1-clean): Likewise.
25329 * sysdeps/x86_64/tst-x86_64-1.c: New file.
25330 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
25331
891abfd3
SP
253322017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
25333
25334 * po/sv.po: Update translations.
25335 * po/fr.po: Likewise.
25336
00c3da43
ST
253372017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25338
25339 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
25340 seconds.
3bdfd9fb
ST
25341 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
25342 seconds.
65b22ebc 25343 * elf/rtld-Rules: Fix $(error) use.
00c3da43 25344
96480903
MF
253452017-09-09 Mike FABIAN <mfabian@redhat.com>
25346
25347 [BZ #14925]
25348 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
25349 * locale/iso-639.def: Change “Bengali” to “Bangla”.
25350 * localedata/locales/bn_BD: “Bengali” was still used in some
25351 comments. Change it to “Bangla”.
25352
4c03a696
MT
253532017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
25354
25355 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
25356
9c9ec581
SE
253572017-09-08 Steve Ellcey <sellcey@cavium.com>
25358
25359 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
25360 thunderx2t99p1 to list of cpu names.
25361 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
25362 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
25363
f00bce74
SE
253642017-09-08 Steve Ellcey <sellcey@cavium.com>
25365
25366 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
25367 Use strcmp instead of tunable_is_name.
25368
27342d17
JM
253692017-09-08 Joseph Myers <joseph@codesourcery.com>
25370
af1b7c8c
JM
25371 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
25372 (F_GET_RW_HINT): New macro.
25373 [__USE_GNU] (F_SET_RW_HINT): Likewise.
25374 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
25375 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
25376 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
25377 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
25378 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
25379 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
25380 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
25381 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
25382
27342d17
JM
25383 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
25384 (F_ADD_SEALS): New macro.
25385 [__USE_GNU] (F_GET_SEALS): Likewise.
25386 [__USE_GNU] (F_SEAL_SEAL): Likewise.
25387 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
25388 [__USE_GNU] (F_SEAL_GROW): Likewise.
25389 [__USE_GNU] (F_SEAL_WRITE): Likewise.
25390
c66c9082
AZ
253912017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25392
07b4f49d
AZ
25393 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
25394 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
25395 * posix/glob_internal.h (__glob_pattern_type):
25396 * posix/glob.c (glob):
25397 * posix/glob_pattern_p.c (__glob_pattern_p):
25398 Use them.
25399
116f1c64
AZ
25400 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
25401 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
25402 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
25403 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
25404 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
25405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
25406 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
25407 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
25408 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
25409 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
25410 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
25411 * sysdeps/wordsize-64/glob.c: Likewise.
25412 * sysdeps/wordsize-64/glob64.c: Likewise.
25413 * sysdeps/wordsize-64/globfree.c: Likewise.
25414 * sysdeps/wordsize-64/globfree64.c: Likewise.
25415 * sysdeps/unix/sysv/linux/glob.c: New file.
25416 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
25417 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
25418 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
25419 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
25420 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
25421 adds !GLOB_NO_OLD_VERSION as an extra condition.
25422 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
25423 using relative path instead of absolute one.
25424 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
25425 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25426 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25427 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
25428 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
25429 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
25430
ffca8901
AZ
25431 [BZ #1062]
25432 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
25433 (glob): Use the same scratch buffer for both getlogin_r and
25434 getpwnam_r. Don’t require preallocation of the login name. This
25435 simplifies storage allocation, and corrects the handling of
25436 long login names.
25437
5a79f975
AZ
25438 [BZ #1062]
25439 * posix/glob.c (glob): Port recent patches to platforms
25440 lacking getpwnam_r.
25441 (glob): Fix longstanding misuse of errno after getpwnam_r, which
25442 returns an error number rather than setting errno.
25443
e00f2425
AZ
25444 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
25445 instead of GCC extension.
25446 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
25447 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
25448 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
25449
5554304f
AZ
25450 [BZ #866]
25451 [BZ #1062]
25452 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
25453 * posix/bug-glob1.c: Remove file.
25454 * posix/tst-glob_symlinks.c: New file.
25455 * posix/glob.c (__lstat64): New macro.
25456 (is_dir): New function.
25457 (glob, glob_in_dir): Match symlinks even if they are dangling.
25458 (link_stat, link_exists_p): Remove. All uses removed.
25459
686f2ea1
AZ
25460 [BZ #1062]
25461 [BZ #19971]
25462 * posix/glob.c (struct readdir_result): Remove skip_entry member.
25463 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
25464 All uses removed.
25465
c66c9082 25466 [BZ #1062]
914c9994 25467 CVE-2017-15671
c66c9082
AZ
25468 * posix/Makefile (routines): Add globfree, globfree64, and
25469 glob_pattern_p.
25470 * posix/flexmember.h: New file.
25471 * posix/glob_internal.h: Likewise.
25472 * posix/glob_pattern_p.c: Likewise.
25473 * posix/globfree.c: Likewise.
25474 * posix/globfree64.c: Likewise.
25475 * sysdeps/gnu/globfree64.c: Likewise.
25476 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
25477 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
25478 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
25479 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
25480 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
25481 * sysdeps/wordsize-64/globfree.c: Likewise.
25482 * sysdeps/wordsize-64/globfree64.c: Likewise.
25483 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
25484 [NDEBUG): Remove comments.
25485 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
25486 (dirent_type): New type. Use uint_fast8_t not
25487 uint8_t, as C99 does not require uint8_t.
25488 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
25489 (struct readdir_result): Use dirent_type. Do not define skip_entry
25490 unless it is needed; this saves a byte on platforms lacking d_ino.
25491 (readdir_result_type, readdir_result_skip_entry):
25492 New functions, replacing ...
25493 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
25494 these functions, which were removed. This makes the callers
25495 easier to read. All callers changed.
25496 (D_INO_TO_RESULT): Now empty if there is no d_ino.
25497 (size_add_wrapv, glob_use_alloca): New static functions.
25498 (glob, glob_in_dir): Check for size_t overflow in several places,
25499 and fix some size_t checks that were not quite right.
25500 Remove old code using SHELL since Bash no longer
25501 uses this.
25502 (glob, prefix_array): Separate MS code better.
25503 (glob_in_dir): Remove old Amiga and VMS code.
25504 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
25505 separate files.
25506 (glob_in_dir): Do not rely on undefined behavior in accessing
25507 struct members beyond their bounds. Use a flexible array member
25508 instead
25509 (link_stat): Rename from link_exists2_p and return -1/0 instead of
25510 0/1. Caller changed.
25511 (glob): Fix memory leaks.
25512 * posix/glob64 (globfree64): Move to separate file.
25513 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
25514 (globfree64): Remove hidden alias.
25515 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
25516 oldglob.
25517 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
25518 separate file.
25519 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
25520 define.
25521 Move compat code to separate file.
25522 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
25523 separate file.
25524
78bfa877
L
255252017-09-07 H.J. Lu <hongjiu.lu@intel.com>
25526
25527 * resolv/tst-resolv-qtypes.c (domain): Changed to
25528 "const char domain[] =".
25529
05f0011f
JM
255302017-09-07 Joseph Myers <joseph@codesourcery.com>
25531
85bec0f2
JM
25532 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
25533 version to 3.1.6.
25534
5c23ee6e
JM
25535 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
25536 (TCP_MD5SIG_EXT): Likewise.
25537 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
25538 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
25539 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
25540
05f0011f
JM
25541 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
25542
7c9c5be9
MF
255432017-09-07 Mike FABIAN <mfabian@redhat.com>
25544
25545 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
25546
c207f7ce 255472017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
ae214523
AK
25548
25549 [BZ #22100]
25550 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
25551
507fe027
ST
255522017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
25553
25554 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
25555 before assuming that the file is empty. Avoid testing buffer content
25556 when nread == 0.
25557
65687ac7
AZ
255582017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25559
7bbbb4b9 25560 [BZ #18858]
65687ac7
AZ
25561 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
25562 Remove define.
25563 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
25564 Likewise.
25565 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
25566 Likewise.
25567 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
25568 Likewise.
25569 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
25570 Likewise.
25571 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
25572 Likewise.
25573 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
25574 Likewise.
25575
ab5ac271
FW
255762017-09-06 Florian Weimer <fweimer@redhat.com>
25577
25578 * malloc/dynarray_emplace_enlarge.c
25579 (__libc_dynarray_emplace_enlarge): Add missing else.
25580
a8304730
FW
255812017-09-06 Florian Weimer <fweimer@redhat.com>
25582
25583 [BZ #22096]
25584 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
25585 case of failure to obtain the global conf object.
25586
5670c4ab
FW
255872017-09-06 Florian Weimer <fweimer@redhat.com>
25588
25589 [BZ #22095]
25590 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
25591 dynarray allocation failure.
25592
c77eb969
FW
255932017-09-06 Florian Weimer <fweimer@redhat.com>
25594
25595 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
25596 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
25597 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
25598 New functions.
25599 (response): Call them. Add 'p', '6' flag processing.
25600 (test_reverse): New function.
25601 (test_get2_any): Call it.
25602 (test_no_inet6): Add 'p' test.
25603 (test_inet6): Likewise.
25604
5e9c4d17
FW
256052017-09-06 Florian Weimer <fweimer@redhat.com>
25606
25607 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
25608 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
25609 the QNAME.
25610 (test_gai): Adjust query names. Add additional tests.
25611 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
25612 test_get2. Adjust query names. Add additional tests.
25613 (test_no_inet6): New function, extracted from threadfunc.
25614 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
25615 Add additional tests.
25616
2ae5be04
MF
256172017-09-06 Mike FABIAN <mfabian@redhat.com>
25618
25619 [BZ #22070]
25620 * localedata/unicode-gen/utf8_gen.py: Set the width for
25621 characters with Prepended_Concatenation_Mark property to 1
25622 * localedata/charmaps/UTF-8: Updated using the improved script.
25623
af83ed5c
MF
256242017-09-06 Mike FABIAN <mfabian@redhat.com>
25625
25626 [BZ #21750]
25627 * localedata/unicode-gen/utf8_gen.py: Improve the script to
25628 use the range notation for all ranges of neighbouring characters
25629 with the same width.
25630
4f3647e4
JM
256312017-09-05 Joseph Myers <joseph@codesourcery.com>
25632
25633 * sysdeps/generic/math-type-macros-double.h: Include
25634 <math-svid-compat.h>.
25635 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
25636 * sysdeps/generic/math-type-macros-float.h: Include
25637 <math-svid-compat.h>.
25638 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
25639 * sysdeps/generic/math-type-macros-ldouble.h: Include
25640 <math-svid-compat.h>.
25641 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
25642 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
25643 condition.
25644 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
25645 * math/w_acosf_compat.c: Likewise.
25646 * math/w_acosh_compat.c: Likewise.
25647 * math/w_acoshf_compat.c: Likewise.
25648 * math/w_acoshl_compat.c: Likewise.
25649 * math/w_acosl_compat.c: Likewise.
25650 * math/w_asin_compat.c: Likewise.
25651 * math/w_asinf_compat.c: Likewise.
25652 * math/w_asinl_compat.c: Likewise.
25653 * math/w_atan2_compat.c: Likewise.
25654 * math/w_atan2f_compat.c: Likewise.
25655 * math/w_atan2l_compat.c: Likewise.
25656 * math/w_atanh_compat.c: Likewise.
25657 * math/w_atanhf_compat.c: Likewise.
25658 * math/w_atanhl_compat.c: Likewise.
25659 * math/w_cosh_compat.c: Likewise.
25660 * math/w_coshf_compat.c: Likewise.
25661 * math/w_coshl_compat.c: Likewise.
25662 * math/w_exp10_compat.c: Likewise.
25663 * math/w_exp10f_compat.c: Likewise.
25664 * math/w_exp10l_compat.c: Likewise.
25665 * math/w_exp2_compat.c: Likewise.
25666 * math/w_exp2f_compat.c: Likewise.
25667 * math/w_exp2l_compat.c: Likewise.
25668 * math/w_fmod_compat.c: Likewise.
25669 * math/w_fmodf_compat.c: Likewise.
25670 * math/w_fmodl_compat.c: Likewise.
25671 * math/w_hypot_compat.c: Likewise.
25672 * math/w_hypotf_compat.c: Likewise.
25673 * math/w_hypotl_compat.c: Likewise.
25674 * math/w_j0_compat.c: Likewise.
25675 * math/w_j0f_compat.c: Likewise.
25676 * math/w_j0l_compat.c: Likewise.
25677 * math/w_j1_compat.c: Likewise.
25678 * math/w_j1f_compat.c: Likewise.
25679 * math/w_j1l_compat.c: Likewise.
25680 * math/w_jn_compat.c: Likewise.
25681 * math/w_jnf_compat.c: Likewise.
25682 * math/w_jnl_compat.c: Likewise.
25683 * math/w_lgamma_r_compat.c: Likewise.
25684 * math/w_lgammaf_r_compat.c: Likewise.
25685 * math/w_lgammal_r_compat.c: Likewise.
25686 * math/w_log10_compat.c: Likewise.
25687 * math/w_log10f_compat.c: Likewise.
25688 * math/w_log10l_compat.c: Likewise.
25689 * math/w_log2_compat.c: Likewise.
25690 * math/w_log2f_compat.c: Likewise.
25691 * math/w_log2l_compat.c: Likewise.
25692 * math/w_log_compat.c: Likewise.
25693 * math/w_logf_compat.c: Likewise.
25694 * math/w_logl_compat.c: Likewise.
25695 * math/w_pow_compat.c: Likewise.
25696 * math/w_powf_compat.c: Likewise.
25697 * math/w_powl_compat.c: Likewise.
25698 * math/w_remainder_compat.c: Likewise.
25699 * math/w_remainderf_compat.c: Likewise.
25700 * math/w_remainderl_compat.c: Likewise.
25701 * math/w_sinh_compat.c: Likewise.
25702 * math/w_sinhf_compat.c: Likewise.
25703 * math/w_sinhl_compat.c: Likewise.
25704 * math/w_sqrt_compat.c: Likewise.
25705 * math/w_sqrtf_compat.c: Likewise.
25706 * math/w_sqrtl_compat.c: Likewise.
25707 * math/w_tgamma_compat.c: Likewise.
25708 * math/w_tgammaf_compat.c: Likewise.
25709 * math/w_tgammal_compat.c: Likewise.
25710 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
25711 [LIBM_SVID_COMPAT].
25712 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
25713 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
25714 [LIBM_SVID_COMPAT].
25715 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
25716 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
25717 [LIBM_SVID_COMPAT].
25718 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
25719 * sysdeps/i386/fpu/w_sqrt.c: New file.
25720 * sysdeps/ia64/fpu/w_acos.c: Likewise.
25721 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
25722 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
25723 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
25724 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
25725 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
25726 * sysdeps/ia64/fpu/w_asin.c: Likewise.
25727 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
25728 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
25729 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
25730 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
25731 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
25732 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
25733 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
25734 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
25735 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
25736 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
25737 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
25738 * sysdeps/ia64/fpu/w_exp.c: Likewise.
25739 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
25740 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
25741 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
25742 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
25743 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
25744 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
25745 * sysdeps/ia64/fpu/w_expf.c: Likewise.
25746 * sysdeps/ia64/fpu/w_expl.c: Likewise.
25747 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
25748 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
25749 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
25750 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
25751 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
25752 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
25753 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
25754 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
25755 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
25756 * sysdeps/ia64/fpu/w_log.c: Likewise.
25757 * sysdeps/ia64/fpu/w_log10.c: Likewise.
25758 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
25759 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
25760 * sysdeps/ia64/fpu/w_log2.c: Likewise.
25761 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
25762 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
25763 * sysdeps/ia64/fpu/w_logf.c: Likewise.
25764 * sysdeps/ia64/fpu/w_logl.c: Likewise.
25765 * sysdeps/ia64/fpu/w_pow.c: Likewise.
25766 * sysdeps/ia64/fpu/w_powf.c: Likewise.
25767 * sysdeps/ia64/fpu/w_powl.c: Likewise.
25768 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
25769 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
25770 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
25771 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
25772 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
25773 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
25774 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
25775 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
25776 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
25777 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
25778 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
25779 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
25780 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
25781 [LIBM_SVID_COMPAT].
25782 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
25783 * sysdeps/ieee754/k_standard.c: Likewise.
25784 * sysdeps/ieee754/k_standardf.c: Likewise.
25785 * sysdeps/ieee754/k_standardl.c: Likewise.
25786 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
25787 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
25788 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
25789 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
25790 long_double_symbol call on [LIBM_SVID_COMPAT].
25791 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
25792 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
25793 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
25794 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
25795 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
25796 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
25797 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
25798 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
25799 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
25800 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
25801 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
25802 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
25803 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
25804 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
25805 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
25806 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
25807 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
25808 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
25809 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
25810 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
25811 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
25812 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
25813
05b38d64
SE
258142017-09-05 Steve Ellcey <sellcey@cavium.com>
25815
25816 * include/shlib-compat.h (TEST_COMPAT): New Macro.
25817 * malloc/tst-mallocstate.c: Convert from test-skeleton
25818 to test-driver. Ifdef code using TEST_COMPAT macro.
25819 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
25820 * math/test-matherr.c: Likewise.
25821
99d67918
JM
258222017-09-05 Joseph Myers <joseph@codesourcery.com>
25823
25824 [BZ #22086]
25825 * debug/pcprofiledump.c (main): Use byte-swapped mask when
25826 comparing word with byte-swapped constant.
25827
c207f7ce 258282017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
3f802aeb
MF
25829
25830 [BZ #20498]
25831 * locale/iso-639.def: add Miskito.
25832 * localedata/SUPPORTED: Add miq_NI/UTF-8.
25833 * localedata/locales/miq_NI: New file.
25834
0a587a8a
L
258352017-09-04 H.J. Lu <hongjiu.lu@intel.com>
25836
25837 [BZ #18822]
25838 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
25839 (__mkdir): Likewise.
25840 * io/chmod.c (__chmod): Add libc_hidden_def.
25841 * io/mkdir.c (__mkdir): Likewise.
25842 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
25843 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
25844 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
25845 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
25846
f3a129b8
JM
258472017-09-04 Joseph Myers <joseph@codesourcery.com>
25848
1650e192
JM
25849 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
25850 version to 4.13.
25851
f3a129b8
JM
25852 [BZ #22082]
25853 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
25854 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
25855
b38042f5
FW
258562017-09-04 Florian Weimer <fweimer@redhat.com>
25857
25858 * math/math.h: Issue warning if log is defined.
25859
059b6404
JM
258602017-09-04 Joseph Myers <joseph@codesourcery.com>
25861
25862 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
25863 kernel version to 4.13.
25864
b794e16b
ST
258652017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
25866
25867 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
06cf9d31
ST
25868 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
25869 parameter.
01969395
ST
25870 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
25871 just <bits/types.h>.
dd2b31de 25872 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
ed95bf56 25873 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
dd2b31de 25874 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
ed95bf56 25875 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
2263ca7c
ST
25876 * misc/preadv2.c: Include <errno.h>.
25877 * misc/preadv64v2.c: Include <errno.h>.
25878 * misc/pwritev2.c: Include <errno.h>.
25879 * misc/pwritev64v2.c: Include <errno.h>.
25880 * sysdeps/posix/preadv2.c: Include <errno.h>.
25881 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
25882 Fix <unistd.h> inclusion.
25883 * sysdeps/posix/pwritev2.c: Include <errno.h>.
25884 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
cae3d712
ST
25885 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
25886 __strtoul_internal): New functions.
127e7773
ST
25887 * sysdeps/posix/pause.c: Include <sigsetops.h>.
25888 * sysdeps/posix/system.c: Include <sigsetops.h>.
f85958a7
ST
25889 * sysdeps/mach/hurd/i386/Makefile
25890 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
25891 [$(subdir) = csu] (sysdep-only-routines): Likewise.
25892 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1946d950
ST
25893 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
25894 __feraiseexcept_renamed to feraiseexcept instead of
25895 __GI_feraiseexcept.
56bf5497 25896 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
2ce1f9ef 25897 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
492cbbed
ST
25898 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
25899 RWF_NOWAIT): Define to 0 if undefined already.
25900 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
25901 boils down to 0.
6547ec0a
ST
25902 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
25903 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
b794e16b 25904
5a80d39d
JM
259052017-09-01 Joseph Myers <joseph@codesourcery.com>
25906
25907 * manual/math.texi (pow10): Do not document.
25908 (pow10f): Likewise.
25909 (pow10l): Likewise.
25910 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
25911 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
25912 * math/libm-test-exp10.inc (pow10_test): Remove.
25913 (do_test): Do not call pow10.
25914 * math/w_exp10_compat.c (pow10): Make into compat symbol.
25915 [NO_LONG_DOUBLE] (pow10l): Likewise.
25916 * math/w_exp10f_compat.c (pow10f): Likewise.
25917 * math/w_exp10l_compat.c (pow10l): Likewise.
25918 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
25919 (pow10): Make into compat symbol.
25920 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
25921 (pow10f): Make into compat symbol.
25922 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
25923 (pow10l): Make into compat symbol.
25924 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
25925 pow10.
25926 (CFLAGS-nldbl-pow10.c): Remove variable..
25927 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
25928 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
25929 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
25930 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
25931 Undefine and redefine.
25932 (pow10l): Make into compat symbol.
25933 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
25934 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
25935 * sysdeps/arm/libm-test-ulps: Likewise.
25936 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
25937 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25938 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25939 * sysdeps/microblaze/libm-test-ulps: Likewise.
25940 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
25941 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25942 * sysdeps/nios2/libm-test-ulps: Likewise.
25943 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25944 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
25945 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25946 * sysdeps/sh/libm-test-ulps: Likewise.
25947 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25948 * sysdeps/tile/libm-test-ulps: Likewise.
25949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25950
3824fc38
PP
259512017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
25952
25953 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
25954
b3008279
L
259552017-09-01 H.J. Lu <hongjiu.lu@intel.com>
25956
25957 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
25958 "../ChangeLog.old/ChangeLog.8".
25959 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
25960 "../ChangeLog.old/ChangeLog.14".
25961
136fa185
L
259622017-09-01 H.J. Lu <hongjiu.lu@intel.com>
25963
25964 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
25965 Threads Library.
25966
c18d50a2
JM
259672017-09-01 Joseph Myers <joseph@codesourcery.com>
25968
25969 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
25970
bedbd859
L
259712017-09-01 H.J. Lu <hongjiu.lu@intel.com>
25972
25973 * csu/version.c (banner): Remove "by Roland McGrath et al.".
25974 * nptl/Banner: Remove "by Ulrich Drepper et al.".
25975
50c66c7a
PP
259762017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
25977
25978 * stdlib/tst-atexit-common.c (do_test): Test support for at least
25979 32 atexit handlers.
25980
a617bd11
ZW
259812017-09-01 Zack Weinberg <zackw@panix.com>
25982
25983 * math/math.h (HUGE_VAL): Improve commentary.
25984
e0d2eb5a
AZ
259852017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25986 Andreas Schwab <schwab@suse.de>
25987
25988 [BZ #21530]
25989 * include/stdio.h (__gen_tempfd): New function.
25990 * stdio-common/Makefile (routines): Add gentempfd.
25991 * stdio-common/gentempfd.c: New file.
25992 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
25993 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
25994 unnamed file first.
25995
f4a6be25
FW
259962017-09-01 Florian Weimer <fweimer@redhat.com>
25997
25998 [BZ #21915]
25999 [BZ #21922]
26000 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
26001 result to determine success or failure, not the errno value.
26002 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
26003 (tst-nss-files-hosts-erange): Link with -ldl.
26004 * nss/tst-nss-files-hosts-erange.c: New file.
26005 * nss/tst-resolv-basic.c (response): Handle nodata.example.
26006 (do_test): Add NO_DATA tests.
26007 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
26008 (do_test): Call it.
26009
5f8340f5
FW
260102017-09-01 Florian Weimer <fweimer@redhat.com>
26011
26012 [BZ #21922]
26013 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
26014 coming from gethostbyname2_r.
26015
65329bd2
FW
260162017-09-01 Florian Weimer <fweimer@redhat.com>
26017
26018 * support/namespace.h (struct support_chroot_configuration): Add
26019 hosts, host_conf.
26020 (struct support_chroot): Add path_hosts, path_host_conf.
26021 * support/support_chroot.c (write_file): New function.
26022 (support_chroot_create): Call it to process /etc/resolv.conf,
26023 /etc/hosts, /etc/host.conf.
26024 (support_chroot_free): Update.
26025
a2881ef0
FW
260262017-09-01 Florian Weimer <fweimer@redhat.com>
26027
26028 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
26029 status indicates it is set.
26030
ad816a5e
FW
260312017-09-01 Florian Weimer <fweimer@redhat.com>
26032
63b52889 26033 [BZ #20532]
ad816a5e
FW
26034 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
26035 function lookup failures more reliable.
26036
53250a21
FW
260372017-09-01 Florian Weimer <fweimer@redhat.com>
26038
26039 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
26040 (getcanonname): Likewise.
26041 (gaih_inet): Likewise.
26042
924b121c
FW
260432017-09-01 Florian Weimer <fweimer@redhat.com>
26044
26045 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
26046 (getcanonname): Likewise.
26047 (gaih_inet): Likewise.
26048
d9ff799a
SE
260492017-08-31 Steve Ellcey <sellcey@cavium.com>
26050 Richard Henderson <rth@twiddle.net>
26051
26052 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
26053 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
26054 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
26055 (IREG_SIZE, OREG_SIZE): New macros.
26056 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
26057 (IREG_SIZE, OREG_SIZE): New macros.
26058 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
26059 (IREG_SIZE): New macro.
26060 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
26061 (IREG_SIZE): New macro.
26062 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
26063 New includes.
26064 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
26065 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
26066 (__CONCATX): Handle exceptions correctly on large values that may
26067 set FE_INVALID.
26068 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
26069 Initialize if not already set.
26070 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
26071
102dde84
AZ
260722017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26073
26074 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
26075 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
26076 Likewise.
26077 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
26078 Likewise.
26079 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
26080 Likewise.
26081 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
26082 Likewise.
26083 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
26084 Likewise.
26085 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
26086 Likewise.
26087 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
26088 Likewise.
26089 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
26090 (NO_CANCELLATION): Likewise.
26091 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
26092 Likewise.
26093 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
26094 Likewise.
26095 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
26096 Likewise.
26097 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
26098 (NO_CANCELLATION): Likewise.
26099 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
26100 (NO_CANCELLATION): Likewise.
26101 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
26102 Likewise
26103 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
26104 Likewise.
26105 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
26106 Likewise.
26107 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
26108 Likewise.
26109 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
26110 hidden prototype.
26111 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
26112 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
26113
9eee633b
SE
261142017-08-31 Steve Ellcey <sellcey@cavium.com>
26115
26116 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
26117 in resolver call.
26118
65284eb7
FW
261192017-08-31 Florian Weimer <fweimer@redhat.com>
26120
26121 * include/libc-symbols.h (internal_function): Remove.
26122
41ad5ca6
FW
261232017-08-31 Florian Weimer <fweimer@redhat.com>
26124
26125 * stdlib/fmtmsg.c (internal_addseverity): Remove
26126 internal_function.
26127
2fa6d086
FW
261282017-08-31 Florian Weimer <fweimer@redhat.com>
26129
26130 * stdio-common/printf_fp.c (group_number): Remove
26131 internal_function.
26132 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
26133
b41bd5bc
FW
261342017-08-31 Florian Weimer <fweimer@redhat.com>
26135
26136 * posix/fnmatch.c (internal_function): Remove definition.
26137 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
26138 * posix/regcomp.c (peek_token, init_word_char)
26139 (duplicate_node_closure, fetch_token, peek_token)
26140 (peek_token_bracket, build_range_exp, build_collating_symbol):
26141 Likewise.
26142 * posix/regex_internal.c (re_string_construct_common)
26143 (create_ci_newstate, create_cd_newstate, re_string_allocate)
26144 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
26145 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
26146 (re_string_translate_buffer, re_string_reconstruct)
26147 (re_string_peek_byte_case, re_string_fetch_byte_case)
26148 (re_string_destruct, re_string_context_at, re_node_set_alloc)
26149 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
26150 (re_node_set_add_intersect, re_node_set_init_union)
26151 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
26152 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
26153 (re_dfa_add_node, calc_state_hash, re_acquire_state)
26154 (re_acquire_state_context): Likewise.
26155 * posix/regex_internal.h (internal_function): Remove definition.
26156 (re_string_realloc_buffers, build_wcs_buffer)
26157 (build_wcs_upper_buffer, build_upper_buffer)
26158 (re_string_translate_buffer, re_string_context_at)
26159 (re_string_char_size_at, re_string_wchar_at)
26160 (re_string_elem_size_at): Likewise.
26161 * posix/regexec.c (match_ctx_init, match_ctx_clean)
26162 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
26163 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
26164 (re_search_internal, re_search_2_stub, re_search_stub)
26165 (re_copy_regs, prune_impossible_nodes, check_matching)
26166 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
26167 (free_fail_stack_return, sift_states_iter_mb)
26168 (sift_states_backward, build_sifted_states)
26169 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
26170 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
26171 (check_subexp_limits, sift_states_bkref, merge_state_array)
26172 (find_recover_state, transit_state, merge_state_with_log)
26173 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
26174 (transit_state_mb, transit_state_bkref, get_subexp)
26175 (get_subexp_sub, find_subexp_node, check_arrival)
26176 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
26177 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
26178 (check_node_accept_bytes, find_collation_sequence_value)
26179 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
26180 (acquire_init_state_context, check_halt_node_context)
26181 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
26182 (sub_epsilon_src_nodes): Likewise.
26183 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
26184 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
26185 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
26186 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
26187 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
26188 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
26189 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
26190 * sysdeps/posix/ttyname.c (getttyname): Likewise.
26191 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
26192 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
26193 (PREADV): Likewise.
26194 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
26195 (PREADV): Likewise.
26196 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
26197 (PWRITEV): Likewise.
26198 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
26199 (PWRITEV): Likewise.
26200 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
26201 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
26202
83b09837
FW
262032017-08-31 Florian Weimer <fweimer@redhat.com>
26204
26205 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
26206 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
26207 Remove internal_function.
26208 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
26209 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
26210 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
26211 (__deallocate_stack, __libc_pthread_init)
26212 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
26213 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
26214 (__libc_disable_asynccancel, __librt_disable_asynccancel):
26215 Likewise.
26216 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
26217 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
26218 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
26219 Likewise.
26220 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
26221 (__pthread_mutex_unlock_usercnt): Likewise.
26222
116ac301
FW
262232017-08-31 Florian Weimer <fweimer@redhat.com>
26224
26225 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
26226 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
26227 (fts_safe_changedir): Remove internal_function.
26228 * io/ftw.c (internal_function): Remove definition.
26229 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
26230
9da93bd7
FW
262312017-08-31 Florian Weimer <fweimer@redhat.com>
26232
26233 * inet/deadline.c (__deadline_current_time)
26234 (__deadline_from_timeval, __deadline_to_ms): Remove
26235 internal_function.
26236 * inet/getnameinfo.c (nrl_domainname): Likewise.
26237 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
26238 * inet/inet6_option.c (add_pad): Likewise.
26239 * inet/net-internal.h (__deadline_current_time)
26240 (__deadline_from_timeval, __deadline_to_ms): Likewise.
26241 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
26242 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
26243 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
26244
a60eca2e
JM
262452017-08-31 Joseph Myers <joseph@codesourcery.com>
26246
c0c49d60
JM
26247 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
26248 include <bits/nan.h>.
26249 * math/Makefile (headers): Remove bits/nan.h.
26250 * bits/nan.h: Remove.
26251 * sysdeps/ieee754/bits/nan.h: Likewise.
26252 * sysdeps/mips/bits/nan.h: Likewise.
26253
5ef1b213
JM
26254 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
26255 not include <bits/inf.h>.
26256 * math/Makefile (headers): Remove bits/inf.h.
26257 * bits/inf.h: Remove.
26258 * sysdeps/ieee754/bits/inf.h: Likewise.
26259
a60eca2e
JM
26260 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
26261 bits/huge_vall.h or bits/huge_val_flt128.h.
26262 (HUGE_VAL): Define directly here.
26263 [__USE_ISOC99] (HUGE_VALF): Likewise.
26264 [__USE_ISOC99] (HUGE_VALL): Likewise.
26265 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26266 (HUGE_VAL_F128): Likewise.
26267 * math/Makefile (headers): Remove bits/huge_val.h,
26268 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
26269 * bits/huge_val.h: Remove.
26270 * bits/huge_val_flt128.h: Likewise.
26271 * bits/huge_valf.h: Likewise.
26272 * bits/huge_vall.h: Likewise.
26273 * sysdeps/ia64/bits/huge_vall.h: Likewise.
26274 * sysdeps/ieee754/bits/huge_val.h: Likewise.
26275 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
26276 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
26277 * sysdeps/sh/bits/huge_val.h: Likewise.
26278 * sysdeps/sparc/bits/huge_vall.h: Likewise.
26279 * sysdeps/x86/bits/huge_vall.h: Likewise.
26280
17e00cc6
FW
262812017-08-31 Florian Weimer <fweimer@redhat.com>
26282
26283 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
26284 internal_function.
26285 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
26286 Likewise.
26287 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
26288 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
26289 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
26290 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
26291 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26292 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
26293 * elf/dl-libc.c (dlerror_run): Likewise.
26294 * elf/dl-load.c (add_name_to_object, decompose_rpath)
26295 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
26296 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
26297 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
26298 Likewise.
26299 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
26300 (_dl_higher_prime_number, _dl_strtoul): Likewise.
26301 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
26302 * elf/dl-profile.c (_dl_start_profile): Likewise.
26303 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
26304 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
26305 Likewise.
26306 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
26307 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
26308 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
26309 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
26310 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
26311 (_dl_allocate_tls_storage): Likewise.
26312 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
26313 (_dl_check_all_versions): Likewise.
26314 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
26315 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
26316 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
26317 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
26318 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
26319 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
26320 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
26321 internal_function from __dl_start.
26322 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
26323 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
26324 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
26325 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
26326 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
26327 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
26328 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
26329 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
26330 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
26331 (_dl_next_ld_env_entry, _dl_important_hwcaps)
26332 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
26333 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
26334 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
26335 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
26336 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
26337 Likewise.
26338 (struct rtld_global_ro): Remove internal_function from the
26339 _dl_lookup_symbol_x member.
26340 (_dl_symbol_value): Remove. No longer defined anywhere.
26341 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
26342 internal_function.
26343 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
26344 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
26345 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
26346 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
26347 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
26348 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
26349 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
26350 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
26351 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
26352 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
26353 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
26354 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
26355
8d2f9410
FW
263562017-08-31 Florian Weimer <fweimer@redhat.com>
26357
26358 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
26359 Remove internal_function.
26360 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
26361 Likewise.
26362 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
26363 Likewise.
26364
86e4919f
FW
263652017-08-31 Florian Weimer <fweimer@redhat.com>
26366
26367 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
26368 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
26369 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
26370
59bd52b0
FW
263712017-08-31 Florian Weimer <fweimer@redhat.com>
26372
26373 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
26374 (__gai_enqueue_request): Remove internal_function.
26375 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
26376 (__gai_remove_request, __gai_notify, __gai_notify_only)
26377 (__gai_sigqueue): Likewise.
26378 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
26379 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
26380 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
26381 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
26382 Likewise.
26383
fc3d9497
FW
263842017-08-31 Florian Weimer <fweimer@redhat.com>
26385
26386 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
26387 * include/dirent.h (__opendirat, __getdents, __getdents64)
26388 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
26389 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
26390 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
26391 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
26392 Likewise.
26393 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
26394
18c54fac
FW
263952017-08-31 Florian Weimer <fweimer@redhat.com>
26396
26397 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
26398 internal_function.
26399 (GETCWD_RETURN_TYPE): Likewise.
26400
7e01f080
FW
264012017-08-31 Florian Weimer <fweimer@redhat.com>
26402
26403 * include/time.h (__tz_compute, __strptime_internal): Remove
26404 internal_function.
26405 * time/strptime_l.c (__strptime_internal): Likewise.
26406 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
26407
d7ccc6c9
FW
264082017-08-31 Florian Weimer <fweimer@redhat.com>
26409
26410 * iconv/gconv.c (__gconv): Remove internal_function.
26411 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
26412 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
26413 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
26414 (__gconv_release_cache): Likewise.
26415 * iconv/gconv_close.c (__gconv_close): Likewise.
26416 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
26417 (read_conf_file, __gconv_get_path): Likewise.
26418 * iconv/gconv_db.c (derivation_lookup, add_derivation)
26419 (__gconv_release_step, gen_steps, increment_counter)
26420 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
26421 (__gconv_close_transform, free_modules_db): Likewise.
26422 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
26423 Likewise.
26424 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
26425 (__gconv_find_transform, __gconv_lookup_cache)
26426 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
26427 (__gconv_close_transform, __gconv_release_cache)
26428 (__gconv_loaded_object, __gconv_release_shlib)
26429 (__gconv_compare_alias): Likewise.
26430 * iconv/gconv_open.c (__gconv_open): Likewise.
26431 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
26432 * iconv/iconvconfig.c (add_module): Likewise.
26433 * intl/dcigettext.c (plural_lookup, guess_category_value)
26434 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
26435 * intl/eval-plural.h (plural_eval): Likewise.
26436 * intl/finddomain.c (_nl_find_domain): Likewise.
26437 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
26438 (_nl_load_domain, _nl_find_msg): Likewise.
26439 (internal_function): Remove definition.
26440 * intl/loadinfo.h (internal_function): Likewise.
26441 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
26442 internal_function.
26443 * intl/localealias.c (internal_function): Remove definition.
26444 (read_alias_file): Remove internal_function.
26445 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
26446 * intl/plural-exp.h (internal_function): Remove definition.
26447 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
26448 internal_function.
26449 * intl/plural.c: Regenerate.
26450 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
26451 * locale/coll-lookup.c (__collidx_table_lookup)
26452 (__collseq_table_lookup): Likewise.
26453 * locale/coll-lookup.h (__collidx_table_lookup)
26454 (__collseq_table_lookup): Likewise.
26455 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
26456 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
26457 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
26458 (_nl_unload_locale): Likewise.
26459 * locale/localeinfo.h (struct __locale_data): Remove
26460 internal_function from cleanup member.
26461 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
26462 (_nl_remove_locale, _nl_load_locale_from_archive)
26463 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
26464 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
26465 (_nl_cleanup_time): Remove internal_function.
26466 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
26467 (_nl_parse_alt_digit): Likewise.
26468 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
26469 (_nl_select_era_entry): Likewise.
26470 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
26471 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
26472 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
7e01f080
FW
26473 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
26474 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
d7ccc6c9 26475
dab0eece
FW
264762017-08-31 Florian Weimer <fweimer@redhat.com>
26477
26478 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
26479 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
26480 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
26481 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
26482 Likewise.
26483 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
26484 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
26485 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
26486 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
26487 Likewise.
26488 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
26489
ab5bf7cf
FW
264902017-08-31 Florian Weimer <fweimer@redhat.com>
26491
26492 * misc/getttyent.c (skip, value): Remove internal_function.
26493 * misc/syslog.c (openlog_internal): Likewise.
26494 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
26495
75b3047e
FW
264962017-08-31 Florian Weimer <fweimer@redhat.com>
26497
26498 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
26499 (__nss_rewrite_field): Remove internal_function.
26500 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
26501 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
26502 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
26503 * nss/nsswitch.c (nss_parse_file, nss_getline)
26504 (nss_parse_service_list, nss_new_service): Likewise.
26505 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
26506 * nss/valid_field.c (__nss_valid_field): Likewise.
26507 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
26508
0c71122c
FW
265092017-08-31 Florian Weimer <fweimer@redhat.com>
26510
26511 * malloc/arena.c (__malloc_fork_lock_parent)
26512 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
26513 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
26514 internal_function from defintions.
26515 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
26516 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
26517 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
26518 internal_function from declarations.
26519 * malloc/malloc.c (internal_function): Do not define.
26520 (mem2mem_check): Remove internal_function from declaration.
26521 (munmap_chunk, mremap_chunk): Remove internal_function.
26522 * malloc/mtrace.c (tr_where): Likewise.
26523
ca4ec803
FW
265242017-08-31 Florian Weimer <fweimer@redhat.com>
26525
26526 * include/rpc/pmap_clnt.h (__get_socket): Remove
26527 internal_function.
26528 * sunrpc/auth_des.c (synchronize): Likewise.
26529 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
26530 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
26531 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
26532 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
26533 (key_call): Likewise.
26534 * sunrpc/pm_getport.c (__get_socket): Likewise.
26535 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
26536 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
26537 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
26538 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
26539 (invalidate): Likewise.
26540 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
26541 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
26542 (set_input_fragment, get_input_bytes): Likewise.
26543
24cffce7
FW
265442017-08-31 Florian Weimer <fweimer@redhat.com>
26545
26546 * malloc/malloc.c (_int_free): Remove locked variable and related
26547 asserts.
26548
ecd0747d
L
265492017-08-31 H.J. Lu <hongjiu.lu@intel.com>
26550
26551 [BZ #22051]
26552 * Makerules (build-module-helper-objlist): Filter out
26553 $(elf-objpfx)sofini.os.
26554 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
26555 needed.
26556
5f0704b6
FW
265572017-08-31 Florian Weimer <fweimer@redhat.com>
26558
26559 * libio/fcloseall.c: Assume weak_alias is defined.
26560 * libio/feof.c: Likewise.
26561 * libio/fileno.c: Likewise.
26562 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
26563 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
26564 definitions.
26565 (_IO_file_open): Call __open directly.
26566 (_IO_new_file_sync): Assume ESPIPE is defined.
26567 (_IO_file_seekoff_maybe_mmap): Call __read directly.
26568 (_IO_new_file_write): Call __write directly.
26569 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
26570 * libio/ftello64.c (__ftello64): Assume EIO is defined.
26571 * libio/genops.c: Assume _LIBC is defined.
26572 (save_for_backup): Remove internal_function.
26573 * libio/getc.c: Assume weak_alias is defined.
26574 * libio/getwc.c: Likewise.
26575 * libio/iofclose.c: Assume _LIBC is defined.
26576 * libio/iofdopen.c: Likewise.
26577 (_IO_fcntl): Remove macro definition.
26578 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
26579 Call __fcntl directly.
26580 * libio/iofflush.c: Assume weak_alias is defined.
26581 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
26582 defined.
26583 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
26584 * libio/iofgets.c: Likewise.
26585 * libio/iofopen.c: Assume _LIBC is defined.
26586 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
26587 * libio/iofputs.c: Assume weak_alias is defined.
26588 * libio/iofread.c: Likewise.
26589 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
26590 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
26591 * libio/ioftell.c: Assume weak_alias is defined.
26592 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
26593 * libio/iofwide.c: Assume _LIBC is defined.
26594 (_IO_fwide): Drop SHARED conditional because it is implied by
26595 SHLIB_COMPAT.
26596 * libio/iofwrite.c: Assume weak_alias is defined.
26597 * libio/iogetdelim.c: Likewise.
26598 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
26599 * libio/iogetwline.c (wmemcpy): Remove macro definition.
26600 (_IO_getwline): Call __wmemcpy directly.
26601 * libio/iopopen.c: Assume _LIBC is defined.
26602 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
26603 (_IO_close): Remove macro definitions.
26604 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
26605 _exit directly.
26606 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
26607 directly.
26608 * libio/ioputs.c: Assume weak_alias is defined.
26609 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
26610 * libio/iosetbuffer.c: Assume weak_alias is defined.
26611 * libio/iosetvbuf.c: Likewise.
26612 * libio/ioungetc.c: Likewise.
26613 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
26614 libc_hidden_def, libc_hidden_weak, NULL are defined.
26615 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
26616 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
26617 defined.
26618 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
26619 definitions.
26620 (_IO_old_file_init_internal): Drop SHARED conditional because it
26621 is implied by SHLIB_COMPAT.
26622 (_IO_old_file_fopen): Call __open directly.
26623 (_IO_old_file_sync): Assume ESPIPE is defined.
26624 (_IO_old_file_write): Call __write directly.
26625 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
26626 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
26627 Call __fcntl directly.
26628 * libio/oldiofgetpos.c: Assume weak_alias is defined.
26629 (_IO_old_fgetpos): Assume EIO is defined.
26630 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
26631 (_IO_old_fgetpos64): Assume EIO is defined.
26632 * libio/oldiofsetpos.c: Assume weak_alias is defined.
26633 (_IO_old_fsetpos): Assume EIO is defined.
26634 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
26635 (_IO_old_fsetpos64): Assume EIO is defined.
26636 * libio/oldiopopen.c: Assume _LIBC is defined.
26637 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
26638 (_IO_close): Remove macro definitions.
26639 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
26640 directly.
26641 (_IO_old_proc_close): Call __close, __waitpid directly.
26642 * libio/put.c: Assume weak_alias is defined.
26643 * libio/stdfiles.c: Assume _LIBC is defined.
26644 * libio/stdio.c: Likewise.
26645 * libio/wfileops.c: Likewise.
26646 (_IO_wfile_sync): Assume ESPIPE is defined.
26647 * libio/wgenops.c: Assume _LIBC is defined.
26648 (save_for_wbackup): Remove internal_function.
26649
5129873a
FW
266502017-08-31 Florian Weimer <fweimer@redhat.com>
26651
26652 * malloc/malloc.c (top_check): Change return type to void. Remove
26653 internal_function.
26654 * malloc/hooks.c (top_check): Likewise.
26655 (malloc_check, realloc_check, memalign_check): Adjust.
26656
4fa9b3bf
JM
266572017-08-30 Joseph Myers <joseph@codesourcery.com>
26658
26659 [BZ #21457]
26660 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
26661 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
26662 sigcontext and namespace requirements.
26663 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
26664 * sysdeps/m68k/sys/ucontext.h: Likewise.
26665 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
26666 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
26667 <bits/sigcontext.h>.
26668 (__ctx): Define earlier.
26669 (mcontext_t): Define structure contents rather than using struct
26670 sigcontext.
26671 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
26672 __glibc_reserved1 instead of __reserved.
26673 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
26674 <bits/sigcontext.h>.
26675 (__ctx): Define earlier.
26676 (mcontext_t): Define structure contents rather than using struct
26677 sigcontext.
26678 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
26679 mcontext_t instead of struct sigcontext.
26680 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
26681 <bits/sigcontext.h>.
26682 (__ctx): Define earlier.
26683 (mcontext_t): Define structure contents rather than using struct
26684 sigcontext.
26685 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
26686 <bits/sigcontext.h>.
26687 (__ctx): Define earlier.
26688 (mcontext_t): Define structure contents rather than using struct
26689 sigcontext.
26690 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
26691 mcontext_t instead of struct sigcontext.
26692 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
26693 mcontext_t instead of struct sigcontext.
26694 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
26695 <bits/sigcontext.h>.
26696 (__ctx): New macro.
26697 (struct __ia64_fpreg_mcontext): New type.
26698 (mcontext_t): Define structure contents rather than using struct
26699 sigcontext.
26700 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
26701 (uc_sigmask): Define using __ctx.
26702 (uc_stack): Likewise.
26703 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
26704 <bits/sigcontext.h>.
26705 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
26706 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
26707 <bits/sigcontext.h>.
26708 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
26709 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
26710 <bits/sigcontext.h>.
26711 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
26712 <bits/sigcontext.h>.
26713 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
26714 <bits/sigcontext.h>.
26715 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
26716 <bits/sigcontext.h>.
26717 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
26718 <bits/sigcontext.h>.
26719 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
26720 <bits/sigcontext.h>.
26721 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
26722 <bits/sigcontext.h>.
26723 (__ctx): Define earlier.
26724 (mcontext_t): Define structure contents rather than using struct
26725 sigcontext.
26726 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
26727 <bits/sigcontext.h>. Include <bits/types.h>.
26728 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
26729 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
26730 (test-xfail-XPG42/ucontext.h/conform): Likewise.
26731 (test-xfail-UNIX98/signal.h/conform): Likewise.
26732 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
26733 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
26734 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
26735 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
26736 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
26737 (test-xfail-POSIX2008/signal.h/conform): Likewise.
26738 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
26739 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
26740 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
26741
5898f454
FW
267422017-08-30 Florian Weimer <fweimer@redhat.com>
26743
26744 * malloc/dynarray_emplace_enlarge.c
26745 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
26746 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
26747 * malloc/tst-dynarray.c (test_long_overflow): New function.
26748 (do_test): Call it.
26749
a9da0bb2
FW
267502017-08-30 Florian Weimer <fweimer@redhat.com>
26751
26752 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
26753 (set_arena_corrupt): Remove definitions.
26754 (mtrim): Do not check for corrupt arena.
26755 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
26756 Likewise.
26757
ac3ed168
FW
267582017-08-30 Florian Weimer <fweimer@redhat.com>
26759
26760 [BZ #21754]
26761 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
26762 check_action.
26763 (ptmalloc_init): Do not set or use check_action.
26764 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
26765 call to malloc_printerr. Remove return statement.
26766 (free_check): Likewise. Remove arena unlock.
26767 (top_check): Update comment. Adjust call to malloc_printerr.
26768 Remove heap repair code.
26769 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
26770 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
26771 (sysmalloc): Adjust call to malloc_printerr.
26772 (munmap_chunk, __libc_realloc): Likewise. Remove return
26773 statement.
26774 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
26775 Remove errout label and corresponding gotos.
26776 (_int_free): Likewise. Remove arena unlock.
26777 (do_set_mallopt_check): Do not set check_action.
26778 (malloc_printerr): Adjust parameter list. Do not mark arena as
26779 corrupt.
26780 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
26781 comment.
26782 * manual/probes.texi (Memory Allocation Probes): Remove
26783 memory_mallopt_check_action.
26784
44bcba80
SE
267852017-08-30 Steve Ellcey <sellcey@cavium.com>
26786
26787 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
26788 Use pointer to uint64_t instead of long int for sp.
26789
ec2c1fce
FW
267902017-08-30 Florian Weimer <fweimer@redhat.com>
26791
26792 [BZ #21754]
26793 * malloc/malloc.c (malloc_printerr): Always terminate the process,
26794 without printing a backtrace. Do not leak any information in the
26795 error message.
26796 * manual/memory.texi (Heap Consistency Checking): Update.
26797 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
26798
9ce673b6
FW
267992017-08-30 Florian Weimer <fweimer@redhat.com>
26800
26801 Do not scale NPTL tests with available number of CPUs.
26802 * nptl/tst-cond16.c (count): Set to constant value of 8.
26803 * nptl/tst-cond18.c (count): Likewise.
26804
2f1aef19
JM
268052017-08-29 Joseph Myers <joseph@codesourcery.com>
26806
26807 [BZ #22035]
26808 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
26809 Define to take a second argument that is a macro that
26810 concatentates a suffix, not the suffix itself.
26811 (__CONCAT_d): New macro.
26812 (__CONCAT_f): Likewise.
26813 (__CONCAT_l): Likewise.
26814
8325b477
PP
268152017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
26816
26817 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
26818 by child.
26819
319cbbf6
AZ
268202017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26821 Aurelien Jarno <aurelien@aurel32.net>
26822 Maciej W. Rozycki <macro@imgtec.com>
26823
26824 [BZ #21956]
26825 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
26826 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
26827 `mips16-syscall6' and `mips16-syscall7'.
26828 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
26829 (CFLAGS-mips16-syscall7.c): Remove.
26830 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
26831 Remove `__mips16_syscall5', `__mips16_syscall6' and
26832 `__mips16_syscall7'.
26833 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
26834 (__mips16_syscall0): Rename `__mips16_syscall_return' to
26835 `__mips_syscall_return'.
26836 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
26837 (__mips16_syscall1): Likewise.
26838 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
26839 (__mips16_syscall2): Likewise.
26840 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
26841 (__mips16_syscall3): Likewise.
26842 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
26843 (__mips16_syscall4): Likewise.
26844 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
26845 Remove.
26846 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
26847 Remove.
26848 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
26849 Remove.
26850 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
26851 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
26852 `__mips16_syscall5'. Remove prototype.
26853 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
26854 `__mips16_syscall6'. Remove prototype.
26855 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
26856 `__mips16_syscall7'. Remove prototype.
26857 (__nomips16, __mips16_syscall_return): Move to...
26858 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
26859 (__nomips16, __mips_syscall_return): ... here.
26860 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
26861 `__mips16_syscall_return' to `__mips_syscall_return'.
26862 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
26863 `internal_syscall##nr'.
26864 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
26865 `internal_syscall##nr'.
26866 (FORCE_FRAME_POINTER): Remove.
26867 (__mips_syscall5): New prototype.
26868 (internal_syscall5): Rewrite to call `__mips_syscall5'.
26869 (__mips_syscall6): New prototype.
26870 (internal_syscall6): Rewrite to call `__mips_syscall6'.
26871 (__mips_syscall7): New prototype.
26872 (internal_syscall7): Rewrite to call `__mips_syscall7'.
26873 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
26874 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
26875 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
26876 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
26877 (sysdep_routines): Add libc-do-syscall.
26878 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
26879 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
26880
01b87c65
AZ
268812017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26882
26883 [BZ #21672]
26884 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
26885 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
26886 (advise_stack_range): New function.
26887 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
26888 stack non required to advise_stack_range at allocatestack.c
26889
16f138a4
SN
268902017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
26891
26892 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
26893
251bccfa
FW
268942017-08-29 Florian Weimer <fweimer@redhat.com>
26895
26896 [BZ #22026]
26897 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
26898 __end_fct. Mangle __end_fct after setting it to NULL.
26899 * iconv/Makefile (tests): Add tst-gconv-init-failure.
26900 (modules-names, modules-names-tests): Add
26901 tst-gconv-init-failure-mod.
26902 (gconv-modules): New target.
26903 (tst-gconv-init-failure-mod.so): Link against libsupport.
26904 (tst-gconv-init-failure): Depend on gconv-modules,
26905 tst-gconv-init-failure-mod.so.
26906 * iconv/tst-gconv-init-failure-mod.c: New file.
26907 * iconv/tst-gconv-init-failure.c: Likewise.
26908 * iconv/test-gconv-modules: Likewise.
26909
e7c18b9d
FW
269102017-08-29 Florian Weimer <fweimer@redhat.com>
26911
26912 [BZ #22025]
26913 * iconv/gconv_db.c (free_derivation): Remove redundant
26914 parentheses.
26915 (gen_steps): Unconditionally mangle __btowc_fct after
26916 initialization.
26917 (increment_counter): Likewise. Do not call init_fct for internal
26918 modules.
26919
7daada03
JM
269202017-08-29 Joseph Myers <joseph@codesourcery.com>
26921
26922 [BZ #22028]
26923 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
26924 (_MSUF_): Remove macro.
26925 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
26926 Likewise.
26927 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
26928 (__REDIRFROM_X): New macro.
26929 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
26930 Likewise.
26931 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
26932 (__REDIRTO_X): Likewise.
26933 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
26934 arguments.
26935 (__MATH_REDIRCALL_2): Likewise.
26936 (__MATH_REDIRCALL_INTERNAL): Likewise.
26937 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
26938 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
26939 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
26940 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
26941 * math/test-finite-macros.c: New file.
26942 * math/Makefile (tests): Add test-finite-macros.
26943 (CFLAGS-test-finite-macros.c): New variable.
26944
1cf1232c
PF
269452017-08-29 Patsy Franklin <pfrankli@redhat.com>
26946 Jeff Law <law@redhat.com>
26947
26948 [BZ #22025]
26949 Mangle NULL pointers in iconv/gconv.
26950 * iconv/gconv_cache.c (find_module): Demangle init_fct before
26951 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
26952 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
26953 is non-NULL before demangling the end_fct. Check for NULL
26954 end_fct after demangling.
26955 (__gconv_release_step): Demangle the end_fct before checking
26956 it for NULL. Remove assert on __shlibc_handle != NULL.
26957 (gen_steps): Don't check btowc_fct for NULL before mangling.
26958 Demangle init_fct before checking for NULL.
26959 (increment_counter): Likewise.
26960 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
26961 end_fct for NULL before mangling.
26962 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
26963 for NULL.
26964
c207f7ce 269652017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
f8de9568
AK
26966
26967 [BZ #21971]
26968 * locale/iso-639.def: add Morisyen.
26969
42496114
GG
269702017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
26971
26972 [BZ #21930]
26973 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
26974 (iszero): New C++ implementation that does not use
26975 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
26976 signaling nans are enabled, since __builtin_types_compatible_p
26977 is a C-only feature.
26978 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
26979 defined, include ieee754_float128.h for access to the union and
26980 member ieee854_float128.ieee.
26981 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
26982 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
26983 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
26984 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
26985 options of test-math-zero on powerpc64le.
26986
5e2bc4ff
L
269872017-08-28 H.J. Lu <hongjiu.lu@intel.com>
26988
26989 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
26990 Change double to float.
26991
a48c0fb4
JM
269922017-08-28 Joseph Myers <joseph@codesourcery.com>
26993
26994 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
26995 unconditional.
26996 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
26997 conditional code; define contents only for [LIBM_SVID_COMPAT].
26998
ee17d4e9
FW
269992017-08-28 Florian Weimer <fweimer@redhat.com>
27000
27001 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
27002 (abi-lp64_be-options): Remove.
27003 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
27004 (abi-hard-options): Likewise.
27005 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
27006 (abi-o32_hard-options, abi-o32_soft_2008-options)
27007 (abi-o32_hard_2008-options, abi-n32_soft-options)
27008 (abi-n32_hard-options, abi-n32_soft_2008-options)
27009 (abi-n32_hard_2008-options, abi-n64_soft-options)
27010 (abi-n64_hard-options, abi-n64_soft_2008-options)
27011 (abi-n64_hard_2008-options): Likewise.
27012 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
27013 (abi-64-v1-options, abi-64-v2-options): Likewise.
27014 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
27015 (abi-64-options): Likewise.
27016 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
27017 (abi-64-options): Likewise.
27018 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
27019 (abi-64-options): Likewise.
27020 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
27021 (abi-64-options, abi-x32-options): Likewise.
27022
2dba5ce7
FW
270232017-08-28 Florian Weimer <fweimer@redhat.com>
27024
27025 Store supported list of SYS_* system calls in the source tree.
27026 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
27027 (bits/syscall.h): Generate from list file.
27028 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
27029 [$(subdir) = misc] (tests): Add tst-syscall-list.
27030 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
27031 [$(subdir) = misc] (tst-syscall-list-macros.list)
27032 [$(subdir) = misc] (tst-syscall-list-nr.list)
27033 (tst-syscall-list-sys.list): Helper targets for new
27034 tst-syscall-list test.
27035 [$(subdir) = misc] (tst-syscall-list.out): Run test script
27036 tst-syscall-list.sh.
27037 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
27038 target. Do not include bits/syscall.d.
27039 [$(subdir) = misc] (generated): Do not update.
27040 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
27041 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
27042 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
27043 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
27044
5f3b183d
PP
270452017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
27046
27047 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
27048 (tst-cxa_atexit, tst-on_exit): Likewise.
27049 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
27050 tst-cxa_atexit, and tst-on_exit.
27051 * stdlib/tst-atexit-common.c: New file.
27052 * stdlib/tst-atexit.c: New file.
27053 * stdlib/tst-at_quick_exit.c: New file.
27054 * stdlib/tst-cxa_atexit.c: New file.
27055 * stdlib/tst-on_exit.c: New file.
27056
2ef8d469
ST
270572017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
27058
27059 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
97e02ad2
ST
27060 * mach/stack_chk_fail_local.c: New file.
27061 * hurd/stack_chk_fail_local.c: New file.
27062 * mach/Machrules ($(interface-library)-routines): Add
27063 stack_chk_fail_local.
99ee4d26
ST
27064 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
27065 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
27066 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
27067 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
27068 * hurd/Makefile (CFLAGS-hurdstartup.o,
27069 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
2ef8d469 27070
7ab70c98
L
270712017-08-25 H.J. Lu <hongjiu.lu@intel.com>
27072
27073 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
27074 (index_cpu_*, index_arch_*): Removed.
27075
39e7a5a6
SN
270762017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
27077
27078 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
27079 Use uint64_t instead of unsigned long.
27080
bba5c930
JM
270812017-08-25 Joseph Myers <joseph@codesourcery.com>
27082
a6ccdb08
JM
27083 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
27084 [__HAVE_DISTINCT_FLOAT128].
27085
23761119
JM
27086 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
27087 of <bits/math-finite.h>.
27088 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
27089 inclusion of <bits/math-finite.h>.
27090 * math/bits/math-finite.h (__REDIRTO_X): Do not define
27091 conditionally on [__MATH_DECLARING_LDOUBLE && defined
27092 __NO_LONG_DOUBLE_MATH].
27093 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
27094 (__MATH_REDIRCALL_2): Likewise.
27095 (__MATH_REDIRCALL_INTERNAL): Likewise.
27096 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
27097 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
27098 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
27099
bba5c930
JM
27100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
27101 Remove file.
27102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
27103 Likewise.
27104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
27105 Likewise.
27106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
27107 Likewise.
27108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
27109 Likewise.
27110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
27111 Likewise.
27112 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
27113 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
27114 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
27115 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
27116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
27117 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
27118 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
27119 w_sqrtf_compat-ppc32.
27120
3d7b66f6
GG
271212017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
27122
27123 * math/math.h [defined __cplusplus] (issignaling): In the long
27124 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
27125 is not defined. Call __issignaling, otherwise.
27126
ebd6f007
AZ
271272017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27128
27129 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
27130 syscall definitions and replace __builtin_expect with __glibc_likely.
27131 * sysdeps/unix/syscall-template.S: Update comment about cancellable
27132 syscall.
27133 (SYSCALL_CANCELLABLE): Removedefinition
27134 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
27135 definition.
27136 (PSEUDO_END): Likewise.
27137 [IS_IN (libpthread)] (CENABLE): Likewise.
27138 [IS_IN (libpthread)] (CDISABLE): Likewise.
27139 [IS_IN (libc)] (CENABLE): Likewise.
27140 [IS_IN (libc)] (CENABLE): Likewise.
27141 [IS_IN (librt)] (CDISABLE): Likewise.
27142 [IS_IN (librt)] (CDISABLE): Likewise.
27143 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
27144 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
27145 definition.
27146 (PSEUDO_END): Likewise.
27147 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
27148 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
27149 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
27150 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
27151 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
27152 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
27153 (CENABLE): Likewise.
27154 (CDISABLE): Likewise.
27155 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
27156 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
27157 defintion.
27158 (PSEUDO_END): Likewise.
27159 [IS_IN (libpthread)] (CENABLE): Likewise.
27160 [IS_IN (libpthread)] (CDISABLE): Likewise.
27161 [IS_IN (libc)] (CENABLE): Likewise.
27162 [IS_IN (libc)] (CENABLE): Likewise.
27163 [IS_IN (librt)] (CDISABLE): Likewise.
27164 [IS_IN (librt)] (CDISABLE): Likewise.
27165 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
27166 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
27167 definition.
27168 (PSEUDO_END): Likewise.
27169 [IS_IN (libpthread)] (CENABLE): Likewise.
27170 [IS_IN (libpthread)] (CDISABLE): Likewise.
27171 [IS_IN (libc)] (CENABLE): Likewise.
27172 [IS_IN (libc)] (CENABLE): Likewise.
27173 [IS_IN (librt)] (CDISABLE): Likewise.
27174 [IS_IN (librt)] (CDISABLE): Likewise.
27175 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
27176 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
27177 definition.
27178 (PSEUDO_END): Likewise.
27179 [IS_IN (libpthread)] (CENABLE): Likewise.
27180 [IS_IN (libpthread)] (CDISABLE): Likewise.
27181 [IS_IN (libc)] (CENABLE): Likewise.
27182 [IS_IN (libc)] (CENABLE): Likewise.
27183 [IS_IN (librt)] (CDISABLE): Likewise.
27184 [IS_IN (librt)] (CDISABLE): Likewise.
27185 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
27186 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
27187 definition.
27188 (PSEUDO_END): Likewise.
27189 [IS_IN (libpthread)] (CENABLE): Likewise.
27190 [IS_IN (libpthread)] (CDISABLE): Likewise.
27191 [IS_IN (libc)] (CENABLE): Likewise.
27192 [IS_IN (libc)] (CENABLE): Likewise.
27193 [IS_IN (librt)] (CDISABLE): Likewise.
27194 [IS_IN (librt)] (CDISABLE): Likewise.
27195 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
27196 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
27197 definition.
27198 (PSEUDO_END): Likewise.
27199 [IS_IN (libpthread)] (CENABLE): Likewise.
27200 [IS_IN (libpthread)] (CDISABLE): Likewise.
27201 [IS_IN (libc)] (CENABLE): Likewise.
27202 [IS_IN (libc)] (CENABLE): Likewise.
27203 [IS_IN (librt)] (CDISABLE): Likewise.
27204 [IS_IN (librt)] (CDISABLE): Likewise.
27205 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
27206 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
27207 definition.
27208 (PSEUDO_END): Likewise.
27209 [IS_IN (libpthread)] (CENABLE): Likewise.
27210 [IS_IN (libpthread)] (CDISABLE): Likewise.
27211 [IS_IN (libc)] (CENABLE): Likewise.
27212 [IS_IN (libc)] (CENABLE): Likewise.
27213 [IS_IN (librt)] (CDISABLE): Likewise.
27214 [IS_IN (librt)] (CDISABLE): Likewise.
27215 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
27216 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
27217 Remove definition.
27218 (PSEUDO_END): Likewise.
27219 [IS_IN (libpthread)] (CENABLE): Likewise.
27220 [IS_IN (libpthread)] (CDISABLE): Likewise.
27221 [IS_IN (libc)] (CENABLE): Likewise.
27222 [IS_IN (libc)] (CENABLE): Likewise.
27223 [IS_IN (librt)] (CDISABLE): Likewise.
27224 [IS_IN (librt)] (CDISABLE): Likewise.
27225 (SINGLE_THREAD_P): Likewise.
27226 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
27227 definition.
27228 (PSEUDO_END): Likewise.
27229 [IS_IN (libpthread)] (CENABLE): Likewise.
27230 [IS_IN (libpthread)] (CDISABLE): Likewise.
27231 [IS_IN (libc)] (CENABLE): Likewise.
27232 [IS_IN (libc)] (CENABLE): Likewise.
27233 [IS_IN (librt)] (CDISABLE): Likewise.
27234 [IS_IN (librt)] (CDISABLE): Likewise.
27235 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
27236 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
27237 definition.
27238 (PSEUDO_END): Likewise.
27239 [IS_IN (libpthread)] (CENABLE): Likewise.
27240 [IS_IN (libpthread)] (CDISABLE): Likewise.
27241 [IS_IN (libc)] (CENABLE): Likewise.
27242 [IS_IN (libc)] (CENABLE): Likewise.
27243 [IS_IN (librt)] (CDISABLE): Likewise.
27244 [IS_IN (librt)] (CDISABLE): Likewise.
27245 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
27246 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
27247 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
27248 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
27249 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
27250 definition.
27251 (PSEUDO_END): Likewise.
27252 [IS_IN (libpthread)] (CENABLE): Likewise.
27253 [IS_IN (libpthread)] (CDISABLE): Likewise.
27254 [IS_IN (libc)] (CENABLE): Likewise.
27255 [IS_IN (libc)] (CENABLE): Likewise.
27256 [IS_IN (librt)] (CDISABLE): Likewise.
27257 [IS_IN (librt)] (CDISABLE): Likewise.
27258 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
27259 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
27260 definition.
27261 (PSEUDO_END): Likewise.
27262 [IS_IN (libpthread)] (CENABLE): Likewise.
27263 [IS_IN (libpthread)] (CDISABLE): Likewise.
27264 [IS_IN (libc)] (CENABLE): Likewise.
27265 [IS_IN (libc)] (CENABLE): Likewise.
27266 [IS_IN (librt)] (CDISABLE): Likewise.
27267 [IS_IN (librt)] (CDISABLE): Likewise.
27268 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
27269 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
27270 definition.
27271 (PSEUDO_END): Likewise.
27272 [IS_IN (libpthread)] (CENABLE): Likewise.
27273 [IS_IN (libpthread)] (CDISABLE): Likewise.
27274 [IS_IN (libc)] (CENABLE): Likewise.
27275 [IS_IN (libc)] (CENABLE): Likewise.
27276 [IS_IN (librt)] (CDISABLE): Likewise.
27277 [IS_IN (librt)] (CDISABLE): Likewise.
27278 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
27279 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
27280 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27281 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
27282 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
27283 definition.
27284 (PSEUDO_END): Likewise.
27285 [IS_IN (libpthread)] (CENABLE): Likewise.
27286 [IS_IN (libpthread)] (CDISABLE): Likewise.
27287 [IS_IN (libc)] (CENABLE): Likewise.
27288 [IS_IN (libc)] (CENABLE): Likewise.
27289 [IS_IN (librt)] (CDISABLE): Likewise.
27290 [IS_IN (librt)] (CDISABLE): Likewise.
27291 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
27292 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
27293 definition.
27294 (PSEUDO_END): Likewise.
27295 [IS_IN (libpthread)] (CENABLE): Likewise.
27296 [IS_IN (libpthread)] (CDISABLE): Likewise.
27297 [IS_IN (libc)] (CENABLE): Likewise.
27298 [IS_IN (libc)] (CENABLE): Likewise.
27299 [IS_IN (librt)] (CDISABLE): Likewise.
27300 [IS_IN (librt)] (CDISABLE): Likewise.
27301 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
27302
8aa48656
SN
273032017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
27304
27305 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
27306
fcaaca41
L
273072017-08-23 H.J. Lu <hongjiu.lu@intel.com>
27308
27309 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27310
376b40a2
L
273112017-08-23 H.J. Lu <hongjiu.lu@intel.com>
27312
27313 [BZ #21982]
27314 * string/stratcliff.c (do_test): Declare size, nchars, inner,
27315 middle and outer with size_t instead of int. Repleace %d and
27316 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
27317 "MAX (outer, nchars - 64)" to support unsigned outer and
27318 nchars. Also exit loop when outer == 0.
27319
2b0b9a1c
AZ
273202017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27321
27322 * include/fcntl.h (__fcntl_nocancel): Remove definition.
27323 * include/signal.h (__sigsuspend_nocancel): Likewise.
27324 * include/time.h (__nanosleep_nocancel): Likewise.
27325 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
27326 * login/utmp_file.c: Include non cancellable syscall header.
27327 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
27328 prototype.
27329
b9eaca8f
L
273302017-08-23 H.J. Lu <hongjiu.lu@intel.com>
27331
27332 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
27333 .byte sequences with AVX512F instructions.
27334 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
27335 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
27336 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
27337 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
27338 Likewise.
27339 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
27340 Likewise.
27341
5a706f64
SE
273422017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
27343 Steve Ellcey <sellcey@cavium.com>
27344
27345 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
27346 Use PTR_REG macro in cmp instruction.
27347
b513da7e
GG
273482017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
27349
27350 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
27351 Change the return type of the ifunc resolver to match the return
27352 type of the target function.
27353
78ca091c
AZ
273542017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27355
b70b6026
AZ
27356 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
27357 (preadv64): Likewise.
27358 (pwrite64(: Likewise.
27359 (pwritev64): Likewise.
27360
78ca091c
AZ
27361 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
27362 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
27363 (LOAD_ARGS_0): Likewise.
27364 (LOAD_ARGS_1): Likewise.
27365 (LOAD_ARGS_2): Likewise.
27366 (LOAD_ARGS_3): Likewise.
27367 (LOAD_ARGS_4): Likewise.
27368 (LOAD_ARGS_5): Likewise.
27369 (LOAD_ARGS_6): Likewise.
27370 (LOAD_REGS_0): Likewise.
27371 (LOAD_REGS_1): Likewise.
27372 (LOAD_REGS_2): Likewise.
27373 (LOAD_REGS_3): Likewise.
27374 (LOAD_REGS_4): Likewise.
27375 (LOAD_REGS_5): Likewise.
27376 (LOAD_REGS_6): Likewise.
27377 (ASM_ARGS_0): Likewise.
27378 (ASM_ARGS_1): Likewise.
27379 (ASM_ARGS_2): Likewise.
27380 (ASM_ARGS_3): Likewise.
27381 (ASM_ARGS_4): Likewise.
27382 (ASM_ARGS_5): Likewise.
27383 (ASM_ARGS_6): Likewise.
27384 (LOAD_ARGS_TYPES_1): Likewise.
27385 (LOAD_ARGS_TYPES_2): Likewise.
27386 (LOAD_ARGS_TYPES_3): Likewise.
27387 (LOAD_ARGS_TYPES_4): Likewise.
27388 (LOAD_ARGS_TYPES_5): Likewise.
27389 (LOAD_ARGS_TYPES_6): Likewise.
27390 (LOAD_REGS_TYPES_1): Likewise.
27391 (LOAD_REGS_TYPES_2): Likewise.
27392 (LOAD_REGS_TYPES_3): Likewise.
27393 (LOAD_REGS_TYPES_4): Likewise.
27394 (LOAD_REGS_TYPES_5): Likewise.
27395 (LOAD_REGS_TYPES_6): Likewise.
27396 (TYPEFY): New define.
27397 (ARGIFY): Likewise.
27398 (internal_syscall0): Likewise.
27399 (internal_syscall1): Likewise.
27400 (internal_syscall2): Likewise.
27401 (internal_syscall3): Likewise.
27402 (internal_syscall4): Likewise.
27403 (internal_syscall5): Likewise.
27404 (internal_syscall6): Likewise.
27405 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
27406 (INTERNAL_SYSCALL_NCS): Remove define.
27407 (internal_syscall1): Add define.
27408
453a493d
GG
274092017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
27410
27411 * math/w_remainder_compat.c: Remove duplicate inclusion of
27412 math-svid-compat.h.
27413 * math/w_remainderf_compat.c: Likewise.
27414 * math/w_remainderl_compat.c: Likewise.
27415
f2f048a5
GG
274162017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
27417
27418 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27419
d9bef9c0
JM
274202017-08-22 Joseph Myers <joseph@codesourcery.com>
27421
27422 [BZ #21684]
27423 * math/tgmath.h (__floating_type): Simplify definitions.
27424 (__real_integer_type): New macro.
27425 (__complex_integer_type): Likewise.
27426 (__expr_is_real): Likewise.
27427 (__tgmath_real_type_sub): Update comment to describe handling of
27428 complex types.
27429 (__tgmath_complex_type_sub): New macro.
27430 (__tgmath_complex_type): Likewise.
27431 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27432 (__TGMATH_CF128): Use __expr_is_real.
27433 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
27434 __expr_is_real.
27435 (__TGMATH_BINARY_REAL_IMAG): Likewise.
27436 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
27437 * math/gen-tgmath-tests.py (Type.create_type): Create complex
27438 integer types.
27439
08d6eb46
AZ
274402017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27441
988f991b
AZ
27442 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
27443 macro.
27444 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
27445 alias.
27446 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
27447 Likewise.
27448
6f33fd04
AZ
27449 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
27450 nanosleep_not_cancel with __nanosleep_nocancel.
27451 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
27452 (__nanosleep_nocancel): New macro.
27453 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
27454 function.
27455 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
27456 macro.
27457 (__nanosleep_nocancel): New prototype.
27458
08d6eb46
AZ
27459 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
27460 pause_not_cancel with __pause_nocancel.
27461 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
27462 (__pause_nocancel): New macro.
27463 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
27464 macro.
27465 (__pause_nocancel): New prototype.
27466 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
27467
ee4e992e
MS
274682017-08-22 Martin Sebor <msebor@redhat.com>
27469
27470 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
27471 to return a pointer to the same type as the target function.
27472
20962acb
L
274732017-08-22 H.J. Lu <hongjiu.lu@intel.com>
27474
27475 [BZ #18822]
27476 [BZ #21986]
27477 * include/printf.h (__printf_fphex): Add attribute_hidden.
27478 (__guess_grouping): New prototype.
27479 * stdio-common/printf_fp.c (__guess_grouping): Removed.
27480 * stdio-common/reg-printf.c (__register_printf_specifier): Add
27481 libc_hidden_proto and libc_hidden_def.
27482 * stdlib/strfmon_l.c (__guess_grouping): Removed.
27483 (__vstrfmon_l): Remove the third argument passed to
27484 __guess_grouping.
27485
a16e8bc0
GG
274862017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
27487
27488 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
27489 definition for issignaling that does not rely on __MATH_TG,
27490 since __MATH_TG uses __builtin_types_compatible_p, which is only
27491 available in C mode.
27492 (CFLAGS-test-math-issignaling.cc): New variable.
27493 * math/Makefile [CXX] (tests): Add test-math-issignaling.
27494 * math/test-math-issignaling.cc: New test for C++ implementation
27495 of type-generic issignaling.
27496 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
27497 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
27498 options of test-math-issignaling on powerpc64le.
27499
8d2ec553
L
275002017-08-22 H.J. Lu <hongjiu.lu@intel.com>
27501
27502 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
27503 building libc.a.
27504 (hidden_proto): Likewise.
27505 (hidden_tls_proto): Likewise.
27506 (__hidden_proto): Likewise.
27507
a4d57b79
FW
275082017-08-22 Florian Weimer <fweimer@redhat.com>
27509
27510 math: Statically link tests of internal functionality.
27511 * math/Makefile (tests): Remove atest-exp, atest-sincos,
27512 atest-exp2.
27513 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
27514 (gmp-objs): Remove assignment.
27515 (atest-exp, atest-sincos, atest-exp2): Remove targets.
27516
75dfe623
JM
275172017-08-22 Joseph Myers <joseph@codesourcery.com>
27518
80f91666
JM
27519 [BZ #21987]
27520 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
27521 and copy to ...
27522 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
27523 ... here.
27524 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
27525 ... and here.
27526
75dfe623
JM
27527 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
27528 variable definitions above inclusion of ../Rules.
27529
ea99fcd0
JM
275302017-08-21 Joseph Myers <joseph@codesourcery.com>
27531
27532 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
27533 case calling __builtin_unreachable.
27534
19926de9
AZ
275352017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27536
a8410a5f
AZ
27537 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
27538 __waitpid_nocancel.
27539 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
27540 (__waitpid_nocancel): New macro.
27541 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
27542 macro.
27543 (__waitpid_nocancel): Replace macro with a function.
27544 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
27545 function.
27546
7369800c
AZ
27547 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
27548 __fcntl_nocancel.
27549 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
27550 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
27551
19926de9
AZ
27552 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
27553 __writev_nocancel_nostatus.
27554 (write_call_graph): Likewise.
27555 (write_bb_counts): Likewise.
27556 * resolv/herror.c (herror): Likewise.
27557 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
27558 macro.
27559 (__writev_nocancel_nostatus): New macro.
27560 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
27561 Remove macro.
27562 (__writev_nocancel_nostatus): New function.
27563
813378e9
JM
275642017-08-21 Joseph Myers <joseph@codesourcery.com>
27565
df1deda6
JM
27566 Revert:
27567 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
27568
27569 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
27570 building libc.a.
27571 (hidden_proto): Likewise.
27572 (hidden_tls_proto): Likewise.
27573 (__hidden_proto): Likewise.
27574
831bbd55
JM
27575 [BZ #21973]
27576 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
27577 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
27578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
27579 Likewise.
27580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
27581 Likewise.
27582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
27583 Likewise.
27584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
27585 Likewise.
27586 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
27587 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
27588 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
27589 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
27590 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
27591 GLIBC_2.0 sqrtl symbol.
27592
813378e9
JM
27593 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
27594 [__USE_MISC] (_LIB_VERSION): Likewise.
27595 [__USE_MISC] (struct exception): Likewise.
27596 [__USE_MISC] (matherr): Likewise.
27597 [__USE_MISC] (DOMAIN): Likewise.
27598 [__USE_MISC] (SING): Likewise.
27599 [__USE_MISC] (OVERFLOW): Likewise.
27600 [__USE_MISC] (UNDERFLOW): Likewise.
27601 [__USE_MISC] (TLOSS): Likewise.
27602 [__USE_MISC] (PLOSS): Likewise.
27603 [__USE_MISC] (HUGE): Likewise.
27604 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
27605 * math/math-svid-compat.h: New file.
27606 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
27607 and matherrl.
27608 * include/math.h [!_ISOMAC] (__matherr): Remove.
27609 * manual/arith.texi (FP Exceptions): Do not document matherr.
27610 * math/Makefile (tests): Change test-matherr to test-matherr-3.
27611 (tests-internal): New variable.
27612 (install-lib): Do not add libieee.a.
27613 (non-lib.a): Likewise.
27614 (extra-objs): Do not add libieee.a and ieee-math.o.
27615 (CPPFLAGS-s_lib_version.c): Remove variable.
27616 ($(objpfx)libieee.a): Remove rule.
27617 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
27618 * math/ieee-math.c: Remove.
27619 * math/libm-test-support.c (matherr): Remove.
27620 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
27621 and license notices. Include <math-svid-compat.h> and
27622 <shlib-compat.h>.
27623 (matherr): Undefine as macro. Use compat_symbol_reference.
27624 (_LIB_VERSION): Likewise.
27625 * math/test-matherr-2.c: New file.
27626 * math/test-matherr-3.c: Likewise.
27627 * sysdeps/generic/math_private.h (__kernel_standard): Remove
27628 declaration.
27629 (__kernel_standard_f): Likewise.
27630 (__kernel_standard_l): Likewise.
27631 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
27632 <math_private.h>. Include <math-svid-compat.h>.
27633 (_LIB_VERSION): Undefine as macro.
27634 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
27635 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
27636 [LIBM_SVID_COMPAT], use compat_symbol.
27637 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
27638 <math_private.h>. Include <math-svid-compat.h>.
27639 (matherr): Undefine as macro.
27640 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
27641 compat_symbol.
27642 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
27643 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
27644 compat_symbol_reference.
27645 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
27646 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
27647 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
27648 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
27649 (MATHERR_D): Remove declaration.
27650 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
27651 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
27652 [LIBM_BUILD] (pmatherrf): Likewise.
27653 [LIBM_BUILD] (pmatherr): Likewise.
27654 [LIBM_BUILD] (pmatherrl): Likewise.
27655 (DOMAIN): Likewise.
27656 (SING): Likewise.
27657 (OVERFLOW): Likewise.
27658 (UNDERFLOW): Likewise.
27659 (TLOSS): Likewise.
27660 (PLOSS): Likewise.
27661 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
27662 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
27663 compat_symbol.
27664 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
27665 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
27666 compat_symbol.
27667 * math/lgamma-compat.h: Include <math-svid-compat.h>.
27668 * math/w_acos_compat.c: Likewise.
27669 * math/w_acosf_compat.c: Likewise.
27670 * math/w_acosh_compat.c: Likewise.
27671 * math/w_acoshf_compat.c: Likewise.
27672 * math/w_acoshl_compat.c: Likewise.
27673 * math/w_acosl_compat.c: Likewise.
27674 * math/w_asin_compat.c: Likewise.
27675 * math/w_asinf_compat.c: Likewise.
27676 * math/w_asinl_compat.c: Likewise.
27677 * math/w_atan2_compat.c: Likewise.
27678 * math/w_atan2f_compat.c: Likewise.
27679 * math/w_atan2l_compat.c: Likewise.
27680 * math/w_atanh_compat.c: Likewise.
27681 * math/w_atanhf_compat.c: Likewise.
27682 * math/w_atanhl_compat.c: Likewise.
27683 * math/w_cosh_compat.c: Likewise.
27684 * math/w_coshf_compat.c: Likewise.
27685 * math/w_coshl_compat.c: Likewise.
27686 * math/w_exp10_compat.c: Likewise.
27687 * math/w_exp10f_compat.c: Likewise.
27688 * math/w_exp10l_compat.c: Likewise.
27689 * math/w_exp2_compat.c: Likewise.
27690 * math/w_exp2f_compat.c: Likewise.
27691 * math/w_exp2l_compat.c: Likewise.
27692 * math/w_fmod_compat.c: Likewise.
27693 * math/w_fmodf_compat.c: Likewise.
27694 * math/w_fmodl_compat.c: Likewise.
27695 * math/w_hypot_compat.c: Likewise.
27696 * math/w_hypotf_compat.c: Likewise.
27697 * math/w_hypotl_compat.c: Likewise.
27698 * math/w_j0_compat.c: Likewise.
27699 * math/w_j0f_compat.c: Likewise.
27700 * math/w_j0l_compat.c: Likewise.
27701 * math/w_j1_compat.c: Likewise.
27702 * math/w_j1f_compat.c: Likewise.
27703 * math/w_j1l_compat.c: Likewise.
27704 * math/w_jn_compat.c: Likewise.
27705 * math/w_jnf_compat.c: Likewise.
27706 * math/w_jnl_compat.c: Likewise.
27707 * math/w_lgamma_main.c: Likewise.
27708 * math/w_lgamma_r_compat.c: Likewise.
27709 * math/w_lgammaf_main.c: Likewise.
27710 * math/w_lgammaf_r_compat.c: Likewise.
27711 * math/w_lgammal_main.c: Likewise.
27712 * math/w_lgammal_r_compat.c: Likewise.
27713 * math/w_log10_compat.c: Likewise.
27714 * math/w_log10f_compat.c: Likewise.
27715 * math/w_log10l_compat.c: Likewise.
27716 * math/w_log2_compat.c: Likewise.
27717 * math/w_log2f_compat.c: Likewise.
27718 * math/w_log2l_compat.c: Likewise.
27719 * math/w_log_compat.c: Likewise.
27720 * math/w_logf_compat.c: Likewise.
27721 * math/w_logl_compat.c: Likewise.
27722 * math/w_pow_compat.c: Likewise.
27723 * math/w_powf_compat.c: Likewise.
27724 * math/w_powl_compat.c: Likewise.
27725 * math/w_remainder_compat.c: Likewise.
27726 * math/w_remainderf_compat.c: Likewise.
27727 * math/w_remainderl_compat.c: Likewise.
27728 * math/w_scalb_compat.c: Likewise.
27729 * math/w_scalbf_compat.c: Likewise.
27730 * math/w_scalbl_compat.c: Likewise.
27731 * math/w_sinh_compat.c: Likewise.
27732 * math/w_sinhf_compat.c: Likewise.
27733 * math/w_sinhl_compat.c: Likewise.
27734 * math/w_sqrt_compat.c: Likewise.
27735 * math/w_sqrtf_compat.c: Likewise.
27736 * math/w_sqrtl_compat.c: Likewise.
27737 * math/w_tgamma_compat.c: Likewise.
27738 * math/w_tgammaf_compat.c: Likewise.
27739 * math/w_tgammal_compat.c: Likewise.
27740 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
27741 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
27742 * sysdeps/ieee754/k_standard.c: Likewise.
27743 * sysdeps/ieee754/k_standardf.c: Likewise.
27744 * sysdeps/ieee754/k_standardl.c: Likewise.
27745 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
27746 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
27747 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
27748 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
27749 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
27750 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
27751 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
27752 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
27753 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
27754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
27755 Likewise.
27756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
27757 Likewise.
27758 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
27759 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
27760 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
27761 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
27762
4504783c
FW
277632017-08-21 Florian Weimer <fweimer@redhat.com>
27764
27765 [BZ #21864]
27766 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
27767 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
27768 Move before inclusion of ../Rules.
27769
b5889d25
FW
277702017-08-21 Florian Weimer <fweimer@redhat.com>
27771
27772 [BZ #21972]
27773 * assert/assert.h (assert): Use static_cast (bool) for C++.
27774 Use the ternary operator in the warning branch for GNU C.
27775 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
27776 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
27777 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
27778 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
27779 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
27780
41e673c1
L
277812017-08-21 H.J. Lu <hongjiu.lu@intel.com>
27782
27783 [BZ #18822]
27784 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27785 (__syscall_clock_gettime): Add attribute_hidden.
27786 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
27787 (__start_context): Likewise.
27788
568ff429
L
277892017-08-21 H.J. Lu <hongjiu.lu@intel.com>
27790
27791 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
27792 building libc.a.
27793 (hidden_proto): Likewise.
27794 (hidden_tls_proto): Likewise.
27795 (__hidden_proto): Likewise.
27796
7c41b4a1
L
277972017-08-21 H.J. Lu <hongjiu.lu@intel.com>
27798
27799 * include/libc-symbols.h (attribute_hidden): Enable hidden
27800 visibility in libc.a compiled with PIE.
27801
483d7068
L
278022017-08-21 H.J. Lu <hongjiu.lu@intel.com>
27803
27804 [BZ #18822]
27805 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
27806 Add attribute_hidden.
27807
278082017-08-21 H.J. Lu <hongjiu.lu@intel.com>
27809
27810 [BZ #21864]
27811 * Makerules (all-nonlib): Add $(others-extras).
27812 * catgets/Makefile (others-extras): New.
27813 * elf/Makefile (others-extras): Likewise.
27814 * nss/Makefile (others-extras): Likewise.
27815
54e4b8f2
L
278162017-08-21 H.J. Lu <hongjiu.lu@intel.com>
27817
27818 [BZ #18822]
27819 * csu/libc-start.c (__libc_multiple_libcs): Removed.
27820 * elf/dl-open.c: Include <libc-internal.h>.
27821 (__libc_multiple_libcs): Removed.
27822 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
27823 <hp-timing.h>.
27824 * include/libc-internal.h (__libc_multiple_libcs): New.
27825 * misc/sbrk.c: Include <libc-internal.h>.
27826 (__libc_multiple_libcs): Removed.
27827
1dbbb1ec
L
278282017-08-21 H.J. Lu <hongjiu.lu@intel.com>
27829
27830 [BZ #18822]
27831 * grp/initgroups.c (__nss_group_database): Removed.
27832 (__nss_initgroups_database): Likewise.
27833 * nscd/gai.c (__nss_hosts_database): Likewise.
27834 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
27835 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
27836 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
27837 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
27838 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
27839 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
27840 attribute_hidden.
27841 * nss/nsswitch.c (__nss_database_custom): Define only if
27842 USE_NSCD is defined.
27843 (__nss_configure_lookup): Use __nss_database_custom only if
27844 USE_NSCD is defined.
27845 * nss/nsswitch.h (__nss_database_custom): Declare only if
27846 USE_NSCD is defined. Add attribute_hidden.
27847 (__nss_setent): Add attribute_hidden.
27848 (__nss_endent): Likewise.
27849 (__nss_getent_r): Likewise.
27850 (__nss_getent): Likewise.
27851 (DEFINE_DATABASE): Declare __nss_##arg##_database.
27852
2585d7b8
L
278532017-08-20 H.J. Lu <hongjiu.lu@intel.com>
27854
27855 [BZ #18822]
27856 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
27857 libc_hidden_proto and libc_hidden_def.
27858
c8dfa99c
L
278592017-08-20 H.J. Lu <hongjiu.lu@intel.com>
27860
27861 [BZ #18822]
27862 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
27863 Add libc_hidden_proto.
27864 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
27865 Add libc_hidden_def.
27866
7ed87317
L
278672017-08-20 H.J. Lu <hongjiu.lu@intel.com>
27868
27869 [BZ #21974]
27870 * gmon/Makefile (routines): Remove bb_init_func and
27871 bb_exit_func.
27872 (elide-routines.os): Removed.
9476b904
L
27873 * gmon/bb_exit_func.c: Likewise.
27874 * gmon/bb_init_func.c: Likewise.
7ed87317
L
27875 * include/sys/gmon.h (__bb): Likewise.
27876 (__bb_init_func): Likewise.
27877 (__bb_exit_func): Likewise.
91695eb1 27878 * sysdeps/alpha/bb_init_func.S: Likewise.
7ed87317 27879
94e6ba15
L
278802017-08-20 H.J. Lu <hongjiu.lu@intel.com>
27881
27882 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
27883 * include/setjmp.h (____longjmp_chk): Here. Add
27884 attribute_hidden.
27885
7550717e
L
278862017-08-19 H.J. Lu <hongjiu.lu@intel.com>
27887
27888 [BZ #18822]
27889 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
27890 attribute_hidden.
27891 (__strspn_sse2): Likewise.
27892
0bb2fabc
AZ
278932017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27894
c181840c
AZ
27895 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
27896 (close_not_cancel_no_status): Likewise.
27897 (__close_nocancel): New macro.
27898 (__close_nocancel_nostatus): Likewise.
27899 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
27900 macro.
27901 (close_not_cancel): Likewise.
27902 (close_not_cancel_no_status): Likewise.
27903 (__close_nocancel): New prototype.
27904 (__close_nocancel_nostatus): New function.
27905 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
27906 * catgets/open_catalog.c (__open_catalog): Replace
27907 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
27908 * gmon/gmon.c (write_gmon): Likewise.
27909 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
27910 * intl/loadmsgcat.c (close): Likewise.
27911 * io/ftw.c (open_dir_stream): Likewise.
27912 (ftw_startup): Likewise.
27913 * libio/fileops.c (_IO_file_open): Likewise.
27914 (_IO_file_close_mmap): Likewise.
27915 (_IO_file_close): Likewise.
27916 * libio/iopopen.c (_IO_dup2): Likewise.
27917 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
27918 * locale/loadlocale.c (_nl_load_locale): Likewise.
27919 * login/utmp_file.c (pututline_file): Likewise.
27920 (endutent_file): Likewise.
27921 * misc/daemon.c (daemon): Likewise.
27922 * nscd/nscd_getai.c (__nscd_getai): Likewise.
27923 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
27924 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
27925 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
27926 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
27927 * nscd/nscd_helper.c (open_socket): Likewise.
27928 (__nscd_open_socket): Likewise.
27929 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
27930 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
27931 (__nscd_innetgr): Likewise.
27932 * nss/nss_db/db-open.c (internal_setent): Likewise.
27933 * resolv/res-close.c (__res_iclose): Likewise.
27934 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
27935 * sysdeps/posix/closedir.c (__closedir): Likewise.
27936 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
27937 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
27938 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
27939 (opendir_tail): Likewise.
27940 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
27941 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
27942 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
27943 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
27944 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
27945 (gethostid): Likewise.
27946 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
27947 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27948 Likewise.
27949 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
27950 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
27951 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
27952 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
27953 Likewise.
27954 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
27955 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
27956 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
27957 Likewise.
27958 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
27959 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
27960 Likewise.
27961 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
27962 Likewise.
27963 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
27964 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
27965 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
27966 __close_nocancel.
27967
0bb2fabc
AZ
27968 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
27969 (openat_not_cancel_3): Likewise.
27970 (openat64_not_cancel_3): Likewise).
27971 (openat_not_cancel_3): Likewise).
27972 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
27973 macro.
27974 (openat_not_cancel_3): Likewise.
27975 (openat64_not_cancel): Likewise.
27976 (openat64_not_cancel_3): Likewise.
27977 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
27978 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
27979 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
27980 __open{64}_nocancel.
27981 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
27982 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
27983 * sysdeps/posix/opendir.c (__opendirat): Likewise.
27984
65a086db
L
279852017-08-18 H.J. Lu <hongjiu.lu@intel.com>
27986
27987 [BZ #18822]
27988 * include/argz.h (__argz_create_sep): New function prototype.
27989 (__argz_append): Likewise.
27990 (__argz_add): Likewise.
27991 (__argz_add_sep): Likewise.
27992 (__argz_delete): Likewise.
27993 (__argz_insert): Likewise.
27994 (__argz_replace): Likewise.
27995 * string/argz.h (__argz_create_sep): Removed.
27996 (__argz_append): Likewise.
27997 (__argz_add): Likewise.
27998 (__argz_add_sep): Likewise.
27999 (__argz_delete): Likewise.
28000 (__argz_insert): Likewise.
28001 (__argz_replace): Likewise.
28002
62753d2c
L
280032017-08-18 H.J. Lu <hongjiu.lu@intel.com>
28004
28005 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
28006 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
28007 (GNU_PROPERTY_STACK_SIZE): Likewie.
28008 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
28009 (GNU_PROPERTY_LOPROC): Likewise.
28010 (GNU_PROPERTY_HIPROC): Likewise.
28011 (GNU_PROPERTY_LOUSER): Likewise.
28012 (GNU_PROPERTY_HIUSER): Likewise.
28013 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
28014 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
28015 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
28016 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
28017 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
28018 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
28019 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
28020 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
28021 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
28022 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
28023 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
28024 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
28025 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
28026 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
28027 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
28028 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
28029 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
28030 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
28031 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
28032 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
28033 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
28034 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
28035 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
28036
6913ad65
GG
280372017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28038
28039 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
28040 in C++ mode.
28041
47a67213
GG
280422017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28043
28044 [BZ #21930]
28045 * math/math.h (isinf): Check if in C or C++ mode before using
28046 __builtin_types_compatible_p, since this is a C mode feature.
28047
a748eb31
AZ
280482017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28049
c647fb88
AZ
28050 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
28051 (__write_nocancel): New macro.
28052 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
28053 Rewrite as a function prototype.
28054 (write_not_cancel): Remove macro.
28055 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
28056 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
28057 (write_gmon): Likewise.
28058 * libio/fileops.c (_IO_new_file_write): Likewise.
28059 * login/utmp_file.c (pututline_file): Likewise.
28060 (updwtmp_file): Likewise.
28061 * stdio-common/psiginfo.c (psiginfo): Likewise.
28062 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
28063 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
28064 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
28065 Likewise.
28066 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
28067 Likewise.
28068
a748eb31
AZ
28069 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
28070 (__read_nocancel): New macro.
28071 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
28072 __read_nocancel.
28073 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
28074 macro.
28075 (__read_nocancel): New prototype.
28076 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
28077 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
28078 with __read_nocancel.
28079 * intl/loadmsgcat.c (read): Likewise.
28080 * libio/fileops.c (_IO_file_read): Likewise.
28081 * locale/loadlocale.c (_nl_load_locale): Likewise.
28082 * login/utmp_file.c (getutent_r_file): Likewise.
28083 (internal_getut_r): Likewise.
28084 (getutline_r_file): Likewise.
28085 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
28086 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
28087 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
28088 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28089 Likewise.
28090 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
28091 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
28092 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
28093 Likewise.
28094 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
28095 Likewise.
28096 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
28097 Likewise.
28098 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
28099 Likewise.
28100 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
28101
098b9dd4
L
281022017-08-18 H.J. Lu <hongjiu.lu@intel.com>
28103
28104 [BZ #21966]
28105 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
28106 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
28107 usable.
28108
a3fe6a20
DD
281092017-08-17 DJ Delorie <dj@redhat.com>
28110
28111 * bug17079.c: Update to new test harness.
28112 * test-digits-dots.c: Likewise.
28113 * test-netdb.c: Likewise.
28114 * tst-field.c: Likewise.
28115 * tst-nss-getpwent.c: Likewise.
28116 * tst-nss-static.c: Likewise.
28117 * tst-nss-test1.c: Likewise.
28118 * tst-nss-test2.c: Likewise.
28119 * tst-nss-test3.c: Likewise.
28120 * tst-nss-test4.c: Likewise.
28121 * tst-nss-test5.c: Likewise.
28122
c2284574
AZ
281232017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28124
28125 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
28126 (open_not_cancel_2): Likewise.
28127 (open_nocancel): New macro.
28128 (open64_nocancel): Likewise.
28129 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
28130 (open_not_cancel_2): Likewise.
28131 (__open_nocancel): New prototype.
28132 (__open64_nocancel): Likewise.
28133 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
28134 __open_nocancel.
28135 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
28136 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
28137 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
28138 with __open_nocancel.
28139 * csu/check_fds.c (check_one_fd): Likewise.
28140 * gmon/gmon.c (write_gmon): Likewise.
28141 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
28142 * intl/loadmsgcat.c (open): Likewise.
28143 * libio/fileops.c (_IO_file_open): Likewise.
28144 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
28145 * locale/loadlocale.c (_nl_load_locale): Likewise.
28146 * login/utmp_file.c (setutent_file): Likewise.
28147 * misc/daemon.c (daemon): Likewise.
28148 * nss/nss_db/db-open.c (internal_setent): Likewise.
28149 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
28150 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
28151 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
28152 (__opendir): Likewise.
28153 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
28154 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
28155 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
28156 (gethostid): Likewise.
28157 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
28158 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28159 Likewise.
28160 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
28161 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
28162 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
28163 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
28164 Likewise.
28165 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
28166 Likewise.
28167 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
28168 Likewise.
28169 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
28170 Likewise.
28171 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
28172 Likewise.
28173 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
28174 Likewise.
28175 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
28176 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
28177
d4505b89
WD
281782017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
28179
28180 * benchtests/bench-skeleton.c (main): Add support for
28181 latency benchmarking.
28182 * benchtests/scripts/bench.py: Add support for latency benchmarking.
28183
34d6a3cb
L
281842017-08-17 H.J. Lu <hongjiu.lu@intel.com>
28185
28186 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
28187 the startup object.
28188
038d1caf
FW
281892017-08-17 Florian Weimer <fweimer@redhat.com>
28190
28191 * include/sys/socket.h (__opensock): Remove internal_function.
28192 * socket/opensock.c (__opensock): Likewise.
28193 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
28194
67f0aff0
JM
281952017-08-16 Joseph Myers <joseph@codesourcery.com>
28196
28197 [BZ #21944]
28198 * signal/bits/types/__sigval_t.h: New file.
28199 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
28200 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
28201 and define sigval_t using __sigval_t.
28202 * include/bits/types/__sigval_t.h: New file.
28203 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
28204 instead of <bits/types/__sigval_t.h>.
28205 (struct sigevent): Use __sigval_t instead of sigval_t.
28206 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
28207 instead of <bits/types/__sigval_t.h>.
28208 (siginfo_t): Use __sigval_t instead of sigval_t.
28209 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
28210 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
28211 (struct sigevent): Use __sigval_t instead of sigval_t.
28212 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
28213 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
28214 (siginfo_t): Use __sigval_t instead of sigval_t.
28215 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
28216
87e7bf4d
L
282172017-08-16 H.J. Lu <hongjiu.lu@intel.com>
28218
28219 * NEWS: Remove "[Add new features here]" for 2.27.
28220
5047057f
JM
282212017-08-16 Joseph Myers <joseph@codesourcery.com>
28222
28223 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
28224 libc.so.
28225
20c7b195
L
282262017-08-16 H.J. Lu <hongjiu.lu@intel.com>
28227
28228 * NEWS: Mention x86-64 FMA optimization.
28229
24a2e658
L
282302017-08-16 H.J. Lu <hongjiu.lu@intel.com>
28231
28232 [BZ #21912]
28233 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28234 Add e_expf-fma.
28235 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
28236 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
28237 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
28238
eedca977
AS
282392017-08-16 Andreas Schwab <schwab@suse.de>
28240
403143e1
FW
28241 [BZ #16750]
28242 CVE-2009-5064
eedca977
AS
28243 * elf/ldd.bash.in: Never run file directly.
28244
f59f7adb
L
282452017-08-15 H.J. Lu <hongjiu.lu@intel.com>
28246
28247 [BZ #21955]
28248 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
28249 (L(SP_INF_0)): Likewise.
28250
6b11a6ad
FW
282512017-08-15 Florian Weimer <fweimer@redhat.com>
28252
28253 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
28254 run-built-tests.
28255
bbf5c438
FW
282562017-08-15 Florian Weimer <fweimer@redhat.com>
28257
28258 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
28259 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
28260 BROKEN_THREAD_SIGNALS code.
28261 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
28262 request_list): Remove caller_pid member used for
28263 BROKEN_THREAD_SIGNALS.
28264 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
28265 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
28266 Remove BROKEN_THREAD_SIGNALS support.
28267 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
28268 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
28269
6014c65d
FW
282702017-08-15 Florian Weimer <fweimer@redhat.com>
28271
28272 * gmon/Makefile (tests): Add tst-gmon.
28273 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
28274 Set.
28275 (tests-special): Add tst-gmon-prof.out.
28276 (tst-gmon.out): Depend on clean-tst-gmon-data.
28277 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
28278 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
28279 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
28280 startup object.
28281 * aclocal.m4 (GPROF): Set and substitute.
28282 * config.amke.in (GPROF): Set.
28283 * configure: Regenerate.
28284
ee72219a
GR
282852017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
28286
28287 * elf/elf.h A (NT_PPC_TAR): New macro.
28288 (NT_PPC_PPR): Likewise.
28289 (NT_PPC_DSCR): Likewise.
28290 (NT_PPC_EBB): Likewise.
28291 (NT_PPC_PMU): Likewise.
28292 (NT_PPC_TM_CGPR): Likewise.
28293 (NT_PPC_TM_CFPR): Likewise.
28294 (NT_PPC_TM_CVMX): Likewise.
28295 (NT_PPC_TM_CVSX): Likewise.
28296 (NT_PPC_TM_SPR): Likewise.
28297 (NT_PPC_TM_CTAR): Likewise.
28298 (NT_PPC_TM_CPPR): Likewise.
28299 (NT_PPC_TM_CDSCR): Likewise.
28300
4ebf934e
FW
283012017-08-15 Florian Weimer <fweimer@redhat.com>
28302
28303 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
28304 regparm (2) instead of internal_function.
28305 (_MCOUNT_DECL): Adjust.
28306
e9f57484
SL
283072017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
28308
28309 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
28310 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
28311
88ff4d55
JM
283122017-08-14 Joseph Myers <joseph@codesourcery.com>
28313
28314 * conform/data/sys/wait.h-data (si_value): Do not expect for
28315 XPG42.
28316
c88ffc23
FW
283172017-08-14 Florian Weimer <fweimer@redhat.com>
28318
28319 [BZ #21962]
28320 NSS: Create stubs for accidentally exported lookup functions.
28321 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
28322 Remove declaration.
28323 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
28324 (ether_hostton): Call __nss_ethers_lookup2 instead.
28325 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
28326 (ether_ntohost): Call __nss_ethers_lookup2 instead.
28327 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
28328 (setup): Call __nss_netgroup_lookup2 instead.
28329 * nss/Makefile (routines): Add compat-lookup.
28330 * nss/Versions (GLIBC_2.27): Add symbol version.
28331 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
28332 (DB_COMPAT_FCT): Remove.
28333 * nss/compat-lookup.c: New file.
28334 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
28335 from databases.def.
28336 * nss/service-lookup.c (NO_COMPAT): Remove definition.
28337 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
28338 (netname2user): Call __nss_publickey_lookup2 instead.
28339 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
28340 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
28341 instead.
28342
35a29136 283432017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1f14d0c3
AZ
28344 Sergei Trofimovich <slyfox@inbox.ru>
28345
28346 [BZ #21908]
28347 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
28348 Rename to MMAP2_PAGE_UNIT.
28349 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
28350 __OFF_T_MATCHES_OFF64_T is not defined.
28351 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
28352 uint64_t.
28353 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
28354 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
28355
fbdc1e3e
FW
283562017-08-14 Florian Weimer <fweimer@redhat.com>
28357
28358 i386: Do not set internal_function.
28359 * config.h.in (USE_REGPARMS, internal_function): Remove.
28360 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
28361 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
28362
b3f85fd2
FW
283632017-08-14 Florian Weimer <fweimer@redhat.com>
28364
28365 * elf/dl-init.c (_dl_init): Remove internal_function.
28366 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
28367 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
28368
630bf491
FW
283692017-08-14 Florian Weimer <fweimer@redhat.com>
28370
28371 * elf/rtld.c (_dl_start): Remove internal_function.
28372 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
28373 _dl_start.
28374
9fa7449b
FW
283752017-08-14 Florian Weimer <fweimer@redhat.com>
28376
28377 * elf/dl-fini.c (_dl_fini): Remove internal_function
28378 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
28379
73322d5f
L
283802017-08-14 H.J. Lu <hongjiu.lu@intel.com>
28381
d863cd71 28382 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
73322d5f
L
28383 (bit_cpu_SHSTK): Likewise.
28384 (index_cpu_IBT): Likewise.
28385 (index_cpu_SHSTK): Likewise.
28386 (reg_IBT): Likewise.
28387 (reg_SHSTK): Likewise.
28388 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
28389 Handle index_cpu_IBT and index_cpu_SHSTK.
28390
dbc303ef
MF
283912017-08-14 Mike FABIAN <mfabian@redhat.com>
28392
28393 [BZ #19982]
28394 * po/fr.po: Fix spelling mistake.
28395
3012cfb0
FW
283962017-08-13 Florian Weimer <fweimer@redhat.com>
28397
28398 * elf/dl-addr.c (_dl_addr): Remove internal_function.
28399 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
28400 (_dl_catch_error, _dl_receive_error): Likewise.
28401 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
28402 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
28403 (_dl_deallocate_tls): Likewise.
28404 * include/dlfcn.h (_dl_addr): Likewise.
28405 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
28406 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
28407 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
28408 Likewise.
28409
52bcdf26
FW
284102017-08-13 Florian Weimer <fweimer@redhat.com>
28411
28412 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
28413 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
28414 internal_function.
28415 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
28416
e1d2ae8d
FW
284172017-08-13 Florian Weimer <fweimer@redhat.com>
28418
28419 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
28420 internal_function.
28421 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
28422 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
28423 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
28424 internal_function from _dl_make_stack_executable_hook member.
28425 (_dl_make_stack_executable): Remove internal_function.
28426 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
28427 Likewise.
28428 * sysdeps/unix/sysv/linux/dl-execstack.c
28429 (_dl_make_stack_executable): Likewise.
28430
c4ce0382
FW
284312017-08-13 Florian Weimer <fweimer@redhat.com>
28432
28433 * sysdeps/unix/sysv/linux/netlinkaccess.h
28434 (__netlink_assert_response): Remove internal_function.
28435 * sysdeps/unix/sysv/linux/netlink_assert_response.c
28436 (__netlink_assert_response): Likewise.
28437
c4d767f7
FW
284382017-08-13 Florian Weimer <fweimer@redhat.com>
28439
28440 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
28441 internal_function.
28442 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
28443
b2297409
FW
284442017-08-13 Florian Weimer <fweimer@redhat.com>
28445
28446 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
28447 internal_function.
28448 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
28449 * inet/netgroup.h (__internal_setnetgrent)
28450 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
28451 * inet/getnetgrent_r.c (__internal_setnetgrent)
28452 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
28453 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
28454 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
28455 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
28456 * nss/nsswitch.h (db_lookup_function): Likewise.
28457
1b0bfc69
FW
284582017-08-13 Florian Weimer <fweimer@redhat.com>
28459
28460 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
28461 Remove internal_function.
28462 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
28463 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
28464 message argument on the stack.
28465 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
28466 Likeweise.
28467
a6bd8722
MF
284682017-08-12 Mike FABIAN <mfabian@redhat.com>
28469
28470 Adapt test case data to the changes in the thousands
28471 separators.
28472
28473 [BZ #20756]
28474 * localedata/tst-langinfo.sh: Adapt test case data.
28475 * stdlib/tst-strfmon_l.c: Likewise.
28476 * stdlib/tst-strtod4.c: Likewise.
28477 * stdlib/tst-strtod5i.c: Likewise.
28478
8b2c63e4
FW
284792017-08-11 Florian Weimer <fweimer@redhat.com>
28480
28481 [BZ #21242]
28482 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
28483 Suppress pedantic warning resulting from statement expression.
28484 (__ASSERT_FUNCTION): Add missing __extension__.
28485
61c98291
SP
284862017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
28487
86c6519e
SP
28488 * benchtests/bench-memmove-large.c: Print output in JSON
28489 format.
28490 * benchtests/bench-memmove.c: Likewise.
28491
61c98291
SP
28492 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
28493 * benchtests/bench-memchr.c (do_one_test): Likewise.
28494 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
28495 * benchtests/bench-memcpy.c (do_one_test): Likewise.
28496 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
28497 * benchtests/bench-memmove.c (do_one_test): Likewise.
28498 * benchtests/bench-memset-large.c (do_one_test): Likewise.
28499 * benchtests/bench-memset.c (do_one_test): Likewise.
28500 * benchtests/bench-string.h (test_init): Remove memsets.
28501
925733a9
RJ
285022017-08-10 Rical Jasan <ricaljasan@pacific.net>
28503
28504 * manual/lang.texi
28505 (Computing the Width of an Integer Data Type): Rename section to
28506 "Width of an Integer Type". Remove inaccurate statement regarding
28507 lack of C language facilities for determining width of integer
28508 types, and reorder content to improve flow and context of
28509 discussion.
28510
4fcdfbfc
RJ
285112017-08-10 Rical Jasan <ricaljasan@pacific.net>
28512
28513 * lang.texi (va_copy): Change standard from ISO to C99.
28514 (__va_copy): Add standard and header annotation.
28515 Update description for clarity of origins and current use.
28516
4d98ace9
GG
285172017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28518
28519 [BZ #21941]
28520 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
28521 xssqrtqp requires operands to be in Vector Registers
28522 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
28523 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
28524 (__ieee754_sqrtf128): Likewise.
28525
92236903
WD
285262017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
28527
28528 * sysdeps/aarch64/memcmp.S (memcmp):
28529 Rewrite of optimized memcmp.
28530
2449ae7b
FW
285312017-08-10 Florian Weimer <fweimer@redhat.com>
28532
28533 Introduce ld.so exceptions.
28534 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
28535 (_dl_exception_create, _dl_exception_create_format)
28536 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
28537 (_dl_catch_exception): Declare.
28538 (_dl_catch_error): Update comment.
28539 * elf/dl-error-skeleton.c (struct catch): Replace objname,
28540 errstring, malloced members with exception member.
28541 (_dl_out_of_memory): Remove.
28542 (fatal_error): New function, extracted from _dl_signal_error.
28543 (_dl_signal_exception, _dl_signal_cexception): New functions.
28544 (_dl_signal_error): Call _dl_exception_create to allocate an
28545 exception object.
28546 (_dl_catch_exception): New function, based on _dl_catch_error.
28547 (_dl_catch_error): Implement using _dl_catch_exception.
28548 * elf/dl-exception.c: New file.
28549 * elf/Makefile (dl-routines): Add dl-exception.
28550 (elide-routines.os): Likewise.
28551 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
28552 _dl_exception_create_format, _dl_exception_free.
28553 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
28554 _dl_signal_exception.
28555 * elf/dl-lookup.c (make_string): Remove.
28556 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
28557 _dl_signal_cexception, _dl_exception_free.
28558 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
28559 _dl_signal_exception.
28560 * elf/dl-sym.c (do_sym): Likewise.
28561 * elf/dl-version.c (make_string): Remove.
28562 (match_symbol): Use _dl_exception_create_format,
28563 _dl_signal_cexception, _dl_exception_free.
28564 (_dl_check_map_versions): Likewise.
28565 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
28566 _dl_catch_exception.
28567 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
28568 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
28569 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
28570 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
28571 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
28572 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
28573 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
28574 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
28575 Likewise.
28576 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
28577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
28578 (ld.so): Likewise.
28579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
28580 (ld.so): Likewise.
28581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
28582 Likewise.
28583 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
28584 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
28585 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
28586 Likewise.
28587 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
28588 Likewise.
28589 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
28590
f87cc2bf
FW
285912017-08-10 Florian Weimer <fweimer@redhat.com>
28592
28593 * inet/net-internal.h (__inet6_scopeid_pton): Remove
28594 attribute_hidden, internal_function.
28595 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
28596 internal_function.
28597
eac43cbb
FW
285982017-08-10 Florian Weimer <fweimer@redhat.com>
28599
28600 * malloc/malloc.c (get_max_fast): Reimplement as an inline
28601 function which calls __builtin_unreachable.
28602
bd80111e
MF
286032017-08-10 Mike FABIAN <mfabian@redhat.com>
28604
28605 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
28606 Indian monetary formatting
28607 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
28608 test cases.
28609
60e2846e
DL
286102017-08-09 Dmitry V. Levin <ldv@altlinux.org>
28611
68dc02d1
DL
28612 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
28613 Fix typo in comment.
28614
60e2846e
DL
28615 [BZ #21928]
28616 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
28617 PTRACE_SEIZE_DEVEL): Remove.
28618 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
28619 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28620 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28621 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28622 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28623
3d452dab
JM
286242017-08-09 Joseph Myers <joseph@codesourcery.com>
28625
24d9f53a
JM
28626 * posix/bits/types.h (__qaddr_t): Remove.
28627
3d452dab
JM
28628 [BZ #21457]
28629 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
28630 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
28631 __glibc_reserved1.
28632 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
28633 (ucontext_t): Use __ctx with uc_flags.
28634 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
28635 (__ctxt): Likewise.
28636 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
28637 __glibc_reserved1.
28638 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
28639 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
28640 __glibc_reserved1.
28641 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
28642 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
28643 __glibc_reserved1.
28644 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
28645 macro.
28646 (ucontext_t): Use __ctx with uc_flags.
28647 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
28648 (ucontext_t): Use __ctx with uc_flags.
28649 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
28650 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
28651 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
28652 (ucontext_t): Use __ctx with uc_flags.
28653 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
28654 undefine further down.
28655 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
28656 __glibc_reserved1.
28657 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
28658 undefine further down.
28659 (ucontext_t): Use __ctx with uc_flags.
28660 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
28661 undefine further down.
28662 (ucontext_t): Use __ctx with uc_flags.
28663 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
28664 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
28665 Rename uc_pad to __glibc_reserved1.
28666 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
28667 undefine further down.
28668 (ucontext_t): Use __ctx with uc_flags.
28669 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
28670 further down.
28671 (ucontext_t): Use __ctx with uc_flags.
28672 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
28673 __ctx with uc_flags.
28674 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
28675 (ucontext_t): Use __ctx with uc_flags.
28676 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
28677 __ctx with uc_flags.
28678
30161498
FW
286792017-08-09 Florian Weimer <fweimer@redhat.com>
28680
28681 [BZ #21932]
28682 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
28683 before early return.
28684
5797b410
AS
286852017-08-09 Andreas Schwab <schwab@suse.de>
28686
139237a4 28687 [BZ #21041]
5797b410
AS
28688 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
28689 renamed alias.
28690
139237a4 28691 [BZ #21041]
40c06a3d
AS
28692 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
28693 tst-compat-forwarder.
28694 (modules-names): Add tst-compat-forwarder-mod.
28695 ($(objpfx)tst-compat-forwarder): Depend on
28696 $(objpfx)tst-compat-forwarder-mod.so.
28697 * nptl/tst-compat-forwarder.c: New file.
28698 * nptl/tst-compat-forwarder-mod.c: New file.
28699
36ada5f6
SP
287002017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
28701
0e02b510
SP
28702 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
28703 comments.
28704
36ada5f6
SP
28705 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
28706 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
28707 memcpy_falkor.
28708 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
28709 Bump.
28710 (__libc_ifunc_impl_list): Add __memcpy_falkor.
28711 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
28712 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
28713 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
28714 Add falkor.
28715 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
28716 New macro.
28717
9995c839
AZ
287182017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28719
28720 [BZ #759]
28721 * manual/setjmp.texi (getcontex): Document uc_stack value
28722 compatibility differences.
28723
f17a4233
JM
287242017-08-08 Joseph Myers <joseph@codesourcery.com>
28725
28726 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
28727 (old_malloc_hook): Likewise.
28728 (old_memalign_hook): Likewise.
28729 (old_realloc_hook): Likewise.
28730 (struct hdr): Likewise.
28731 (flood): Likewise.
28732 (freehook): Likewise.
28733 (mallochook): Likewise.
28734 (memalignhook): Likewise.
28735 (reallochook): Likewise.
28736 (mprobe): Likewise.
28737 * malloc/mtrace.c (mallwatch): Likewise.
28738 (tr_old_free_hook): Likewise.
28739 (tr_old_malloc_hook): Likewise.
28740 (tr_old_realloc_hook): Likewise.
28741 (tr_old_memalign_hook): Likewise.
28742 (tr_where): Likewise.
28743 (lock_and_info): Likewise.
28744 (tr_freehook): Likewise.
28745 (tr_mallochook): Likewise.
28746 (tr_reallochook): Likewise.
28747 (tr_memalignhook): Likewise.
28748 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
28749 * misc/mmap.c (__mmap): Likewise.
28750 * misc/mmap64.c (__mmap64): Likewise.
28751 * misc/mprotect.c (__mprotect): Likewise.
28752 * misc/msync.c (msync): Likewise.
28753 * misc/munmap.c (__munmap): Likewise.
28754 * posix/posix_madvise.c (posix_madvise): Likewise.
28755 * socket/send.c (__send): Likewise.
28756 * socket/sendto.c (__sendto): Likewise.
28757 * socket/setsockopt.c (__setsockopt): Likewise.
28758 * string/memcmp.c (__ptr_t): Remove macro.
28759 (MEMCMP): Use void * instead of ptr_t.
28760 * string/memrchr.c (__ptr_t): Remove macro.
28761 (__memrchr): Use void * instead of ptr_t.
28762 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
28763 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
28764 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
28765 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
28766 * sysdeps/mach/msync.c (msync): Likewise.
28767 * sysdeps/mach/munmap.c (__munmap): Likewise.
28768 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
28769 Likewise.
28770 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
28771 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
28772 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
28773 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
28774 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
28775 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
28776 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
28777 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
28778 Likewise.
28779 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
28780 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
28781 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
28782 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
28783 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
28784 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
28785 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
28786 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
28787 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
28788 Likewise.
28789 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
28790 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
28791 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
28792 (MEMCMP): Use void * instead of ptr_t.
28793 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
28794 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
28795
0df595b2
FW
287962017-08-08 Florian Weimer <fweimer@redhat.com>
28797
28798 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
28799 return statement.
28800
086df229
L
288012017-08-08 H.J. Lu <hongjiu.lu@intel.com>
28802
28803 [BZ #21913]
28804 * csu/libc-tls.c: Include <startup.h> first.
28805 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
28806 * elf/dl-tunables.c: Include <startup.h> first.
28807 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
28808 * sysdeps/generic/startup.h: New file.
28809 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
28810 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
28811 (I386_USE_SYSENTER): New. Defined to 0.
28812
fc5ad702
AS
288132017-08-08 Andreas Schwab <schwab@suse.de>
28814
28815 [BZ #21041]
28816 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
28817 * nptl/pt-system.c (system): Likewise.
28818
852d6312
AZ
288192017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28820
28821 [BZ #21780]
28822 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
28823 EOPNOTSUPP.
28824 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
28825 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
28826 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
28827 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
28828 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
28829 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
28830 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
28831
8b164787
JM
288322017-08-07 Joseph Myers <joseph@codesourcery.com>
28833
cd65836b
JM
28834 [BZ #21899]
28835 * bits/sigaction.h (struct sigaction): Define sa_handler and
28836 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
28837 (SA_ONSTACK): Change [__USE_UNIX98] condition to
28838 [__USE_XOPEN_EXTENDED].
28839 (SA_RESTART): Likewise.
28840 (SA_NODEFER): Likewise.
28841 (SA_RESETHAND): Likewise.
28842 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
28843 (struct sigaction): Define sa_handler and sa_sigaction using union
28844 also for [__USE_XOPEN_EXTENDED].
28845 (SA_ONSTACK): Change [__USE_UNIX98] condition to
28846 [__USE_XOPEN_EXTENDED].
28847 (SA_RESTART): Likewise.
28848 (SA_NODEFER): Likewise.
28849 (SA_RESETHAND): Likewise.
28850 * sysdeps/unix/sysv/linux/bits/sigaction.h
28851 (struct sigaction): Define sa_handler and sa_sigaction using union
28852 also for [__USE_XOPEN_EXTENDED].
28853 (SA_ONSTACK): Change [__USE_UNIX98] condition to
28854 [__USE_XOPEN_EXTENDED].
28855 (SA_RESTART): Likewise.
28856 (SA_NODEFER): Likewise.
28857 (SA_RESETHAND): Likewise.
28858 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
28859 (struct sigaction): Define sa_handler and sa_sigaction using union
28860 also for [__USE_XOPEN_EXTENDED].
28861 (SA_ONSTACK): Change [__USE_UNIX98] condition to
28862 [__USE_XOPEN_EXTENDED].
28863 (SA_RESTART): Likewise.
28864 (SA_NODEFER): Likewise.
28865 (SA_RESETHAND): Likewise.
28866 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
28867 (struct sigaction): Define sa_handler and sa_sigaction using union
28868 also for [__USE_XOPEN_EXTENDED].
28869 (SA_ONSTACK): Change [__USE_UNIX98] condition to
28870 [__USE_XOPEN_EXTENDED].
28871 (SA_RESTART): Likewise.
28872 (SA_NODEFER): Likewise.
28873 (SA_RESETHAND): Likewise.
28874 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
28875 (struct sigaction): Define sa_handler and sa_sigaction using union
28876 also for [__USE_XOPEN_EXTENDED].
28877 (SA_ONSTACK): Change [__USE_UNIX98] condition to
28878 [__USE_XOPEN_EXTENDED].
28879 (SA_RESTART): Likewise.
28880 (SA_NODEFER): Likewise.
28881 (SA_RESETHAND): Likewise.
28882 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
28883 (struct sigaction): Define sa_handler and sa_sigaction using union
28884 also for [__USE_XOPEN_EXTENDED].
28885 (SA_ONSTACK): Change [__USE_UNIX98] condition to
28886 [__USE_XOPEN_EXTENDED].
28887 (SA_RESTART): Likewise.
28888 (SA_NODEFER): Likewise.
28889 (SA_RESETHAND): Likewise.
28890 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
28891 (struct sigaction): Define sa_handler and sa_sigaction using union
28892 also for [__USE_XOPEN_EXTENDED].
28893 (SA_ONSTACK): Change [__USE_UNIX98] condition to
28894 [__USE_XOPEN_EXTENDED].
28895 (SA_RESTART): Likewise.
28896 (SA_NODEFER): Likewise. Define directly rather than as alias.
28897 (SA_RESETHAND): Likewise.
28898 (SA_INTERRUPT): Define only for [__USE_MISC].
28899 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
28900 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
28901 [__USE_MISC].
28902 (SA_STACK): Define only for [__USE_MISC].
28903 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
28904 (struct sigaction): Define sa_handler and sa_sigaction using union
28905 also for [__USE_XOPEN_EXTENDED].
28906 (SA_ONSTACK): Change [__USE_UNIX98] condition to
28907 [__USE_XOPEN_EXTENDED].
28908 (SA_RESTART): Likewise.
28909 (SA_NODEFER): Likewise.
28910 (SA_RESETHAND): Likewise.
28911 (SA_NOPTRACE): Define only for [__USE_MISC].
28912
d9fee042
JM
28913 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
28914 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
28915 (struct catalog_info): Likewise.
28916 * inet/htontest.c (lo): Likewise.
28917 (foo): Likewise.
28918 * inet/inet_lnaof.c (inet_lnaof): Likewise.
28919 * inet/inet_net.c (inet_network): Likewise.
28920 * inet/inet_netof.c (inet_netof): Likewise.
28921 * inet/rcmd.c (__ivaliduser): Likewise.
28922 (iruserok): Likewise.
28923 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
28924 * locale/programs/locale-spec.c (locale_special): Likewise.
28925 * nis/nis_findserv.c (struct findserv_req): Likewise.
28926 (__nis_findfastest_with_timeout): Likewise.
28927 * nss/test-netdb.c (test_network): Likewise.
28928 * resolv/inet_neta.c (inet_neta): Likewise.
28929 * resolv/ns_date.c (ns_datetosecs): Likewise.
28930 (SECS_PER_DAY): Likewise.
28931 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
28932 Likewise.
28933 * resolv/res_comp.c (__putlong): Likewise.
28934 (__putshort): Likewise.
28935 (_getlong): Likewise.
28936 (_getshort): Likewise.
28937 * resolv/res_debug.c (p_time): Likewise.
28938 (precsize_ntoa): Likewise.
28939 (precsize_aton): Likewise.
28940 (latlon2ul): Likewise.
28941 (loc_aton): Likewise.
28942 (loc_ntoa): Likewise.
28943 * resolv/res_hconf.c (struct netaddr): Likewise.
28944 (_res_hconf_reorder_addrs): Likewise.
28945 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
28946 (clnttcp_control): Likewise.
28947 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
28948 (clntudp_control): Likewise.
28949 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
28950 (clntunix_control): Likewise.
28951 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
28952 * sunrpc/rpc/auth.h (union des_block): Likewise.
28953 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
28954 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
28955 (xdrrec_create): Likewise.
28956 (xdrrec_endofrecord): Likewise.
28957 (flush_out): Likewise.
28958 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
28959 (xdrstdio_putlong): Likewise.
28960 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
28961 Likewise.
28962
8b164787
JM
28963 * misc/sys/cdefs.h (__long_double_t): Remove.
28964 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
28965 instead of __long_double_t,
28966 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
28967
7ee38e60
SP
289682017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
28969
dd3e86ad
SP
28970 * benchtests/scripts/compare_strings.py: Avoid display error when
28971 running on a text terminal.
28972
b115e819
SP
28973 * benchtests/scripts/compare_strings.py (main): Add an
28974 optional -base option.
28975 (process_results): New argument base_func.
28976
7ee38e60
SP
28977 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
28978 hardcoding memcpy.
28979 * benchtests/bench-memcpy-large.c (test_name): Likewise.
28980 * benchtests/bench-memcpy-random.c (test_name): Likewise.
28981
d5afb385
AS
289822017-08-07 Andreas Schwab <schwab@suse.de>
28983
28984 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
28985 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
28986 * intl/Makefile ($(objpfx)tst-gettext.out)
28987 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
28988 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
28989 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
28990 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
28991 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
28992 * posix/Makefile ($(objpfx)globtest.out)
28993 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
28994 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
28995 ($(objpfx)tst-printf.out): Likewise.
28996 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
28997 ($(objpfx)tst-setcontext3.out): Likewise.
28998
57a72fa3
L
289992017-08-07 H.J. Lu <hongjiu.lu@intel.com>
29000
29001 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29002 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
29003 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
29004 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
29005 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
29006 and mptan-fma.
29007 (CFLAGS-doasin-fma.c): New.
29008 (CFLAGS-dosincos-fma.c): Likewise.
29009 (CFLAGS-e_asin-fma.c): Likewise.
29010 (CFLAGS-e_atan2-fma.c): Likewise.
29011 (CFLAGS-e_exp-fma.c): Likewise.
29012 (CFLAGS-e_log-fma.c): Likewise.
29013 (CFLAGS-e_pow-fma.c): Likewise.
29014 (CFLAGS-halfulp-fma.c): Likewise.
29015 (CFLAGS-mpa-fma.c): Likewise.
29016 (CFLAGS-mpatan-fma.c): Likewise.
29017 (CFLAGS-mpatan2-fma.c): Likewise.
29018 (CFLAGS-mpexp-fma.c): Likewise.
29019 (CFLAGS-mplog-fma.c): Likewise.
29020 (CFLAGS-mpsqrt-fma.c): Likewise.
29021 (CFLAGS-mptan-fma.c): Likewise.
29022 (CFLAGS-s_atan-fma.c): Likewise.
29023 (CFLAGS-sincos32-fma.c): Likewise.
29024 (CFLAGS-slowexp-fma.c): Likewise.
29025 (CFLAGS-slowpow-fma.c): Likewise.
29026 (CFLAGS-s_sin-fma.c): Likewise.
29027 (CFLAGS-s_tan-fma.c): Likewise.
29028 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
29029 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
29030 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
29031 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
29032 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
29033 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
29034 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
29035 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
29036 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
29037 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
29038 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
29039 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
29040 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
29041 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
29042 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
29043 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
29044 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
29045 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
29046 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
29047 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
29048 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
29049 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
29050 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
29051 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
29052 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
29053 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29054 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29055 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
29056 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29057 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29058 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29059
219dd320
JM
290602017-08-04 Joseph Myers <joseph@codesourcery.com>
29061
29062 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
29063 (min_of_type_f): New macro.
29064 (min_of_type_): Likewise.
29065 (min_of_type_l): Likewise.
29066 (min_of_type_f128): Likewise.
29067 (min_of_type): Define using __MATH_TG and taking an expression
29068 argument.
29069 (math_check_force_underflow): Pass expression instead of type to
29070 min_of_type.
29071 (math_check_force_underflow_nonneg): Likewise.
29072
64d4dea6
L
290732017-08-04 H.J. Lu <hongjiu.lu@intel.com>
29074
29075 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
29076 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
29077 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
29078
973da22a
L
290792017-08-04 H.J. Lu <hongjiu.lu@intel.com>
29080
29081 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29082 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
29083 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
29084 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
29085 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
29086 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
29087 memcpy_chk-nonshared, mempcpy_chk-nonshared,
29088 memmove_chk-nonshared and memset_chk-nonshared
29089 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
29090 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
29091 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
29092 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
29093 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
29094 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
29095 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
29096 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
29097 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
29098 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
29099 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
29100 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
29101 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
29102 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
29103 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
29104 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
29105 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
29106 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
29107 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
29108 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
29109 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
29110 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
29111 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
29112 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
29113 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
29114 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
29115 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
29116 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
29117 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
29118 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
29119 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
29120 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
29121 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
29122 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
29123 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
29124 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
29125 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
29126 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
29127 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
29128 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
29129 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
29130 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
29131 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
29132 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
29133 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
29134 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
29135 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
29136 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
29137 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
29138 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
29139 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
29140 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
29141 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
29142 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
29143 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
29144 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
29145 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
29146 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
29147 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
29148 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
29149 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
29150 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
29151 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
29152 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
29153 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
29154 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
29155 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
29156 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
29157 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
29158 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
29159 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
29160 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29161 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29162 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29163 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29164 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29165 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29166 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29167 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29168 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29169 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29170 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29171 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29172 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29173 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
29174 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
29175 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29176 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
29177 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29178 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29179 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29180 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29181 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29182 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29183 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
29184 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
29185 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
29186 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
29187 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29188 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
29189 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29190 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29191 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29192 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29193 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29194 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29195 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29196 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29197
8537e0f6
L
291982017-08-04 H.J. Lu <hongjiu.lu@intel.com>
29199
29200 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
29201 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
29202 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
29203 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
29204 svml_d_log2_core-sse2, svml_d_log4_core-sse,
29205 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
29206 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
29207 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
29208 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
29209 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
29210 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
29211 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
29212 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
29213 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
29214 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
29215 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
29216 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
29217 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
29218 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
29219 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
29220 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
29221 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
29222 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
29223 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
29224 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
29225 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
29226 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
29227 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
29228 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
29229 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
29230 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
29231 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
29232 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
29233 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
29234 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
29235 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
29236 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
29237 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
29238 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
29239 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
29240 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
29241 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
29242 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
29243 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
29244 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
29245 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
29246 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
29247 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
29248 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
29249 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
29250 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
29251 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
29252 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
29253 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
29254 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
29255 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
29256 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
29257 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
29258 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
29259 ...
29260 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
29261 Don't include <sysdep.h> nor <init-arch.h>.
29262 (_ZGVbN2v_cos): Removed.
29263 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
29264 ...
29265 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
29266 Don't include <sysdep.h> nor <init-arch.h>.
29267 (_ZGVdN4v_cos): Removed.
29268 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
29269 ...
29270 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
29271 Don't include <sysdep.h> nor <init-arch.h>.
29272 (_ZGVeN8v_cos): Removed.
29273 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
29274 ...
29275 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
29276 Don't include <sysdep.h> nor <init-arch.h>.
29277 (_ZGVbN2v_exp): Removed.
29278 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
29279 ...
29280 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
29281 Don't include <sysdep.h> nor <init-arch.h>.
29282 (_ZGVdN4v_exp): Removed.
29283 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
29284 ...
29285 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
29286 Don't include <sysdep.h> nor <init-arch.h>.
29287 (_ZGVeN8v_exp): Removed.
29288 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
29289 ...
29290 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
29291 Don't include <sysdep.h> nor <init-arch.h>.
29292 (_ZGVbN2v_log): Removed.
29293 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
29294 ...
29295 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
29296 Don't include <sysdep.h> nor <init-arch.h>.
29297 (_ZGVdN4v_log): Removed.
29298 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
29299 ...
29300 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
29301 Don't include <sysdep.h> nor <init-arch.h>.
29302 (_ZGVeN8v_log): Removed.
29303 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
29304 ...
29305 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
29306 Don't include <sysdep.h> nor <init-arch.h>.
29307 (_ZGVbN2vv_pow): Removed.
29308 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
29309 ...
29310 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
29311 Don't include <sysdep.h> nor <init-arch.h>.
29312 (_ZGVdN4vv_pow): Removed.
29313 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
29314 ...
29315 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
29316 Don't include <sysdep.h> nor <init-arch.h>.
29317 (_ZGVeN8vv_pow): Removed.
29318 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
29319 ...
29320 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
29321 Don't include <sysdep.h> nor <init-arch.h>.
29322 (_ZGVbN2v_sin): Removed.
29323 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
29324 ...
29325 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
29326 Don't include <sysdep.h> nor <init-arch.h>.
29327 (_ZGVbN4v_sin): Removed.
29328 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
29329 ...
29330 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
29331 Don't include <sysdep.h> nor <init-arch.h>.
29332 (_ZGVbN8v_sin): Removed.
29333 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
29334 ...
29335 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
29336 Don't include <sysdep.h> nor <init-arch.h>.
29337 (_ZGVbN2vvv_sincos): Removed.
29338 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
29339 ...
29340 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
29341 Don't include <sysdep.h> nor <init-arch.h>.
29342 (_ZGVdN4vvv_sincos): Removed.
29343 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
29344 ...
29345 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
29346 Don't include <sysdep.h> nor <init-arch.h>.
29347 (_ZGVeN8vvv_sincos): Removed.
29348 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
29349 ...
29350 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
29351 Don't include <sysdep.h> nor <init-arch.h>.
29352 (_ZGVeN16v_cosf): Removed.
29353 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
29354 ...
29355 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
29356 Don't include <sysdep.h> nor <init-arch.h>.
29357 (_ZGVbN4v_cosf): Removed.
29358 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
29359 ...
29360 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
29361 Don't include <sysdep.h> nor <init-arch.h>.
29362 (_ZGVdN8v_cosf): Removed.
29363 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
29364 ...
29365 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
29366 Don't include <sysdep.h> nor <init-arch.h>.
29367 (_ZGVeN16v_expf): Removed.
29368 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
29369 ...
29370 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
29371 Don't include <sysdep.h> nor <init-arch.h>.
29372 (_ZGVbN4v_expf): Removed.
29373 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
29374 ...
29375 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
29376 Don't include <sysdep.h> nor <init-arch.h>.
29377 (_ZGVdN8v_expf): Removed.
29378 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
29379 ...
29380 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
29381 Don't include <sysdep.h> nor <init-arch.h>.
29382 (_ZGVeN16v_logf): Removed.
29383 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
29384 ...
29385 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
29386 Don't include <sysdep.h> nor <init-arch.h>.
29387 (_ZGVbN4v_logf): Removed.
29388 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
29389 ...
29390 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
29391 Don't include <sysdep.h> nor <init-arch.h>.
29392 (_ZGVdN8v_logf): Removed.
29393 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
29394 ...
29395 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
29396 Don't include <sysdep.h> nor <init-arch.h>.
29397 (_ZGVeN16vv_powf): Removed.
29398 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
29399 ...
29400 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
29401 Don't include <sysdep.h> nor <init-arch.h>.
29402 (_ZGVbN4vv_powf): Removed.
29403 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
29404 ...
29405 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
29406 Don't include <sysdep.h> nor <init-arch.h>.
29407 (_ZGVdN8vv_powf): Removed.
29408 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
29409 ...
29410 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
29411 Don't include <sysdep.h> nor <init-arch.h>.
29412 (_ZGVeN16vvv_sincosf): Removed.
29413 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
29414 ...
29415 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
29416 Don't include <sysdep.h> nor <init-arch.h>.
29417 (_ZGVbN4vvv_sincosf): Removed.
29418 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
29419 ...
29420 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
29421 Don't include <sysdep.h> nor <init-arch.h>.
29422 (_ZGVdN8vvv_sincosf): Removed.
29423 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
29424 ...
29425 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
29426 Don't include <sysdep.h> nor <init-arch.h>.
29427 (_ZGVeN16v_sinf): Removed.
29428 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
29429 ...
29430 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
29431 Don't include <sysdep.h> nor <init-arch.h>.
29432 (_ZGVbN4v_sinf): Removed.
29433 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
29434 ...
29435 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
29436 Don't include <sysdep.h> nor <init-arch.h>.
29437 (_ZGVdN8v_sinf): Removed.
29438
10a87ca4
L
294392017-08-04 H.J. Lu <hongjiu.lu@intel.com>
29440
29441 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29442 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
29443 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
29444 s_rint-sse4_1 and s_rintf-sse4_1.
29445 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
29446 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
29447 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
29448 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
29449 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
29450 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
29451 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
29452 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
29453 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
29454 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
29455 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
29456 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
29457 (__ceil): Removed.
29458 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
29459 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
29460 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
29461 (__ceilf): Removed.
29462 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
29463 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
29464 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
29465 (__floor): Removed.
29466 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
29467 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
29468 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
29469 (__floorf): Removed.
29470 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
29471 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
29472 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
29473 (__nearbyint): Removed.
29474 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
29475 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
29476 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
29477 (__nearbyintf): Removed.
29478 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
29479 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
29480 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
29481 (__rint): Removed.
29482 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
29483 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
29484 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
29485 (__rintf): Removed.
29486
1e8e527d
L
294872017-08-04 H.J. Lu <hongjiu.lu@intel.com>
29488
29489 * sysdeps/i386/start.S (_start): Check Check PIC instead of
29490 SHARED. Avoid dynamic relocation against main in static PIE.
29491
e13daad7
L
294922017-08-04 H.J. Lu <hongjiu.lu@intel.com>
29493
29494 [BZ #21815]
29495 * elf/Makefile (CFLAGS-tst-prelink.c): New.
29496 (LDFLAGS-tst-prelink): Likewise.
29497
627c69c8
L
294982017-08-04 H.J. Lu <hongjiu.lu@intel.com>
29499
29500 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
29501 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
29502 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
29503 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
29504 (INTERNAL_SYSCALL_NCS): Likewise.
29505 (LOADARGS_1): Likewise.
29506 (LOADARGS_5): Likewise.
29507 (RESTOREARGS_1): Likewise.
29508 (RESTOREARGS_5): Likewise.
29509
fc11ff8d
L
295102017-08-04 H.J. Lu <hongjiu.lu@intel.com>
29511
29512 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
29513 (MEMPCPY_SYMBOL): Likewise.
29514 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
29515 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
29516 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
29517 in libc.a.
29518 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29519 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
29520 Likewise.
29521 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
29522 (__hidden_ver1): Don't use in libc.a.
29523 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
29524 (__mempcpy): Don't create a weak alias in libc.a.
29525 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
29526 libc.a.
29527 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
29528 (__hidden_ver1): Don't use in libc.a.
29529
19f1a11e
L
295302017-08-04 H.J. Lu <hongjiu.lu@intel.com>
29531
29532 * config.make.in (have-insert): New.
29533 * configure.ac (libc_cv_insert): New. Set to yes if linker
29534 supports INSERT in linker script.
29535 (AC_SUBST(libc_cv_insert): New.
29536 * configure: Regenerated.
29537 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
29538 if $(have-insert) == yes.
29539
3093fd5e
L
295402017-08-04 H.J. Lu <hongjiu.lu@intel.com>
29541
29542 * elf/Makefile (tests): Add vismain only if
29543 $(have-protected-data) == yes.
29544 (tests-pie): Likewise.
29545
d2cf37c0
L
295462017-08-04 H.J. Lu <hongjiu.lu@intel.com>
29547
29548 [BZ #21871]
29549 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
29550 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
29551
c8a0e6ec
L
295522017-08-04 H.J. Lu <hongjiu.lu@intel.com>
29553
29554 [BZ #21790]
29555 * sysdeps/i386/i586/memset.S
29556 (__memset_zero_constant_len_parameter): Removed.
29557 * sysdeps/i386/i686/memset.S
29558 (__memset_zero_constant_len_parameter): Likewise.
29559 * sysdeps/i386/i686/multiarch/memset_chk.S
29560 (__memset_zero_constant_len_parameter): Likewise.
29561 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
29562 Likewise.
29563
2b34e271
AJ
295642017-08-03 Aurelien Jarno <aurelien@aurel32.net>
29565
29566 * stdlib/getentropy.c (getentropy): Change return type to int.
29567
144bdab0
AJ
295682017-08-03 Aurelien Jarno <aurelien@aurel32.net>
29569
29570 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
29571
24ab7723
JM
295722017-08-03 Joseph Myers <joseph@codesourcery.com>
29573
29574 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
29575 u_intN_t.
29576 * math/s_nexttowardf.c (__nexttowardf): Likewise.
29577 * sysdeps/generic/math_private.h (ieee_double_shape_type):
29578 Likewise.
29579 (ieee_float_shape_type): Likewise.
29580 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
29581 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
29582 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
29583 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
29584 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
29585 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
29586 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
29587 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
29588 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
29589 Likewise.
29590 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
29591 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
29592 (__ieee754_yn): Likewise.
29593 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
29594 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
29595 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
29596 Likewise.
29597 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
29598 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
29599 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
29600 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
29601 (__erfc): Likewise.
29602 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
29603 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
29604 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
29605 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
29606 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
29607 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
29608 Likewise.
29609 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
29610 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
29611 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
29612 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
29613 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
29614 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
29615 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
29616 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
29617 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
29618 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
29619 (__issignaling): Likewise.
29620 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
29621 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
29622 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
29623 Likewise.
29624 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
29625 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
29626 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
29627 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
29628 Likewise.
29629 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
29630 Likewise.
29631 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
29632 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
29633 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
29634 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
29635 (__erfcf): Likewise.
29636 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
29637 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
29638 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
29639 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
29640 Likewise.
29641 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
29642 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
29643 Likewise.
29644 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
29645 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
29646 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
29647 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
29648 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
29649 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
29650 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
29651 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
29652 Likewise.
29653 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
29654 Likewise.
29655 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
29656 Likewise.
29657 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
29658 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
29659 Likewise.
29660 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
29661 Likewise.
29662 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
29663 (__ieee754_ynl): Likewise.
29664 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
29665 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
29666 Likewise.
29667 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
29668 Likewise.
29669 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
29670 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
29671 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
29672 Likewise.
29673 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
29674 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
29675 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
29676 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
29677 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
29678 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
29679 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
29680 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
29681 Likewise.
29682 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
29683 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
29684 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
29685 Likewise.
29686 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
29687 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
29688 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
29689 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
29690 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
29691 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
29692 Likewise.
29693 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
29694 Likewise.
29695 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
29696 Likewise.
29697 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
29698 Likewise.
29699 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
29700 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
29701 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29702 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
29703 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
29704 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
29705 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
29706 Likewise.
29707 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
29708 Likewise.
29709 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
29710 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
29711 Likewise.
29712 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
29713 (__ieee754_remainderl): Likewise.
29714 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
29715 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
29716 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
29717 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
29718 Likewise.
29719 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
29720 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29721 Likewise.
29722 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
29723 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
29724 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
29725 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
29726 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
29727 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
29728 Likewise.
29729 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
29730 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
29731 (__ieee754_y0l): Likewise.
29732 (pzero): Likewise.
29733 (qzero): Likewise.
29734 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
29735 (__ieee754_y1l): Likewise.
29736 (pone): Likewise.
29737 (qone): Likewise.
29738 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
29739 (__ieee754_ynl): Likewise.
29740 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
29741 (__ieee754_lgammal_r): Likewise.
29742 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
29743 Likewise.
29744 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
29745 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
29746 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
29747 (__erfcl): Likewise.
29748 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
29749 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
29750 Likewise.
29751 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
29752 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
29753 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
29754 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
29755 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
29756 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
29757 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
29758 Likewise.
29759 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
29760 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
29761 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
29762 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
29763 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
29764 Likewise.
29765 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
29766 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
29767 Likewise.
29768 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
29769 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
29770 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
29771 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
29772 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
29773
964263bb
FW
297742017-08-03 Florian Weimer <fweimer@redhat.com>
29775
29776 [BZ #21885]
29777 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
29778 on memory allocation failure.
29779
e98c925f
AM
297802017-08-03 Alan Modra <amodra@gmail.com>
29781
29782 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
29783 tst-tlsopt-powerpc.c with function name change and no test harness.
29784 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
29785 Call tls_get_addr_opt_test.
29786 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
29787 (modules-names): Add mod-tlsopt-powerpc.
29788 (mod-tlsopt-powerpc.so-no-z-defs): Define.
29789 (tst-tlsopt-powerpc): Depend on .so.
29790 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
29791 define. Expand use in TLS_GD and TLS_LD.
29792
8ee1abdb
ST
297932017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
29794
29795 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
29796 function.
3da5756e 29797 * sysdeps/posix/shm_open.c: Include <pthread.h>.
8ee1abdb 29798
42df8d59
JM
297992017-08-02 Joseph Myers <joseph@codesourcery.com>
29800
29801 [BZ #21686]
29802 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
29803 comparing size with that of double.
29804 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
29805 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
29806 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
29807 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
29808 (__TGMATH_BINARY_REAL_IMAG): Likewise.
29809 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
29810 unsigned __int128 types.
29811
b7f95f49
SE
298122017-08-02 Steve Ellcey <sellcey@cavium.com>
29813
29814 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
29815 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
29816 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
29817 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
29818 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
29819
5b736bc9
L
298202017-08-02 H.J. Lu <hongjiu.lu@intel.com>
29821
29822 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
29823
dfc93c41
L
298242017-08-02 H.J. Lu <hongjiu.lu@intel.com>
29825
29826 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
29827 of SHARED.
29828 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
29829 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
29830 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29831 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29832 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29833 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29834 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29835
2fee621d
JM
298362017-08-02 Joseph Myers <joseph@codesourcery.com>
29837
29838 [BZ #21685]
29839 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
29840 bit-field expressions passed to sizeof or typeof.
29841 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29842 (__TGMATH_F128): Likewise.
29843 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29844 (__TGMATH_CF128): Likewise.
29845 (__TGMATH_UNARY_REAL_ONLY): Likewise.
29846 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
29847 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
29848 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
29849 (__TGMATH_BINARY_REAL_ONLY): Likewise.
29850 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
29851 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
29852 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
29853 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
29854 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
29855 (__TGMATH_UNARY_REAL_IMAG): Likewise.
29856 (__TGMATH_UNARY_IMAG): Likewise.
29857 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
29858 (__TGMATH_BINARY_REAL_IMAG): Likewise.
29859 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
29860 type.
29861 (define_vars_for_type): Handle bit_field type specially.
29862 (Tests.__init__): Declare structure with bit-field element.
29863
b358255f
L
298642017-08-02 H.J. Lu <hongjiu.lu@intel.com>
29865
29866 [BZ #21791]
29867 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
29868 (MEMCPY_CHK): Define only if SHARED is defined.
29869 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
29870 Likewise.
29871 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
29872 Likewise.
edf66db1
SP
29873
29874See ChangeLog.18 for earlier changes.