]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
S390: Refactor wcslen ifunc handling.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
2e02d0b7
SL
12018-12-18 Stefan Liebler <stli@linux.ibm.com>
2
3 * sysdeps/s390/multiarch/Makefile
4 (sysdep_routines): Remove wcslen variants.
5 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
6 * sysdeps/s390/multiarch/ifunc-impl-list.c
7 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
8 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
9 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
10 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
11 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
12 * sysdeps/s390/multiarch/wcslen.c: Move to ...
13 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
14 * sysdeps/s390/ifunc-wcslen.h: New file.
15
89bfcbdf
SL
162018-12-18 Stefan Liebler <stli@linux.ibm.com>
17
18 * sysdeps/s390/multiarch/Makefile
19 (sysdep_routines): Remove memrchr variants.
20 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
21 * sysdeps/s390/multiarch/ifunc-impl-list.c
22 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
23 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
24 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
25 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
26 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
27 * sysdeps/s390/multiarch/memrchr.c: Move to ...
28 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
29 * sysdeps/s390/ifunc-memrchr.h: New file.
30
196655ba
SL
312018-12-18 Stefan Liebler <stli@linux.ibm.com>
32
33 * sysdeps/s390/multiarch/Makefile
34 (sysdep_routines): Remove memccpy variants.
35 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
36 * sysdeps/s390/multiarch/ifunc-impl-list.c
37 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
38 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
39 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
40 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
41 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
42 * sysdeps/s390/multiarch/memccpy.c: Move to ...
43 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
44 * sysdeps/s390/ifunc-memccpy.h: New file.
45
4c7b3cec
SL
462018-12-18 Stefan Liebler <stli@linux.ibm.com>
47
48 * sysdeps/s390/multiarch/Makefile
49 (sysdep_routines): Remove rawmemchr variants.
50 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
51 * sysdeps/s390/multiarch/ifunc-impl-list.c
52 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
53 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
54 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
55 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
56 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
57 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
58 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
59 * sysdeps/s390/ifunc-rawmemchr.h: New file.
60
581a051c
SL
612018-12-18 Stefan Liebler <stli@linux.ibm.com>
62
63 * sysdeps/s390/multiarch/Makefile
64 (sysdep_routines): Remove memchr variants.
65 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
66 * sysdeps/s390/multiarch/ifunc-impl-list.c
67 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
68 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
69 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
70 * sysdeps/s390/multiarch/memchr.c: Move to ...
71 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
72 * sysdeps/s390/ifunc-memchr.h: New file.
73 * sysdeps/s390/s390-64/memchr.S: Move to ...
74 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
75 for 31/64bit and ifunc handling.
76 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
77 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
78 * sysdeps/s390/s390-32/memchr.S: Likewise.
79
5d2ec20a
SL
802018-12-18 Stefan Liebler <stli@linux.ibm.com>
81
82 * sysdeps/s390/multiarch/Makefile
83 (sysdep_routines): Remove strcspn variants.
84 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
85 * sysdeps/s390/multiarch/ifunc-impl-list.c
86 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
87 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
88 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
89 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
90 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
91 * sysdeps/s390/multiarch/strcspn.c: Move to ...
92 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
93 * sysdeps/s390/ifunc-strcspn.h: New file.
94
572cca93
SL
952018-12-18 Stefan Liebler <stli@linux.ibm.com>
96
97 * sysdeps/s390/multiarch/Makefile
98 (sysdep_routines): Remove strpbrk variants.
99 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
100 * sysdeps/s390/multiarch/ifunc-impl-list.c
101 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
102 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
103 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
104 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
105 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
106 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
107 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
108 * sysdeps/s390/ifunc-strpbrk.h: New file.
109
483fc569
SL
1102018-12-18 Stefan Liebler <stli@linux.ibm.com>
111
112 * sysdeps/s390/multiarch/Makefile
113 (sysdep_routines): Remove strspn variants.
114 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
115 * sysdeps/s390/multiarch/ifunc-impl-list.c
116 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
117 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
118 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
119 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
120 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
121 * sysdeps/s390/multiarch/strspn.c: Move to ...
122 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
123 * sysdeps/s390/ifunc-strspn.h: New file.
124
26ea8760
SL
1252018-12-18 Stefan Liebler <stli@linux.ibm.com>
126
127 * sysdeps/s390/multiarch/Makefile
128 (sysdep_routines): Remove strrchr variants.
129 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
130 * sysdeps/s390/multiarch/ifunc-impl-list.c
131 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
132 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
133 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
134 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
135 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
136 * sysdeps/s390/multiarch/strrchr.c: Move to ...
137 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
138 * sysdeps/s390/ifunc-strrchr.h: New file.
139
a1361e65
SL
1402018-12-18 Stefan Liebler <stli@linux.ibm.com>
141
142 * sysdeps/s390/multiarch/Makefile
143 (sysdep_routines): Remove strchrnul variants.
144 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
145 * sysdeps/s390/multiarch/ifunc-impl-list.c
146 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
147 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
148 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
149 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
150 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
151 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
152 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
153 * sysdeps/s390/ifunc-strchrnul.h: New file.
154
32f12653
SL
1552018-12-18 Stefan Liebler <stli@linux.ibm.com>
156
157 * sysdeps/s390/multiarch/Makefile
158 (sysdep_routines): Remove strchr variants.
159 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
160 * sysdeps/s390/multiarch/ifunc-impl-list.c
161 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
162 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
163 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
164 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
165 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
166 * sysdeps/s390/multiarch/strchr.c: Move to ...
167 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
168 * sysdeps/s390/ifunc-strchr.h: New file.
169
316b8842
SL
1702018-12-18 Stefan Liebler <stli@linux.ibm.com>
171
172 * sysdeps/s390/multiarch/Makefile
173 (sysdep_routines): Remove strncmp variants.
174 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
175 * sysdeps/s390/multiarch/ifunc-impl-list.c
176 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
177 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
178 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
179 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
180 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
181 * sysdeps/s390/multiarch/strncmp.c: Move to ...
182 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
183 * sysdeps/s390/ifunc-strncmp.h: New file.
184
cdab85fe
SL
1852018-12-18 Stefan Liebler <stli@linux.ibm.com>
186
187 * sysdeps/s390/multiarch/Makefile
188 (sysdep_routines): Remove strcmp variants.
189 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
190 * sysdeps/s390/multiarch/ifunc-impl-list.c
191 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
192 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
193 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
194 * sysdeps/s390/multiarch/strcmp.c: Move to ...
195 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
196 * sysdeps/s390/ifunc-strcmp.h: New file.
197 * sysdeps/s390/s390-64/strcmp.S: Move to ...
198 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
199 for 31/64bit and ifunc handling.
200 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
201 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
202 * sysdeps/s390/s390-32/strcmp.S: Likewise.
203
b9353351
SL
2042018-12-18 Stefan Liebler <stli@linux.ibm.com>
205
206 * sysdeps/s390/multiarch/Makefile
207 (sysdep_routines): Remove strncat variants.
208 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
209 * sysdeps/s390/multiarch/ifunc-impl-list.c
210 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
211 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
212 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
213 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
214 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
215 * sysdeps/s390/multiarch/strncat.c: Move to ...
216 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
217 * sysdeps/s390/ifunc-strncat.h: New file.
218
8e5a0afb
SL
2192018-12-18 Stefan Liebler <stli@linux.ibm.com>
220
221 * sysdeps/s390/multiarch/Makefile
222 (sysdep_routines): Remove strcat variants.
223 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
224 * sysdeps/s390/multiarch/ifunc-impl-list.c
225 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
226 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
227 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
228 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
229 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
230 * sysdeps/s390/multiarch/strcat.c: Move to ...
231 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
232 * sysdeps/s390/ifunc-strcat.h: New file.
233
25218822
SL
2342018-12-18 Stefan Liebler <stli@linux.ibm.com>
235
236 * sysdeps/s390/multiarch/Makefile
237 (sysdep_routines): Remove stpncpy variants.
238 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
239 * sysdeps/s390/multiarch/ifunc-impl-list.c
240 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
241 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
242 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
243 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
244 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
245 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
246 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
247 * sysdeps/s390/ifunc-stpncpy.h: New file.
248
d1bdbf38
SL
2492018-12-18 Stefan Liebler <stli@linux.ibm.com>
250
251 * sysdeps/s390/multiarch/Makefile
252 (sysdep_routines): Remove strncpy variants.
253 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
254 * sysdeps/s390/multiarch/ifunc-impl-list.c
255 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
256 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
257 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
258 * sysdeps/s390/multiarch/strncpy.c: Move to ...
259 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
260 * sysdeps/s390/ifunc-strncpy.h: New file.
261 * sysdeps/s390/s390-64/strncpy.S: Move to ...
262 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
263 and adjust ifunc handling.
264 * sysdeps/s390/s390-32/strncpy.S: Move to ...
265 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
266 and adjust ifunc handling.
267 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
268 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
269
97044931
SL
2702018-12-18 Stefan Liebler <stli@linux.ibm.com>
271
272 * sysdeps/s390/multiarch/Makefile
273 (sysdep_routines): Remove stpcpy variants.
274 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
275 * sysdeps/s390/multiarch/ifunc-impl-list.c
276 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
277 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
278 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
279 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
280 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
281 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
282 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
283 * sysdeps/s390/ifunc-stpcpy.h: New file.
284
914a4e05
SL
2852018-12-18 Stefan Liebler <stli@linux.ibm.com>
286
287 * sysdeps/s390/multiarch/Makefile
288 (sysdep_routines): Remove strcpy variants.
289 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
290 * sysdeps/s390/multiarch/ifunc-impl-list.c
291 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
292 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
293 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
294 * sysdeps/s390/multiarch/strcpy.c: Move to ...
295 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
296 * sysdeps/s390/ifunc-strcpy.h: New file.
297 * sysdeps/s390/s390-64/strcpy.S: Move to ...
298 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
299 for 31/64bit and ifunc handling.
300 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
301 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
302 * sysdeps/s390/s390-32/strcpy.S: Likewise.
303
de10e44d
SL
3042018-12-18 Stefan Liebler <stli@linux.ibm.com>
305
306 * sysdeps/s390/multiarch/Makefile
307 (sysdep_routines): Remove strnlen variants.
308 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
309 * sysdeps/s390/multiarch/ifunc-impl-list.c
310 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
311 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
312 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
313 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
314 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
315 * sysdeps/s390/multiarch/strnlen.c: Move to ...
316 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
317 * sysdeps/s390/ifunc-strnlen.h: New file.
318
ff3ca374
SL
3192018-12-18 Stefan Liebler <stli@linux.ibm.com>
320
321 * sysdeps/s390/multiarch/Makefile
322 (sysdep_routines): Remove strlen variants.
323 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
324 * sysdeps/s390/multiarch/ifunc-impl-list.c
325 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
326 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
327 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
328 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
329 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
330 * sysdeps/s390/multiarch/strlen.c: Move to ...
331 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
332 * sysdeps/s390/ifunc-strlen.h: New file.
333
d2c4c403
SL
3342018-12-18 Stefan Liebler <stli@linux.ibm.com>
335
336 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
337 * sysdeps/s390/multiarch/ifunc-impl-list.c
338 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
339 * sysdeps/s390/ifunc-memmem.h: New file.
340 * sysdeps/s390/memmem.c: Likewise.
341 * sysdeps/s390/memmem-c.c: Likewise.
342 * sysdeps/s390/memmem-vx.c: Likewise.
343
8c25dddd
SL
3442018-12-18 Stefan Liebler <stli@linux.ibm.com>
345
346 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
347 * sysdeps/s390/multiarch/ifunc-impl-list.c
348 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
349 * sysdeps/s390/ifunc-strstr.h: New file.
350 * sysdeps/s390/strstr.c: Likewise.
351 * sysdeps/s390/strstr-c.c: Likewise.
352 * sysdeps/s390/strstr-vx.c: Likewise.
353
cdd927d9
SL
3542018-12-18 Stefan Liebler <stli@linux.ibm.com>
355
356 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
357 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
358 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
359 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
360 New defines.
361 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
362 * sysdeps/s390/memmove-c.c: New file.
363 * sysdeps/s390/memmove.c: Likewise.
364 * sysdeps/s390/multiarch/ifunc-impl-list.c
365 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
366
2ee1bc57
SL
3672018-12-18 Stefan Liebler <stli@linux.ibm.com>
368
369 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
370 * sysdeps/s390/configure.ac: Add check for z13 support.
371 * sysdeps/s390/configure: Regenerated.
372
d097d976
SL
3732018-12-18 Stefan Liebler <stli@linux.ibm.com>
374
375 * sysdeps/s390/memcopy.h: New file.
376
e099aab0
SL
3772018-12-18 Stefan Liebler <stli@linux.ibm.com>
378
379 * sysdeps/s390/s390-32/bcopy.S: Remove.
380 * sysdeps/s390/s390-64/bcopy.S: Likewise.
381
18eb862d
SL
3822018-12-18 Stefan Liebler <stli@linux.ibm.com>
383
384 * sysdeps/s390/ifunc-memcpy.h: New File.
385 * sysdeps/s390/memcpy.S: Move to ...
386 * sysdeps/s390/memcpy-z900.S ... here.
387 Move implementations from memcpy-s390x.s to here.
388 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
389 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
390 Remove memcpy/mempcpy variants.
391 * sysdeps/s390/Makefile (sysdep_routines):
392 Add memcpy/mempcpy variants.
393 * sysdeps/s390/multiarch/ifunc-impl-list.c
394 (__libc_ifunc_impl_list): Adjust ifunc variants for
395 memcpy and mempcpy.
396 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
397 to ...
398 * sysdeps/s390/memcpy.c: ... here.
399 Adjust ifunc variants for memcpy.
400 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
401 * sysdeps/s390/mempcpy.c: ... here.
402 Adjust ifunc variants for mempcpy.
403 * sysdeps/s390/mempcpy.S: Delete file.
404
df3eb8de
SL
4052018-12-18 Stefan Liebler <stli@linux.ibm.com>
406
407 * sysdeps/s390/s390-64/memcpy.S: Move to ...
408 * sysdeps/s390/memcpy.S: ... here.
409 Adjust to be usable for 31/64bit.
410 * sysdeps/s390/s390-32/memcpy.S: Delete File.
411 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
412 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
413 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
414 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
415 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
416 Adjust to be usable for 31/64bit.
417 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
418 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
419 * sysdeps/s390/multiarch/memcpy.c: ... here.
420 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
421
b7e024a8
SL
4222018-12-18 Stefan Liebler <stli@linux.ibm.com>
423
424 * sysdeps/s390/ifunc-memcmp.h: New File.
425 * sysdeps/s390/memcmp.S: Move to ...
426 * sysdeps/s390/memcmp-z900.S ... here.
427 Move implementations from memcmp-s390x.s to here.
428 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
429 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
430 Remove memcmp variants.
431 * sysdeps/s390/Makefile (sysdep_routines):
432 Add memcmp variants.
433 * sysdeps/s390/multiarch/ifunc-impl-list.c
434 (__libc_ifunc_impl_list): Adjust ifunc variants for
435 memcmp.
436 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
437 to ...
438 * sysdeps/s390/memcmp.c: ... here.
439 Adjust ifunc variants for memcmp.
440
6c6b8c74
SL
4412018-12-18 Stefan Liebler <stli@linux.ibm.com>
442
443 * sysdeps/s390/s390-64/memcmp.S: Move to ...
444 * sysdeps/s390/memcmp.S: ... here.
445 Adjust to be usable for 31/64bit.
446 * sysdeps/s390/s390-32/memcmp.S: Delete File.
447 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
448 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
449 Remove memcmp.
450 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
451 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
452 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
453 Adjust to be usable for 31/64bit.
454 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
455 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
456 * sysdeps/s390/multiarch/memcmp.c: ... here.
457 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
458
07be3928
SL
4592018-12-18 Stefan Liebler <stli@linux.ibm.com>
460
461 * sysdeps/s390/s390-32/bzero.S: Delete file.
462 * sysdeps/s390/s390-64/bzero.S: Likewise.
463 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
464 * sysdeps/s390/bzero.c: New file.
465 * sysdeps/s390/memset-z900.S: Add bzero entry points.
466 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
467 * sysdeps/s390/multiarch/ifunc-impl-list.c
468 (__libc_ifunc_impl_list): Add bzero ifunc variants.
469
712a254a
SL
4702018-12-18 Stefan Liebler <stli@linux.ibm.com>
471
472 * sysdeps/s390/ifunc-memset.h: New File.
473 * sysdeps/s390/memset.S: Move to ...
474 * sysdeps/s390/memset-z900.S ... here.
475 Move implementations from memset-s390x.s to here.
476 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
477 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
478 Remove memset variants.
479 * sysdeps/s390/Makefile (sysdep_routines):
480 Add memset variants.
481 * sysdeps/s390/multiarch/ifunc-impl-list.c
482 (__libc_ifunc_impl_list): Adjust ifunc variants for
483 memset.
484 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
485 to ...
486 * sysdeps/s390/memset.c: ... here.
487 Adjust ifunc variants for memset.
488
5f1743d1
SL
4892018-12-18 Stefan Liebler <stli@linux.ibm.com>
490
491 * sysdeps/s390/s390-64/memset.S: Move to ...
492 * sysdeps/s390/memset.S: ... here.
493 Adjust to be usable for 31/64bit.
494 * sysdeps/s390/s390-32/memset.S: Delete File.
495 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
496 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
497 Remove memset.
498 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
499 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
500 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
501 Adjust to be usable for 31/64bit.
502 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
503 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
504 * sysdeps/s390/multiarch/memset.c: ... here.
505 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
506
e8023f26
SL
5072018-12-18 Stefan Liebler <stli@linux.ibm.com>
508
509 * sysdeps/s390/multiarch/ifunc-resolve.h
510 (s390_libc_ifunc_init, s390_libc_ifunc,
511 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
512
b8686c0d
SL
5132018-12-18 Stefan Liebler <stli@linux.ibm.com>
514
515 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
516 * sysdeps/s390/configure.ac: Add check for z10 support.
517 * sysdeps/s390/configure: Regenerated.
518
cd815050
L
5192018-12-18 H.J. Lu <hongjiu.lu@intel.com>
520
521 * sysdeps/i386/atomic-machine.h: Merged with ...
522 * sysdeps/x86_64/atomic-machine.h: To ...
523 * sysdeps/x86/atomic-machine.h: This. New file.
524
053c52b1
FW
5252018-12-18 Florian Weimer <fweimer@redhat.com>
526
527 Rewrite locale/gen-translit.pl in Python.
528 * locale/Makefile (generated): Add C-translit.h.
529 (before-compile): Add $(objpfx)C-translit.h.
530 (C-translit.h): Move to $(objpfx). Create target directory.
531 Build using Python script.
532 * locale/gen-translit.py: New file.
533 * locale/gen-translit.pl: Remove file.
534 * locale/C-translit.h.in: Change comment character to '#' for
535 easier parsing without a C preprocessor.
536 * locale/C-translit.h: Remove generated file.
537 * manual/install.texi (Tools for Compilation): Do not mention
538 C-translit.h.
539 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
540 Remove locale/C-translit.h.
541 * scripts/update-copyrights: Likewise.
542 * INSTALL: Regenerate.
543
40e6c1ec
FW
5442018-12-18 Florian Weimer <fweimer@redhat.com>
545
546 [BZ #23995]
547 * localedata/locales/bi_VU: Remove executable bit from file.
548
6e15f3e2
AA
5492018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
550
551 * include/time.h
552 (__localtime64): Add.
553 * manual/maint.texi: Document Y2038 symbol handling.
554 * time/localtime.c
555 (__localtime64): Add.
bfb79db4 556 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
6e15f3e2 557
df648905
JM
5582018-12-17 Joseph Myers <joseph@codesourcery.com>
559
551e81d9
JM
560 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
561 Do not clobber r12.
562
df648905
JM
563 * scripts/glibcextract.py (compare_macro_consts): Take parameters
564 to allow extra macros from first or second sources.
565 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
566 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
567 (tests-special): Add $(objpfx)tst-mman-consts.out.
568 ($(objpfx)tst-mman-consts.out): New makefile target.
569
6bbfc5c0
MH
5702018-12-17 Mao Han <han_mao@c-sky.com>
571
572 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
573 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
574 without stat64 system call support.
575 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
576 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
577 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
578 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
579 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
580 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
581 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
582 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
583 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
584 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
585 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
586
ef202e53
PE
5872018-12-15 Paul Eggert <eggert@cs.ucla.edu>
588
589 regex: fix storage-exhaustion error
590 [BZ #18040]
591 * posix/regexec.c (get_subexp):
592 Do not continue if storage is exhausted.
593
077caf61
AG
5942018-12-15 Assaf Gordon <assafgordon@gmail.com>
595
596 regex: fix heap-use-after-free error
597 [BZ #18040]
598 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
599 https://debbugs.gnu.org/32592
600 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
601 call extend_buffers which reallocates the re_string_t internal buffer.
602 Local variable 'buf' was not updated in such case, resulting in
603 use-after-free.
604 * posix/regexec.c (get_subexp): Update 'buf' after call to
605 get_subexp_sub.
606
0c1719e6
FW
6072018-12-15 Florian Weimer <fweimer@redhat.com>
608
609 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
610 (minimum_stride_size): Use it.
611 (support_blob_repeat_allocate): Likewise.
612
033a2c0a
JM
6132018-12-14 Joseph Myers <joseph@codesourcery.com>
614
615 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
616 definition.
617 (acosh): Likewise.
618 (atanh): Likewise.
619
e361dc04
FW
6202018-12-14 Florian Weimer <fweimer@redhat.com>
621
622 * manual/process.texi (Process Creation Concepts): Remove
623 documentation of process (ID) lifetime. List more process
624 creation functions. Reference Process Identification section.
625 (Process Identification): Add information about process ID
626 lifetime. Describe Linux thread/task IDs.
627 * manual/signal.texi (Signaling Another Process): Mention that the
628 signal is always sent to the process.
629
bd51ff5e
GG
6302018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
631
632 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
633 and tst-ldbl-efgcvt.
634 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
635 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
636 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
637 (fcvt_tests, output_error, output_r_error, do_test): Use the
638 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
639 select the type of floating-point variables and arguments; to
640 produce extra tests for double and conversion specifiers for
641 printf; and to set the names of called functions.
642 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
643 in tst-efgcvt-template.c.
644 * misc/tst-ldbl-efgcvt.c: Likewise.
645
268bb71e
SL
6462018-12-14 Stefan Liebler <stli@linux.ibm.com>
647
648 * nss/Makefile (tst-nss-test3.out): New rule.
649
db6df070
JM
6502018-12-13 Joseph Myers <joseph@codesourcery.com>
651
652 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
653 clobber sp.
654
ade8b817
CD
6552018-12-13 fanjinke <fanjinke@hygon.cn>
656
657 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
658 "HygonGenuine".
659
3d265911
AS
6602018-12-13 Andreas Schwab <schwab@suse.de>
661
f21e8f8c 662 [BZ #23861]
3d265911 663 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
f21e8f8c
AS
664 (__pthread_rwlock_rdlock_full): Update expected value for
665 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
666 * nptl/tst-rwlock-pwn.c: New file.
667 * nptl/Makefile (tests): Add tst-rwlock-pwn.
3d265911 668
bf8ae8c0
JM
6692018-12-12 Joseph Myers <joseph@codesourcery.com>
670
671 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
672 definition.
673
de099757
LS
6742018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
675
676 * benchtests/scripts/compare_bench.py (do_compare): write to
677 stderr in casestat is not present.
678 * benchtests/scripts/compare_bench.py (plot_graphs): write to
679 stderr in case timings field is not present. Also string showing
680 the output filename goes into the stderr.
681
1990185f
LS
6822018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
683
684 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
685 and ZeroDivisorError exceptions.
686 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
687 argument to loop through user provided statistics.
688 * benchtests/scripts/compare_bench.py (main): Include the --stats
689 argument.
690
587426d4
LS
6912018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
692
693 * benchtests/scripts/compare_bench.py (compare_runs): Continue
694 instead of return.
695
46703efa
FW
6962018-12-12 Florian Weimer <fweimer@redhat.com>
697
698 * sysdeps/posix/timespec_get.c: Add missing “any later version”
699 clause to copyright header.
700
1d880d4a
TMQMF
7012018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
702
703 [BZ #23614]
704 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
705 registers saved in the stack frame.
706 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
707 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
708
1a502f52
GG
7092018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
710
711 * include/bits/monetary-ldbl.h: New file.
712 * include/bits/printf-ldbl.h: Likewise.
713 * include/bits/stdio-ldbl.h: Likewise.
714 * include/bits/stdlib-ldbl.h: Likewise.
715 * include/bits/syslog-ldbl.h: Likewise.
716 * include/bits/wchar-ldbl.h: Likewise.
717
df682d1d
GG
7182018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
719
720 * libio/libio.h: Remove redirection for _IO_vfprintf.
721
c2c082c1
AS
7222018-12-11 Andreas Schwab <schwab@suse.de>
723
724 * Makerules: Remove all references to abilist-pattern.
725 (update-all-abi): Simplify find expression.
726
505b5b29
SN
7272018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
728
729 [BZ #23961]
730 * math/auto-libm-test-in: Add new test case.
731 * math/auto-libm-test-out-pow: Regenerated.
732 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
733
304c61a2
DD
7342018-12-10 DJ Delorie <dj@redhat.com>
735
736 [BZ #23948]
737 * support/test-container.c: Move postclean step to before we
738 change namespaces.
739
a8110b72
JM
7402018-12-10 Joseph Myers <joseph@codesourcery.com>
741
cb7be159
JM
742 * scripts/gen-as-const.py (main): Handle --python option.
743 * scripts/gen-py-const.awk: Remove.
744 * Makerules (py-const-script): Use gen-as-const.py.
745 ($(py-const)): Likewise.
746 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
747 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
748 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
749 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
750 ~PTHREAD_MUTEX_NO_ELISION_NP.
751 * manual/README.pretty-printers: Update reference to
752 gen-py-const.awk.
753
a8110b72
JM
754 * scripts/glibcextract.py: New file.
755 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
756 or tempfile. Import glibcexctract.
757 (compute_c_consts): Remove. Moved to glibcextract.py.
758 (gen_test): Update reference to compute_c_consts.
759 (main): Likewise.
760 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
761 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
762 * sysdeps/unix/sysv/linux/Makefile
763 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
764 Redirect stderr as well as stdout.
765
f9ba9eb8
RÁE
7662018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
767
768 [BZ #19767]
769 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
770 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
771 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
772 ALWAYS_USE_VSYSCALL.
773 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
774 ALWAYS_USE_VSYSCALL.
775 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
776 ALWAYS_USE_VSYSCALL.
777
8d20a2f4
FW
7782018-12-10 Florian Weimer <fweimer@redhat.com>
779
780 [BZ #23972]
781 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
782 offset instead of count for clarity. Fix typo in comment.
783 (__old_getdents64): Keep track of previous offset. Use it to call
784 handle_overflow.
785 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
786 that d_off is never zero.
787
80472e2f
AS
7882018-12-10 Andreas Schwab <schwab@suse.de>
789
790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
791 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
793 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
794 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
795
0afcb29d
JM
7962018-12-10 Joseph Myers <joseph@codesourcery.com>
797
798 * timezone/private.h: Update from tzcode 2018g.
799 * timezone/tzfile.h: Likewise.
800 * timezone/tzselect.ksh: Likewise.
801 * timezone/zdump.c: Likewise.
802 * timezone/zic.c: Likewise.
803
b93f4052
PP
8042018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
805
806 [BZ #23490]
807 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
808 (do_test): Adjust buffer size and fix format.
809
7c9a7c68
DD
8102018-12-07 DJ Delorie <dj@redhat.com>
811
812 [BZ #23907]
813 * malloc/tst-tcfree3.c: New.
814 * malloc/Makefile: Add it.
815
37caec3a
L
8162018-12-07 H.J. Lu <hongjiu.lu@intel.com>
817
818 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
819
10446f5d
GG
8202018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
821
822 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
823 used as a mask for the mode argument of __vfscanf_internal and
824 __vfwscanf_internal.
825 * stdio-common/vfscanf-internal.c
826 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
827 (__strtof128_internal): Define to __wcstof128_internal.
828 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
829 __strtof128_internal or __wcstof128_internal when the format of
830 long double is the same as _Float128.
831
45f33aac
ST
8322018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
833
834 * include/unistd.h (__confstr): Add prototype and hidden prototype.
835 * posix/confstr.c (confstr): Rename to __confstr.
836 (__confstr): Add hidden def.
837 (confstr): Add weak alias for __confstr.
838 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
839 confstr.
840
a092ca94
L
8412018-12-07 H.J. Lu <hongjiu.lu@intel.com>
842
843 * NEWS: Mention getcpu.
844 * include/sched.h (__getcpu): New libc_hidden_proto.
845 * manual/resource.texi: Document getcpu.
846 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
847 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
848 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
849 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
850 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
851 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
852 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
853 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
854 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
855 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
856 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
857 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
858 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
859 Likewise.
860 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
861 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
862 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
864 Likewise.
865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
866 Likewise.
867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
868 Likewise.
869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
870 Likewise.
871 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
872 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
873 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
874 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
875 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
876 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
877 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
878 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
879 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
880 * sysdeps/unix/sysv/linux/getcpu.c: New file.
881 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
882 Also check getcpu.
883
7c857b6f
ST
8842018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
885
886 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
887 functions.
888 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
889
3a3fb755
FW
8902018-12-07 Florian Weimer <fweimer@redhat.com>
891
892 [BZ #17405]
893 * posix/Makefile (routines): Add spawn_faction_addfchdir.
894 * posix/Versions (GLIBC_2.29): Export
895 posix_spawn_file_actions_addfchdir_np.
896 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
897 * posix/spawn_faction_destroy.c
898 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
899 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
900 and the field action.fchdir_action.
901 * posix/tst-spawn-chdir.c (add_chdir): New function.
902 (do_test): Add do_fchdir loop. Call add_chdir.
903 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
904 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
905 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
906 posix_spawn_file_actions_addfchdir_np.
907 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
908 Likewise.
909 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
910 Likewise.
911 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
912 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
913 Likewise.
914 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
915 Likewise.
916 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
917 Likewise.
918 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
919 Likewise.
920 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
921 Likewise.
922 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
923 Likewise.
924 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
925 (GLIBC_2.29): Likewise.
926 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
927 (GLIBC_2.29): Likewise.
928 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
929 (GLIBC_2.29): Likewise.
930 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
931 (GLIBC_2.29): Likewise.
932 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
933 Likewise.
934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
935 (GLIBC_2.29): Likewise.
936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
937 (GLIBC_2.29): Likewise.
938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
939 (GLIBC_2.29): Likewise.
940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
941 (GLIBC_2.29): Likewise.
942 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
943 Likewise.
944 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
945 Likewise.
946 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
947 Likewise.
948 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
949 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
950 Likewise.
951 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
952 Likewise.
953 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
954 Likewise.
955 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
956 Likewise.
957
c37cd439
JM
9582018-12-06 Joseph Myers <joseph@codesourcery.com>
959
960 * manual/texinfo.tex: Update to version 2018-09-21.20 with
961 trailing whitespace removed.
962 * scripts/config.guess: Update to version 2018-11-28.
963 * scripts/config.sub: Update to version 2018-11-28.
964 * scripts/install-sh: Update to version 2018-03-11.20.
965 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
966 * scripts/move-if-change: Update to version 2018-03-07 03:47.
967
899478c2
FW
9682018-12-07 Florian Weimer <fweimer@redhat.com>
969
970 [BZ #23927]
971 CVE-2018-19591
972 * inet/tst-if_index-long.c: New file.
973 * inet/Makefile (tests): Add tst-if_index-long.
974
f255336a
FW
9752018-12-07 Florian Weimer <fweimer@redhat.com>
976
977 * support/check.h (support_record_failure_is_failed): Declare.
978 * support/descriptors.h: New file.
979 * support/support_descriptors.c: Likewise.
980 * support/tst-support_descriptors.c: Likewise.
981 * support/support_record_failure.c
982 (support_record_failure_is_failed): New function.
983 * support/Makefile (libsupport-routines): Add support_descriptors.
984 (tests): Add tst-support_descriptors.
985
35caceb1
ZW
9862018-12-05 Zack Weinberg <zackw@panix.com>
987 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
988
989 * stdio-common/vfprintf-internal.c
990 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
991 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
992 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
993 and __no_long_double.
994 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
995 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
996 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
997 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
998 and __nldbl_*syslog* functions.
999 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
1000 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
1001 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
1002 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
1003 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
1004 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
1005 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
1006 (__nldbl_vwprintf, __nldbl_wprintf):
1007 Directly call the appropriate __v*printf_internal routine, passing
1008 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
1009 variable names.
1010 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
1011 (__nldbl___printf_chk, __nldbl___snprintf_chk)
1012 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
1013 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
1014 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
1015 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
1016 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
1017 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
1018 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
1019 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
1020 Likewise, and also pass PRINTF_FORTIFY when appropriate.
1021 (__nldbl_syslog, __nldbl_vsyslog):
1022 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
1023 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
1024 appropriate.
1025 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
1026 appropriate.
1027
4e2f43f8
ZW
10282018-12-05 Zack Weinberg <zackw@panix.com>
1029 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1030
1031 [BZ #11319]
1032 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
1033 Moved here from debug/vsprintf_chk.c.
1034 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
1035 and completion logic for the strfile to match exactly what
1036 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
1037 _IO_str_init_static_internal instead of maxlen-1.
1038 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
1039 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
1040 __vsprintf_internal.
1041
1042 * debug/vsprintf_chk.c (__vsprintf_chk)
1043 * debug/sprintf_chk.c (__sprintf_chk):
1044 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
1045 'flags' argument is positive, and slen as maxlen. No need to lock
1046 the FILE and/or construct a temporary FILE. Minimize and normalize
1047 header inclusions and variable names. Do not libc_hidden_def anything.
1048
1049 * debug/asprintf_chk.c (__asprintf_chk)
1050 * debug/dprintf_chk.c (__dprintf_chk)
1051 * debug/fprintf_chk.c (__fprintf_chk)
1052 * debug/fwprintf_chk.c (__fwprintf_chk)
1053 * debug/printf_chk.c (__printf_chk)
1054 * debug/snprintf_chk.c (__snprintf_chk)
1055 * debug/swprintf_chk.c (__swprintf_chk)
1056 * debug/vasprintf_chk.c (__vasprintf_chk)
1057 * debug/vdprintf_chk.c (__vdprintf_chk)
1058 * debug/vfprintf_chk.c (__vfprintf_chk)
1059 * debug/vfwprintf_chk.c (__vfwprintf_chk)
1060 * debug/vprintf_chk.c (__vprintf_chk)
1061 * debug/vsnprintf_chk.c (__vsnprintf_chk)
1062 * debug/vswprintf_chk.c (__vswprintf_chk)
1063 * debug/vwprintf_chk.c (__vwprintf_chk)
1064 * debug/wprintf_chk.c (__wprintf_chk):
1065 Directly call the corresponding vxxprintf_internal function, passing
1066 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
1067 the FILE and/or construct a temporary FILE. Minimize and normalize
1068 header inclusions and variable names. Do not libc_hidden_def anything.
1069
1070 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
1071 __obstack_vprintf_internal.
1072 (__obstack_vprintf_chk): Convert into a wrapper that calls
1073 __obstack_vprintf_internal (these two functions already had the
1074 same code) and move to new file...
1075 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
1076 file.
1077 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
1078 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
1079 * debug/Makefile (routines): Add vobprintf_chk.
1080
1081 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
1082 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
1083 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
1084 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
1085 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
1086 (__nldbl___obstack_vfprintf_chk):
1087 Directly call the corresponding vxxprintf_internal function,
1088 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
1089 duplicate comparison of slen with 0 or maxlen from the corresponding
1090 non-__nldbl function.
1091
1092 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
1093 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
1094 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
1095 Remove libc_hidden_proto.
1096
1097 * stdio-common/vfprintf-internal.c
1098 (__vfprintf_internal, __vfwprintf_internal):
1099 Do not check _IO_FLAGS2_FORTIFY.
1100 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
1101 * libio/libioP.h: Update prototype of __vsprintf_internal and add
1102 a comment explaining why it has the maxlen argument.
1103 (_IO_acquire_lock_clear_flags2_fct): Remove.
1104 (_IO_acquire_lock_clear_flags2): Remove.
1105 (_IO_release_lock): Remove conditional statement which will
1106 now never execute.
1107 (_IO_acquire_lock): Remove variable which is now unused.
1108 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
1109 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
1110
1111 * stdio-common/Makefile (tests): Add tst-bz11319 and
1112 tst-bz11319-fortify2.
1113 (CFLAGS-tst-bz11319-fortify2.c): New macro.
1114 * stdio-common/tst-bz11319-fortify2.c: New file.
1115 * stdio-common/tst-bz11319.c: Likewise.
1116
124fc732
ZW
11172018-12-05 Zack Weinberg <zackw@panix.com>
1118 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1119
1120 * misc/syslog.c: Include libioP.h, not iolibio.h.
1121 (__vsyslog_internal): New function with the former body of
1122 __vsyslog_chk; takes mode_flags argument same as
1123 __v*printf_internal. Call __vfprintf_internal directly.
1124
1125 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
1126 Remove libc_hidden_def.
1127 (__syslog, __syslog_chk): Use __vsyslog_internal.
1128 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
1129
1130 * include/sys/syslog.h: Add multiple inclusion guard.
1131 Add prototype for __vsyslog_internal.
1132 Remove declaration and libc_hidden_proto for __vsyslog_chk.
1133
1134 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
1135 Use __vsyslog_internal.
1136
698fb75b
ZW
11372018-12-05 Zack Weinberg <zackw@panix.com>
1138 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1139
1140 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
1141 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
1142 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
1143 New functions.
1144 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
1145 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
1146
1147 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
1148 Include wctype.h here if COMPILE_WPRINTF is defined.
1149 Define __vfprintf_internal or __vfwprintf_internal, depending
1150 on COMPILE_WPRINTF.
1151 Temporarily, on entry to this function, update mode_flags
1152 according to the environmental settings corresponding to
1153 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
1154 Throughout, check mode_flags instead of __ldbl_is_dbl and
1155 _IO_FLAGS2_FORTIFY on the destination FILE.
1156 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
1157 Include vfprintf-internal.c. Don't include wctype.h.
1158 * stdio-common/vfprintf.c: New file. Just define __vfprintf
1159 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
1160 and vfprintf.
1161 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
1162 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
1163 and vfwprintf.
1164 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
1165
1166 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
1167 and add mode_flags argument; use __vfprintf_internal.
1168 (__vdprintf): New function. Alias vdprintf to this.
1169 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
1170 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
1171 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
1172 (__obstack_printf): Use __obstack_printf_internal.
1173 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
1174 public aliases __vsnprintf and vsnprintf.
1175 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
1176 called internally.
1177 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
1178 public aliases _IO_vsprintf and vsprintf.
1179 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
1180 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
1181 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
1182 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
1183 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
1184
1185 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
1186 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
1187 * stdio-common/fprintf.c, stdio-common/fxprintf.c
1188 * stdio-common/printf.c: Use __vfprintf_internal.
1189
1190 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
1191 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
1192 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
1193
1194 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
1195 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
1196 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
1197 __vfwprintf_internal.
1198
1199 * libio/libio.h: Remove libc_hidden_proto and declaration for
1200 _IO_vfprintf.
1201 Remove declaration of _IO_vfwprintf.
1202 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
1203 _IO_vsprintf.
1204 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
1205 _IO_obstack_printf.
1206 * include/stdio.h: Add prototype for __vasprintf.
1207 (__vsnprintf): Remove declaration, because there are no more
1208 internal calls.
1209 * include/wchar.h (__vfwprintf, __vswprintf): Remove
1210 declaration, because there are no more internal calls.
1211
1212 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
1213 __vsnprintf_internal, instead of _IO_vsnprintf.
1214 * argp/argp-help.c (__argp_error, __argp_failure): Use
1215 __vasprintf_internal, instead of _IO_vasprintf.
1216 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
1217 redefine, because there are no more internal calls.
1218
d91798b3
ZW
12192018-12-05 Zack Weinberg <zackw@panix.com>
1220 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1221
1222 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
1223 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
1224 Include libio/strfile.h instead of libioP.h.
1225 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
1226 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
1227 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
1228 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
1229 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
1230 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
1231 necessary. Do not set __no_long_double. Normalize variable names.
1232 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
1233 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
1234 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
1235 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
1236 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
1237 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
1238 Call __vfscanf_internal / __vfwscanf_internal directly, passing
1239 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
1240 Do not set __no_long_double. Normalize variable names.
1241
b87eb3f8
ZW
12422018-12-05 Zack Weinberg <zackw@panix.com>
1243 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1244
1245 * stdio-common/isoc99_scanf.c
1246 * stdio-common/isoc99_fscanf.c
1247 * stdio-common/isoc99_sscanf.c
1248 * stdio-common/isoc99_vscanf.c
1249 * stdio-common/isoc99_vfscanf.c
1250 * stdio-common/isoc99_vsscanf.c
1251 * wcsmbs/isoc99_wscanf.c
1252 * wcsmbs/isoc99_fwscanf.c
1253 * wcsmbs/isoc99_swscanf.c
1254 * wcsmbs/isoc99_vwscanf.c
1255 * wcsmbs/isoc99_vfwscanf.c
1256 * wcsmbs/isoc99_vswscanf.c:
1257 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
1258 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
1259 No need to lock and unlock the FILE passed to that function.
1260
1261 * stdio-common/vfscanf-internal.c
1262 (__vfscanf_internal, __vfwscanf_internal):
1263 Don't look at _IO_FLAGS2_SCANF_STD.
1264 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
1265 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
1266 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
1267
349718d4
ZW
12682018-12-05 Zack Weinberg <zackw@panix.com>
1269 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1270
1271 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
1272 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
1273 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
1274 * libio/strfile.h: Add multiple inclusion guard.
1275 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
1276
1277 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
1278 consistency with the other version of this file.
1279 (ldbl_compat_symbol): New macro.
1280 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
1281 New macro.
1282
1283 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
1284 Define __vfscanf_internal or __vfwscanf_internal, depending on
1285 COMPILE_WSCANF; don't define any other public symbols.
1286 Remove errval and code to set errp.
1287 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
1288 as the mode_flags argument.
1289 (encode_error, conv_error, input_error): Don't set errval.
1290 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
1291 Include vfscanf-internal.c.
1292 * stdio-common/vfscanf.c: New file defining the public entry
1293 point vfscanf, which calls __vfscanf_internal.
1294 * stdio-common/vfwscanf.c: New file defining the public entry
1295 point vfwscanf, which calls __vfwscanf_internal.
1296
1297 * stdio-common/iovfscanf.c: New file.
1298 * stdio-common/iovfwscanf.c: Likewise.
1299
1300 * stdio-common/Makefile (routines): Add vfscanf-internal,
1301 vfwscanf-internal, iovfscanf, iovfwscanf.
1302 * stdio-common/Versions: Mention GLIBC_2.29, so that
1303 it can be used in SHLIB_COMPAT expressions.
1304 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
1305 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
1306 Call __vfscanf_internal, instead of _IO_vfscanf.
1307 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
1308 _IO_vfscanf.
1309 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
1310 _IO_vfwscanf.
1311
1312 * libio/iovsscanf.c: Clean up includes, when possible. Use
1313 _IO_strfile_read or _IO_strfile_readw, when needed. Call
1314 __vfscanf_internal or __vfwscanf_internal directly.
1315 * libio/iovswscanf.c: Likewise.
1316 * libio/swscanf.c: Likewise.
1317 * libio/vscanf.c: Likewise.
1318 * libio/vwscanf.c: Likewise.
1319 * libio/wscanf.c: Likewise.
1320 * stdio-common/isoc99_fscanf.c: Likewise.
1321 * stdio-common/isoc99_scanf.c: Likewise.
1322 * stdio-common/isoc99_sscanf.c: Likewise.
1323 * stdio-common/isoc99_vfscanf.c: Likewise.
1324 * stdio-common/isoc99_vscanf.c: Likewise.
1325 * stdio-common/isoc99_vsscanf.c: Likewise.
1326 * stdio-common/scanf.c: Likewise.
1327 * stdio-common/sscanf.c: Likewise.
1328 * wcsmbs/isoc99_fwscanf.c: Likewise.
1329 * wcsmbs/isoc99_swscanf.c: Likewise.
1330 * wcsmbs/isoc99_vfwscanf.c: Likewise.
1331 * wcsmbs/isoc99_vswscanf.c: Likewise.
1332 * wcsmbs/isoc99_vwscanf.c: Likewise.
1333 * wcsmbs/isoc99_wscanf.c: Likewise.
1334
72b8692d
AA
13352018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
1336
1337 * include/time.h
1338 (__tz_compute): Replace time_t with __time64_t.
1339 (__tz_convert): Replace time_t* with __time64_t.
1340 (__offtime): Replace time_t* with __time64_t.
1341 * time/gmtime.c
1342 (__gmtime_r): Adjust call to __tz_convert.
1343 (gmtime): Likewise.
1344 * time/localtime.c
1345 (__localtime_r): Likewise.
1346 (localtime): Likewise.
1347 * time/offtime.c: Replace time_t with __time64_t.
1348 * time/tzset.c: Likewise.
1349
bd598da9
JM
13502018-12-04 Joseph Myers <joseph@codesourcery.com>
1351
1352 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
1353 dynamic linker unless [$(run-built-tests) = yes].
1354
b2e93de0
DD
13552018-12-03 DJ Delorie <dj@delorie.com>
1356
1357 * support/test-container.c (check_for_unshare_hints): New.
1358 (main): Call it if unshare fails. Add support for "su" scriptlet
1359 command.
1360
477a02f6
JM
13612018-12-03 Joseph Myers <joseph@codesourcery.com>
1362
1363 * scripts/gen-as-const.py (compute_c_consts): Take an argument
1364 'START' to indicate that start text should be output.
1365 (gen_test): Likewise.
1366 (main): Generate 'START' for first symbol or '--' line, or at end
1367 of input if not previously generated.
1368
6af956e5
RÁE
13692018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
1370
1371 [BZ #19767]
1372 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
1373 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
1374 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
1375 ALWAYS_USE_VSYSCALL.
1376
f5ec0ea9
AZ
13772018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1378
1379 [BZ #23913]
1380 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
1381 new_argv by one.
1382
8cebd4ff
CD
13832018-12-03 Carlos O'Donell <carlos@redhat.com>
1384
1385 [BZ #23923]
1386 * locale/programs/localedef.c: Declare boolean hard_links default true.
1387 (options): Add --no-hard-links option.
1388 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
1389 * locale/programs/localedef.h: Declare prototype for hard_links.
1390 * locale/programs/locfile.c (write_locale_data): Don't use hard
1391 links if hard_links is false.
1392
c22e4c2a
L
13932018-12-03 H.J. Lu <hongjiu.lu@intel.com>
1394
1395 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
1396 cpu_features_basic.
1397 (__cache_sysconf): Likewise.
1398 (init_cacheinfo): Likewise.
1399 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
1400 populate COMMON_CPUID_INDEX_80000007 and
1401 COMMON_CPUID_INDEX_80000008.
1402 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
1403 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
1404 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
1405 (init_cpu_features): Use _Static_assert on
1406 index_arch_Fast_Unaligned_Load.
1407 __get_cpuid_registers and __get_arch_feature. Updated for
1408 cpu_features_basic. Set stepping in cpu_features.
1409 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
1410 (FEATURE_INDEX_2): New.
1411 (FEATURE_INDEX_MAX): Changed to enum.
1412 (COMMON_CPUID_INDEX_D_ECX_1): New.
1413 (COMMON_CPUID_INDEX_80000007): Likewise.
1414 (COMMON_CPUID_INDEX_80000008): Likewise.
1415 (cpuid_registers): Likewise.
1416 (cpu_features_basic): Likewise.
1417 (CPU_FEATURE_USABLE): Likewise.
1418 (bit_arch_XXX_Usable): Likewise.
1419 (cpu_features): Use cpuid_registers and cpu_features_basic.
1420 (bit_arch_XXX): Reweritten.
1421 (bit_cpu_XXX): Likewise.
1422 (index_cpu_XXX): Likewise.
1423 (reg_XXX): Likewise.
1424 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
1425 <support/check.h>.
1426 (CHECK_CPU_FEATURE): New.
1427 (CHECK_CPU_FEATURE_USABLE): Likewise.
1428 (cpu_kinds): Likewise.
1429 (do_test): Print vendor, family, model and stepping. Check
1430 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
1431 (TEST_FUNCTION): Removed.
1432 Include <support/test-driver.c> instead of
1433 "../../test-skeleton.c".
1434 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
1435 Check POPCNT instead of POPCOUNT.
1436 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
1437
7b36d26b
ST
14382018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
1439
1440 * scripts/gen-as-const.py (main): Avoid emitting empty line when
1441 there is no element in `consts'.
1442
02cd5c1a
FW
14432018-12-01 Florian Weimer <fweimer@redhat.com>
1444
1445 * support/support_capture_subprocess.c
1446 (support_capture_subprocess): Check that pipe descriptors have
1447 expected values. Close original pipe descriptors in subprocess.
1448
fc493bc9
ST
14492018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
1450
1451 [BZ #23032]
1452 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
1453 attr with __pthread_default_barrierattr.
1454 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
1455 attr with __pthread_default_condattr.
1456 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
1457 attr with __pthread_default_mutexattr.
1458 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
1459 attr with __pthread_default_rwlockattr.
1460
6310e6be
KW
14612018-12-01 Kemi Wang <kemi.wang@intel.com>
1462
1463 * manual/tunables.texi (POSIX Thread Tunables): New node.
1464 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
1465 * nptl/nptl-init.c: Include pthread_mutex_conf.h
1466 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
1467 __pthread_tunables_init.
1468 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
1469 (max_adaptive_count): Define.
1470 * nptl/pthread_mutex_conf.c: New file.
1471 * nptl/pthread_mutex_conf.h: New file.
1472 * sysdeps/generic/adaptive_spin_count.h: New file.
1473 * sysdeps/nptl/dl-tunables.list: New file.
1474 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
1475 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
1476 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
1477 Likewise.
1478
8e67b39e
PP
14792018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
1480
1481 [BZ #20544]
1482 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
1483 * stdlib/on_exit.c (__on_exit): Likewise.
1484 * stdlib/Makefile (tests): Add tst-bz20544.
1485 * stdlib/tst-bz20544.c: New test.
1486
15b8d67e
RÁE
14872018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
1488
1489 [BZ #19767]
1490 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
1491 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
1492 New.
1493
5e63c240
FW
14942018-11-30 Florian Weimer <fweimer@redhat.com>
1495
1496 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
1497 Extend error logging.
1498 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
1499 symbol.
1500
71058602 15012018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14d0e87d 1502
5fb7fc96
AZ
1503 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
1504 __sigismember instead of sigismember.
1505 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
1506 cancel_handler): New definitions.
1507 (do_system): Use posix_spawn instead of fork and execl and remove
1508 reentracy code.
1509 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
1510 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
1511 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
1512 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
1513 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
1514 * sysdeps/unix/sysv/linux/system.c: Likewise.
1515
14d0e87d
AZ
1516 [BZ #22834]
1517 [BZ #17490]
1518 * NEWS: Add new semantic for atfork with popen and system.
1519 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
1520 fork and execl.
1521
e5d262ef
TMQMF
15222018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1523
1524 [BZ #23690]
1525 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
1526 modification order when accessing reloc_result->addr.
1527 * include/link.h (reloc_result): Add field init.
1528 * nptl/Makefile (tests): Add tst-audit-threads.
1529 (modules-names): Add tst-audit-threads-mod1 and
1530 tst-audit-threads-mod2.
1531 Add rules to build tst-audit-threads.
1532 * nptl/tst-audit-threads-mod1.c: New file.
1533 * nptl/tst-audit-threads-mod2.c: Likewise.
1534 * nptl/tst-audit-threads.c: Likewise.
1535 * nptl/tst-audit-threads.h: Likewise.
1536
7e1d4240
JM
15372018-11-30 Joseph Myers <joseph@codesourcery.com>
1538
1539 * scripts/gen-as-const.py: New file.
1540 * scripts/gen-as-const.awk: Remove.
1541 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
1542 gen-as-const.py.
1543 ($(objpfx)test-as-const-%.c): Likewise.
1544
ce7387cc
L
15452018-11-29 H.J. Lu <hongjiu.lu@intel.com>
1546
1547 * elf/dl-exception.c: Include <_itoa.h>.
1548
c6a5bdc1
ST
15492018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
1550
1551 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
1552 returned by __f_setlk.
1553
a5275ba5
L
15542018-11-29 H.J. Lu <hongjiu.lu@intel.com>
1555 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1556
1557 * elf/Makefile (tests-internal): Add tst-create_format1.
1558 * elf/dl-exception.c (_dl_exception_create_format): Support
1559 %x, %lx and %zx.
1560 * elf/tst-create_format1.c: New file.
1561
3a67e81d
CAC
15622018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
1563
1564 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
1565 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
1566 gnulib.)
1567 * argp/argp-help.c (__argp_failure): Likewise.
1568
4975f0c3
MH
15692018-11-29 Mao Han <han_mao@c-sky.com>
1570
1571 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
1572 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
1573 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
1574 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
1575 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
1576 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
1577 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
1578 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
1579 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
1580 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
1581 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
1582 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
1583 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
1584 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
1585 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
1586 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
1587 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
1588 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
1589 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
1590 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
1591 (R_CKCORE_TLS_TPOFF32): New defines.
1592
250102c8
FW
15932018-11-29 Florian Weimer <fweimer@redhat.com>
1594
1595 * posix/Makefile (before-compile): Remove testcases.h and
1596 ptestcases.h.
1597 (generated): Add testcases.h and ptestcases.h.
1598 (testcases.h, ptestcases.h): Move to $(objpfx).
1599 (runtests.o): Add dependency on testcases.h.
1600 (runptests.o): Add dependency on ptestcases.h.
1601 * posix/testcases.h, posix/ptestcases.h: Remove files.
1602 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
1603 not touch posix/testcases.h and posix/ptestcases.h.
1604
96cd0558
FW
16052018-11-28 Florian Weimer <fweimer@redhat.com>
1606
1607 support: Add signal support to support_capture_subprocess_check.
1608 * support/capture_subprocess.h (support_capture_subprocess_check):
1609 Adjust comment and rename parameter.
1610 * support/support_capture_subprocess_check.c
1611 (print_actual_status): New function.
1612 (support_capture_subprocess_check): Support negative
1613 status_or_signal. Call print_actual_status.
1614 * support/tst-support_capture_subprocess.c (do_test): Call
1615 support_capture_subprocess_check.
1616 * libio/tst-vtables-common.c (termination_status)
1617 (init_termination_status): Remove.
1618 (check_for_termination): Adjust support_capture_subprocess_check
1619 call.
1620 (do_test): Remove call to init_termination_status.
1621
530504e3
JM
16222018-11-28 Joseph Myers <joseph@codesourcery.com>
1623
1624 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
1625 source directory instead of a copy.
1626 (CommandList.create_copy_dir): Remove.
1627
9a0b6970
SL
16282018-11-28 Stefan Liebler <stli@linux.ibm.com>
1629
1630 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1631
47d8d9a2
FW
16322018-11-28 Florian Weimer <fweimer@redhat.com>
1633
1634 * support/support.h (support_quote_string): Do not use str
1635 parameter name.
1636
b473b7d8
JM
16372018-11-27 Joseph Myers <joseph@codesourcery.com>
1638
1639 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
1640 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
1641
c74a91de
FW
16422018-11-27 Florian Weimer <fweimer@redhat.com>
1643
1644 * support/support.h (support_quote_string): Declare.
1645 * support/support_quote_string.c: New file.
1646 * support/tst-support_quote_string.c: Likewise.
1647 * support/Makefile (libsupport-routines): Add
1648 support_quote_string.
1649 (tests): Add tst-support_quote_string.
1650
d527c860
FW
16512018-11-27 Florian Weimer <fweimer@redhat.com>
1652
1653 [BZ #23927]
1654 CVE-2018-19591
1655 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
1656 descriptor leak in case of ENODEV error.
1657
979cfed0
RÁE
16582018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
1659
1660 [BZ #19767]
1661 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
1662 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
1663 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
1664
ce035c6e
CD
16652018-11-26 Carlos O'Donell <carlos@redhat.com>
1666
1667 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
1668 Error for unknown lines.
1669
2bd0bfcc
JM
16702018-11-26 Joseph Myers <joseph@codesourcery.com>
1671
1672 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
1673 Touch additional files.
1674
affec03b
FW
16752018-11-26 Florian Weimer <fweimer@redhat.com>
1676
1677 [BZ #23907]
1678 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
1679 double-frees.
1680
8ae74ead
RÁE
16812018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
1682
1683 [BZ #19767]
1684 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
1685 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
1686 SHARED. Include sysdep.h.
1687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
1688 ALWAYS_USE_VSYSCALL.
1689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
1690 ALWAYS_USE_VSYSCALL.
1691
1e8bdc3a
RÁE
16922018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
1693
1694 [BZ #19767]
1695 * nptl/Makefile (tests-static): Add tst-cond11-static.
1696 (tests): Likewise.
1697 * nptl/tst-cond11-static.c: New File.
1698 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
1699 tst-affinity-static.
1700 (tests): Likewise.
1701 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
1702 instead of SHARED.
1703 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
1704 (USE_VSYSCALL): Likewise.
1705 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
1706 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
1707 instead of SHARED.
1708 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
1709 SHARED.
1710 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
1711 New.
1712
1283c478
JM
17132018-11-23 Joseph Myers <joseph@codesourcery.com>
1714
1715 [BZ #23915]
1716 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1717 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
1718 Undefine.
1719
c089fd80
L
17202018-11-23 H.J. Lu <hongjiu.lu@intel.com>
1721
1722 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
1723 (tst-cet-legacy-1a-ARGS): New.
1724 ($(objpfx)tst-cet-legacy-1a): New target.
1725 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
1726
cc6c89fa
JM
17272018-11-22 Joseph Myers <joseph@codesourcery.com>
1728
95edd05c
JM
1729 * conform/conformtest.py (CompileSubTest.__init__): Set
1730 self.run_early to False.
1731 (ExecuteSubTest.__init__): Likewise.
1732 (HeaderTests.run): Try running all non-optional, non-XFAILed
1733 compilation tests in a single execution of the compiler.
1734
cc6c89fa
JM
1735 * conform/conformtest.py (CompileSubTest): New class.
1736 (ExecuteSubTest): Likewise.
1737 (ElementTest.run): Rename to gen_subtests. Append tests to
1738 self.subtests instead of running them.
1739 (ConstantTest.run): Likewise.
1740 (SymbolTest.run): Likewise.
1741 (TypeTest.run): Likewise.
1742 (TagTest.run): Likewise.
1743 (FunctionTest.run): Likewise.
1744 (VariableTest.run): Likewise.
1745 (MacroFunctionTest.run): Likewise.
1746 (MacroStrTest.run): Likewise.
1747 (HeaderTests.handle_test_line): Generate subtests for tests.
1748 (HeaderTests.run): Run subtests for tests.
1749
a502c529
SN
17502018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1751
1752 * math/Versions (GLIBC_2.29): Add pow.
1753 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
1754 symbol.
1755 * math/w_pow.c: New file.
1756 * sysdeps/i386/fpu/w_pow.c: New file.
1757 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
1758 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
1759 and add necessary aliases.
1760 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
1761 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
1762 * sysdeps/mach/hurd/i386/libm.abilist: Update.
1763 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
1764 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
1765 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
1766 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
1767 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
1768 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
1769 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
1770 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
1771 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
1772 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
1773 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
1774 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
1775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
1776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
1777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
1778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
1779 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
1780 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
1781 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
1782 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
1783 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
1784 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
1785 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
1786 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
1787 __pow.
1788 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
1789 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
1790 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
1791
718d6542
SN
17922018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1793
1794 * math/Versions (GLIBC_2.29): Add log2.
1795 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
1796 symbol.
1797 * math/w_log2.c: New file.
1798 * sysdeps/i386/fpu/w_log2.c: New file.
1799 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
1800 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
1801 and add necessary aliases.
1802 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
1803 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
1804 * sysdeps/mach/hurd/i386/libm.abilist: Update.
1805 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
1806 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
1807 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
1808 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
1809 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
1810 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
1811 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
1812 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
1813 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
1814 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
1815 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
1816 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
1817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
1818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
1819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
1820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
1821 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
1822 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
1823 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
1824 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
1825 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
1826 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
1827 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
1828
f29b7c49
SN
18292018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1830
1831 * math/Versions (GLIBC_2.29): Add log.
1832 * math/w_log_compat.c (__log_compat): Change to versioned compat
1833 symbol.
1834 * math/w_log.c: New file.
1835 * sysdeps/i386/fpu/w_log.c: New file.
1836 * sysdeps/ia64/fpu/e_log.S: Update.
1837 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
1838 and add necessary aliases.
1839 * sysdeps/ieee754/dbl-64/w_log.c: New file.
1840 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
1841 * sysdeps/mach/hurd/i386/libm.abilist: Update.
1842 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
1843 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
1844 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
1845 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
1846 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
1847 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
1848 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
1849 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
1850 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
1851 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
1852 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
1853 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
1854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
1855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
1856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
1857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
1858 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
1859 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
1860 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
1861 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
1862 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
1863 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
1864 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
1865 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
1866 __log.
1867 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
1868 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
1869 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
1870 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
1871
c20a1056
SN
18722018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1873
1874 * math/Versions (GLIBC_2.29): Add exp and exp2.
1875 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
1876 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
1877 * math/w_exp_compat.c (__exp_compat): Likewise.
1878 * math/w_exp.c: New file.
1879 * math/w_exp2.c: New file.
1880 * sysdeps/i386/fpu/w_exp.c: New file.
1881 * sysdeps/i386/fpu/w_exp2.c: New file.
1882 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
1883 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
1884 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
1885 and add necessary aliases.
1886 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
1887 and add necessary aliases.
1888 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
1889 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
1890 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
1891 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
1892 * sysdeps/mach/hurd/i386/libm.abilist: Update.
1893 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
1894 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
1895 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
1896 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
1897 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
1898 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
1899 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
1900 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
1901 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
1902 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
1903 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
1904 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
1905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
1906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
1907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
1908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
1909 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
1910 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
1911 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
1912 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
1913 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
1914 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
1915 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
1916 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
1917 (__ieee754_exp): Rename to __exp.
1918 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
1919 (__ieee754_exp): Rename to __exp.
1920 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
1921 (__ieee754_exp): Rename to __exp.
1922 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
1923 __exp.
1924 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
1925
bcdaad21
DD
19262018-11-20 DJ Delorie <dj@redhat.com>
1927
1928 * malloc/malloc.c (tcache_entry): Add key field.
1929 (tcache_put): Set it.
1930 (tcache_get): Likewise.
1931 (_int_free): Check for double free in tcache.
1932 * malloc/tst-tcfree1.c: New.
1933 * malloc/tst-tcfree2.c: New.
1934 * malloc/Makefile: Run the new tests.
1935 * manual/probes.texi: Document memory_tcache_double_free probe.
1936
1937 * dlfcn/dlerror.c (check_free): Prevent double frees.
1938
5770c0ad
WD
19392018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
1940
1941 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
1942
9a62a939
JM
19432018-11-20 Joseph Myers <joseph@codesourcery.com>
1944
1945 * conform/conformtest.py (ElementTest.run): Use unique identifiers
1946 in tests. Use names for format arguments.
1947 (ConstantTest.run): Likewise.
1948 (SymbolTest.run): Likewise.
1949 (TypeTest.run): Likewise.
1950 (TagTest.run): Likewise.
1951 (FunctionTest.run): Likewise.
1952 (VariableTest.run): Likewise.
1953 (MacroFunctionTest.run): Likewise.
1954 (MacroStrTest.run): Likewise.
1955 (HeaderTests.__init__): Set self.num_tests.
1956 (HeaderTests.handle_test_line): Set test.num. Increment
1957 self.num_tests.
1958
b15b1a95
ST
19592018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
1960
1961 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
1962 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
1963 SEEK_SET.
1964
0c7f97ae
MH
19652018-11-19 Mao Han <han_mao@c-sky.com>
1966
1967 * scripts/config.guess: Update to version 2018-08-29.
1968 * scripts/config.sub: Update to version 2018-08-29.
1969
35e3fbc4
FW
19702018-11-19 Florian Weimer <fweimer@redhat.com>
1971
1972 support: Print timestamps in timeout handler.
1973 * support/support_test_main.c (print_timestamp): New function.
1974 (signal_handler): Use it to print the termination time and the
1975 time of the last write to standard output.
1976
c75772e3
ZW
19772018-11-16 Zack Weinberg <zackw@panix.com>
1978 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1979
1980 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
1981 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
1982 argument.
1983 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
1984 and add flags argument. Check flags instead of __ldbl_is_dbl when
1985 deciding whether to set is_long_double.
1986 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
1987 passing zero for flags argument.
1988 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
1989
1990 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
1991 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
1992 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
1993 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
1994 variable names. Remove libc_hidden_def/libc_hidden_proto from
1995 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
1996 longer called from within the library.
1997 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
1998 for __nldbl___vstrfmon_l, declare it explicitly.
1999
2000 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
2001
346ef23f
ST
20022018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
2003
2004 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
2005 macros
2006 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
2007 F_SETLK64, F_SETLKW64, respectively.
2008 * sysdeps/mach/hurd/f_setlk.c: New file.
2009 * sysdeps/mach/hurd/f_setlk.h: New file.
2010 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
2011 f_setlk.
2012 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
2013 (__libc_fcntl): Move non-flock operations to...
2014 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
2015 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
2016
de20b81a
PE
20172018-11-15 Paul Eggert <eggert@cs.ucla.edu>
2018
5d8af156
PE
2019 mktime: DEBUG_MKTIME cleanup
2020 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
2021 And it’s no longer needed now that glibc and Gnulib both have
2022 their own testing mechanisms for mktime.
2023 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
2024
86aece3b
PE
2025 mktime: fix non-EOVERFLOW errno handling
2026 [BZ#23789]
2027 mktime was not properly reporting failures when the underlying
2028 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
2029 them like EOVERFLOW failures, and set errno to EOVERFLOW.
2030 The problem could happen on non-glibc platforms, with Gnulib.
2031 * time/mktime.c (guess_time_tm): Remove, replacing with ...
2032 (tm_diff): ... this simpler function, which does not change errno.
2033 All callers changed to deal with errno themselves.
2034 (ranged_convert, __mktime_internal): Return failure immediately if
2035 the underlying function reports any failure other than EOVERFLOW.
2036 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
2037 gap code fails.
2038
f6b3331b
PE
2039 mktime: fix bug with Y2038 DST transition
2040 [BZ#23789]
2041 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
2042 mishandle a DST transition that jumps over the Y2038 boundary.
2043 No such DST transitions are known so this is only a theoretical
2044 bug, but we might as well do things right.
2045
efbdddc3
PE
2046 mktime: make more room for overflow
2047 [BZ#23789]
2048 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
2049 This is so that we can add tm_diff results to a previous guess,
2050 which will be useful in a later patch.
2051
6c90d759
PE
2052 mktime: simplify offset guess
2053 [BZ#23789]
2054 * time/mktime.c (__mktime_internal): Omit excess precision.
2055
32c12f3f
PE
2056 mktime: new test for mktime failure
2057 [BZ#23789]
2058 Based on a test suggested by Albert Aribaud in:
2059 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
2060 * time/Makefile (tests): Add bug-mktime4.
2061 * time/bug-mktime4.c: New file.
2062
de20b81a
PE
2063 mktime: fix EOVERFLOW bug
2064 [BZ#23789]
2065 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
2066 Include libc-config.h, not config.h, for __set_errno.
2067 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
2068
8c6c3fb0
ST
20692018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
2070
2071 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
2072 __attribute_copy__ to copy attributes from name. Drop static qualifier
2073 to avoid warnings about leaf attribute not having effect on static
2074 functions.
2075
6923f6db
FW
20762018-11-13 Florian Weimer <fweimer@redhat.com>
2077
2078 * malloc/malloc.c (fastbin_push_entry): New function.
2079 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
2080 (REMOVE_FB): Remove macro.
2081 (_int_malloc): Use fastbin_pop_entry and reindent.
2082 (_int_free): Use fastbin_push_entry.
2083 (malloc_consolidate): Use atomic_exchange_acquire.
2084
53f5c659
JM
20852018-11-13 Joseph Myers <joseph@codesourcery.com>
2086
0c096dcf
JM
2087 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
2088 alias attribute, not with strong_alias.
2089
9c4b457e
JM
2090 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
2091 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
2092 with additional parameter thread.
2093 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
2094 in terms of __hidden_ver2.
2095 (hidden_tls_def): New macro.
2096 (libc_hidden_tls_def): Likewise.
2097 (rtld_hidden_tls_def): Likewise.
2098 (libm_hidden_tls_def): Likewise.
2099 (libmvec_hidden_tls_def): Likewise.
2100 (libresolv_hidden_tls_def): Likewise.
2101 (librt_hidden_tls_def): Likewise.
2102 (libdl_hidden_tls_def): Likewise.
2103 (libnss_files_hidden_tls_def): Likewise.
2104 (libnsl_hidden_tls_def): Likewise.
2105 (libnss_nisplus_hidden_tls_def): Likewise.
2106 (libutil_hidden_tls_def): Likewise.
2107 (libutil_hidden_tls_def): Likweise.
2108 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
2109 libc_hidden_tls_def.
2110 (__sim_disabled_exceptions_thread): Likewise.
2111 (__sim_round_mode_thread): Likewise.
2112
53f5c659
JM
2113 * sysdeps/sparc/sparc-ifunc.h [SHARED]
2114 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
2115 copy attributes from name.
2116
092dfde6
JM
21172018-11-12 Joseph Myers <joseph@codesourcery.com>
2118
f578f97b
JM
2119 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
2120 Use __attribute_copy__ to copy attributes from name.
2121
9a7c643a
JM
2122 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
2123 with __hidden_ver1 call.
2124 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
2125 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
2126 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
2127 (__cosf): Do not declare here.
2128 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
2129 (__sincosf): Do not declare here.
2130 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
2131 (__sinf): Do not declare here.
2132
092dfde6
JM
2133 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
2134 (__BIG_ENDIAN): Likewise.
2135 (__BYTE_ORDER): Likewise.
2136 (strong_alias): Likewise.
2137 (_strong_alias): Likewise.
2138
1ecba1fa
FW
21392018-11-12 Florian Weimer <fweimer@redhat.com>
2140
2141 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
2142 function. Move after the definition of in_smallbin_range. Do not
2143 use __builtin_expect for paths that lead to a noreturn function.
2144 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
2145 because it is unclear whether this is in fact an unlikely
2146 condition.
2147 (_int_malloc, _int_free): Adjust.
2148 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
2149 variables.
2150 * malloc/arena.c (heap_trim): Likewise.
2151
434c34bd
ST
21522018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2153
2154 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
2155 it, free it if needed.
2156 (reauthenticate): Test and use ccwdir.
2157 (child_init_port): In non-resetids case, test and use ccwdir.
2158 (child_chdir): New nested function to set ccwdir.
7fa495cd
ST
2159 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
2160 * hurd/hurd/port.h (_hurd_port_move): New function.
2161 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
2162 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
88b26b7e
ST
2163 * hurd/Versions (_hurd_port_move): Export function.
2164 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
2165 symbol.
58bb655a
ST
2166 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
2167 of dtablesize for allocating dtable_cloexec.
434c34bd 2168
1626a1cf
MS
21692018-11-09 Martin Sebor <msebor@redhat.com>
2170
2171 * include/libc-symbols.h (__attribute_copy__): Define macro unless
2172 it's already defined.
2173 (_strong_alias): Use __attribute_copy__.
2174 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
2175 * misc/sys/cdefs.h (__attribute_copy__): New macro.
2176 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
2177 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
2178 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
2179 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
2180 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
2181 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
2182 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
2183 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
2184 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
2185 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
2186 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
2187 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
2188 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
2189 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
2190 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
2191 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
2192 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
2193
968ed530
GG
21942018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2195
2196 * misc/tst-efgcvt.c: Include support/check.h and
2197 support/test-driver.c. Do not include test-skeleton.c.
2198 (error_count): Remove.
2199 (output_error): Replace increments to error_count with calls to
2200 support_record_failure.
2201 (output_r_error): Likewise.
2202 (special): Likewise.
2203 (do_test): Unconditionally return zero.
2204 (TEST_FUNCTION): Remove.
2205
c3ec0972
JM
22062018-11-09 Joseph Myers <joseph@codesourcery.com>
2207
91faaa93
JM
2208 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
2209 not $(@D)/scratch.
2210 ($(linknamespace-header-tests)): Likewise.
2211
c3ec0972
JM
2212 * conform/conformtest.py: New file.
2213 * conform/conformtest.pl: Remove.
2214 * conform/GlibcConform.pm: Likewise.
2215 * conform/glibcconform.py (KEYWORDS_C90): New constant.
2216 (KEYWORDS_C99): Likewise.
2217 (KEYWORDS): Likewise.
2218 * conform/Makefile ($(conformtest-header-tests)): Use
2219 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
2220 option. Use --header instead of --headers.
2221 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
2222 function entries.
2223 * conform/data/spawn.h-data: Likewise.
2224 * conform/data/fcntl.h-data (openat): Add space after function
2225 name.
2226 * conform/data/wchar.h-data (wcscasecmp): Likewise.
2227 (wcscasecmp_l): Likewise.
2228 * conform/data/termios.h-data (c_cc): Add space after element
2229 name.
2230
43257c33
GG
22312018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2232
2233 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
2234 instead of manually comparing and reporting mismatching strings.
2235 * misc/tst-ldbl-error.c (do_one_test): Likewise.
2236 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
2237
e5de3b5b
JM
22382018-11-08 Joseph Myers <joseph@codesourcery.com>
2239
2240 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
2241 __ASSUME_SOCKETCALL.
2242 * sysdeps/unix/sysv/linux/i386/kernel-features.h
2243 (__ASSUME_SOCKETCALL): Remove.
2244 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2245 (__ASSUME_SOCKETCALL): Likewise.
2246 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2247 (__ASSUME_SOCKETCALL): Likewise.
2248 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2249 (__ASSUME_SOCKETCALL): Likewise.
2250 * sysdeps/unix/sysv/linux/s390/kernel-features.h
2251 (__ASSUME_SOCKETCALL): Likewise.
2252 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2253 (__ASSUME_SOCKETCALL): Likewise.
2254 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2255 (__ASSUME_SOCKETCALL): Likewise.
2256
d524fa6c
L
22572018-11-08 H.J. Lu <hongjiu.lu@intel.com>
2258
2259 [BZ #23509]
2260 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
2261 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
2262 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
2263 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
2264 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
2265 lc_unknown.
2266
ac806026
AH
22672018-11-08 Alexandra Hájková <ahajkova@redhat.com>
2268
2269 [BZ #17630]
2270 * resolv/tst-resolv-network.c: Add test for getnetbyname.
2271
596cc360
JM
22722018-11-07 Joseph Myers <joseph@codesourcery.com>
2273
2274 [BZ #23867]
2275 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2276 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
2277 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2278 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
2279
00c86a37
AZ
22802018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2281
2282 * support/support_test_compare_string.c
2283 (support_test_compare_string): Fix printf format.
2284
1df872fd
FW
22852018-11-07 Florian Weimer <fweimer@redhat.com>
2286
2287 Implement TEST_COMPARE_STRING.
2288 * support/check.h (TEST_COMPARE_STRING): Define.
2289 (support_test_compare_string): Declare.
2290 * support/Makefile (libsupport-routines): Add
2291 support_test_compare_string.
2292 (tests): Add tst-test_compare_string.
2293 * support/support_test_compare_string.c: New file.
2294 * support/tst-test_compare_string.c: Likewise.
2295
295132ff
AS
22962018-11-07 Andreas Schwab <schwab@suse.de>
2297
2298 [BZ #23864]
2299 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
2300 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
2301 Undef.
2302
e143ceba
JM
23032018-11-06 Joseph Myers <joseph@codesourcery.com>
2304
2305 [BZ #23862]
2306 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2307 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
2308 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
2309 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
2310 Likewise.
2311
4a938cb2
FW
23122018-11-06 Florian Weimer <fweimer@redhat.com>
2313
2314 [BZ #17405]
2315 * posix/Makefile (routines): Add spawn_faction_addchdir.
2316 (tests): Add tst-spawn-chdir.
2317 * posix/Versions (GLIBC_2.29): Add
2318 posix_spawn_file_actions_addchdir_np.
2319 * posix/spawn_faction_addchdir.c: New file.
2320 * posix/spawn_faction_destroy.c
2321 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
2322 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
2323 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
2324 chdir_action.
2325 * posix/tst-spawn-chdir.c: New file.
2326 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
2327 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
2328 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
2329 posix_spawn_file_actions_addchdir_np.
2330 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
2331 Likewise.
2332 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
2333 Likewise.
2334 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
2335 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
2336 Likewise.
2337 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
2338 Likewise.
2339 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
2340 Likewise.
2341 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
2342 Likewise.
2343 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
2344 Likewise.
2345 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
2346 Likewise.
2347 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2348 (GLIBC_2.29): Likewise.
2349 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2350 (GLIBC_2.29): Likewise.
2351 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2352 (GLIBC_2.29): Likewise.
2353 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2354 (GLIBC_2.29): Likewise.
2355 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
2356 Likewise.
2357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2358 (GLIBC_2.29): Likewise.
2359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2360 (GLIBC_2.29): Likewise.
2361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2362 (GLIBC_2.29): Likewise.
2363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2364 (GLIBC_2.29): Likewise.
2365 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
2366 Likewise.
2367 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
2368 Likewise.
2369 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
2370 Likewise.
2371 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
2372 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
2373 Likewise.
2374 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
2375 Likewise.
2376 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
2377 Likewise.
2378 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
2379 Likewise.
2380
7597b0c7
GG
23812018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2382
2383 * misc/Makefile (tests): Add tst-ldbl-error.
2384 * misc/tst-ldbl-error.c: New file.
2385
9771e6cb
GG
23862018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2387
2388 * misc/Makefile (tests): Add tst-ldbl-warn.
2389 * misc/tst-ldbl-warn.c: New file.
2390
2c03961f
GG
23912018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2392
2393 * argp/Makefile (tests): Add tst-ldbl-argp.
2394 * argp/tst-ldbl-argp.c: New file.
2395
6d6ee046
AS
23962018-11-05 Arjun Shankar <arjun@redhat.com>
2397
2398 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
2399 __gconv_path_elem and call __gconv_get_path unconditionally.
2400
bd3b0fba
AS
24012018-11-05 Andreas Schwab <schwab@suse.de>
2402
2403 [BZ #22927]
2404 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
2405 creating the first helper thread failed.
2406
2e96e980
ST
24072018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
2408
2409 * sysdeps/mach/hurd/msync.c: New file.
2410
6e36266c
FW
24112018-11-02 Florian Weimer <fweimer@redhat.com>
2412
2413 * support/shell-container.c (copy_func): Call
2414 support_copy_file_range instead of copy_file_range to support
2415 cross-device copies.
2416
599f7bee
FW
24172018-11-02 Florian Weimer <fweimer@redhat.com>
2418
2419 * support/test-container.c: Include <libc-pointer-arith.h> for
2420 ALIGN_UP.
2421
ff48ea67
ZL
24222018-11-01 Zong Li <zong@andestech.com>
2423
af1d5782
ZL
2424 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
2425 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
2426 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
2427 (__FP_FRAC_SET_8): Add implementation for RV32 use.
2428
ff48ea67
ZL
2429 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
2430 variable to avoid overlap arguments.
2431
daea71c2
JM
24322018-11-01 Joseph Myers <joseph@codesourcery.com>
2433
eac4405a
JM
2434 * posix/bug-regex22.c (main): Use puts with distinct error
2435 messages for unexpected success of re_compile_pattern, not printf
2436 with NULL argument to %s.
2437
6f30e59f
JM
2438 * stdio-common/bug22.c: Include <libc-diag.h>.
2439 (do_test): Disable -Wformat-overflow= warnings around fprintf
2440 calls outputting more than INT_MAX characters.
2441 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
2442 around printf call with NULL %s argument.
2443
daea71c2
JM
2444 [BZ #23848]
2445 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
2446 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
2447 Undefine.
2448 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
2449 (__ASSUME_RECVMSG_SYSCALL): Likewise.
2450 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
2451 (__ASSUME_SENDTO_SYSCALL): Likewise.
2452 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
2453 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
2454 [!__arch64__].
2455 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
2456 (__ASSUME_CONNECT_SYSCALL): Likewise.
2457 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
2458 (__ASSUME_RECVFROM_SYSCALL): Likewise.
2459 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
2460 Define.
2461 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
2462 Likewise.
2463 [__LINUX_KERNEL_VERSION >= 0x040400]
2464 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
2465 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
2466 Remove.
2467 (listen): Likewise.
2468 (setsockopt): Likewise.
2469
8e3c00db
FN
24702018-11-01 Fredrik Noring <noring@nocrew.org>
2471
2472 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
2473 with the ISA override.
2474
9c3dbdbe
RAE
24752018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
2476
2477 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
2478 #endif.
2479
e3a88b3e
ST
24802018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
2481
a67377e7 2482 * manual/errno.texi (EIEIO): Document how translators should
e3a88b3e 2483 translate the error message.
a67377e7
ST
2484 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
2485 printing trailing whitespaces refused by git.
2486 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
2487 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fc783076 2488 * hurd/Makefile (user-interfaces): Add pci.
e3a88b3e 2489
3ca235ed
JM
24902018-10-30 Joseph Myers <joseph@codesourcery.com>
2491
2492 * conform/linknamespace.py: New file.
2493 * conform/linknamespace.pl: Remove file.
2494 * conform/Makefile ($(linknamespace-header-tests)): Use
2495 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
2496 option.
2497
60708030
FW
24982018-10-30 Florian Weimer <fweimer@redhat.com>
2499
2500 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
2501 memory leaks.
2502
a91e9301
FW
25032018-10-30 Florian Weimer <fweimer@redhat.com>
2504
2505 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
2506
07da99aa
FW
25072018-10-30 Florian Weimer <fweimer@redhat.com>
2508
2509 * stdlib/tst-strtod-overflow.c (do_test): Switch to
2510 support_blob_repeat.
2511
f5e7e959
FW
25122018-10-30 Florian Weimer <fweimer@redhat.com>
2513
2514 Avoid spurious test failures in stdlib/test-bz22786.
2515 * support/Makefile (libsupport-routines): Add blob_repeat.
2516 (tests): Add tst-support_blob_repeat.
2517 * support/blob_repeat.h: New file.
2518 * support/blob_repeat.c: Likewise.
2519 * support/tst-support_blob_repeat.c: Likewise.
2520 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
2521 support_blob_repeat_allocate.
2522
2dd12baa
AS
25232018-10-30 Andreas Schwab <schwab@suse.de>
2524
2525 [BZ #23125]
2526 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
2527 Don't use tail call.
2528 * elf/tst-unwind-main.c: New file.
2529 * elf/Makefile (tests): Add tst-unwind-main.
2530 (CFLAGS-tst-unwind-main.c): Define.
2531
fec8bb7c
SAA
25322018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
2533
2534 [BZ #23791]
2535 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
2536 n_cs_precedes to 0.
2537 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
2538
c6982f7e
JM
25392018-10-29 Joseph Myers <joseph@codesourcery.com>
2540
954cf3c2
JM
2541 * conform/glibcconform.py: Do not import shutil.
2542 (list_exported_functions): Use tempfile.TemporaryDirectory instead
2543 of mkdtemp.
2544
c6982f7e
JM
2545 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
2546 critic_missing for versions before 3.4.
2547 * configure: Regenerated.
2548 * manual/install.texi (Tools for Compilation): Document
2549 requirement for Python to build glibc.
2550 * INSTALL: Regenerated.
2551 * Rules [PYTHON]: Make code unconditional.
2552 * benchtests/Makefile [PYTHON]: Likewise.
2553 * conform/Makefile [PYTHON]: Likewise.
2554 * manual/Makefile [PYTHON]: Likewise.
2555 * math/Makefile [PYTHON]: Likewise.
2556
46a7f24c
ST
25572018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
2558
2559 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
2d0d1d38 2560 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
b6e7c449 2561 answer to interrupt_operation, return EIEIO instead of EINTR.
5c81be53
ST
2562 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
2563 _hurd_intr_rpc_msg_about_to global point to start of controlled
2564 assembly snippet. Make it check canceled flag.
2565 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
2566 the _hurd_intr_rpc_msg_about_to point.
2567 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
2568 issue, remove cancel flag check.
46a7f24c 2569
e5b8756d
JM
25702018-10-26 Joseph Myers <joseph@codesourcery.com>
2571
2572 * scripts/build-many-glibcs.py: Remove compatibility for missing
2573 os.cpu_count and re.fullmatch.
2574
ba5b14c7
SN
25752018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
2576
2577 [BZ #23822]
2578 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
2579 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
2580 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
2581
fe61f17c
JM
25822018-10-25 Joseph Myers <joseph@codesourcery.com>
2583
2584 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
2585 macro.
2586
7c5e34d7
FW
25872018-10-25 Florian Weimer <fweimer@redhat.com>
2588
2589 [BZ #23562]
2590 [BZ #23821]
2591 XFAIL siginfo_t si_band conform test on sparc64.
2592 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
2593 (__SI_BAND_TYPE): Only override long int default type on sparc64.
2594 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
2595 (conformtest-xfail-conds): Add sparc64-linux.
2596 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
2597 sparc64.
2598 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
2599
5b784e88
JM
26002018-10-25 Joseph Myers <joseph@codesourcery.com>
2601
2602 * elf/elf.h (NT_MIPS_DSP): New macro.
2603 (NT_MIPS_FP_MODE): Likewise.
2604
41432ebe
ZL
26052018-10-25 Zong Li <zong@andestech.com>
2606
2607 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
2608 name by adding the file extension (.so).
2609
d026efea
ST
26102018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
2611
2612 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
2613 (test-xfail-ISO11/threads.h/linknamespace,
2614 test-xfail-ISO11/threads.h/conform): Add.
2615
b71ac2b9
JM
26162018-10-24 Joseph Myers <joseph@codesourcery.com>
2617
2618 * math/gen-libm-test.py: Import os.
2619 (ALL_FLOATS_MANUAL): New constant.
2620 (ALL_FLOATS_SUFFIX): Likewise.
2621 (Ulps.all_functions): New function.
2622 (real_all_ulps): Likewise.
2623 (generate_err_table_sub): Likewise.
2624 (generate_err_table): Likewise.
2625 (main): Handle -s and -m options.
2626 * manual/libm-err-tab.pl: Remove.
2627 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
2628 instead of libm-err-tab.pl.
2629 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
2630 != no].
2631 * manual/install.texi (Tools for Compilation): Document
2632 requirement for Python to build manual.
2633 * INSTALL: Regenerated.
2634
d51f99ce
AA
26352018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
2636
2637 * bits/time64.h: New file.
2638 * include/time.h: Replace internal_time_t with __time64_t.
2639 * posix/bits/types (__time64_t): Add.
2640 * stdlib/Makefile: Add bits/time64.h to includes.
2641 * time/tzfile.c: Replace internal_time_t with __time64_t.
2642
97d91fcc 26432018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2a973ab7
AZ
2644
2645 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
2646 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
2647 __posix_spawn_file_actions_init, __posix_spawnattr_init,
2648 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
2649 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
2650 prototype.
2651 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
2652 * posix/spawn_faction_addclose.c
2653 (__posix_spawn_file_actions_addclose): Add hidden definition.
2654 * posix/spawn_faction_adddup2.c
2655 (__posix_spawn_file_actions_adddup2): Likewise.
2656 * posix/spawn_faction_destroy.c
2657 (__posix_spawn_file_actions_destroy): Likewise.
2658 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
2659 Likewise.
2660 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
2661 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
2662 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
2663 Likewise.
2664 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
2665 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
2666 Likewise.
2667
2954daf0
AS
26682018-10-24 Andreas Schwab <schwab@suse.de>
2669
2670 [BZ #18093]
2671 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
2672 format cache.
2673 * elf/cache.c (print_cache): Likewise.
2674
a27a4f47
AA
26752018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
2676
2677 * bits/timesize.h: New file.
2678 * stdlib/Makefile (headers): Add bits/timesize.h.
2679 * sysdeps/unix/sysv/linux/bits/msq-pad.h
2680 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
2681 * sysdeps/unix/sysv/linux/bits/sem-pad.h
2682 (__SEM_PAD_AFTER_TIME): Likewise.
2683 * sysdeps/unix/sysv/linux/bits/shm-pad.h
2684 (__SHM_PAD_AFTER_TIME): Likewise.
2685 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
2686 (__MSQ_PAD_BEFORE_TIME): Likewise.
2687 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
2688 (__SEM_PAD_BEFORE_TIME): Likewise.
2689 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
2690 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
2691 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
2692 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
2693 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
2694 (__MSQ_PAD_BEFORE_TIME): Likewise.
2695 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
2696 (__SEM_PAD_BEFORE_TIME): Likewise.
2697 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
2698 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
2699 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
2700 (__MSQ_PAD_BEFORE_TIME): Likewise.
2701 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
2702 (__SEM_PAD_BEFORE_TIME): Likewise.
2703 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
2704 (__SHM_PAD_BEFORE_TIME): Likewise.
2705 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
2706 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
2707 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
2708
7cc65773
L
27092018-10-24 H.J. Lu <hongjiu.lu@intel.com>
2710
2711 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
2712 USE_RDTSCP is defined.
2713 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
2714 USE_RDTSCP is defined.
2715
c3d8dc45
AZ
27162018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2717
18ad0de6
AZ
2718 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
2719 defined.
2720
c3d8dc45
AZ
2721 [BZ #23709]
2722 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
2723 independently of other flags.
2724
f1034472
FW
27252018-10-23 Florian Weimer <fweimer@redhat.com>
2726
2727 * time/tst-mktime2.c (N_STRINGS): Remove.
2728 (set_timezone): New function.
2729 (spring_forward_gap): Call it. Use FAIL_EXIT1.
2730 (mktime_test1): Report localtime failure and check errno value.
2731 Use TEST_COMPARE.
2732 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
2733 (do_test): Remove alarm call. Use set_timezone and array_length.
2734
367d7cc2
AS
27352018-10-23 Andreas Schwab <schwab@suse.de>
2736
2737 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
2738 (__start_context): Use END instead of PSEUDO_END.
2739
be8ff03f
JM
27402018-10-22 Joseph Myers <joseph@codesourcery.com>
2741
029ad711
JM
2742 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2743 version to 4.19.
2744
8190520f
JM
2745 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2746 version to 4.19.
2747
be8ff03f
JM
2748 [BZ #23793]
2749 * wcsmbs/c32rtomb.c: New file.
2750 * wcsmbs/mbrtoc32.c: Likewise.
2751 * wcsmbs/tst-c32-state.c: Likewise.
2752 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
2753 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
2754 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
2755 (tests): Add tst-c32-state.
2756 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
2757 $(gen-locales).
2758
2dd8e58c
L
27592018-10-21 H.J. Lu <hongjiu.lu@intel.com>
2760
2761 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
2762 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
2763
d0a74159
JM
27642018-10-19 Joseph Myers <joseph@codesourcery.com>
2765
2766 [BZ #23794]
2767 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
2768 pair and return 0 in that case, and use saved character to
2769 interpret following character.
2770 * wcsmbs/tst-c16-surrogate.c: New file.
2771 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
2772 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
2773 Depend on $(gen-locales)
2774
f997b4be
IYM
27752018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
2776
2777 [BZ #23562]
2778 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
2779 (struct siginfo_t): Use correct type for si_band.
2780
53b2bb87
FW
27812018-10-19 Florian Weimer <fweimer@redhat.com>
2782
2783 [BZ #23689]
2784 * resource/bits/types/struct_rusage.h (struct rusage): Update
2785 comment on struct. Remove extraneous field comment.
2786
0a271c8f
DM
27872018-10-18 David S. Miller <davem@davemloft.net>
2788
94a3a27f
DM
2789 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
2790 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
2791 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
2792 sysdep_routines in subdir elf.
2793 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
2794 version for __vdso_clock_gettime.
2795 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
2796 Define.
2797 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
2798 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
2799
0a271c8f
DM
2800 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
2801
72771e53
L
28022018-10-17 H.J. Lu <hongjiu.lu@intel.com>
2803
2804 * sysdeps/i386/init-arch.h: Removed.
2805 * sysdeps/i386/i586/init-arch.h: Likewise.
2806 * sysdeps/i386/i686/init-arch.h: Likewise.
2807 * sysdeps/i386/i686/hp-timing.h: Likewise.
2808 * sysdeps/x86_64/hp-timing.h: Likewise.
2809 * sysdeps/i386/isa.h: New file.
2810 * sysdeps/i386/i586/isa.h: Likewise.
2811 * sysdeps/i386/i686/isa.h: Likewise.
2812 * sysdeps/x86_64/isa.h: Likewise.
2813 * sysdeps/x86/hp-timing.h: New file.
2814 * sysdeps/x86/init-arch.h: Include <isa.h>.
2815
c2b7ccad
JM
28162018-10-17 Joseph Myers <joseph@codesourcery.com>
2817
2818 * math/libm-test-pow.inc (pow_test_data): Do not allow
2819 divide-by-zero exception for pow(+/- 0, -Inf).
2820
26756e57
ZW
28212018-10-17 Zack Weinberg <zackw@panix.com>
2822
2823 * manual/job.texi (Job Control is Optional): Remove node, as
2824 job control has not been optional in quite some time.
2825 (Job Control): Mention briefly that systems older than
2826 POSIX.1-2001 might not support job control.
2827 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
2828 defined on systems conforming to POSIX.1-2001.
2829
c5288d37
AS
28302018-10-17 Arjun Shankar <arjun@redhat.com>
2831
2832 [BZ #22062]
2833 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
2834 indentation.
2835 * (__gconv_read_conf): Mark function static.
2836 * (once): New static variable.
2837 * (__gconv_load_conf): New function.
2838 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
2839 * iconv/gconv_db.c (once): Remove static variable.
2840 * (__gconv_compare_alias): Use __gconv_load_conf instead of
2841 __gconv_read_conf.
2842 * (__gconv_find_transform): Likewise.
2843 * iconv/tst-iconv-mt.c: New test.
2844 * iconv/Makefile: Add tst-iconv_mt.
2845
8c8d2a8a
JM
28462018-10-17 Joseph Myers <joseph@codesourcery.com>
2847
2848 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
729f3402
JM
2849 bits/shm-pad.h.
2850 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
2851 (shmatt_t): Define as __syscall_ulong_t.
2852 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
2853 and [__SHM_PAD_AFTER_TIME].
2854 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
2855 Define shm_segsz and associated padding based on
2856 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
2857 Use __syscall_ulong_t instead of unsigned long int.
2858 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
2859 unsigned long int.
2860 [__USE_MISC] (struct shm_info): Likewise.
2861 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
2862 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
2863 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
2864 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
2865 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
2866 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
2867 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
2868 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
2869 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
2870 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
2871 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
2872
2873 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8c8d2a8a
JM
2874 bits/shmlba.h.
2875 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
2876 (SHMLBA): Remove macro.
2877 (__getpagesize): Remove function declaration.
2878 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
2879 <bits/shmlba.h>.
2880 (SHMLBA): Remove macro.
2881 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
2882 <bits/shmlba.h>.
2883 (SHMLBA): Remove macro.
2884 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
2885 <bits/shmlba.h>.
2886 (SHMLBA): Remove macro.
2887 (__getpagesize): Remove function declaration.
2888 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
2889 <bits/shmlba.h>.
2890 (SHMLBA): Remove macro.
2891 (__getshmlba): Remove function declaration.
2892 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
2893 (SHMLBA): Remove macro.
2894 (__getpagesize): Remove function declaration.
2895 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
2896 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
2897 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
2898 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
2899 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
2900 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
2901 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
2902 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
2903 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
2904 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
2905
403b4feb
SL
29062018-10-17 Stefan Liebler <stli@linux.ibm.com>
2907
2908 [BZ #23275]
2909 * nptl/tst-mutex10.c: New File.
2910 * nptl/Makefile (tests): Add tst-mutex10.
2911 (tst-mutex10-ENV): New variable.
2912 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
2913 Ensure that elision path is used if elision is available.
2914 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
2915 Likewise.
2916 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
2917 Likewise.
2918 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
2919 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
2920 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
2921 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
2922 Likewise.
2923 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
2924 (__pthread_mutex_cond_lock_adjust): Likewise.
2925 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
2926 Likewise.
2927 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
2928 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
2929 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2930 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
2931 Add comments.
2932 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
2933 Use atomic_load_relaxed and atomic_store_relaxed.
2934 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
2935 Use atomic_store_relaxed.
2936
ce5a7de6
AS
29372018-10-17 Andreas Schwab <schwab@suse.de>
2938
2939 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
2940 * crypt/badsalttest.c (TIMEOUT): Likewise.
2941 * crypt/sha256c-test.c (TIMEOUT): Likewise.
2942 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
2943 * io/test-lfs.c (TIMEOUT): Likewise.
2944 * libio/tst-atime.c (TIMEOUT): Likewise.
2945 * localedata/tst-leaks.c (TIMEOUT): Likewise.
2946 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
2947 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
2948 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
2949 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
2950 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
2951 * nptl/tst-cond11.c (TIMEOUT): Likewise.
2952 * nptl/tst-cond14.c (TIMEOUT): Likewise.
2953 * nptl/tst-cond15.c (TIMEOUT): Likewise.
2954 * nptl/tst-cond24.c (TIMEOUT): Likewise.
2955 * nptl/tst-cond25.c (TIMEOUT): Likewise.
2956 * nptl/tst-kill2.c (TIMEOUT): Likewise.
2957 * nptl/tst-kill3.c (TIMEOUT): Likewise.
2958 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
2959 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
2960 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
2961 * nptl/tst-once2.c (TIMEOUT): Likewise.
2962 * nptl/tst-once3.c (TIMEOUT): Likewise.
2963 * nptl/tst-once4.c (TIMEOUT): Likewise.
2964 * nptl/tst-robust8.c (TIMEOUT): Likewise.
2965 * nptl/tst-robust9.c (TIMEOUT): Likewise.
2966 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
2967 * nptl/tst-sem14.c (TIMEOUT): Likewise.
2968 * nptl/tst-sem6.c (TIMEOUT): Likewise.
2969 * nptl/tst-signal3.c (TIMEOUT): Likewise.
2970 * nptl/tst-spin4.c (TIMEOUT): Likewise.
2971 * nptl/tst-tls3.c (TIMEOUT): Likewise.
2972 * nptl/tst-tls4.c (TIMEOUT): Likewise.
2973 * posix/tst-chmod.c (TIMEOUT): Likewise.
2974 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
2975 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
2976 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
2977 * posix/tst-regex2.c (TIMEOUT): Likewise.
2978 * posix/tst-waitid.c (TIMEOUT): Likewise.
2979 * rt/tst-aio.c (TIMEOUT): Likewise.
2980 * rt/tst-aio10.c (TIMEOUT): Likewise.
2981 * rt/tst-aio4.c (TIMEOUT): Likewise.
2982 * rt/tst-aio5.c (TIMEOUT): Likewise.
2983 * rt/tst-aio6.c (TIMEOUT): Likewise.
2984 * rt/tst-aio64.c (TIMEOUT): Likewise.
2985 * rt/tst-aio7.c (TIMEOUT): Likewise.
2986 * rt/tst-aio9.c (TIMEOUT): Likewise.
2987 * rt/tst-clock.c (TIMEOUT): Likewise.
2988 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
2989 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
2990 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
2991 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
2992 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
2993 * rt/tst-timer4.c (TIMEOUT): Likewise.
2994 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
2995 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
2996 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
2997 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
2998 * time/tst-ftime.c (TIMEOUT): Likewise.
2999 * timezone/tst-tzset.c (TIMEOUT): Likewise.
3000
75c1aee5
AY
30012018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
3002
3003 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
3004 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
3005 for thunderX2.
3006
bcdb1bfa
JM
30072018-10-15 Joseph Myers <joseph@codesourcery.com>
3008
3009 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3010 bits/sem-pad.h.
3011 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
3012 instead of <bits/wordsize.h>.
3013 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
3014 and [__SEM_PAD_AFTER_TIME].
3015 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
3016 __syscall_ulong_t instead of unsigned long int.
3017 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
3018 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
3019 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
3020 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
3021 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
3022 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
3023 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
3024 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
3025 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
3026 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
3027 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
3028
f4efbdfb
PE
30292018-10-14 Paul Eggert <eggert@cs.ucla.edu>
3030
620a5d4c
PE
3031 regex: simplify by using intprops.h
3032 [BZ#23744]
3033 * posix/regex_internal.h [_LIBC]: Include intprops.h.
3034 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
3035 intprops.h defines them.
3036
f4efbdfb
PE
3037 regex: __builtin_expect → __glibc_unlikely
3038 [BZ#23744]
3039 This refactoring was prompted by a problem when the regex code is
3040 used as part of Gnulib and when the builder’s compiler does not grok
3041 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
3042 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
3043 Although this refactoring does not fix the problem directly,
3044 we might as well have Gawk use the now-preferred glibc style for when
3045 __builtin_expect is unavailable.
3046 * posix/regex_internal.h (BE): Remove.
3047 All uses replaced by __glibc_unlikely or __glibc_likely.
3048
9f9feb6d
JM
30492018-10-11 Joseph Myers <joseph@codesourcery.com>
3050
3051 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3052 bits/msq-pad.h.
3053 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
3054 instead of <bits/wordsize.h>.
3055 (msgqnum_t): Define as __syscall_ulong_t.
3056 (msglen_t): Likewise.
3057 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
3058 and [__MSQ_PAD_AFTER_TIME].
3059 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
3060 __syscall_ulong_t instead of unsigned long int.
3061 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
3062 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
3063 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
3064 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
3065 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
3066 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
3067 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
3068 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
3069 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
3070 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
3071 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
3072
b9c0f6c1
JM
30732018-10-10 Joseph Myers <joseph@codesourcery.com>
3074
2a4b25fa
JM
3075 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
3076 (struct shmid_ds): Condition padding after time fields on
3077 [__WORDSIZE == 32].
3078 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
3079 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
3080 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
3081
19e62f26
JM
3082 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
3083 (struct semid_ds): Condition padding after time fields on
3084 [__WORDSIZE == 32].
3085 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
3086 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
3087 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
3088 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
3089
b9c0f6c1
JM
3090 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
3091 (struct msqid_ds): Condition padding after time fields on
3092 [__WORDSIZE == 32].
3093 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
3094 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
3095 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
3096 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
3097
97785a61
SN
30982018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
3099
3100 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
3101
ed643089
SN
31022018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
3103
3104 * libio/tst-readline.c (TIMEOUT): Define.
3105
5a580643
PE
31062018-10-08 Paul Eggert <eggert@cs.ucla.edu>
3107
3108 mktime fix for Gnulib + coreutils
3109 [BZ#23745]
3110 This fix affects only Gnulib. Problem discovered when
3111 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
3112 * time/mktime.c:
3113 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
3114 Do not define since it is not used. Defining an unused static
3115 function prompts a warning from GCC when Coreutils is configured
3116 with --enable-gcc-warnings.
3117
c892ae04
LS
31182018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3119
3120 * benchtests/scripts/compare_bench.py (main): set float type on
3121 threshold argument.
3122
a68ec8ea
RL
31232018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
3124
3125 [BZ #23740]
3126 * localedata/locales/kl_GL (mon): Update, the relative case.
3127 (alt_mon): Add, fill with month names in the nominative case.
3128 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
3129 (d_fmt): Set to "%b %d %Y".
3130
a1987621
JM
31312018-10-04 Joseph Myers <joseph@codesourcery.com>
3132
47c49251
JM
3133 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
3134 <bits/mman-linux.h>.
3135 (PROT_READ): Don't define here.
3136 (PROT_WRITE): Likewise.
3137 (PROT_EXEC): Likewise.
3138 (PROT_NONE): Likewise.
3139 (PROT_GROWSDOWN): Likewise.
3140 (PROT_GROWSUP): Likewise.
3141 (MAP_SHARED): Likewise.
3142 (MAP_PRIVATE): Likewise.
3143 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
3144 [__USE_MISC] (MAP_FILE): Likewise.
3145 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
3146 [__USE_MISC] (MAP_ANON): Likewise.
3147 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
3148 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
3149 (MCL_CURRENT): Likewise.
3150 (MCL_FUTURE): Likewise.
3151 (MCL_ONFAULT): Likewise.
3152 [__USE_MISC] (MADV_NORMAL): Likewise.
3153 [__USE_MISC] (MADV_RANDOM): Likewise.
3154 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
3155 [__USE_MISC] (MADV_WILLNEED): Likewise.
3156 [__USE_MISC] (MADV_DONTNEED): Likewise.
3157 [__USE_MISC] (MADV_FREE): Likewise.
3158 [__USE_MISC] (MADV_REMOVE): Likewise.
3159 [__USE_MISC] (MADV_DONTFORK): Likewise.
3160 [__USE_MISC] (MADV_DOFORK): Likewise.
3161 [__USE_MISC] (MADV_HWPOISON): Likewise.
3162 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
3163 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
3164 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
3165 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
3166 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
3167 (__MAP_ANONYMOUS): New macro.
3168 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
3169 <bits/mman-linux.h> inclusion.
3170 (MAP_FIXED): Likewise.
3171 (MS_SYNC): Likewise.
3172 (MS_ASYNC): Likewise.
3173 (MS_INVALIDATE): Likewise.
3174 [__USE_MISC] (MADV_MERGEABLE): Likewise.
3175 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
3176 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
3177 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
3178 [__USE_MISC] (MADV_DONTDUMP): Likewise.
3179 [__USE_MISC] (MADV_DODUMP): Likewise.
3180 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
3181 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
3182
a1987621
JM
3183 [BZ #23735]
3184 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
3185 Define.
3186 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
3187 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
3188 Add test-nldbl-redirect.
3189 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
3190 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
3191 $(objpfx)libnldbl_nonshared.a.
3192
e7624d70
SL
31932018-10-04 Stefan Liebler <stli@linux.ibm.com>
3194
3195 * support/support.h (support_objdir_elf_ldso): New variable.
3196 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
3197 * support/Makefile (CFLAGS-support_paths.c): Add definition
3198 for OBJDIR_ELF_LDSO_PATH.
3199 * support/test-container.c (main): Search for the ld.so
3200 which is also used by the testsuite.
3201
dae3ed95
RL
32022018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
3203
3204 [BZ #20209]
3205 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
3206 should be "sap" rather than "sab".
3207 (day): Fix spelling of Sunday, should be "sapaat" rather than
3208 "sabaat".
3209
f346b5b3
JM
32102018-10-02 Joseph Myers <joseph@codesourcery.com>
3211
3212 * math/libm-test-fma.inc (fma_test_data): Add more tests.
3213
4a06ceea
MJ
32142018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
3215
3216 [BZ #19444]
3217 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
3218 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
3219 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
3220
a06fc4a5
AZ
32212018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3222
3223 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
3224
a1ccc065
L
32252018-10-02 H.J. Lu <hongjiu.lu@intel.com>
3226
3227 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
3228 Add -mrtm.
3229 (CFLAGS-elision-unlock.c): Likewise.
3230 (CFLAGS-elision-timed.c): Likewise.
3231 (CFLAGS-elision-trylock.c): Likewise.
3232 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
3233
0b727ed4
AZ
32342018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3235
3236 [BZ #21037]
3237 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
3238 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
3239 new fd_to_filename interface.
3240 * libio/freopen64.c (freopen64): Likewise.
3241 * libio/tst-memstream.h: New file.
3242 * libio/tst-memstream4.c: Likewise.
3243 * libio/tst-wmemstream4.c: Likewise.
3244 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
3245 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
3246 and remove internal dynamic allocation.
3247
d0e91e8c
JM
32482018-10-01 Joseph Myers <joseph@codesourcery.com>
3249
3250 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
3251 (MREMAP_MAYMOVE): Do not define here.
3252 [__USE_GNU] (MREMAP_FIXED): Likewise.
3253 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
3254 (MREMAP_MAYMOVE): Define here instead.
3255 [__USE_GNU] (MREMAP_FIXED): Likewise.
3256 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
3257 (MREMAP_MAYMOVE): Remove.
3258 [__USE_GNU] (MREMAP_FIXED): Likewise.
3259
c52944e8
JM
32602018-09-28 Joseph Myers <joseph@codesourcery.com>
3261
3262 * math/fromfp.h: Do not include <math_private.h>.
3263 * math/s_cacosh_template.c: Likewise.
3264 * math/s_casin_template.c: Likewise.
3265 * math/s_casinh_template.c: Likewise.
3266 * math/s_ccos_template.c: Likewise.
3267 * math/s_cproj_template.c: Likewise.
3268 * math/s_fdim_template.c: Likewise.
3269 * math/s_fmaxmag_template.c: Likewise.
3270 * math/s_fminmag_template.c: Likewise.
3271 * math/s_iseqsig_template.c: Likewise.
3272 * math/s_ldexp_template.c: Likewise.
3273 * math/s_nextdown_template.c: Likewise.
3274 * math/w_log1p_template.c: Likewise.
3275 * math/w_scalbln_template.c: Likewise.
3276 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
3277 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
3278 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
3279 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
3280 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
3281 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
3282 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
3283 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
3284 * sysdeps/i386/fpu/s_atanl.c: Likewise.
3285 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
3286 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
3287 * sysdeps/i386/fpu/s_fdim.c: Likewise.
3288 * sysdeps/i386/fpu/s_logbl.c: Likewise.
3289 * sysdeps/i386/fpu/s_rintl.c: Likewise.
3290 * sysdeps/i386/fpu/s_significandl.c: Likewise.
3291 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
3292 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
3293 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3294 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3295 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
3296 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
3297 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
3298 * sysdeps/ieee754/k_standardf.c: Likewise.
3299 * sysdeps/ieee754/k_standardl.c: Likewise.
3300 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3301 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
3302 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
3303 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
3304 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
3305 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
3306 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
3307 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
3308 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
3309 * sysdeps/ieee754/s_signgam.c: Likewise.
3310 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
3311 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
3312 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
3313 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
3314 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
3315 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
3316 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
3317 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
3318 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
3319 * sysdeps/riscv/rvd/s_finite.c: Likewise.
3320 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
3321 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
3322 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
3323 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
3324 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
3325 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
3326 * sysdeps/riscv/rvf/fegetround.c: Likewise.
3327 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
3328 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
3329 * sysdeps/riscv/rvf/fesetround.c: Likewise.
3330 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
3331 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
3332 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
3333 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
3334 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
3335 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
3336 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
3337 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
3338 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
3339 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
3340 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
3341 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
3342 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
3343 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
3344 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
3345 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
3346 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
3347 <math_private.h>.
3348 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
3349
7b1f9406
L
33502018-09-28 H.J. Lu <hongjiu.lu@intel.com>
3351
3352 [BZ #23716]
3353 * sysdeps/i386/dl-cet.c: Removed.
3354 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
3355 prototype.
3356 (_dl_runtime_profile_shstk): Likewise.
3357 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
3358 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
3359
7a16bdbb
AZ
33602018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3361
3362 [BZ #23579]
3363 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
3364 do_test_with_invalid_iov): New tests.
3365 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
3366 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
3367 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
3368 errno is ENOSYS.
3369 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
3370 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
3371 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
3372
9755bc46
JM
33732018-09-27 Joseph Myers <joseph@codesourcery.com>
3374
81dca813
JM
3375 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
3376 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
3377 (MATH_REDIRECT_BINARY_ARGS): New macro.
3378 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
3379 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
3380 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
3381 header inclusion.
3382 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
3383 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3384 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
3385 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3386 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3387 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3388 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3390 Likewise.
3391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
3392 Likewise.
3393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
3394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
3395 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
3396 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
3397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
3398 Likewise.
3399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
3400 Likewise.
3401 * sysdeps/generic/math_private_calls.h
3402 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
3403 Do not declare and define as an inline function.
3404 * math/divtc3.c (__divtc3): Use copysign functions instead of
3405 __copysign variants.
3406 * math/multc3.c (__multc3): Likewise.
3407 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
3408 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
3409 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
3410 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
3411 Likewise.
3412 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
3413 (__ieee754_yn): Likewise.
3414 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
3415 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
3416 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
3417 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3418 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
3419 (__sin): Likewise.
3420 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
3421 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
3422 Likewise.
3423 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
3424 Likewise.
3425 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
3426 Likewise.
3427 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
3428 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
3429 Likewise.
3430 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
3431 (__ieee754_ynf): Likewise.
3432 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
3433 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
3434 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
3435 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
3436 Likewise.
3437 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3438 (__ieee754_ynl): Likewise.
3439 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
3440 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
3441 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
3442 Likewise.
3443 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3444 (__ieee754_ynl): Likewise.
3445 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
3446 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3447 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3448 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
3449 Likewise.
3450 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3451 (__ieee754_ynl)
3452 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
3453 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
3454 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
3455 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
3456 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
3457
9755bc46
JM
3458 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
3459 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
3460 using MATH_REDIRECT.
3461 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
3462 header inclusion.
3463 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
3464 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3465 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3466 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
3467 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3468 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
3469 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
3470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
3471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
3472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
3473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
3474 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
3475 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
3476 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
3477 (round): Redirect to __round.
3478 (__roundl): Call round instead of __round.
3479 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
3480 Remove macro.
3481 [_ARCH_PWR5X] (__roundf): Likewise.
3482 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
3483 functions instead of __round variants.
3484 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
3485 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
3486 Likewise.
3487 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
3488 Likewise.
3489 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
3490 Likewise.
3491 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
3492 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
3493 __lroundl.
3494 (__ieee754_expl): Call roundl instead of __roundl.
3495
f841c97e
AS
34962018-09-27 Andreas Schwab <schwab@suse.de>
3497
3498 [BZ #23717]
3499 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
3500 (do_test): Make st1 static.
3501
6ca8284e
AS
35022018-09-26 Andreas Schwab <schwab@suse.de>
3503
3504 [BZ #23707]
3505 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
3506 * elf/Makefile (tests): Add tst-unwind-ctor.
3507 (modules-names): Add tst-unwind-ctor-lib.
3508 ($(objpfx)tst-unwind-ctor): Depend on
3509 $(objpfx)tst-unwind-ctor-lib.so.
3510
61d8b5fe
JM
35112018-09-26 Joseph Myers <joseph@codesourcery.com>
3512
3513 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
3514 file. Most contents moved from ....
3515 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
3516 and include <bits/mman-map-flags-generic.h>.
3517 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
3518 (sysdep_headers): Add bits/mman-map-flags-generic.h.
3519 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
3520 <bits/mman-map-flags-generic.h>.
3521 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
3522 macros defined in <bits/mman-map-flags-generic.h>.
3523 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
3524 <bits/mman-map-flags-generic.h>.
3525 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
3526 defined in <bits/mman-map-flags-generic.h>.
3527
46341286
AS
35282018-09-26 Andreas Schwab <schwab@suse.de>
3529
3530 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
3531 output.
3532
b5c45e83
AZ
35332018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
3534 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3535 Fangrui Song <maskray@google.com>
3536
3537 [BZ #20480]
3538 * config.make.in (have-textrel_ifunc): New define.
3539 * configure.ac: Add check if linker supports textrel relocation with
3540 ifunc.
3541 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
3542 tst-ifunc-textrel.
3543 (CFLAGS-tst-ifunc-textrel.c): New rule.
3544 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
3545 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
3546 * elf/tst-ifunc-textrel.c: New file.
3547
8ea4d2b7
JM
35482018-09-25 Joseph Myers <joseph@codesourcery.com>
3549
d62f9ec0
JM
3550 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
3551 <bits/procfs-prregset.h>.
3552 (prgregset_t): Define using __prgregset_t.
3553 (prfpregset_t): Define using __prfpregset_t.
3554 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
3555 (sysdep_headers): Add bits/procfs-prregset.h.
3556 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
3557 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
3558 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
3559 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
3560
d0d8eb43
JM
3561 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
3562 <bits/procfs-id.h> and <bits/procfs-extra.h>.
3563 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
3564 pr_uid and pr_gid.
3565 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
3566 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
3567 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
3568 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
3569 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
3570 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
3571 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
3572 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
3573 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
3574 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
3575 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
3576 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
3577 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
3578 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
3579 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
3580 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
3581 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
3582 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
3583 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
3584 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
3585 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
3586 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
3587 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
3588 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
3589
8ea4d2b7
JM
3590 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
3591 AArch64 version. Include <bits/procfs.h>.
3592 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
3593 (sysdep_headers): Add bits/procfs.h.
3594 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
3595 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
3596 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
3597 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
3598 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
3599 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
3600 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
3601 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
3602 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
3603 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
3604 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
3605 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
3606 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
3607 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
3608 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
3609 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3610 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
3611
c7027166
AZ
36122018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3613
3614 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
3615 Use libsupport.
3616
335a3b0a
AS
36172018-09-25 Arjun Shankar <arjun@redhat.com>
3618
3619 * iconv/gconv_int.h (__gconv_path_elem): Remove.
3620 (__gconv_max_path_elem_len): Likewise.
3621 (__gconv_nmodules): Likewise.
3622 (__gconv_get_path): Likewise.
3623 (path_elem): Move to ...
3624 * iconv/gconv_conf.c: ... here.
3625 (__gconv_get_path): Mark function static.
3626 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
3627 * iconv/gconv_open.c: ... here.
3628
462d348c
AS
36292018-09-24 Andreas Schwab <schwab@suse.de>
3630
3631 * scripts/haveversions.awk: New file.
3632 * Makerules ($(common-objpfx)Versions.def)
3633 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
3634 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
3635 Move rules ...
3636 * Makeconfig ($(common-objpfx)Versions.def)
3637 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
3638 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
3639 ... here.
3640 ($(common-objpfx)Versions.mk): New rule. Include it.
3641 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
3642 Emit error if build-obsolete-nsl = yes.
3643 * manual/install.texi (Configuring and compiling): Describe
3644 --enable-obsolete-nsl as unavaiable after version 2.28.
3645 * INSTALL: Regenerate.
3646
f0458cf4
AZ
36472018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3648
3649 * NEWS: Add note about new TLE support on powerpc64le.
3650 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
3651 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
3652 __ununsed1.
3653 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
3654 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
3655 * sysdeps/powerpc/powerpc32/sysdep.h,
3656 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
3657 ABORT_TRANSACTION): Remove macros.
3658 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
3659 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
3660 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
3661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
3662 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3663 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
3664 usage.
3665 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
3666
434d45fd
RL
36672018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
3668
3669 [BZ #10425]
3670 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
3671 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
3672 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
3673 which is the same as in it_IT.
3674 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
3675 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
3676
d90c9b1a
JM
36772018-09-20 Joseph Myers <joseph@codesourcery.com>
3678
7abf97be
JM
3679 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
3680 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
3681 using MATH_REDIRECT.
3682 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
3683 header inclusion.
3684 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
3685 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
3686 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
3687 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
3688 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
3689 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
3691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
3692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
3693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
3694 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
3695 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
3696 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
3697 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
3698 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
3699 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
3700 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
3701 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
3702 (ceil): Redirect to __ceil.
3703 (floor): Redirect to __floor.
3704 (trunc): Redirect to __trunc.
3705 (__truncl): Call trunc instead of __trunc.
3706 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
3707 Remove macro.
3708 [_ARCH_PWR5X] (__truncf): Likewise.
3709 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
3710 trunc functions instead of __trunc variants.
3711 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
3712 Likewise.
3713 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
3714 Likewise.
3715 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
3716 Likewise.
3717 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
3718 Likewise.
3719
d90c9b1a
JM
3720 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
3721 [__i586__ || __pentium__].
3722 [__i486__]: Handle explicitly.
3723 (HAS_CPUID): Define to 1 if above macros are undefined.
3724 (HAS_I586): Likewise.
3725 (HAS_I686): Likewise.
3726
db9a8ad4
FW
37272018-09-20 Florian Weimer <fweimer@redhat.com>
3728
3729 * misc/tst-gethostid.c: New file.
3730 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
3731 (tst-gethostid): Link with -ldl.
3732
1214ba06
MY
37332018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
3734
3735 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
3736 value from gethostbyname_r.
3737
791b350d
CD
37382018-09-19 Carlos O'Donell <carlos@redhat.com>
3739
3740 * stdlib/tst-setcontext9.c (f1): Rename to...
3741 (f1a): ... this.
3742 (f1b): New function implementing lower half of f1 in alternate stack.
3743
8e6fd2bd
PE
37442018-09-19 Paul Eggert <eggert@cs.ucla.edu>
3745
e1080e7e
PE
3746 Fix mktime localtime offset confusion
3747 [BZ #23603]
3748 * include/time.h (__mktime_internal): The localtime offset is now
3749 of type long int instead of time_t. This is the longstanding type
3750 in glibc, and it is more than enough to represent difference
3751 between localtime and gmtime even if it is 32 bits and time_t is
3752 64. Changing it now will let us avoid an unnecessary change when
3753 time_t is widened to 64 bits on 32-bit platforms.
3754 * time/mktime-internal.h (mktime_offset_t): Now long int.
3755
8e6fd2bd
PE
3756 Merge mktime, timegm from upstream Gnulib
3757 [BZ #23603][BZ #16346]
3758 This fixes some obscure problems with integer overflow.
3759 Although it looks scary, it is almost all a byte-for-byte copy
3760 from Gnulib, and the Gnulib code has been tested reasonably well.
3761 * include/intprops.h: New file, copied from Gnulib.
3762 * include/verify.h, time/mktime-internal.h:
3763 New tiny files, simplified from Gnulib.
3764 * time/mktime.c: Copy from Gnulib. This has the following changes:
3765 Do not include config.h if DEBUG_MKTIME is nonzero.
3766 Include stdbool.h, intprops.h, verify.h.
3767 Include string.h only if needed.
3768 Include stdlib.h on MS-Windows.
3769 Include mktime-internal.h.
3770 (DEBUG_MKTIME): Default to 0, and simplify later uses.
3771 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
3772 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
3773 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
3774 simplify later conditionals; default the others to zero. Use
3775 these conditionals to express only the code needed on the current
3776 platform. In uses of these conditionals, explicitly spell out how
3777 _LIBC affects things, so it’s easier to review from a glibc
3778 viewpoint.
3779 (WRAPV): Remove; no longer needed now that we have
3780 systematic overflow checking.
3781 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
3782 compartmentalize tzset issues. Move system-dependent tzsettish
3783 code here from mktime.
3784 (verify): Remove; now done by verify.h. All uses changed.
3785 (long_int): Use a more-conservative definition, to avoid
3786 integer overflow.
3787 (SHR): Remove, replacing with ...
3788 (shr): New function, which means we needn’t worry about side
3789 effects in args, and conversion analysis is simpler.
3790 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
3791 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
3792 (time_t_avg, time_t_add_ok): Remove.
3793 (mktime_min, mktime_max): New constants.
3794 (leapyear, isdst_differ): Use bool for booleans.
3795 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
3796 Use long_int, not time_t, for mktime differences.
3797 (long_int_avg): New function, replacing time_t_avg.
3798 INT_ADD_WRAPV replaces time_t_add_ok.
3799 (guess_time_tm): 6th arg is now long_int, not time_t const *.
3800 All uses changed.
3801 (convert_time): New function.
3802 (ranged_convert): Use it.
3803 (__mktime_internal): Last arg now points to mktime_offset_t, not
3804 time_t. All uses changed. This is a no-op on glibc, where
3805 mktime_offset_t is always time_t. Use int, not time_t, for UTC
3806 offset guess. Directly check for integer overflow instead of
3807 using a heuristic that works only 99.9...% of the time.
3808 Access *OFFSET only once, to avoid an unlikely race if the
3809 compiler delays a load and if this cascades into a signed integer
3810 overflow.
3811 (mktime): Move tzsettish code to my_tzset, and move
3812 localtime_offset to within mktime so that it doesn’t
3813 need a separate ifdef.
3814 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
3815 instead of localtime.
3816 * time/timegm.c: Copy from Gnulib. This has the following changes:
3817 Include mktime-internal.h.
3818 [!_LIBC]: Include config.h and time.h. Do not include
3819 timegm.h or time_r.h. Make __mktime_internal a macro,
3820 and include mktime-internal.h to get its declaration.
3821 (timegm): Temporary is now mktime_offset_t, not time_t.
3822 This affects only Gnulib.
3823
83a552b0
WD
38242018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
3825
3826 [BZ #23637]
3827 * string/test-strstr.c (pr23637): New function.
3828 (test_main): Add tests with longer needles.
3829 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
3830 * string/strstr.c (AVAILABLE): Likewise.
3831
d7347278
SN
38322018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
3833
3834 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
3835
424c4f60
SN
38362018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
3837
3838 * NEWS: Mention pow improvements.
3839 * math/Makefile (type-double-routines): Add e_pow_log_data.
3840 * sysdeps/generic/math_private.h (__exp1): Remove.
3841 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
3842 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
3843 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
3844 contraction.
3845 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
3846 (exp_inline): Remove.
3847 (__ieee754_exp): Only single double input is handled.
3848 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
3849 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
3850 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
3851 (__pow_log_data): Define.
3852 * sysdeps/ieee754/dbl-64/upow.h: Remove.
3853 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
3854 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
3855 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
3856 contraction.
3857 (CFLAGS-e_pow-fma4.c): Likewise.
3858
e4e4fde5
PE
38592018-09-18 Paul Eggert <eggert@cs.ucla.edu>
3860
dab9c348
PE
3861 Simplify tzfile fstat failure code
3862 [BZ #21716]
3863 * time/tzfile.c (__tzfile_read): Simplify slightly.
3864
e4e4fde5
PE
3865 Fix tzfile low-memory assertion failure
3866 [BZ #21716]
3867 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
3868 when registering time zone abbreviations.
3869
50bc59ca
JM
38702018-09-18 Joseph Myers <joseph@codesourcery.com>
3871
d3a43e49
JM
3872 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
3873 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
3874 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
3875 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
3876 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
3877 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
3878 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
3879 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3880 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
3881
50bc59ca
JM
3882 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
3883 __ceil.
3884 (__ceill): Call ceil instead of __ceil.
3885 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
3886 __floor.
3887 (__floorl): Call floor instead of __floor.
3888
89983cb3
JM
38892018-09-17 Joseph Myers <joseph@codesourcery.com>
3890
71223ef9
JM
3891 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
3892 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
3893 using MATH_REDIRECT.
3894 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
3895 header inclusion.
3896 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
3897 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3898 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3899 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
3900 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3901 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3902 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
3903 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
3904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
3905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
3906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
3907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
3908 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
3909 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
3910 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
3911 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
3912 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
3913 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
3914 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
3915 Remove macro.
3916 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
3917 functions instead of __ceil variants.
3918 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
3919 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
3920 Likewise.
3921 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
3922 Likewise.
3923 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
3924 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
3925 Likewise.
3926 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
3927 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
3928
89983cb3
JM
3929 [BZ #21286]
3930 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
3931 constant.
3932 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
3933 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
3934 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
3935 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
3936 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
3937 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
3938 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
3939 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
3940 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
3941 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
3942 (ILL_BADIADDR): Remove constant.
3943 (TRAP_BRANCH): Likewise.
3944 (TRAP_HWBKPT): Likewise.
3945
e44acb20
JM
39462018-09-14 Joseph Myers <joseph@codesourcery.com>
3947
3f7f1d18
JM
3948 [BZ #23656]
3949 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
3950 Remove [_MIPS_SIM = _ABIN32] conditional case.
3951 (struct elf_prpsinfo): Likewise.
3952
d59f3e5e
JM
3953 [BZ #23649]
3954 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
3955 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
3956 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
3957 Likewise.
3958 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
3959 elf_prpsinfo): Likewise.
3960 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
3961 elf_prpsinfo): Likewise.
3962 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
3963 Likewise.
3964
f29b6f17
JM
3965 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
3966 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
3967 using MATH_REDIRECT.
3968 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
3969 header inclusion.
3970 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
3971 * sysdeps/alpha/fpu/s_rint.c: Likewise.
3972 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
3973 * sysdeps/i386/fpu/s_rintl.c: Likewise.
3974 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3975 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3976 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
3977 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
3978 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3979 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3980 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
3981 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
3982 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
3983 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
3984 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
3985 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
3986 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3987 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
3988 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
3989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
3990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
3991 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
3992 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
3993 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
3994 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
3995 * sysdeps/x86_64/fpu/math_private.h: Remove file.
3996 * math/e_scalb.c (invalid_fn): Use rint functions instead of
3997 __rint variants.
3998 * math/e_scalbf.c (invalid_fn): Likewise.
3999 * math/e_scalbl.c (invalid_fn): Likewise.
4000 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
4001 Likewise.
4002 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
4003 Likewise.
4004 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
4005 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
4006 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
4007 Likewise.
4008 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4009 Likewise.
4010 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4011 Likewise.
4012 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
4013 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
4014
e44acb20
JM
4015 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
4016 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
4017 New macro.
4018 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
4019 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
4020 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
4021 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
4022 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
4023 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
4024 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
4025 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
4026 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
4027 && !NO_MATH_REDIRECT] (floor): Likewise.
4028 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
4029 header inclusion.
4030 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
4031 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4032 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4033 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
4034 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4035 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4036 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
4037 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
4038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
4039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
4040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
4041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
4042 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
4043 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
4044 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
4045 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
4046 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
4047 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
4048 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
4049 Remove macro.
4050 [_ARCH_PWR5X] (__floorf): Likewise.
4051 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
4052 inline function.
4053 [__SSE4_1__] (__floorf): Likewise.
4054 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
4055 instead of __floor variants.
4056 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
4057 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
4058 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
4059 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
4060 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
4061 * math/w_tgamma_compat.c (__tgamma): Likewise.
4062 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
4063 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
4064 * math/w_tgammal_compat.c (__tgammal): Likewise.
4065 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
4066 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
4067 Likewise.
4068 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
4069 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
4070 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
4071 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4072 Likewise.
4073 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
4074 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
4075 Likewise.
4076 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
4077 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
4078 Likewise.
4079 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4080 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
4081 Likewise.
4082 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
4083 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
4084 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
4085 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
4086 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
4087 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
4088
221e4bab
JM
40892018-09-12 Joseph Myers <joseph@codesourcery.com>
4090
4091 * elf/Makefile (modules-names-tests): New variable.
4092
3e08ff54
SN
40932018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
4094
4095 * NEWS: Mention log2 improvements.
4096 * math/Makefile (type-double-routines): Add e_log2_data.
4097 * sysdeps/i386/fpu/e_log2_data.c: New file.
4098 * sysdeps/ia64/fpu/e_log2_data.c: New file.
4099 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
4100 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
4101 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
4102 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
4103 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
4104
f41b0a43
SN
41052018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
4106
4107 * NEWS: Mention log improvement.
4108 * math/Makefile (type-double-routines): Add e_log_data.
4109 * sysdeps/i386/fpu/e_log_data.c: New file.
4110 * sysdeps/ia64/fpu/e_log_data.c: New file.
4111 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
4112 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
4113 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
4114 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
4115 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
4116 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
4117
5a274db4
L
41182018-09-12 H.J. Lu <hongjiu.lu@intel.com>
4119 Xuepeng Guo <xuepeng.guo@intel.com>
4120
4121 [BZ #23606]
4122 * sysdeps/i386/start.S: Include <sysdep.h>
4123 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
4124 enabled. Add cfi_undefined (eip).
4125
b1176270
JM
41262018-09-11 Joseph Myers <joseph@codesourcery.com>
4127
4e7fbdd7
JM
4128 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
4129 (MOVQ): Likewise.
4130 (EXTRACT_WORDS64): Likewise.
4131 (INSERT_WORDS64): Likewise.
4132 (GET_FLOAT_WORD): Likewise.
4133 (SET_FLOAT_WORD): Likewise.
4134
b1176270
JM
4135 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
4136 argument.
4137 (Config.build_gcc): Use --disable-libsanitizer for first GCC
4138 build, but not for second build if --full-gcc. Use
4139 --enable-languages=all for second build if --full-gcc.
4140 (get_parser): Add --full-gcc option.
4141 (main): Update call to Context.
4142
527f355e
RL
41432018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
4144
4145 [BZ #10797]
4146 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
4147 Single Quotation Mark).
4148 (thousands_sep): Likewise.
4149 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
4150 * localedata/locales/it_IT (thousands_sep): Use ".".
4151 (grouping): Use "3;3".
4152
7244f13d
JM
41532018-09-10 Joseph Myers <joseph@codesourcery.com>
4154
4155 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
4156 x86_64 and i686 configs using --enable-obsolete-rpc
4157 --enable-obsolete-nsl.
4158
38245425
SL
41592018-09-06 Stefan Liebler <stli@linux.ibm.com>
4160
4161 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4162
28669f86
SL
41632018-09-06 Stefan Liebler <stli@linux.ibm.com>
4164
4165 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
4166 Increment size of new_argv by one.
4167
a33650d1
RL
41682018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
4169
4170 [BZ #17426]
4171 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
4172 * localedata/locales/ar_IN (d_fmt): Likewise.
4173 * localedata/locales/bhb_IN (d_fmt): Likewise.
4174 * localedata/locales/bho_IN (d_fmt): Likewise.
4175 * localedata/locales/bn_BD (d_fmt): Likewise.
4176 * localedata/locales/bn_IN (d_fmt): Likewise.
4177 * localedata/locales/doi_IN (d_fmt): Likewise.
4178 * localedata/locales/gu_IN (d_fmt): Likewise.
4179 * localedata/locales/hi_IN (d_fmt): Likewise.
4180 * localedata/locales/hne_IN (d_fmt): Likewise.
4181 * localedata/locales/kn_IN (d_fmt): Likewise.
4182 * localedata/locales/mag_IN (d_fmt): Likewise.
4183 * localedata/locales/mai_IN (d_fmt): Likewise.
4184 * localedata/locales/mjw_IN (d_fmt): Likewise.
4185 * localedata/locales/ml_IN (d_fmt): Likewise.
4186 * localedata/locales/mni_IN (d_fmt): Likewise.
4187 * localedata/locales/mr_IN (d_fmt): Likewise.
4188 * localedata/locales/pa_IN (d_fmt): Likewise.
4189 * localedata/locales/raj_IN (d_fmt): Likewise.
4190 * localedata/locales/sat_IN (d_fmt): Likewise.
4191 * localedata/locales/sd_IN (d_fmt): Likewise.
4192 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
4193 * localedata/locales/ta_IN (d_fmt): Likewise.
4194 * localedata/locales/ta_LK (d_fmt): Likewise.
4195 * localedata/locales/tcy_IN (d_fmt): Likewise.
4196 * localedata/locales/ur_IN (d_fmt): Likewise.
4197
4198 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
4199 * localedata/locales/ks_IN (d_fmt): Likewise.
4200 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
4201
4202 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
4203 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
4204 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
4205 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
4206
d114e6a7
SN
42072018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
4208
4209 * NEWS: Mention exp and exp2 improvements.
4210 * math/Makefile (libm-support): Remove t_exp.
4211 (type-double-routines): Add math_err and e_exp_data.
4212 * sysdeps/aarch64/libm-test-ulps: Update.
4213 * sysdeps/arm/libm-test-ulps: Update.
4214 * sysdeps/i386/fpu/e_exp_data.c: New file.
4215 * sysdeps/i386/fpu/math_err.c: New file.
4216 * sysdeps/i386/fpu/t_exp.c: Remove.
4217 * sysdeps/ia64/fpu/e_exp_data.c: New file.
4218 * sysdeps/ia64/fpu/math_err.c: New file.
4219 * sysdeps/ia64/fpu/t_exp.c: Remove.
4220 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
4221 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
4222 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
4223 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
4224 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
4225 * sysdeps/ieee754/dbl-64/math_config.h: New file.
4226 * sysdeps/ieee754/dbl-64/math_err.c: New file.
4227 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
4228 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
4229 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
4230 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
4231 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
4232 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
4233 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
4234 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4235 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4236
b9d8c474
JM
42372018-09-05 Joseph Myers <joseph@codesourcery.com>
4238
b7cdc2ae
JM
4239 * sysdeps/alpha/fpu/math_private.h: Remove.
4240
b9d8c474
JM
4241 * sysdeps/generic/math_private.h
4242 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
4243 Move this inline function ....
4244 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
4245 * include/math.h [!_ISOMAC]: To here....
4246
418d99e6
JM
42472018-09-04 Joseph Myers <joseph@codesourcery.com>
4248
4249 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
4250 code ....
4251 [!FE_HAVE_ROUNDING_MODES]: And this code ....
4252 * include/fenv.h [!_ISOMAC]: ... to here.
4253 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
4254 (feraiseexcept): Likewise.
4255 * math/fromfp.h: Do not include <fenv_private.h>.
4256 * math/s_cexp_template.c: Likewise.
4257 * math/s_csin_template.c: Likewise.
4258 * math/s_csinh_template.c: Likewise.
4259 * math/s_ctan_template.c: Likewise.
4260 * math/s_ctanh_template.c: Likewise.
4261 * math/s_iseqsig_template.c: Likewise.
4262 * math/w_acos_compat.c: Likewise.
4263 * math/w_acosf_compat.c: Likewise.
4264 * math/w_acosl_compat.c: Likewise.
4265 * math/w_asin_compat.c: Likewise.
4266 * math/w_asinf_compat.c: Likewise.
4267 * math/w_asinl_compat.c: Likewise.
4268 * math/w_j0_compat.c: Likewise.
4269 * math/w_j0f_compat.c: Likewise.
4270 * math/w_j0l_compat.c: Likewise.
4271 * math/w_j1_compat.c: Likewise.
4272 * math/w_j1f_compat.c: Likewise.
4273 * math/w_j1l_compat.c: Likewise.
4274 * math/w_jn_compat.c: Likewise.
4275 * math/w_jnf_compat.c: Likewise.
4276 * math/w_log10_compat.c: Likewise.
4277 * math/w_log10f_compat.c: Likewise.
4278 * math/w_log10l_compat.c: Likewise.
4279 * math/w_log2_compat.c: Likewise.
4280 * math/w_log2f_compat.c: Likewise.
4281 * math/w_log2l_compat.c: Likewise.
4282 * math/w_log_compat.c: Likewise.
4283 * math/w_logf_compat.c: Likewise.
4284 * math/w_logl_compat.c: Likewise.
4285 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
4286 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4287 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4288 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
4289 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
4290 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
4291 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
4292 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
4293 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
4294 * sysdeps/ieee754/k_standardl.c: Likewise.
4295 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4296 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
4297 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4298 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4299 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4300 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4301 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4302 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
4303 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
4304 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4305 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
4306 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
4307 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
4308 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4309 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4310 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4311 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4312 * math/w_ilogb_template.c: Include <fenv.h> instead of
4313 <fenv_private.h>.
4314 * math/w_llogb_template.c: Likewise.
4315 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4316 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4317
70e2ba33
JM
43182018-09-03 Joseph Myers <joseph@codesourcery.com>
4319
4320 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
4321 * math/fromfp.h: Include <fenv_private.h>.
4322 * math/math-narrow.h: Likewise.
4323 * math/s_cexp_template.c: Likewise.
4324 * math/s_csin_template.c: Likewise.
4325 * math/s_csinh_template.c: Likewise.
4326 * math/s_ctan_template.c: Likewise.
4327 * math/s_ctanh_template.c: Likewise.
4328 * math/s_iseqsig_template.c: Likewise.
4329 * math/w_acos_compat.c: Likewise.
4330 * math/w_acosf_compat.c: Likewise.
4331 * math/w_acosl_compat.c: Likewise.
4332 * math/w_asin_compat.c: Likewise.
4333 * math/w_asinf_compat.c: Likewise.
4334 * math/w_asinl_compat.c: Likewise.
4335 * math/w_ilogb_template.c: Likewise.
4336 * math/w_j0_compat.c: Likewise.
4337 * math/w_j0f_compat.c: Likewise.
4338 * math/w_j0l_compat.c: Likewise.
4339 * math/w_j1_compat.c: Likewise.
4340 * math/w_j1f_compat.c: Likewise.
4341 * math/w_j1l_compat.c: Likewise.
4342 * math/w_jn_compat.c: Likewise.
4343 * math/w_jnf_compat.c: Likewise.
4344 * math/w_llogb_template.c: Likewise.
4345 * math/w_log10_compat.c: Likewise.
4346 * math/w_log10f_compat.c: Likewise.
4347 * math/w_log10l_compat.c: Likewise.
4348 * math/w_log2_compat.c: Likewise.
4349 * math/w_log2f_compat.c: Likewise.
4350 * math/w_log2l_compat.c: Likewise.
4351 * math/w_log_compat.c: Likewise.
4352 * math/w_logf_compat.c: Likewise.
4353 * math/w_logl_compat.c: Likewise.
4354 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
4355 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
4356 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
4357 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
4358 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4359 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4360 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4361 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4362 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4363 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4364 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4365 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4366 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
4367 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
4368 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4369 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
4370 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
4371 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
4372 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4373 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4374 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
4375 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4376 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4377 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4378 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4379 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
4380 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
4381 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
4382 * sysdeps/ieee754/float128/float128_private.h: Likewise.
4383 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
4384 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4385 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4386 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
4387 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
4388 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
4389 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
4390 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
4391 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4392 * sysdeps/ieee754/k_standardl.c: Likewise.
4393 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4394 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
4395 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4396 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4397 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
4398 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
4399 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
4400 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4401 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4402 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4403 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4404 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4405 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4406 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4407 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
4408 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
4409 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4410 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
4411 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
4412 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
4413 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
4414 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4415 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
4416 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4417 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4418 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
4419 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4420 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
4421 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
4422 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
4423 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
4424 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4425 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4426 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4427 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4428 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
4429 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4430 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4431 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
4432 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
4433 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
4434 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
4435 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
4436 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
4437 * sysdeps/riscv/rvd/s_finite.c: Likewise.
4438 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
4439 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
4440 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
4441 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
4442 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
4443 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
4444 * sysdeps/riscv/rvf/fegetround.c: Likewise.
4445 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
4446 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
4447 * sysdeps/riscv/rvf/fesetround.c: Likewise.
4448 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
4449 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
4450 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
4451 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
4452 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
4453 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
4454 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
4455 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
4456 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
4457 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
4458 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
4459 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
4460 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
4461 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
4462 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
4463 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
4464
a6e8926f
PP
44652018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
4466
4467 [BZ #20271]
4468 * include/stdio.h (__libc_fatal): Mention newline in comment.
4469 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
4470 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
4471 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4472 * nss/nsswitch.c (__nss_next2): Likewise.
4473 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
4474 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
4475 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
4476 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
4477 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
4478 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
4479 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
4480 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
4481 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
4482 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
4483 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
4484 * sysdeps/unix/sysv/linux/netlink_assert_response.c
4485 (__netlink_assert_response): Likewise.
4486
2bbd06bc
JM
44872018-08-31 Joseph Myers <joseph@codesourcery.com>
4488
4489 * conform/glibcconform.py: New file.
4490 * conform/list-header-symbols.py: Likewise.
4491 * conform/list-header-symbols.pl: Remove.
4492 * conform/Makefile (tests-special): Only add linknamespace tests
4493 if [PYTHON].
4494 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
4495
81b9d87b
L
44962018-08-31 H.J. Lu <hongjiu.lu@intel.com>
4497
4498 [BZ #23597]
4499 * support/Makefile (libsupport-routines): Add
4500 support_copy_file_range and xcopy_file_range.
4501 * support/support.h: Include <sys/types.h>.
4502 (support_copy_file_range): New prototype.
4503 * support/support_copy_file_range.c: New file. Copied and
4504 modified from io/copy_file_range-compat.c.
4505 * support/test-container.c (copy_one_file): Call xcopy_file_rang
4506 instead of copy_file_range.
4507 * support/xcopy_file_range.c: New file.
4508 * support/xunistd.h (xcopy_file_range): New prototype.
4509
d330f31a
CD
45102018-08-30 Carlos O'Donell <carlos@redhat.com>
4511
4512 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
4513 xpthread_create and xpthread_join.
4514
2bda273a
FW
45152018-08-30 Florian Weimer <fweimer@redhat.com>
4516
4517 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
4518
3bad2358
SL
45192018-08-30 Stefan Liebler <stli@linux.ibm.com>
4520
4521 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
4522 if malloc fails.
4523
09c12efc
JM
45242018-08-29 Joseph Myers <joseph@codesourcery.com>
4525
4526 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
4527 and minus_oflow as non-finite.
4528
ff6b2450
JM
45292018-08-28 Joseph Myers <joseph@codesourcery.com>
4530
4531 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
4532 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
4533 moved to fenv_private.h except for ...
4534 (TOINT_INTRINSICS): Kept in math_private.h.
4535 (roundtoint): Likewise.
4536 (converttoint): Likewise.
4537 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
4538 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
4539 * sysdeps/arm/math_private.h: Remove.
4540 * sysdeps/generic/fenv_private.h: New file. Contents moved from
4541 ....
4542 * sysdeps/generic/math_private.h: ... this file. Include
4543 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
4544 Include <fenv_private.h>. Remove functions and macros moved to
4545 fenv_private.h.
4546 * sysdeps/i386/fpu/math_private.h: Remove.
4547 * sysdeps/mips/math_private.h: Move to ....
4548 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
4549 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
4550 [__mips_hard_float] conditional. Include next <fenv_private.h>.
4551 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
4552 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
4553 * sysdeps/powerpc/fpu/math_private.h: Do not include
4554 <fenv_private.h>.
4555 * sysdeps/riscv/rvf/math_private.h: Move to ....
4556 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
4557 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
4558 <fenv_private.h>.
4559 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
4560 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
4561 * sysdeps/sparc/fpu/math_private.h: Remove.
4562 * sysdeps/i386/fpu/fenv_private.h: Move to ....
4563 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
4564 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
4565 <fenv_private.h>.
4566 * sysdeps/x86_64/fpu/math_private.h: Do not include
4567 <sysdeps/i386/fpu/fenv_private.h>.
4568
761404b7
FW
45692018-08-28 Florian Weimer <fweimer@redhat.com>
4570
4571 [BZ #23578]
4572 * posix/tst-regcomp-truncated.c: New file.
4573 * posix/Makefile (tests): Add it.
4574 (tst-regcomp-truncated.out): Depend on generated locales.
4575
d6c44c3d
FW
45762018-08-28 Florian Weimer <fweimer@redhat.com>
4577
4578 * support/test-container.c (main): Treat unshare failure with
4579 EPERM as an unsupported test.
4580
745664bd
FW
45812018-08-28 Florian Weimer <fweimer@redhat.com>
4582
4583 [BZ #23520]
4584 nscd: Fix use-after-free in addgetnetgrentX and its callers.
4585 * nscd/netgroupcache.c
4586 (addgetnetgrentX): Add tofreep parameter. Do not free
4587 heap-allocated buffer.
4588 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
4589 (addgetnetgrentX_ignore): New function.
4590 (addgetnetgrent): Call it.
4591 (readdgetnetgrent): Likewise.
4592
c8dd67e7
RS
45932018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4594
4595 * string/memmem.c: Use memcmp for first match.
4596
5abedf97
RL
45972018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
4598
4599 [BZ #17426]
4600 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
4601
86de0499
DD
46022018-08-27 DJ Delorie <dj@redhat.com>
4603
4604 * support/Makefile (others): Don't list programs explicitly as a
4605 dependency of "others".
4606
c3ab2110
JM
46072018-08-27 Joseph Myers <joseph@codesourcery.com>
4608
4609 * sysdeps/generic/math-tests-trap-force.h: New file.
4610 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
4611 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
4612 * sysdeps/powerpc/math-tests.h: Remove file.
4613 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
4614
99ea93ca
MK
46152018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
4616 Torvald Riegel <triegel@redhat.com>
4617
4618 [BZ #23538]
4619 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
4620 Update r to include the set wake-request flag if waiters are
4621 remaining after spinning.
4622
4061791f
JM
46232018-08-27 Joseph Myers <joseph@codesourcery.com>
4624
4625 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
4626
bc680b33
PE
46272018-08-25 Paul Eggert <eggert@cs.ucla.edu>
4628
761404b7 4629 [BZ #23578]
bc680b33
PE
4630 regex: fix uninitialized memory access
4631 I introduced this bug into gnulib in commit
4632 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
4633 eventually it was merged into glibc. The bug was found by
4634 project-repo <bugs@feusi.co> and reported here:
4635 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
4636 Diagnosis and draft fix reported by Assaf Gordon here:
4637 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
4638 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
4639 * posix/regex_internal.c (build_wcs_upper_buffer):
4640 Fix bug when mbrtowc returns 0.
4641
02458a52
CD
46422018-08-24 Carlos O'Donell <carlos@redhat.com>
4643
4644 * po/be.po: Update translation.
4645
acc2842a
DD
46462018-08-24 DJ Delorie <dj@delorie.com>
4647
4648 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
4649 $(libunwind).
4650
6c3a8a9d
PP
46512018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4652
4653 [BZ #23400]
4654 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
4655 create temporary files in source tree.
4656
895ef79e
JM
46572018-08-24 Joseph Myers <joseph@codesourcery.com>
4658
4659 * sysdeps/generic/math-tests-trap.h: New file.
4660 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
4661 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
4662 * sysdeps/aarch64/math-tests.h: Remove file.
4663 * sysdeps/arm/math-tests.h: Likewise.
4664 * sysdeps/riscv/math-tests.h: Likewise.
4665 * sysdeps/aarch64/math-tests-trap.h: New file.
4666 * sysdeps/arm/math-tests-trap.h: Likewise.
4667 * sysdeps/riscv/math-tests-trap.h: Likewise.
4668
ca3aac57
WD
46692018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
4670
4671 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
4672 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
4673 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
4674 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
4675 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
4676 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
4677 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4678 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
4679 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
4680 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4681 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4682 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4683 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4684 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
4685 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
4686 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
4687 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4688 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4689
60bcac09
JM
46902018-08-23 Joseph Myers <joseph@codesourcery.com>
4691
4692 * sysdeps/generic/math-tests-exceptions.h: New file.
4693 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
4694 (EXCEPTION_TESTS_float): Do not define here.
4695 (EXCEPTION_TESTS_double): Likewise.
4696 (EXCEPTION_TESTS_long_double): Likewise.
4697 (EXCEPTION_TESTS_float128): Likewise.
4698 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
4699 Likewise.
4700 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
4701 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
4702 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
4703 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
4704 * sysdeps/mips/math-tests.h: Likewise.
4705 * sysdeps/nios2/math-tests.h: Likewise.
4706 * sysdeps/riscv/math-tests.h [!__riscv_flen]
4707 (EXCEPTION_TESTS_float): Do not define here.
4708 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
4709 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
4710 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
4711
3bded567
WD
47122018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
4713
4714 * NEWS: Move optimized sinf entry to 2.29.
4715
900fb446
WD
47162018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
4717
4718 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
4719
561b0bec
DD
47202018-08-22 DJ Delorie <dj@redhat.com>
4721
4722 * Makefile (testroot.pristine): New rules to initialize the
4723 test-in-container "testroot".
4724 * Makerules (all-testsuite): Add tests-container.
4725 * Rules (tests-expected): Add tests-container.
4726 (binaries-all-tests): Likewise.
4727 (tests-container): New, run these tests in the testroot container.
4728 * support/Makefile (others): Add *-container, support_paths.c,
4729 xmkdirp, and links-dso-program.
4730 * support/links-dso-program-c.c: New.
4731 * support/links-dso-program.cc: New.
4732 * support/test-container.c: New.
4733 * support/shell-container.c: New.
4734 * support/echo-container.c: New.
4735 * support/true-container.c: New.
4736 * support/xmkdirp.c: New.
4737 * support/xsymlink.c: New.
4738 * support/support_paths.c: New.
4739 * support/support.h: Add support paths prototypes.
4740 * support/xunistd.h: Add xmkdirp () and xsymlink ().
4741
4742 * nss/tst-nss-test3.c: Convert to test-in-container.
4743 * nss/tst-nss-test3.root/: New.
4744
b35d3509
PE
47452018-08-22 Paul Eggert <eggert@cs.ucla.edu>
4746
4747 regex: port Gnulib code to z/OS POSIX environment
4748 Problem reported by Arnold Robbins in:
4749 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
4750 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
4751 Undef.
4752
16a25138
JM
47532018-08-22 Joseph Myers <joseph@codesourcery.com>
4754
debc4c98
JM
4755 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
4756 (ROUNDING_TESTS_double): Remove.
4757 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
4758 (ROUNDING_TESTS_double): Remove.
4759 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
4760 (ROUNDING_TESTS_double): Remove.
4761 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
4762 (ROUNDING_TESTS_float): Remove.
4763 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
4764 (ROUNDING_TESTS_float): Remove.
4765 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
4766 (ROUNDING_TESTS_float): Remove.
4767 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
4768 !TEST_MATHVEC here.
4769 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4770 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4771
16a25138
JM
4772 * sysdeps/generic/math-tests-rounding.h: New file.
4773 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
4774 (ROUNDING_TESTS_float): Do not define here.
4775 (ROUNDING_TESTS_double): Likewise.
4776 (ROUNDING_TESTS_long_double): Likewise.
4777 (ROUNDING_TESTS_float128): Likewise.
4778 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
4779 (ROUNDING_TESTS_double): Undefine before defining.
4780 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
4781 (ROUNDING_TESTS_double): Undefine before defining.
4782 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
4783 (ROUNDING_TESTS_double): Undefine before defining.
4784 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
4785 (ROUNDING_TESTS_float): Undefine before defining.
4786 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
4787 (ROUNDING_TESTS_float): Undefine before defining.
4788 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
4789 (ROUNDING_TESTS_float): Undefine before defining.
4790 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
4791 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
4792 not define here.
4793 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
4794 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
4795 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
4796 * sysdeps/riscv/math-tests.h [!__riscv_flen]
4797 (ROUNDING_TESTS_float): Do not define here.
4798 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
4799 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
4800 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
4801 (ROUNDING_TESTS_float): Likewise.
4802 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
4803 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
4804 * sysdeps/mips/math-tests.h [__mips_soft_float]
4805 (ROUNDING_TESTS_float): Likewise.
4806 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
4807 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
4808 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
4809 (ROUNDING_TESTS_double): Likewise.
4810 (ROUNDING_TESTS_long_double): Likewise.
4811
38b0593e
TK
48122018-08-21 Tobias Klauser <tklauser@distanz.ch>
4813
4814 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
4815 (PF_XDP): New macro.
4816 (AF_XDP): New macro.
4817 (SOL_XDP): New macro.
4818
5cd7dbde
JM
48192018-08-21 Joseph Myers <joseph@codesourcery.com>
4820
4821 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
4822 (TCP_INQ): Likewise.
4823 (TCP_CM_INQ): Likewise.
4824 (TCP_REPAIR_ON): Likewise.
4825 (TCP_REPAIR_OFF): Likewise.
4826 (TCP_REPAIR_OFF_NO_WP): Likewise.
4827 (struct tcp_zerocopy_receive): New type.
4828
aa42b3db
FW
48292018-08-21 Florian Weimer <fweimer@redhat.com>
4830
4831 * support/support.h (support_descriptor_supports_holes): Declare.
4832 * support/Makefile (libsupport-routines): Add
4833 support_descriptor_supports_holes.
4834 * support/support_descriptor_supports_holes.c: New file.
4835 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
4836 and stop testing if holes are not supported.
4837 * io/test-lfs.c (do_prepare): Likewise.
4838 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
4839 Likewise.
4840 * timezone/tst-tzset.c (create_tz_file): Likewise.
4841 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
4842 variable.
4843 (do_prepare): Set it.
4844 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
4845
c7627f41
FW
48462018-08-21 Florian Weimer <fweimer@redhat.com>
4847
4848 [BZ #17248]
4849 * Makeconfig (+cflags): Do not sort (and deduplicate).
4850
ef939d92
FW
48512018-08-21 Florian Weimer <fweimer@redhat.com>
4852
4853 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
4854 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
4855
88ffb39d
FW
48562018-08-20 Florian Weimer <fweimer@redhat.com>
4857
4858 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
4859 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
4860
17419540
JM
48612018-08-20 Joseph Myers <joseph@codesourcery.com>
4862
e6edd40d
JM
4863 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
4864 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
4865 and ssi_arch members.
4866
17419540
JM
4867 * elf/elf.c (NT_VMCOREDD): New macro.
4868 (AT_MINSIGSTKSZ): Likewise.
4869
fa78896b
RS
48702018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4871
4872 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4873 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
4874 s_cosf-ppc64 and s_cosf-power8.
4875 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
4876 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4877 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4878 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
4880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
4881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
4882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
4883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
4884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
4885 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
4886 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
4887
86a6c75a
FW
48882018-08-17 Florian Weimer <fweimer@redhat.com>
4889
4890 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4891
35cfefd9
FW
48922018-08-17 Istvan Kurucsai <pistukem@gmail.com>
4893
4894 * malloc/malloc.c (_int_malloc): Additional binning code checks.
4895
6413fcde
FW
48962018-08-16 Florian Weimer <fweimer@redhat.com>
4897
4898 * configure.ac: Add --with-nonshared-cflags option.
4899 * config.make.in (extra-nonshared-cflags): Set variable.
4900 * Makeconfig (CFLAGS-.oS): Use it.
4901 * manual/install.texi (Configuring and compiling): Document
4902 --with-nonshared-cflags.
4903 * configure: Regenerate.
4904 * INSTALL: Likewise.
4905
93a2584c
FW
49062018-08-16 Florian Weimer <fweimer@redhat.com>
4907
4908 * Makeconfig (ASFLAGS): Always append required assembler flags.
4909
f6f275d2 49102018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
d6db68e6
ME
4911
4912 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
4913 (malloc_consolidate): Likewise.
4914
30a17d8c
PC
49152018-08-16 Pochang Chen <johnchen902@gmail.com>
4916
4917 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
4918
953a5a4a
SP
49192018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
4920
34f86d61
SP
4921 * benchtests/bench-strlen.c (do_test): Allocate buffers before
4922 every strlen call.
4923
953a5a4a
SP
4924 * benchtests/bench-strlen.c: Print performance numbers in json.
4925
7793ad7a
RS
49262018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4927
4928 * sysdeps/powerpc/powerpc64/multiarch/Makefile
4929 (sysdep_routines): Build strcmp-power9 and strncmp-power9
4930 only for little endian.
4931 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4932 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
4933 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
4934 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
4935 Add check for little endian.
4936 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
4937 (__strcmp_power9): Add check for little endian.
4938 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
4939 Add check for little endian.
4940 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
4941 (__strncmp_power9): Add check for little endian.
4942 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
4943 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
4944 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
4945 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
4946 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
4947
436e4d5b
SP
49482018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
4949
4950 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
4951 [!STRLEN](STRLEN): Set to __strlen.
4952 * sysdeps/aarch64/multiarch/strlen.c: New file.
4953 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
4954 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
4955 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
4956 (__libc_ifunc_impl_list): Add strlen.
4957 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
4958 strlen_generic and strlen_asimd.
4959
126c4e3f
WD
49602018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
4961
4962 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
4963 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
4964 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
4965
49acec17
WD
49662018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
4967
4968 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
4969
fdb16de3
FW
49702018-08-14 Florian Weimer <fweimer@redhat.com>
4971
4972 [BZ #23519]
4973 * include/stdio.h (__vfxprintf): Declare.
4974 * stdio-common/fxprintf.c (__vfxprintf): New function.
4975 (__fxprintf): Call it.
4976 * misc/err.c (convert_and_print): Remove function.
4977 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
4978 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
4979 * misc/Makefile (tests): Add tst-warn-wide.
4980 * misc/tst-warn-wide.c: New file.
4981
599cf397
WD
49822018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
4983 Szabolcs Nagy <szabolcs.nagy@arm.com>
4984
4985 * NEWS: Mention sinf, cosf, sincosf.
4986 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
4987 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
4988 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
4989 constants rather than including generic sincosf.h.
4990 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
4991 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
4992 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
4993 (reduced_cos): Remove.
4994 (sinf_poly): New function.
4995 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
4996
e95c6f61
FW
49972018-08-14 Florian Weimer <fweimer@redhat.com>
4998
4999 [BZ #23521]
5000 [BZ #23522]
5001 * nss/nss_files/files-alias.c (get_next_alias): During :include:
5002 processing, bail out if no room, and close the stream before
5003 returning ERANGE.
5004 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
5005 (tst-nss-files-alias-leak): Link with libdl.
5006 (tst-nss-files-alias-leak.out): Depend on nss_files.
5007
5008 * nss/tst-nss-files-alias-leak.c: New file.
5009
2d7acfac
FW
50102018-08-14 Florian Weimer <fweimer@redhat.com>
5011
5012 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
5013 server_user, stat_user.
5014
f3cd0904
JM
50152018-08-13 Joseph Myers <joseph@codesourcery.com>
5016
17b26500
JM
5017 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5018 version to 4.18.
5019 (io_pgetevents): New syscall.
5020 (rseq): Likewise.
5021
3c1622eb
JM
5022 * manual/install.texi (Configuring and compiling): Do not list
5023 tools used for testing pretty printers here.
5024 (Tools for Compilation): List Python, PExpect and GDB here.
5025 Update descriptions of uses of Perl and Python.
5026 * INSTALL: Regenerate.
5027
f3cd0904
JM
5028 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5029 version to 4.18.
5030
b7b52b9d
FW
50312018-08-13 Florian Weimer <fweimer@redhat.com>
5032
5033 * misc/error.c (error): Add missing va_end call.
5034 (error_at_line): Likewise.
5035
01780188
FW
50362018-08-13 Florian Weimer <fweimer@redhat.com>
5037
5038 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
5039
44727aec
SP
50402018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
5041
8cac1f26
SP
5042 * benchtests/scripts/benchout.schema.json (properties): Add
5043 new properties.
5044
44727aec
SP
5045 * benchtests/bench-skeleton.c (main): Add duration and
5046 iterations attributes.
5047
c77bf91b
PE
50482018-08-10 Paul Eggert <eggert@cs.ucla.edu>
5049
5050 regex: Gnulib unibyte RRI uses bytes not chars
5051 Adjust the non-glibc code to agree with what Gawk needs for
5052 rational range interpretation (RRI) for regular expression ranges.
5053 In unibyte locales, Gawk wants ranges to use the underlying byte
5054 rather than the character code point. This change does not affect
5055 glibc proper.
5056 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
5057 In unibyte locales, use the byte value rather than
5058 running it through btowc.
5059
2ce7ba7d
JM
50602018-08-10 Joseph Myers <joseph@codesourcery.com>
5061
5062 * sysdeps/generic/math-tests-snan.h: New file.
5063 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
5064 (SNAN_TESTS_float): Do not define here.
5065 (SNAN_TESTS_double): Likewise.
5066 (SNAN_TESTS_long_double): Likewise.
5067 (SNAN_TESTS_float128): Likewise.
5068 * sysdeps/i386/fpu/math-tests-snan.h: New file.
5069 * sysdeps/i386/fpu/math-tests.h: Remove file.
5070 * sysdeps/ia64/math-tests-snan.h: New file.
5071 * sysdeps/ia64/math-tests.h: Remove file.
5072 * sysdeps/x86/math-tests.h: Likewise.
5073 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
5074
ea5c662c
WD
50752018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
5076 Szabolcs Nagy <szabolcs.nagy@arm.com>
5077
5078 * math/Makefile: Add s_sincosf_data.c.
5079 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
5080 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
5081 (sincosf_poly): Likewise.
5082 (reduce_small): Likewise.
5083 (reduce_large): Likewise.
5084 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
5085 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
5086 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
5087 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
5088
43cfdf8f
SN
50892018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
5090 Szabolcs Nagy <szabolcs.nagy@arm.com>
5091
5092 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
5093 (converttoint): Use lround.
5094 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
5095 document the semantics when TOINT_INTRINSICS is set.
5096 (converttoint): Likewise.
5097 (TOINT_RINT): Remove.
5098 (TOINT_SHIFT): Remove.
5099 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
5100 path.
5101
69065288
FW
51022018-08-10 Florian Weimer <fweimer@redhat.com>
5103
5104 [BZ #23497]
5105 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
5106 function.
5107 (__old_getdents64): Use getdents64. Convert entries without
5108 moving them.
5109 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
5110 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
5111 tst-readdir64-compat.
5112
8f135efc
IL
51132018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
5114
5115 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
5116 Fix unwind.
5117
71c01af5
IL
51182018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
5119
5120 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
5121 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
5122 code to s390x-mcount.h and #include it.
5123 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
5124 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
5125 (__fentry__): Add.
5126
8d997d22
IL
51272018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
5128
5129 * stdlib/Versions: Remove __fentry__.
5130 * sysdeps/i386/Versions: Add __fentry__.
5131 * sysdeps/x86_64/Versions: Add __fentry__.
5132
69e2444a
IL
51332018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
5134
5135 * sysdeps/s390/Makefile: Register the new tests.
5136 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
5137 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
5138 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
5139 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
5140 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
5141 * sysdeps/s390/tst-dl-runtime.c: New file.
5142
bde6320f
IL
51432018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
5144
5145 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
5146 Do not clobber R0.
5147
5755f5e4
IL
51482018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
5149
5150 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
5151 Do not clobber R0.
5152
c8ad8522
IL
51532018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
5154
5155 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
5156 Do not clobber R0.
5157
b215eee1
IL
51582018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
5159
5160 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
5161 Do not clobber R0.
5162
329c6fec
IL
51632018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
5164
5165 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
5166 Use symbolic offsets for stack variables.
5167
0fb7afa2
IL
51682018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
5169
5170 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
5171 Use symbolic offsets for stack variables.
5172
6954059a
IL
51732018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
5174
5175 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
5176 Use symbolic offsets for stack variables.
5177
c7099673
IL
51782018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
5179
5180 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
5181 Use symbolic offsets for stack variables.
5182
2813e41e
JM
51832018-08-09 Joseph Myers <joseph@codesourcery.com>
5184
5185 * math/gen-libm-test.py: New file.
5186 * math/gen-libm-test.pl: Remove.
5187 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
5188 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
5189 gen-libm-test.pl.
5190 ($(libm-test-c-noauto-obj)): Likewise.
5191 ($(libm-test-c-auto-obj)): Likewise.
5192 ($(libm-test-c-narrow-obj)): Likewise.
5193 (regen-ulps): Likewise.
5194 * math/README.libm-test: Update references to gen-libm-test.pl.
5195 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
5196 referencing gen-libm-test.pl.
5197 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
5198 * math/libm-test-support.c: Likewise.
5199 * math/libm-test-support.h: Likewise.
5200 * sysdeps/generic/libm-test-ulps: Likewise.
5201
be64b194
SP
52022018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
5203
5204 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
5205 Fix value.
5206
140137fb
JM
52072018-08-08 Joseph Myers <joseph@codesourcery.com>
5208
5209 * math/libm-test-nextdown.inc (do_test): Move comment to ....
5210 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
5211
b5403eca
ST
52122018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
5213
5214 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
5215 symbols.
8ac0f9e6
ST
5216 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
5217 __pthread_setspecific): Add hidden proto.
5218 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
5219 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
b5403eca 5220
014efdd7
SP
52212018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
5222
5223 * benchtests/bench-string.h (buf1_size, buf2_size): New
5224 variables.
5225 (init_sizes): New function.
5226 (test_init): Use it.
5227 (alloc_buf, exit_error): New functions.
5228 (alloc_bufs): Use ALLOC_BUF.
5229 (realloc_bufs): Remove.
5230 * benchtests/bench-memcmp.c (do_test): Adjust.
5231 * benchtests/bench-memset-large.c (do_test): Likewise.
5232 * benchtests/bench-memset-walk.c (do_test): Likewise.
5233 * benchtests/bench-memset.c (do_test): Likewise.
5234 * benchtests/bench-strncmp.c (do_test): Likewise.
5235
92a4cba7
AS
52362018-08-06 Andreas Schwab <schwab@suse.de>
5237
5238 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
5239 of CONST_THREAD_AREA.
5240
fb4c32ae
L
52412018-08-06 H.J. Lu <hongjiu.lu@intel.com>
5242
5243 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
5244 (STATE_SAVE_MASK): Likewise.
5245 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
5246 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
5247 (STATE_SAVE_MASK): Likewise.
5248 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
5249 instead of <cpu-features.h>.
5250
bf418187
DD
52512018-08-03 DJ Delorie <dj@redhat.com>
5252
5253 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
e5721f45 5254 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
bf418187 5255
bb17621a
DD
5256 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
5257
ea705eb5
JM
52582018-08-03 Joseph Myers <joseph@codesourcery.com>
5259
5260 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
5261 after TEST_* calls.
5262 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
5263 * math/libm-test-logb.inc (logb_test_data): Likewise.
5264
284f42bc
WD
52652018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
5266
5267 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
5268 * string/strstr.c (AVAILABLE): Likewise.
5269
430388d5
L
52702018-08-03 H.J. Lu <hongjiu.lu@intel.com>
5271
5272 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
5273 <init-arch.h>.
5274 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
5275 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
5276 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
5277
c5760aa9
CD
52782018-08-03 Carlos O'Donell <carlos@redhat.com>
5279
5280 * po/be.po: Update translation.
5281
6b535b84
CD
5282 * po/be.po: Update translation.
5283
ae67f2e5
L
52842018-08-03 H.J. Lu <hongjiu.lu@intel.com>
5285
5286 * sysdeps/x86/cpu-features-offsets.sym
5287 (rtld_global_ro_offsetof): Removed.
5288 (CPU_FEATURES_SIZE): Likewise.
5289 (CPUID_OFFSET): Likewise.
5290 (CPUID_SIZE): Likewise.
5291 (CPUID_EAX_OFFSET): Likewise.
5292 (CPUID_EBX_OFFSET): Likewise.
5293 (CPUID_ECX_OFFSET): Likewise.
5294 (CPUID_EDX_OFFSET): Likewise.
5295 (FAMILY_OFFSET): Likewise.
5296 (MODEL_OFFSET): Likewise.
5297 (FEATURE_OFFSET): Likewise.
5298 (FEATURE_SIZ): Likewise.
5299 (COMMON_CPUID_INDEX_1): Likewise.
5300 (COMMON_CPUID_INDEX_7): Likewise.
5301 (FEATURE_INDEX_1): Likewise.
5302 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
5303
cfb0ff93 53042018-08-02 Carlos O'Donell <carlos@redhat.com>
08a5ee14
CD
5305
5306 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
5307 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
5308 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
5309 (install-locales): Depend on install-locale-archive.
5310 (install-locale-archive): Define.
7b7adbd8 5311 (install-locale-files): Define.
08a5ee14
CD
5312 (build-one-locale): Define macro.
5313 * manual/install.texi (Running make install): Document.
5314 * manual/INSTALL: Regenerate.
5315
525691bd
SP
53162018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
5317
d67d634b
SP
5318 * benchtests/scripts/compare_strings.py: Import traceback.
5319 (parse_file): Pretty-print error.
5320
525691bd
SP
5321 * NEWS: Mention the change.
5322 * elf/dl-tunables.list: Rename tune namespace to cpu.
5323 * sysdeps/powerpc/dl-tunables.list: Likewise.
5324 * sysdeps/x86/dl-tunables.list: Likewise.
5325 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
5326 cpu.name.
5327 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
5328 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
5329 * manual/README.tunables: Likewise.
5330 * manual/tunables.texi: Likewise.
5331 * sysdeps/powerpc/cpu-features.c: Likewise.
5332 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
5333 (init_cpu_features): Likewise.
5334 * sysdeps/x86/cpu-features.c: Likewise.
5335 * sysdeps/x86/cpu-features.h: Likewise.
5336 * sysdeps/x86/cpu-tunables.c: Likewise.
5337 * sysdeps/x86_64/Makefile: Likewise.
5338 * sysdeps/x86/dl-cet.c: Likewise.
5339
506d7fb1
JM
53402018-08-02 Joseph Myers <joseph@codesourcery.com>
5341
5342 [BZ #23479]
5343 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
5344 [__mips_hard_float].
5345 (FE_UNDERFLOW): Likewise.
5346 (FE_OVERFLOW): Likewise.
5347 (FE_DIVBYZERO): Likewise.
5348 (FE_INVALID): Likewise.
5349 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
5350 (FE_TOWARDZERO): Define only if [__mips_hard_float].
5351 (FE_UPWARD): Likewise.
5352 (FE_DOWNWARD): Likewise.
5353 (__FE_UNDEFINED): Define if [!__mips_hard_float]
5354 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
5355 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
5356 [__mips_hard_float].
5357 (FP_ROUNDMODE): Likewise.
5358 (FP_RND_NEAREST): Likewise.
5359 (FP_RND_ZERO): Likewise.
5360 (FP_RND_PINF): Likewise.
5361 (FP_RND_MINF): Likewise.
5362 (FP_EX_INVALID): Likewise.
5363 (FP_EX_OVERFLOW): Likewise.
5364 (FP_EX_UNDERFLOW): Likewise.
5365 (FP_EX_DIVZERO): Likewise.
5366 (FP_EX_INEXACT): Likewise.
5367 (FP_INIT_ROUNDMODE): Likewise.
5368 * sysdeps/mips/nofpu/fesetenv.c: New file.
5369 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
5370
f6dcefbe
JM
53712018-08-01 Joseph Myers <joseph@codesourcery.com>
5372
5373 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
5374 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
5375 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
5376 conditional on [FE_UPWARD].
5377
fa67ba06
PE
53782018-08-01 Paul Eggert <eggert@cs.ucla.edu>
5379
5380 regex: fix memory leak in Gnulib
5381 Problem and fix reported by Assaf Gordon in:
5382 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
5383 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
5384 range_ends members too, as they are defined in 'struct
5385 re_charset_t' even if not _LIBC. This affects only Gnulib.
5386
82c80ac2
L
53872018-08-01 H.J. Lu <hongjiu.lu@intel.com>
5388
5389 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
5390 ...
5391 (get_common_indices): This.
5392 (init_cpu_features): Updated.
5393
c0e7e2c1
JM
53942018-08-01 Joseph Myers <joseph@codesourcery.com>
5395
46f8cf57
JM
5396 * sysdeps/generic/math-tests-snan-payload.h: New file.
5397 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
5398 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
5399 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
5400 * sysdeps/generic/math-tests.h: Include
5401 <math-tests-snan-payload.h>.
5402 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
5403 * sysdeps/hppa/math-tests.h: Remove file.
5404 * sysdeps/mips/math-tests.h [!__mips_nan2008]
5405 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
5406 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
5407 Likewise.
5408
c0e7e2c1
JM
5409 * sysdeps/generic/math-tests-snan-cast.h: New file.
5410 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
5411 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
5412 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
5413 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
5414
74939c83
CD
54152018-08-01 Carlos O'Donel <carlos@redhat.com>
5416
b029723b
CD
5417 * version.h (RELEASE): Set to "development".
5418 (VERSION): Set to "2.28.9000".
5419 * NEWS (2.29): New section.
5420
3c03baca
CD
5421 * version.h (RELEASE): Set to "stable".
5422 (VERSION): Set to "2.28".
5423 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
5424 * NEWS: Add the list of bugs fixed in 2.28.
5425
74939c83
CD
5426 * po/ca.po: Update to latest version.
5427 * po/cs.po: Likewise
5428 * po/da.po: Likewise
5429 * po/el.po: Likewise
5430 * po/eo.po: Likewise
5431 * po/es.po: Likewise
5432 * po/fi.po: Likewise
5433 * po/fr.po: Likewise
5434 * po/gl.po: Likewise
5435 * po/hu.po: Likewise
5436 * po/ia.po: Likewise
5437 * po/id.po: Likewise
5438 * po/it.po: Likewise
5439 * po/ja.po: Likewise
5440 * po/ko.po: Likewise
5441 * po/lt.po: Likewise
5442 * po/nb.po: Likewise
5443 * po/nl.po: Likewise
5444 * po/pt_BR.po: Likewise
5445 * po/ru.po: Likewise
5446 * po/rw.po: Likewise
5447 * po/sk.po: Likewise
5448 * po/sl.po: Likewise
5449 * po/tr.po: Likewise
5450 * po/zh_CN.po: Likewise
5451 * po/zh_TW.po: Likewise
5452
d4b54bdf
ST
54532018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
5454
5455 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
5456 initialization...
5457 (init): ... before initializing libpthread.
5458
42fc12ef
ST
5459 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
5460 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
5461 (__mach_setup_tls): ... new function.
5462 (mach_setup_tls): New alias.
5463 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
5464 __mach_setup_thread.
5465 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
5466 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
5467 * mach/Versions [libc] (mach_setup_tls): Add symbol.
5468 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
5469
6cca855e
CD
54702018-07-31 Carlos O'Donell <carlos@redhat.com>
5471
f650932b
CD
5472 * manual/install.texi: Update versions.
5473 * INSTALL: Regenerate.
5474
6cca855e
CD
5475 * manual/contrib.texi (Contributors): Update contributions.
5476
07fdea47
CD
54772018-07-31 Carlos O'Donell <carlos@redhat.com>
5478
5479 * po/be.po: Update translations.
5480
63d5fad4
AZ
54812018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5482
5483 * sysdeps/sh/libm-test-ulps: Update.
5484
1ff712a6
CD
54852018-07-30 Carlos O'Donell <carlos@redhat.com>
5486
5487 * po/bg.po: Update translations.
5488 * po/de.po: Likewise.
5489 * po/hr.po: Likewise.
5490 * po/pt_BR.po: Likewise.
5491 * po/sv.po: Likewise.
5492 * po/vi.po: Likewise.
5493
98864ed0
L
54942018-07-30 H.J. Lu <hongjiu.lu@intel.com>
5495
5496 [BZ #23467]
5497 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
5498 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
5499 (CFLAGS-tst-cet-property-1.o): New.
5500 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
5501 ($(objpfx)tst-cet-property-2): Likewise.
5502 ($(objpfx)tst-cet-property-2.out): Likewise.
5503 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
5504 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
5505 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
5506 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
5507 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
5508
c92a00d8
L
55092018-07-30 H.J. Lu <hongjiu.lu@intel.com>
5510
5511 [BZ #23458]
5512 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
5513
99bc6241
ST
55142018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
5515
5516 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
5517 __sbrk): Do not set attribute_hidden.
af86087f 5518 * sysdeps/mach/hurd/not-errno.h: New file.
99bc6241
ST
5519 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
5520 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
5521
bcb1c4af
CD
55222018-07-27 Carlos O'Donell <carlos@redhat.com>
5523
5524 * po/uk.po: Update translations.
5525 * po/cs.po: Likewise.
5526 * po/pl.po: Likewise.
5527
4591b7db
L
55282018-07-27 H.J. Lu <hongjiu.lu@intel.com>
5529
5530 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
5531 parse beyond the note end.
5532
2c6da2f4
AZ
55332018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5534
5535 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
5536 kernel does not support OFD locks.
5537 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
5538
20365a31
ST
55392018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5540
5541 * sysdeps/mach/hurd/Versions (libc): Make __access and
5542 __access_noerrno external so they can override the ld symbols.
5543 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
5544 __writev, __open64, __access_noerrno extern so they can be overrided.
5545 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
5546 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
5547
cb1a43db
CD
55482018-07-26 Carlos O'Donell <carlos@redhat.com>
5549
5550 * po/libc.pot: Regenerate.
5551
74759ae5
JM
55522018-07-26 Joseph Myers <joseph@codesourcery.com>
5553
5554 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
5555
da80612d
L
55562018-07-26 H.J. Lu <hongjiu.lu@intel.com>
5557
5558 [BZ #23459]
5559 * sysdeps/x86/cpu-features.c (get_extended_indices): New
5560 function.
5561 (init_cpu_features): Call get_extended_indices for both Intel
5562 and AMD CPUs.
5563 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
5564 Remove "for AMD" comment.
5565
65d87ade
L
55662018-07-26 H.J. Lu <hongjiu.lu@intel.com>
5567
5568 [BZ # 23456]
5569 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
5570 COMMON_CPUID_INDEX_80000001.
5571
c9dc4d51
SL
55722018-07-26 Stefan Liebler <stli@linux.ibm.com>
5573
5574 * string/tst-xbzero-opt.c (use_test_buffer): New function.
5575 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
5576
cfba5dbb
FW
55772018-07-26 Florian Weimer <fweimer@redhat.com>
5578
5579 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
5580 aliases for symbols not in the implementation namespace.
5581
7cd7d36f
CD
55822018-07-25 Carlos O'Donell <carlos@redhat.com>
5583
5584 [BZ #23393]
5585 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
5586 lowercase in LATIN script.
5587 * localedata/Makefile (test-input): Add en_US.UTF-8.
5588 * localedata/en_US.UTF-8.in: New file.
5589 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
5590 and restore old tests.
5591 * posix/tst-regexloc.c (do_test): Add back range expression test.
5592
3fb455b3
L
55932018-07-25 H.J. Lu <hongjiu.lu@intel.com>
5594
5595 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
5596
d6499b70
AZ
55972018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5598
5599 * nptl/threads.h: Move to ...
5600 * sysdeps/nptl/threads.h: ... here.
5601 * sysdeps/hurd/stdc-predef.h: New file.
5602
08ac6bed
L
56032018-07-25 H.J. Lu <hongjiu.lu@intel.com>
5604
5605 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
5606 tst-cet-setcontext-1 if CET is enabled.
5607 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
5608 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
5609
9faaf938
AZ
56102018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5611
5612 * include/threads.h: Move to ...
5613 * sysdeps/nptl/threads.h: ... here.
5614 * sysdeps/htl/threads.h: New file.
5615 * conform/Makefile (linknamespace-libs-ISO11): Use
5616 static-thread-library instead of linking libpthread.
5617 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
5618
d6b8f847
FW
56192018-07-25 Florian Weimer <fweimer@redhat.com>
5620
5621 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
5622 nanoseconds into seconds.
5623 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
5624 (do_test): Likewise.
5625 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
5626 (do_test): Likewise. Avoid nanosecond overflow and spurious
5627 timeouts due to system load.
5628 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
5629 (child_wait): Increment it.
5630 (do_test): Wait as long as necessary until all expected threads
5631 have arrived.
5632
25123a1c
L
56332018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
5634 H.J. Lu <hongjiu.lu@intel.com>
5635
5636 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
5637 __ssp.
5638 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
5639 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
5640 (__push___start_context): New.
5641 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
5642 <asm/prctl.h>.
5643 (__getcontext): Record the current shadow stack base. Save the
5644 caller's shadow stack pointer and base.
5645 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
5646 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
5647 (__push___start_context): New prototype.
5648 (__makecontext): Call __push___start_context to allocate a new
5649 shadow stack, push __start_context onto the new stack as well
5650 as the new shadow stack.
5651 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
5652 <asm/prctl.h>.
5653 (__setcontext): Restore the target shadow stack.
5654 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
5655 <asm/prctl.h>.
5656 (__swapcontext): Record the current shadow stack base. Save
5657 the caller's shadow stack pointer and base. Restore the target
5658 shadow stack.
5659 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
5660 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
5661 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
5662
375a4844
L
56632018-07-25 H.J. Lu <hongjiu.lu@intel.com>
5664
5665 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
5666 tst-setcontext8 and tst-setcontext9.
5667 * stdlib/tst-setcontext6.c: New file.
5668 * stdlib/tst-setcontext7.c: Likewise.
5669 * stdlib/tst-setcontext8.c: Likewise.
5670 * stdlib/tst-setcontext9.c: Likewise.
5671
bd4f7903
L
56722018-07-25 H.J. Lu <hongjiu.lu@intel.com>
5673
5674 * stdlib/Makefile ((tests): Add tst-setcontext5.
5675 * stdlib/tst-setcontext5.c: New file.
5676
7e28f203
L
56772018-07-25 H.J. Lu <hongjiu.lu@intel.com>
5678
5679 * stdlib/Makefile (tests): Add tst-setcontext4.
5680 * stdlib/tst-setcontext4.c: New file.
5681
8516ad2d
L
56822018-07-25 H.J. Lu <hongjiu.lu@intel.com>
5683
5684 * stdlib/Makefile (tests): Add tst-swapcontext1.
5685 * stdlib/tst-swapcontext1.c: New test.
5686
fddcd003
L
56872018-07-25 H.J. Lu <hongjiu.lu@intel.com>
5688
5689 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
5690 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
5691 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
5692 and tst-cet-legacy-4c.
5693 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
5694 and tst-cet-legacy-mod-4.
5695 (CFLAGS-tst-cet-legacy-2.c): New.
5696 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
5697 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
5698 (CFLAGS-tst-cet-legacy-3.c): Likewise.
5699 (CFLAGS-tst-cet-legacy-4.c): Likewise.
5700 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
5701 ($(objpfx)tst-cet-legacy-1): Likewise.
5702 ($(objpfx)tst-cet-legacy-2): Likewise.
5703 ($(objpfx)tst-cet-legacy-2.out): Likewise.
5704 ($(objpfx)tst-cet-legacy-2a): Likewise.
5705 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
5706 ($(objpfx)tst-cet-legacy-4): Likewise.
5707 ($(objpfx)tst-cet-legacy-4.out): Likewise.
5708 ($(objpfx)tst-cet-legacy-4a): Likewise.
5709 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
5710 (tst-cet-legacy-4a-ENV): Likewise.
5711 ($(objpfx)tst-cet-legacy-4b): Likewise.
5712 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
5713 (tst-cet-legacy-4b-ENV): Likewise.
5714 ($(objpfx)tst-cet-legacy-4c): Likewise.
5715 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
5716 (tst-cet-legacy-4c-ENV): Likewise.
5717 * sysdeps/x86/tst-cet-legacy-1.c: New file.
5718 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
5719 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
5720 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
5721 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
5722 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
5723 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
5724 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
5725 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
5726 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
5727 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
5728
9aa3113a
L
57292018-07-25 H.J. Lu <hongjiu.lu@intel.com>
5730
5731 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
5732 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
5733 with ssp_base.
5734 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
5735 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
5736 with ssp_base.
5737
9c79cec8
AS
57382018-07-25 Andreas Schwab <schwab@suse.de>
5739
5740 [BZ #23442]
5741 * locale/weightwc.h (findidx): Handle the case where usrc is a
5742 prefix of cp but one character too short.
5743
969c3355
AZ
57442018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5745
5746 * NEWS: Add ISO C threads addition.
5747
e0f9c462
FW
57482018-07-24 Florian Weimer <fweimer@redhat.com>
5749
5750 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5751 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
5752 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
5753 4.13.
5754
394df381
L
57552018-07-24 H.J. Lu <hongjiu.lu@intel.com>
5756
5757 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
5758 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
5759 <sys/prctl.h> and <asm/prctl.h>.
5760 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
5761 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
5762 and <asm/prctl.h>.
5763 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
5764 ARCH_CET_LEGACY_BITMAP.
5765 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
5766 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
5767 * sysdeps/x86/libc-start.c: Include <startup.h>.
5768
46545530
FW
57692018-07-24 Florian Weimer <fweimer@redhat.com>
5770
5771 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
5772 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
5773
9d0a979e
RJ
57742018-07-24 Rical Jasan <rj@2c3t.io>
5775 Adhemerval Zanella <adhemerval.zanella@linaro.org>
0a07288b
AZ
5776 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
5777
5778 [BZ #14092]
9d0a979e
RJ
5779 * manual/debug.texi: Update adjacent chapter name.
5780 * manual/probes.texi: Likewise.
5781 * manual/threads.texi (ISO C Threads): New section.
5782 (POSIX Threads): Convert to a section.
5783
57842018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5785 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
5786
5787 [BZ# 14092]
0a07288b
AZ
5788 * nptl/Makefile (tests): Add new test files.
5789 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
5790 * nptl/tst-cnd-basic.c: Likewise.
5791 * nptl/tst-cnd-broadcast.c: Likewise.
5792 * nptl/tst-cnd-timedwait.c: Likewise.
5793 * nptl/tst-mtx-basic.c: Likewise.
5794 * nptl/tst-mtx-recursive.c: Likewise.
5795 * nptl/tst-mtx-timedlock.c: Likewise.
5796 * nptl/tst-mtx-trylock.c: Likewise.
5797 * nptl/tst-thrd-basic.c: Likewise.
5798 * nptl/tst-thrd-detach.c: Likewise.
5799 * nptl/tst-thrd-sleep.c: Likewise.
5800 * nptl/tst-tss-basic.c: Likewise.
5801
ce7528f6
AZ
58022018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5803
c6dd669b
AZ
5804 [BZ #14092]
5805 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
5806 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
5807 symbols.
5808 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5809 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5810 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5811 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5812 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5813 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5814 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5815 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5816 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5817 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5818 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5819 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5821 Likewise.
5822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5823 Likewise.
5824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5825 Likewise.
5826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5827 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
5828 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5829 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5830 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5831 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5832 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5833 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5834 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5835 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
5836 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
5837 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
5838 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
5839 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
5840 Likewise.
5841 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
5842 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
5843 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
5844 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
5845 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
5846 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
5847 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
5848 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
5849 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
5850 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
5851 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
5852 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
5853 ikewise.
5854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
5855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
5856 Likewise.
5857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
5858 Likewise.
5859 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
5860 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
5861 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
5862 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
5863 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
5864 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
5865 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
5866 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
5867
78d40132
AZ
5868 [BZ #14092]
5869 * conform/data/threads.h-data (thread_local): New macro.
5870 (TSS_DTOR_ITERATIONS): Likewise.
5871 (tss_t): New type.
5872 (tss_dtor_t): Likewise.
5873 (tss_create): New function.
5874 (tss_get): Likewise.
5875 (tss_set): Likewise.
5876 (tss_delete): Likewise.
5877 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
5878 tss_get, and tss_set objects.
5879 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
5880 * nptl/tss_create.c: New file.
5881 * nptl/tss_delete.c: Likewise.
5882 * nptl/tss_get.c: Likewise.
5883 * nptl/tss_set.c: Likewise.
5884 * sysdeps/nptl/threads.h (thread_local): New define.
5885 (TSS_DTOR_ITERATIONS): Likewise.
5886 (tss_t): New typedef.
5887 (tss_dtor_t): Likewise.
5888 (tss_create): New prototype.
5889 (tss_get): Likewise.
5890 (tss_set): Likewise.
5891 (tss_delete): Likewise.
5892
918311a3
AZ
5893 [BZ #14092]
5894 * conform/data/threads.h-data (cnd_t): New type.
5895 (cnd_init): New function.
5896 (cnd_signal): Likewise.
5897 (cnd_broadcast): Likewise.
5898 (cnd_wait): Likewise.
5899 (cnd_timedwait): Likewise.
5900 (cnd_destroy): Likewise.
5901 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
5902 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
5903 object.
5904 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
5905 * nptl/cnd_broadcast.c: New file.
5906 * nptl/cnd_destroy.c: Likewise.
5907 * nptl/cnd_init.c: Likewise.
5908 * nptl/cnd_signal.c: Likewise.
5909 * nptl/cnd_timedwait.c: Likewise.
5910 * nptl/cnd_wait.c: Likewise.
5911 * sysdeps/nptl/threads.h (cnd_t): New type.
5912 (cnd_init): New prototype.
5913 (cnd_signa): Likewise.
5914 (cnd_broadcast): Likewise.
5915 (cnd_wait): Likewise.
5916 (cnd_timedwait): Likewise.
5917 (cnd_destroy): Likewise.
5918
3c20a679
AZ
5919 [BZ #14092]
5920 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
5921 (once_flag): New type.
5922 (call_once): New function.
5923 * nptl/Makefile (libpthread-routines): Add call_once object.
5924 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
5925 * nptl/call_once.c: New file.
5926 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
5927 (once_flag): New type.
5928 (call_once): New prototype.
5929
18d59c1b
AZ
5930 [BZ #14092]
5931 * conform/data/threads.h-data (mtx_plain): New constant.
5932 (mtx_recursive): Likewise.
5933 (mtx_timed): Likewise.
5934 (mtx_t): New type.
5935 (mtx_init): New function.
5936 (mtx_lock): Likewise.
5937 (mtx_timedlock): Likewise.
5938 (mtx_trylock): Likewise.
5939 (mtx_unlock): Likewise.
5940 (mtx_destroy): Likewise.
5941 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
5942 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
5943 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
5944 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
5945 * nptl/mtx_destroy.c: New file.
5946 * nptl/mtx_init.c: Likewise.
5947 * nptl/mtx_lock.c: Likewise.
5948 * nptl/mtx_timedlock.c: Likewise.
5949 * nptl/mtx_trylock.c: Likewise.
5950 * nptl/mtx_unlock.c: Likewise.
5951 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
5952 (mtx_recursive): Likewise.
5953 (mtx_timed): Likewise.
5954 (mtx_t): New type.
5955 (mtx_init): New prototype.
5956 (mtx_lock): Likewise.
5957 (mtx_timedlock): Likewise.
5958 (mtx_trylock): Likewise.
5959 (mtx_unlock): Likewise.
5960 (mtx_destroy): Likewise.
5961
ce7528f6
AZ
5962 [BZ #14092]
5963 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
5964 (linknamespace-libs-ISO11): Add libpthread.a.
5965 * conform/data/threads.h-data: New file: add C11 thrd_* types and
5966 functions.
5967 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
5968 * nptl/Makefile (headers): Add threads.h.
5969 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
5970 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
5971 thrd_yield.
5972 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
5973 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
5974 thrd_join, thrd_sleep, and thrd_yield symbols.
5975 * nptl/descr.h (struct pthread): Add c11 field.
5976 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
5977 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
5978 routine with expected function prototype.
5979 (__pthread_create_2_1): Add C11 threads check based on attribute
5980 value.
5981 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
5982 * nptl/thrd_create.c: New file.
5983 * nptl/thrd_current.c: Likewise.
5984 * nptl/thrd_detach.c: Likewise.
5985 * nptl/thrd_equal.c: Likewise.
5986 * nptl/thrd_exit.c: Likewise.
5987 * nptl/thrd_join.c: Likewise.
5988 * nptl/thrd_priv.h: Likewise.
5989 * nptl/thrd_sleep.c: Likewise.
5990 * nptl/thrd_yield.c: Likewise.
5991 * include/threads.h: Likewise.
5992
e27f41ba
L
59932018-07-24 H.J. Lu <hongjiu.lu@intel.com>
5994
5995 * bits/indirect-return.h: New file.
5996 * misc/sys/cdefs.h (__glibc_has_attribute): New.
5997 * sysdeps/x86/bits/indirect-return.h: Likewise.
5998 * stdlib/Makefile (headers): Add bits/indirect-return.h.
5999 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
6000 (swapcontext): Add __INDIRECT_RETURN.
6001 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
6002 (prepare_test_buffer): Use it.
6003
21526a50
AS
60042018-07-24 Andreas Schwab <schwab@suse.de>
6005
6006 [BZ #23448]
6007 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
6008 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
6009
3650e1d9
L
60102018-07-24 H.J. Lu <hongjiu.lu@intel.com>
6011
6012 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
6013 Redefine if shadow stack is enabled.
6014 (SYSCALL_ERROR_LABEL): Likewise.
6015 (__vfork): Pop shadow stack and jump back to to caller directly
6016 when shadow stack is in use.
6017 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
6018 Redefine if shadow stack is enabled.
6019 (SYSCALL_ERROR_LABEL): Likewise.
6020 (__vfork): Pop shadow stack and jump back to to caller directly
6021 when shadow stack is in use.
6022
ca027e0f
L
60232018-07-24 H.J. Lu <hongjiu.lu@intel.com>
6024
6025 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
6026 enabled.
6027 (foo): Likewise.
6028 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
6029 (foo): Likewise.
6030
b99f1c95
JM
60312018-07-20 Joseph Myers <joseph@codesourcery.com>
6032
6033 * scripts/build-many-glibcs.py (Context.checkout): Default
6034 binutils version to 2.31 branch.
6035
c8fabb84
ZL
60362018-07-20 Zong Li <zong@andestech.com>
6037
6038 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
6039 URL of gcc's tarball.
6040
786658a0
FW
60412018-07-20 Florian Weimer <fweimer@redhat.com>
6042
6043 [BZ #23396]
6044 * posix/regcomp.c (build_equiv_class): When comparing weights, do
6045 not compare an extra byte after the end of the weights.
6046
46f2474e
ST
60472018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
6048
6049 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
6050 to 1.
8ba1520e
ST
6051 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
6052 hidden prototypes.
6053 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
6054 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
2d5c41de
ST
6055 * scripts/check-execstack.awk: Consider `xfail' variable containing a
6056 list of libraries whose stack executability is expected.
6057 * elf/Makefile ($(objpfx)check-execstack.out): Pass
6058 $(check-execstack-xfail) to check-execstack.awk through `xfail'
6059 variable.
6060 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
6061 libc.so libpthread.so.
46f2474e 6062
60088242
TS
60632018-07-20 Thomas Schwinge <tschwinge@gnu.org>
6064
6065 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
6066 SOCK_NONBLOCK.
75d5e4a0
TS
6067 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
6068 and SOCK_NONBLOCK.
de195be0
TS
6069 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
6070 implement __pipe2.
6071 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
60088242 6072
1cf4ae7f
LS
60732018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6074
6075 * benchtests/scripts/compare_bench.py (__main__): use the argparse
6076 library to improve command line parsing.
6077 (__main__): make schema file as optional parameter (--schema),
6078 defaulting to benchtests/scripts/benchout.schema.json.
6079 (main): move out of the parsing stuff to __main_  and leave it
6080 only as caller of main comparison functions.
6081
e84bd851
L
60822018-07-19 H.J. Lu <hongjiu.lu@intel.com>
6083
6084 * NEWS: Add a note for Intel CET status.
6085 * manual/install.texi: Likewise.
6086 * INSTALL: Regenerated.
6087
df467d22
QP
60882018-07-18 Quentin PAGÈS <provaires@quentino.fr>
6089
6090 [BZ #23140]
6091 * localedata/locales/oc_FR (mon): Rename to...
6092 (alt_mon): This, then update October (typo fix).
6093 (mon): New content (genitive case, month names preceded by
6094 "de" or "d’").
6095
6096 [BZ #23422]
6097 * localedata/locales/oc_FR (abday): Update all items.
6098 (day): Update Wednesday and Saturday (typo fixes).
6099 (abmon): Update all items, except May.
6100 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
6101 (LC_IDENTIFICATION): Bump the revision number and date.
6102 Keep the "category" entries in alphabetic order.
6103 (LC_ADDRESS): Remove no longer needed comment.
6104 (LC_COLLATE): Use “copy "ca_ES"”.
6105 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
6106 "name_mrs".
6107
5c112f1b
JM
61082018-07-18 Joseph Myers <joseph@codesourcery.com>
6109
6110 * grp/tst_fgetgrent.c: Include <unistd.h>.
6111 (main): Use mkstemp instead of tmpnam.
6112 * io/test-utime.c (main): Likewise.
6113 * posix/annexc.c (macrofile): Change to modifiable array.
6114 (main): Remove macrofile here.
6115 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
6116 macrofile here.
6117 (check_header): Do not remove macrofile here.
6118 * posix/bug-getopt1.c: Include <stdlib.h>.
6119 (do_test): Use mkstemp instead of tmpnam.
6120 * posix/bug-getopt2.c: Include <stdlib.h>.
6121 (do_test): Use mkstemp instead of tmpnam.
6122 * posix/bug-getopt3.c: Include <stdlib.h>.
6123 (do_test): Use mkstemp instead of tmpnam.
6124 * posix/bug-getopt4.c: Include <stdlib.h>.
6125 (do_test): Use mkstemp instead of tmpnam.
6126 * posix/bug-getopt5.c: Include <stdlib.h>.
6127 (do_test): Use mkstemp instead of tmpnam.
6128 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
6129 (main): Use mkstemp instead of tmpnam.
6130 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
6131 (main): Use mkstemp instead of tmpnam.
6132 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
6133 (main): use mkstemp instead of tmpnam.
6134 * stdlib/isomac.c (macrofile): Change to modifiable array.
6135 (main): Remove macrofile here.
6136 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
6137 macrofile here.
6138 (check_header): Do not remove macrofile here.
6139
6d90776d
L
61402018-07-18 H.J. Lu <hongjiu.lu@intel.com>
6141
6142 * manual/tunables.texi: Document glibc.tune.x86_ibt and
6143 glibc.tune.x86_shstk.
6144
e6c69509
L
61452018-07-18 H.J. Lu <hongjiu.lu@intel.com>
6146
6147 * NEWS: Mention --enable-cet.
6148 * manual/install.texi: Document --enable-cet.
6149 * INSTALL: Regenerated.
6150
e2d40a88
L
61512018-07-18 H.J. Lu <hongjiu.lu@intel.com>
6152
6153 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
6154 Add _CET_NOTRACK before indirect jump to jump table.
6155
77a8ae09
L
61562018-07-18 H.J. Lu <hongjiu.lu@intel.com>
6157
6158 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
6159 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
6160 to jump table.
6161
90d15dc5
L
61622018-07-18 H.J. Lu <hongjiu.lu@intel.com>
6163
6164 * sysdeps/i386/i686/multiarch/strcat-sse2.S
6165 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
6166 to jump table.
6167
f1574581
L
61682018-07-18 H.J. Lu <hongjiu.lu@intel.com>
6169
6170 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
6171 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
6172 to jump table.
6173
7fb61336
L
61742018-07-18 H.J. Lu <hongjiu.lu@intel.com>
6175
6176 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
6177 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
6178 to jump table.
6179
0a899af0
L
61802018-07-18 H.J. Lu <hongjiu.lu@intel.com>
6181
6182 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
6183 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
6184 to jump table.
6185 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
6186
177824e2
L
61872018-07-18 H.J. Lu <hongjiu.lu@intel.com>
6188
6189 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
6190 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
6191 to jump table.
6192
00e7b76a
L
61932018-07-18 H.J. Lu <hongjiu.lu@intel.com>
6194
6195 * sysdeps/i386/i686/multiarch/memset-sse2.S
6196 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
6197 to jump table.
6198
7e119cd5
L
61992018-07-18 H.J. Lu <hongjiu.lu@intel.com>
6200
6201 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
6202 indirect jump to jump table.
6203
03aaf49b
L
62042018-07-18 H.J. Lu <hongjiu.lu@intel.com>
6205
6206 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
6207 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
6208 to jump table.
6209 (MEMCPY): Likewise.
6210
811e9e52
L
62112018-07-18 H.J. Lu <hongjiu.lu@intel.com>
6212
6213 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
6214 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
6215 to jump table.
6216 (MEMCPY): Likewise.
6217
8817df42
L
62182018-07-18 H.J. Lu <hongjiu.lu@intel.com>
6219
6220 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
6221 _CET_NOTRACK before indirect jump to jump table.
6222
921595d1
L
62232018-07-18 H.J. Lu <hongjiu.lu@intel.com>
6224
6225 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
6226 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
6227 to jump table.
6228
4ef60d95
L
62292018-07-18 H.J. Lu <hongjiu.lu@intel.com>
6230
6231 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
6232 indirect jump to jump table.
6233
61c4aad7
VT
62342018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
6235
6236 [BZ #22241]
6237 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
6238 (LOCALES): Likewise.
6239 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
6240 * localedata/locales/sah_RU: New file.
6241 * localedata/sah_RU.UTF-8.in: New file.
6242
be9ccd27
L
62432018-07-17 H.J. Lu <hongjiu.lu@intel.com>
6244
6245 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
6246 "sysdep.h".
6247 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
6248 _CET_ENDBR to indirect jump targets and adjust jump destination
6249 for _CET_ENDBR.
6250 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
6251 "sysdep.h".
6252 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
6253 _CET_ENDBR to indirect jump targets and adjust jump destination
6254 for _CET_ENDBR.
6255 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
6256 "sysdep.h".
6257 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
6258 _CET_ENDBR to indirect jump targets and adjust jump destination
6259 for _CET_ENDBR.
6260
5efc6777
L
62612018-07-17 H.J. Lu <hongjiu.lu@intel.com>
6262
6263 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
6264 _CET_ENDBR.
6265
562837c0
L
62662018-07-17 H.J. Lu <hongjiu.lu@intel.com>
6267
6268 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
6269 _CET_ENDBR.
6270 (_dl_tlsdesc_undefweak): Likewise.
6271 (_dl_tlsdesc_dynamic): Likewise.
6272 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
6273 (_dl_tlsdesc_resolve_rel): Likewise.
6274 (_dl_tlsdesc_resolve_rela): Likewise.
6275 (_dl_tlsdesc_resolve_hold): Likewise.
6276 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
6277 (_dl_tlsdesc_undefweak): Likewise.
6278 (_dl_tlsdesc_dynamic): Likewise.
6279 (_dl_tlsdesc_resolve_rela): Likewise.
6280 (_dl_tlsdesc_resolve_hold): Likewise.
6281
124bcde6
L
62822018-07-17 H.J. Lu <hongjiu.lu@intel.com>
6283
6284 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
6285 (_fini): Likewise.
6286 * sysdeps/x86_64/crti.S (_init): Likewise.
6287 (_fini): Likewise.
6288
9145f033
RL
62892018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
6290
6291 [BZ #23140]
6292 * localedata/locales/os_RU (mon): Rename to...
6293 (alt_mon): This.
6294 (mon): Import from CLDR (genitive case).
6295
ba2ea23d
L
62962018-07-17 H.J. Lu <hongjiu.lu@intel.com>
6297
6298 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
6299 cet-tunables.h> when CET is enabled.
6300
f753fa7d
L
63012018-07-16 H.J. Lu <hongjiu.lu@intel.com>
6302
6303 [BZ #21598]
6304 * configure.ac: Add --enable-cet.
6305 * configure: Regenerated.
6306 * elf/Makefille (all-built-dso): Add a comment.
6307 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
6308 Include <dl-prop.h>.
6309 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
6310 segment.
6311 * elf/dl-open.c: Include <dl-prop.h>.
6312 (dl_open_worker): Call _dl_open_check.
6313 * elf/rtld.c: Include <dl-prop.h>.
6314 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
6315 _rtld_main_check.
6316 * sysdeps/generic/dl-prop.h: New file.
6317 * sysdeps/i386/dl-cet.c: Likewise.
6318 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
6319 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
6320 * sysdeps/x86/cet-tunables.h: Likewise.
6321 * sysdeps/x86/check-cet.awk: Likewise.
6322 * sysdeps/x86/configure: Likewise.
6323 * sysdeps/x86/configure.ac: Likewise.
6324 * sysdeps/x86/dl-cet.c: Likewise.
6325 * sysdeps/x86/dl-procruntime.c: Likewise.
6326 * sysdeps/x86/dl-prop.h: Likewise.
6327 * sysdeps/x86/libc-start.h: Likewise.
6328 * sysdeps/x86/link_map.h: Likewise.
6329 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
6330 _CET_ENDBR.
6331 (_dl_runtime_profile): Likewise.
6332 (_dl_runtime_resolve_shstk): New.
6333 (_dl_runtime_profile_shstk): Likewise.
6334 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
6335 if CET is enabled.
6336 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
6337 (CFLAGS-.os): Likewise.
6338 (CFLAGS-.op): Likewise.
6339 (CFLAGS-.oS): Likewise.
6340 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
6341 is enabled.
6342 (tests-special): Add $(objpfx)check-cet.out.
6343 (cet-built-dso): New.
6344 (+$(cet-built-dso:=.note)): Likewise.
6345 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
6346 ($(objpfx)check-cet.out): New.
6347 (generated): Add check-cet.out.
6348 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
6349 <cet-tunables.h>.
6350 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
6351 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
6352 (init_cpu_features): Call get_cet_status to check CET status
6353 and update dl_x86_feature_1 with CET status. Call
6354 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
6355 (set_x86_shstk). Disable and lock CET in libc.a.
6356 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
6357 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
6358 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
6359 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
6360 (_CET_ENDBR): Define if not defined.
6361 (ENTRY): Add _CET_ENDBR.
6362 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
6363 x86_shstk.
6364 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
6365 _CET_ENDBR.
6366 (_dl_runtime_profile): Likewise.
6367
52b2a80f
RA
63682018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
6369
6370 [BZ #21895]
6371 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
6372 restore r2 on longjmp.
6373 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
6374 test list.
6375 Added rules to build test tst-setjmp-bug21895-static.
6376 Added module setjmp-bug21895 and rules to build a shared object from it.
6377 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
6378 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
6379
3ae725df
WD
63802018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
6381
6382 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
6383 * benchtests/bench-strstr.c: Likewise.
6384 * string/memmem.c (FASTSEARCH): Define.
6385 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
6386 Add support for FASTSEARCH.
6387 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
6388 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
6389 (FASTSEARCH): Define.
6390 * string/test-strcasestr.c: Rename __strnlen to strnlen.
6391 * string/test-strstr.c: Likewise.
6392
31e422ca
L
63932018-07-15 H.J. Lu <hongjiu.lu@intel.com>
6394
6395 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
6396 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
6397
faaee1f0
L
63982018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
6399 H.J. Lu <hongjiu.lu@intel.com>
6400
6401 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
6402 (__longjmp): Restore shadow stack pointer if shadow stack is
6403 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
6404 isn't defined for __longjmp_cancel.
6405 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
6406 (_setjmp): Save shadow stack pointer if shadow stack is enabled
6407 and SHADOW_STACK_POINTER_OFFSET is defined.
6408 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
6409 (setjmp): Save shadow stack pointer if shadow stack is enabled
6410 and SHADOW_STACK_POINTER_OFFSET is defined.
6411 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
6412 (__sigsetjmp): Save shadow stack pointer if shadow stack is
6413 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
6414 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
6415 <jmp_buf-ssp.h>.
6416 (____longjmp_chk): Restore shadow stack pointer if shadow stack
6417 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
6418 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
6419 Remove jmp_buf-ssp.sym.
6420 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
6421 <jmp_buf-ssp.h>.
6422 (____longjmp_chk): Restore shadow stack pointer if shadow stack
6423 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
6424 * sysdeps/x86/Makefile (gen-as-const-headers): Add
6425 jmp_buf-ssp.sym.
6426 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
6427 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
6428 (__longjmp): Restore shadow stack pointer if shadow stack is
6429 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
6430 isn't defined for __longjmp_cancel.
6431 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
6432 (__sigsetjmp): Save shadow stack pointer if shadow stack is
6433 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
6434
ebff9c5c
L
64352018-07-14 H.J. Lu <hongjiu.lu@intel.com>
6436
6437 [BZ #22563]
6438 * nptl/pthread_create.c: Include <tls-setup.h>.
6439 (__pthread_create_2_1): Call tls_setup_tcbhead.
6440 * sysdeps/generic/tls-setup.h: New file.
6441 * sysdeps/x86/nptl/tls-setup.h: Likewise.
6442 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
6443 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
6444 Likewise.
6445 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
6446 to feature_1.
6447 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
6448 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
6449 (X86_FEATURE_1_SHSTK): Likewise.
6450 (CET_ENABLED): Likewise.
6451 (IBT_ENABLED): Likewise.
6452 (SHSTK_ENABLED): Likewise.
6453
0a83bad2
RL
64542018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
6455
6456 [BZ #23208]
6457 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
6458 (LOCALES): Likewise.
6459 * localedata/dsb_DE.UTF-8.in: New file.
6460 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
6461
046bfed9
FW
64622018-07-12 Florian Weimer <fweimer@redhat.com>
6463
6464 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
6465 __mprotect, not mprotect.
6466
93304f5f
FW
64672018-07-11 Florian Weimer <fweimer@redhat.com>
6468
6469 * io/Makefile (headers): Add bits/statx.h.
6470
4beefeeb
MF
64712018-07-10 Mike FABIAN <mfabian@redhat.com>
6472
6473 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
6474 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
6475 and headers.
6476 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
6477 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
6478 for utf8_gen.py
6479
fd70af45
FW
64802018-07-10 Florian Weimer <fweimer@redhat.com>
6481
6482 * io/Makefile (routines): Add statx.
6483 (tests-internal): Add tst-statx.
6484 * io/Versions (GLIBC_2.28): Export statx.
6485 * io/bits/statx.h: New file.
6486 * io/sys/stat.h [__USE_GNU]: Include it.
6487 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
6488 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
6489 Define.
6490 * io/statx.c: New file.
6491 * io/statx_generic.: Likewise.
6492 * io/tst-statx.: Likewise.
6493 * include/bits/statx.h: Likewise.
6494 * sysdeps/unix/sysv/linux/kernel-features.h
6495 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
6496 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6497 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
6498 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
6499 Undefine.
6500 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6501 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
6502 * sysdeps/unix/sysv/linux/statx.c: New file.
6503 * manual/filesys.texi: Note that statx is undocumented.
6504 * sysdeps/**/libc*.abilist: Update.
6505
b444e8f7
AZ
65062018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6507
6508 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
6509 a kernel issue which lead to test failure in some cases.
6510
7b2f4ced
FW
65112018-07-10 Florian Weimer <fweimer@redhat.com>
6512
6513 [BZ #23036]
6514 * posix/regexec.c (check_node_accept_bytes): When comparing
6515 weights, do not compare an extra byte after the end of the
6516 weights.
6517
4fa34da6
FW
65182018-07-10 Florian Weimer <fweimer@redhat.com>
6519
6520 * libio/readline.c: Fix copyright year.
6521 * libio/tst-readline.c Likewise.
6522 * nss/tst-nss-files-hosts-getent.c: Likewise.
6523
916124ed
FW
65242018-07-06 Florian Weimer <fweimer@redhat.com>
6525
6526 [BZ #18991]
6527 * nss/nss_files/files-XXX.c (internal_getent): Use
6528 __libc_readline_unlocked. Seek back to the start of the line if
6529 parsing failes with ERANGE.
6530 (get_contents_ret, get_contents): Remove.
6531 * nss/tst-nss-files-hosts-getent.c: New file.
6532 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
6533 (tst-nss-files-hosts-getent): Link with -ldl.
6534
3f5e3f5d
FW
65352018-07-06 Florian Weimer <fweimer@redhat.com>
6536
6537 * include/stdio.h (__libc_readline_unlocked): Declare.
6538 (__ftello64, __fseeko64): Declare aliases.
6539 * libio/readline.c: New file.
6540 * libio/tst-readline.c: Likewise.
6541 (routines): Add readline.
6542 (tests-internal): Add tst-readlime.
6543 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
6544 __libc_readline_unlocked.
6545 * libio/fseeko.c (__fseeko): Rename from fseeko.
6546 (fseeko): Add alias.
6547 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
6548 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
6549 (fseeko64): Add alias.
6550 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
6551 * libio/ftello64.c (__ftello64): Rename from ftello64.
6552 (ftello64): Add alias.
6553
397c54c1
SN
65542018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
6555
6556 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
6557 HWCAP_ATOMICS.
6558
d0cd7980
SN
65592018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
6560
6561 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
6562 Use dl_hwcap without masking.
6563 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
6564 Remove HWCAP_CPUID.
6565
ddb3c626
FW
65662018-07-06 Florian Weimer <fweimer@redhat.com>
6567
6568 * conform/conformtest.pl (checknamespace): Escape literal braces
6569 in regular expressions.
6570
bce5911b
AP
65712018-07-06 Amit Pawar <amit.pawar@amd.com>
6572
6573 * sysdeps/x86/cpu-features.c (get_common_indeces):
6574 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
6575 * sysdeps/x86/cpu-features.c (init_cpu_features):
6576 AVX_Fast_Unaligned_Load is disabled for Excavator core.
6577
3a885c1f
FW
65782018-07-05 Florian Weimer <fweimer@redhat.com>
6579
6580 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
6581 protector.
6582 (CFLAGS-elf-init.oS): Likewise.
6583
38cade0c
FW
65842018-07-05 Florian Weimer <fweimer@redhat.com>
6585 Carlos O'Donell <carlos@redhat.com>
6586
6587 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
6588 $(no-stack-protector). stack_chk_fail_local.c can be compiled
6589 with stack protector enabled because there is no risk of infinite
6590 recursion.
6591
9449a295
MR
65922018-07-05 Maciej W. Rozycki <macro@mips.com>
6593
6594 [BZ #19818]
6595 [BZ #23307]
6596 * libc-abis (ABSOLUTE): New ABI.
6597 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
6598 * NEWS: Mention the new ABI.
6599
d6da5cb6
FW
66002018-07-05 Florian Weimer <fweimer@redhat.com>
6601
6602 [BZ # 17662]
6603 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
6604 (RENAME_WHITEOUT): Define.
6605 [__USE_GNU] (renameat2): Declare.
6606 * stdio-common/Makefile (routines): Add renameat2.
6607 (tests): Add tst-renameat2.
6608 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
6609 * stdio-common/renameat2.c: New file.
6610 * stdio-common/tst-renameat2.c: Likewise.
6611 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
6612 * manual/filesys.texi (Temporary Files): Note that renameat2 is
6613 undocumented.
6614 * sysdeps/unix/sysv/linux/kernel-features.h
6615 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
6616 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6617 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
6618 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6619 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
6620 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6621 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
6622 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6623 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
6624 * include/stdio.h (__renameat): Add alias for renameat.
6625 * stdio-common/renameat.c (__renameat): Rename from renameat.
6626 Add hidden definition and alias.
6627 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
6628 * sysdeps/mach/hurd/renameat.c: Likewise.
6629 * sysdeps/**/libc*.abilist: Add renameat2.
6630
1002d708
AZ
66312018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6632
6633 * posix/bug-regex33.c: Fix build after regex sync.
6634
34fdb893
CD
66352018-07-04 Carlos O'Donell <carlos@redhat.com>
6636
6637 [BZ #23164]
6638 * localedata/tst-langinfo-setlocale.c: New file.
6639 * localedata/tst-langinfo-setlocale-static.c: New file.
6640 * localedata/tst-langinfo-newlocale.c: New file.
6641 * localedata/tst-langinfo-newlocale-static.c: New file.
6642 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
6643 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
6644 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
6645 (tests-static): Remove tst-langinfo-static. Add
6646 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
6647 (tests-special): Remove $(objpfx)tst-langinfo.out,
6648 $(objpfx)tst-langinfo-static.out. Add
6649 $(objpfx)tst-langinfo-setlocale.out,
6650 $(objpfx)tst-langinfo-newlocale.out,
6651 $(objpfx)tst-langinfo-setlocale-static.out,
6652 $(objpfx)tst-langinfo-newlocale-static.out.
6653 ($(objpfx)tst-langinfo.out): Remove.
6654 ($(objpfx)tst-langinfo-static.out): Remove.
6655 ($(objpfx)tst-langinfo-newlocale.out): New target.
6656 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
6657 (test-xfail-tst-langinfo-newlocale-static): Add.
6658 ($(objpfx)tst-langinfo-setlocale.out): New target.
6659 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
6660 * localedata/tst-langinfo.c: Call test_locale.
6661 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
6662 data.
6663
f2873d2d
FW
66642018-07-04 Florian Weimer <fweimer@redhat.com>
6665
6666 testrun.sh: Implement --tool=strace, --tool=valgrind
6667 * Makefile (testrun-script): Define variable.
6668 (testrun.sh): Use variable.
6669 * manual/install.texi (Tools for Compilation): make 4.0 or later
6670 is required.
6671 * configure.ac: Check for make 4.0 or later.
6672 * INSTALL: Regenerate.
6673 * configure: Likewise.
6674
eb04c213
AZ
66752018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6676
6677 [BZ #23233]
6678 [BZ #21163]
6679 [BZ #18986]
6680 [BZ #13762]
6681 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
6682 * posix/PCRE.tests: Remove invalid test.
6683 * posix/bug-regex28.c: Fix expected values for used syntax.
6684 * posix/bug-regex37.c: New file.
6685 * posix/bug-regex38.c: Likewise.
6686 * posix/regcomp.c: Sync with gnulib.
6687 * posix/regex.c: Likewise.
6688 * posix/regex.h: Likewise.
6689 * posix/regex_internal.c: Likewise.
6690 * posix/regex_internal.h: Likewise.
6691 * posix/regexec.c: Likewise.
6692
b11643c2
MF
66932018-06-26 Mike FABIAN <mfabian@redhat.com>
6694
6695 [BZ #23308]
6696 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
6697 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
6698 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
6699 * localedata/unicode-gen/PropList.txt: likewise.
6700 * localedata/unicode-gen/UnicodeData.txt: likewise.
6701 * localedata/charmaps/UTF-8: Regenerate.
6702 * localedata/locales/i18n_ctype: likewise.
6703 * localedata/locales/tr_TR: likewise.
6704 * localedata/locales/translit_circle: likewise.
6705 * localedata/locales/translit_cjk_compat: likewise.
6706 * localedata/locales/translit_combining: likewise.
6707 * localedata/locales/translit_compat: likewise.
6708 * localedata/locales/translit_font: likewise.
6709 * localedata/locales/translit_fraction: likewise.
6710
5a357506
FW
67112018-07-03 Florian Weimer <fweimer@redhat.com>
6712
6713 [BZ #23363]
6714 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
6715 * stdio-common/tst-printf.sh: Adjust expected output.
6716 * LICENSES: Update.
6717
7279af00
AZ
67182018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6719
6720 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
6721 symbol.
6722
b7b88cea
GG
67232018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6724
6725 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
6726 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
6727 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
6728 * stdio-common/tst-printfsz-islongdouble.c: New file.
6729 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
6730 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
6731 [subdir == stdio-common] (routines): Add ieee128-printf_size.
6732 [subdir == stdio-common] (tests-internal): Add
6733 test-printf-size-ieee128, and test-printf-size-ibm128.
6734 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
6735 (CFLAGS-test-printf-size-ibm128.c): New variables.
6736 [subdir == stdio-common] (tests-special): Add
6737 $(objpfx)test-printf-size-ieee128.out and
6738 $(objpfx)test-printf-size-ibm128.out.
6739 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
6740 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
6741 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
6742 __printf_sizeieee128.
6743 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
6744 New file.
6745 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
6746 Likewise.
6747 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
6748 Likewise.
6749
2b445206
SN
67502018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
6751
6752 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
6753 (exp2f_inline): Likewise.
6754 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
6755 (__math_uflowf): Likewise.
6756 (__math_may_uflowf): Likewise.
6757 (__math_divzerof): Likewise.
6758 (__math_invalidf): Likewise.
6759 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
6760 (__math_oflowf): Likewise.
6761 (__math_uflowf): Likewise.
6762 (__math_may_uflowf): Likewise.
6763 (__math_divzerof): Likewise.
6764 (__math_invalidf): Likewise.
6765
2827ab99
CD
67662018-06-29 DJ Delorie <dj@redhat.com>
6767 Carlos O'Donell <carlos@redhat.com>
6768
6769 [BZ #23329]
6770 * include/libc-symbols.h: Comment the freeres framework.
6771 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
6772 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
6773 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
6774 * dlfcn/dlerror.c: Include libc-symbols.h
6775 (__dlerror_main_freeres): New function.
6776 * dlfcn/dlfreeres.c: New file.
6777 * dlfcn/sdlfreeres.c: New file.
6778 * include/dlfcn.h: Declare __dlerror_main_freeres.
6779 * malloc/set-freeres.c: Declare __libdl_freeres, and
6780 __libpthread_freeres.
6781 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
6782 the releavant libraries are loaded.
6783 * malloc/thread-freeres.c: Add comments.
6784 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
6785 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
6786 * nptl/allocatestack.c (__nptl_free_stacks): New function.
6787 (__free_stacks): Rename to...
6788 (free_stacks): ...this. Mark static.
6789 (queue_stack): Call free_stacks.
6790 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
6791 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
6792 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
6793 ptr_freeres element from struct.
6794 (pthread_functions): Remove .ptr_freeres from struct initializer.
6795 [SHARED] (nptl_freeres): Remove.
6796 * nptl/nptlfreeres.c: New file.
6797 * nptl/pthreadP.h
6798 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
6799 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
6800 attribute_hidden.
6801 (__free_stacks): Rename to...
6802 (__nptl_stacks_freeres): ...this.
6803 (__shm_directory_freeres): Declare.
6804 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
6805 (__nptl_unwind_freeres): ...this.
6806 * resolv/res-close.c: Add comment.
6807 * resolv/resolv_conf.c: Include libc-symbols.h.
6808 * string/strerror_l.c: Include libc-symbols.h.
6809 * sunrpc/rpc_thread.c: Include libc-symbols.h.
6810 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
6811 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
6812 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
6813
37d3d244
RS
68142018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6815
6816 * stdlib/tst-strfmon_l.c: Add tests for long double.
6817
a1e0c5fa
MW
68182018-06-29 Michael Wolf <milupo@sorbzilla.de>
6819
6820 [BZ #23208]
6821 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
6822 * localedata/locales/dsb_DE: New file.
6823
2e0c5de6
RL
68242018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
6825
6826 [BZ #23140]
6827 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
6828 genitive case).
6829 (alt_mon): New entry, import from CLDR (nominative case).
6830
cdb52c71
SL
68312018-06-29 Sylvain Lesage <severo@rednegra.net>
6832
6833 [BZ #22996]
6834 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
6835
ce76a5cb
SP
68362018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
6837
0aec4c1d
SP
6838 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
6839 Use vector registers.
6840
ce76a5cb
SP
6841 * sysdeps/aarch64/multiarch/memmove_falkor.S
6842 (__memcpy_falkor): Use vector registers.
6843
7e8989d0
MS
68442018-06-29 Martin Sebor <msebor@redhat.com>
6845
6846 * manual/stdio.texi (Customizing Printf): Mention interaction
6847 with GCC built-ins.
6848
bac15a72
MR
68492018-06-29 Maciej W. Rozycki <macro@mips.com>
6850
6851 [BZ #23307]
6852 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
6853 `st_value' is 0 if `st_shndx' is SHN_ABS.
6854 * elf/tst-absolute-zero.c: New file.
6855 * elf/tst-absolute-zero-lib.c: New file.
6856 * elf/tst-absolute-zero-lib.lds: New file.
6857 * elf/Makefile (tests): Add `tst-absolute-zero'.
6858 (modules-names): Add `tst-absolute-zero-lib'.
6859 (LDLIBS-tst-absolute-zero-lib.so): New variable.
6860 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
6861 ($(objpfx)tst-absolute-zero: New dependency.
6862
e69d994a
ZW
68632018-06-29 Zack Weinberg <zackw@panix.com>
6864
6865 * configure.ac: New command-line option --disable-crypt.
6866 Force --disable-nss-crypt when --disable-crypt is given, with a
6867 warning if it was explicitly enabled.
6868 * configure: Regenerate.
6869 * config.make.in: New boolean substitution variable $(build-crypt).
6870 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
6871 when $(build-crypt).
6872 * manual/install.texi: Document --disable-crypt.
6873 * INSTALL: Regenerate.
6874
6875 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
6876 which is never set.
6877 * conform/Makefile: Only include libcrypt.a in
6878 linknamespace-libs-xsi and linknamespace-libs-XPG4
6879 when $(build-crypt).
6880 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
6881 USE_CRYPT to 1 when $(build-crypt).
6882 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
6883 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
6884 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
6885
841785ba
ZW
68862018-06-29 Zack Weinberg <zackw@panix.com>
6887
6888 * crypt/crypt.h, posix/unistd.h: Update comments and
6889 prototypes for crypt and crypt_r.
6890
6891 * manual/crypt.texi (Cryptographic Functions): New initial
6892 exposition.
6893 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
6894 (Unpredictable Bytes): Improve initial exposition. Clarify error
6895 behavior of getentropy and getrandom.
6896 * manual/examples/genpass.c: Generate a salt using getentropy
6897 instead of the current time. Use hash $5$ (SHA-2-256).
6898 * manual/examples/testpass.c: Demonstrate validation against
6899 hashes generated with three different one-way functions.
6900
6901 * manual/intro.texi: crypt.texi does not need an overview
6902 anymore.
6903
6904 * manual/nss.texi, manual/memory.texi, manual/socket.texi
6905 * manual/terminal.texi: Consistently refer to "passphrases"
6906 * instead of "passwords", and to the "user database" instead
6907 * of the "password database".
6908 * manual/users.texi: Similarly. Add notes about how actual
6909 passphrase hashes are now stored in the shadow database.
6910 Remove 20-year-old junk todo note.
6911
6ab902e4
ZW
69122018-06-29 Zack Weinberg <zackw@panix.com>
6913
6914 * manual/crypt.texi: Use a normal top-level @node declaration.
6915 Move most of the introductory text to the 'crypt' section.
6916 Move the example programs below the @deftypefun for 'crypt_r'.
6917 Move the 'getpass' section...
6918 * manual/terminal.texi: ...here.
6919
b10a0acc
ZW
69202018-06-29 Zack Weinberg <zackw@panix.com>
6921 Florian Weimer <fweimer@redhat.com>
6922
6923 * posix/unistd.h: Do not declare encrypt.
6924 (_XOPEN_CRYPT): Remove macro definition.
6925 (crypt): Declare only for _USE_MISC.
6926 * stdlib/stdlib.h: Do not declare setkey.
6927 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
6928 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
6929
6930 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
6931 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
6932 into compat symbols. Don't define initial_perm if it's not
6933 going to be used.
6934 * crypt/cert.c: Link explicitly with the expected versions for
6935 setkey and encrypt. If they are not available at all, mark
6936 the test as unsupported.
6937
6938 * sunrpc/des_crypt.c: Unconditionally block linkage with
6939 cbc_crypt and ecb_crypt for new binaries.
6940 * sunrpc/des_soft.c: Unconditionally block linkage with
6941 des_setparity for new binaries.
6942
6943 * manual/crypt.texi: Remove the entire "DES Encryption"
6944 section. Also remove the paragraph talking about FIPS 140-2
6945 from the introduction.
6946 * manual/string.texi (strfry, memfrob): Revise. Recommend use
6947 of libgcrypt for "real" encryption, not DES.
6948 * manual/conf.texi (Constants for Sysconf): Mention that
6949 _XOPEN_CRYPT is no longer impelemented.
6950
6951 * conform/data/unistd.h-data: Remove crypt function declaration.
6952
524d796d
FW
69532018-06-29 Florian Weimer <fweimer@redhat.com>
6954
6955 [BZ #23351]
6956 * malloc/hooks.c: Update comments on restoring of dumped heaps.
6957 (disallow_malloc_check): Remove variable.
6958 (__malloc_check_init): Adjust.
6959 (malloc_set_state): Update comment.
6960 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
6961 declarations.
6962
339124ab
RL
69632018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
6964
6965 [BZ #23140]
6966 * localedata/locales/ast_ES (mon): Rename to...
6967 (alt_mon): This.
6968 (mon): Import from CLDR (genitive case).
6969
c1f86a33
DA
69702018-06-29 Daniel Alvarez <dalvarez@redhat.com>
6971 Jakub Sitnicki <jkbs@redhat.com>
6972
6973 [BZ #21812]
6974 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
6975 on NLM_F_DUMP_INTR.
6976
0b11b649
SN
69772018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
6978
6979 * manual/llio.texi: Remove spurious space.
6980
c1c2848b
FW
69812018-06-28 Florian Weimer <fweimer@redhat.com>
6982
6983 [BZ #23349]
6984 * time/bits/types/struct_timespec.h: Change header inclusion guard to
6985 _STRUCT_TIMESPEC.
6986
86a0f561
RS
69872018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6988
6989 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
6990 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
6991 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
6992 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
6993 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
6994 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
6995 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
6996
780684eb
MR
69972018-06-27 Maciej W. Rozycki <macro@mips.com>
6998
6999 [BZ #23266]
7000 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
7001 Copy and null-terminate entries that are not terminated, in
7002 addition to empty ones.
7003
c49e1822
FW
70042018-06-27 Florian Weimer <fweimer@redhat.com>
7005
7006 [BZ #18023]
7007 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
7008 (extend_alloca_account): Remove.
7009 * manual/stdio.texi (Variable Arguments Output): Update comment.
7010
a833e627
JM
70112018-06-27 Joseph Myers <joseph@codesourcery.com>
7012
7013 * nptl/sockperf.c: Remove file.
7014
92d6aa85
FW
70152018-06-27 Florian Weimer <fweimer@redhat.com>
7016
7017 [BZ #18023]
7018 * elf/dl-deps.c (_dl_map_object_deps): Use struct
7019 scratch_buffer instead of extend_alloca.
7020
890c2ced
FW
70212018-06-27 Florian Weimer <fweimer@redhat.com>
7022
7023 [BZ #18023]
7024 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
7025 scratch_buffer instead of extend_alloca. Update comments.
7026
4272059d
FW
70272018-06-27 Florian Weimer <fweimer@redhat.com>
7028
7029 [BZ #18023]
7030 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
7031 instead of extend_alloca.
7032
27f10a09
JM
70332018-06-26 Joseph Myers <joseph@codesourcery.com>
7034
7035 [BZ #13888]
7036 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
7037 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
7038 /tmp.
7039 * scripts/test-installation.pl: Put temporary files in build
7040 directory, not /tmp.
7041 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
7042 (CFLAGS-bug4.c): Likewise.
7043 (CFLAGS-bug5.c): Likewise.
7044 (CFLAGS-test-fseek.c): Likewise.
7045 (CFLAGS-test-popen.c): Likewise.
7046 (CFLAGS-test_rdwr.c): Likewise.
7047 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
7048 /tmp.
7049 * stdio-common/bug4.c (main): Likewise.
7050 * stdio-common/bug5.c (main): Likewise.
7051 * stdio-common/test-fseek.c (TESTFILE): Likewise.
7052 * stdio-common/test-popen.c (do_test): Likewise.
7053 * stdio-common/test_rdwr.c (main): Likewise.
7054
05598a09
PF
70552018-06-26 Patsy Franklin <pfrankli@redhat.com>
7056
7057 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
7058 (sem_open): Set sem.newsem.pad to zero for valgrind.
7059
06ab719d
AZ
70602018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7061
7062 [BZ #20251]
7063 * NEWS: Mention fcntl64 addition.
7064 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
7065 * login/utmp_file.c: Likewise.
7066 * sysdeps/posix/fdopendir.c: Likewise.
7067 * sysdeps/posix/opendir.c: Likewise.
7068 * sysdeps/unix/pt-fcntl.c: Likewise.
7069 * include/fcntl.h (__libc_fcntl64, __fcntl64,
7070 __fcntl64_nocancel_adjusted): New prototype.
7071 (__fcntl_nocancel_adjusted): Remove prototype.
7072 * io/Makefile (routines): Add fcntl64.
7073 (CFLAGS-fcntl64.c): New rule.
7074 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
7075 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
7076 * io/fcntl.h (fcntl64): Add prototype and redirect if
7077 __USE_FILE_OFFSET64 is defined.
7078 * io/fcntl64.c: New file.
7079 * manual/llio.text: Add a note for which commands fcntl acts a
7080 cancellation point.
7081 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
7082 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
7083 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
7084 New symbols.
7085 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
7086 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
7087 non-LFS case.
7088 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
7089 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
7090 to __fcntl64_nocancel.
7091 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
7092 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
7093 to __fcntl64_nocancel.
7094 * sysdeps/generic/not-cancel.h: Likewise.
7095 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
7096 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
7097 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
7098 (fcntl64): New symbol.
7099 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7100 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7101 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7104 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
7105 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7106 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7107 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7108 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7109 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
7110 fcntl64): Likewise.
7111 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7112 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
7113 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7114 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7115 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7116 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7117 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7118 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7119 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7121 Likewise.
7122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7123 Likewise.
7124 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7125 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7126 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7127
124e0258
FW
71282018-06-26 Florian Weimer <fweimer@redhat.com>
7129
7130 Run thread shutdown functions in an explicit order.
7131 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
7132 definition.
7133 (__libc_thread_freeres): Call thread shutdown functions
7134 explicitly.
7135 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
7136 * include/string.h (__strerror_thread_freeres): Declare.
7137 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
7138 arena_thread_freeres. No longer static. Remove thread shutdown
7139 hook registration.
7140 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
7141 Declare.
7142 * resolv/res-close.c (__res_thread_freeres): Renamed from
7143 res_thread_freeres. No longer static. Remove thread shutdown
7144 hook registration.
7145 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
7146 * resolv/resolv_conf.c (freeres): Remove incorrect section
7147 attribute and use libc_freeres_fn.
7148 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
7149 strerror_thread_freeres. No longer static. Remove thread
7150 shutdown hook registration.
7151 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
7152 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
7153 shutdown hook registration.
7154 * Makerules (shlib.lds): Do not provide section boundary symbols
7155 for __libc_thread_subfreeres.
7156 * manual/memory.texi (Basic Allocation): Update comment.
7157
935d920e
FW
71582018-06-26 Florian Weimer <fweimer@redhat.com>
7159
7160 Remove always-defined _RPC_THREAD_SAFE_ macro.
7161 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
7162 Do not define _RPC_THREAD_SAFE_.
7163 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
7164 conditional.
7165 * sunrpc/clnt_perr.c: Likewise.
7166 * sunrpc/clnt_raw.c: Likewise.
7167 * sunrpc/clnt_simp.c: Likewise.
7168 * sunrpc/key_call.c: Likewise.
7169 * sunrpc/rpc_common.c: Likewise.
7170 * sunrpc/rpc_main.c: Likewise.
7171 * sunrpc/rpc_thread.c: Likewise.
7172 * sunrpc/svc.c: Likewise.
7173 * sunrpc/svc_raw.c: Likewise.
7174 * sunrpc/svc_simple.c: Likewise.
7175 * sumrpc/svcauth_des.c: Likewise.
7176
29055464
FW
71772018-06-26 Florian Weimer <fweimer@redhat.com>
7178
7179 * libio/Makefile (tests-internal): Add tst-vtables,
7180 tst-vtables-interposed.
7181 * libio/tst-vtables.c: New file.
7182 * libio/tst-vtables-common.c: Likewise.
7183 * libio/tst-vtables-interposed.c: Likewise.
7184
5c0202af
FW
71852018-06-26 Florian Weimer <fweimer@redhat.com>
7186
7187 * support/support_test_main.c (support_test_main): Only call
7188 setvbuf if not disables.
7189 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
7190 * support/test-driver.h (struct test_config): Add no_setvbuf member.
7191
c402355d
FW
71922018-06-26 Florian Weimer <fweimer@redhat.com>
7193
7194 [BZ #23313]
7195 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
7196
43b1048a
FW
71972018-06-25 Florian Weimer <fweimer@redhat.com>
7198
7199 [BZ #18023]
7200 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7201 Use struct scratch_buffer instead of extend_alloca.
7202
1599ed4e
FW
72032018-06-25 Florian Weimer <fweimer@redhat.com>
7204
7205 [BZ #18023]
7206 * nss/getent.c (initgroups_keys): Use dynarray instead of
7207 extend_alloca.
7208
a26fe163
FW
72092018-06-25 Florian Weimer <fweimer@redhat.com>
7210
7211 [BZ #18023]
7212 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
7213 Use struct scratch_buffer instead of extend_alloca.
7214
90d9d9ce
FW
72152018-06-25 Florian Weimer <fweimer@redhat.com>
7216
7217 [BZ #18023]
7218 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
7219 back to malloc directly, without stack allocations.
7220
6b7b2aba
FW
72212018-06-25 Florian Weimer <fweimer@redhat.com>
7222
7223 [BZ #18023]
7224 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
7225 of extend_alloca.
7226
2f9f0d18
FW
72272018-06-25 Florian Weimer <fweimer@redhat.com>
7228
7229 [BZ #18023]
7230 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
7231 of extend_alloca.
7232 * nscd/hstcache.c (addhstbyX): Likewise.
7233 * nscd/pwdcache.c (addpwbyX): Likewise.
7234 * nscd/servicescache.c (addservbyX): Likewise.
7235
318bad78
FW
72362018-06-25 Florian Weimer <fweimer@redhat.com>
7237
7238 [BZ #18023]
7239 * nscd/connections.c (read_cmdline): New function.
7240 (restart): Use it. Update comment.
7241
189699ab
RL
72422018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
7243
7244 [BZ #23140]
7245 * localedata/locales/csb_PL (mon): Rename to...
7246 (alt_mon): This.
7247 (abmon): Rename to...
7248 (ab_alt_mon): This.
7249 (mon): Add with proper genitive forms, copy from Wikipedia.
7250 (abmon): Likewise.
7251
0ea3f13c
RL
72522018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
7253
7254 [BZ #19485]
7255 * localedata/locales/csb_PL (mon): Fix typos:
7256 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
7257 (yesstr): Add, value is "jo".
7258 (nostr): Add, value is "nié".
7259
d93f4ff1
TMQMF
72602018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7261
7262 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
7263 all log1p and significand functions on m680x0.
7264 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
7265 of s_significand.c..
7266 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
7267 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
7268 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
7269 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
7270 s_log1p.c and include it..
7271
f6299d2a
VC
72722018-06-21 Vincent Chen <vincentc@andestech.com>
7273
7274 * elf/elf.h (R_NDS32_NONE): New define.
7275 (R_NDS32_32_RELA): Likewise.
7276 (R_NDS32_COPY): Likewise.
7277 (R_NDS32_GLOB_DAT): Likewise.
7278 (R_NDS32_JUMP_SLOT): Likewise.
7279 (R_NDS32_RELATIVE): Likewise.
7280 (R_NDS32_TLS_TPOFF): Likewise.
7281 (R_NDS32_TLS_DESC): Likewise.
7282
61ab61c2
MW
72832018-06-21 Mark Wielaard <mark@klomp.org>
7284
7285 * elf/elf.h (R_BPF_MAP_FD): Removed.
7286 (R_BPF_64_64, R_BPF_64_32): New.
7287
f496b28e
FW
72882018-06-21 Florian Weimer <fweimer@redhat.com>
7289
7290 [BZ #23253]
7291 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
7292 Renamed from libc_feholdsetround_ctx.
7293 (default_libc_feresetround_ctx): Renamed from
7294 libc_feresetround_ctx.
7295 (default_libc_feholdsetround_noex_ctx): Renamed from
7296 libc_feholdsetround_noex_ctx.
7297 (default_libc_feresetround_noex_ctx): Renamed from
7298 libc_feresetround_noex_ctx.
7299 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
7300 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
7301 forwardning to the old implementations under the new names.
7302 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
7303 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
7304 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
7305 (libc_feresetround_ctx): Forward to default implements for i386
7306 and MATH_SET_BOTH_ROUNDING_MODES.
7307 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
7308 Add -DMATH_SET_BOTH_ROUNDING_MODES.
7309
1760daad
JM
73102018-06-20 Joseph Myers <joseph@codesourcery.com>
7311
99c7adf9
JM
7312 * string/tst-cmp.c: Include <libc-diag.h>.
7313 (strncmp_max): Disable -Wstringop-overflow= around call to
7314 strncmp.
7315 (strncasecmp_max): Disable -Wstringop-overflow= around call to
7316 strncasecmp.
7317
1760daad
JM
7318 * string/bug-strpbrk1.c: Include <libc-diag.h>.
7319 (main): Disable -Wunused-value around call to strpbrk.
7320 * string/bug-strspn1.c: Include <libc-diag.h>.
7321 (main): Disable -Wunused-value around call to strspn.
7322
209ae17c
TMQMF
73232018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7324 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7325
7326 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
7327 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
7328
badba23c
TMQMF
73292018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7330
5e79e029
TMQMF
7331 * math/Makefile (libm-calls): Move s_significandF to...
7332 (gen-libm-calls): ... here.
7333 * math/s_significand_template.c: New file.
7334 * math/s_significand.c: Removed.
7335 * math/s_significandf.c: Removed.
7336 * math/s_significandl.c: Removed.
7337 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
7338 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
7339
badba23c
TMQMF
7340 * math/e_exp2_template.c (declare_mgen_finite_alias,
7341 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
7342 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
7343 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
7344
2d1c89a5
FW
73452018-06-20 Florian Weimer <fweimer@redhat.com>
7346
7347 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
7348
646c2833
JM
73492018-06-19 Joseph Myers <joseph@codesourcery.com>
7350
7351 [BZ #23280]
7352 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
7353 floating-point number to strtod functions rather than possibly
7354 negating result of those functions.
7355 * stdio-common/tst-scanf-round.c: New file.
7356 * stdio-common/Makefile (tests): Add tst-scanf-round.
7357 ($(objpfx)tst-scanf-round): Depend on $(libm).
7358
c77e4dc0
ST
73592018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
7360
7361 * sysdeps/mach/hurd/localplt.data: Move to...
7362 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
7363 R_386_GLOB_DAT like on Linux i386.
7364
91b2f3e5
JM
73652018-06-18 Joseph Myers <joseph@codesourcery.com>
7366
f2857da7
JM
7367 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
7368 (SHM_STAT_ANY): New macro.
7369 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
7370 (SHM_STAT_ANY): Likewise.
7371 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
7372 (SHM_STAT_ANY): Likewise.
7373 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
7374 (SHM_STAT_ANY): Likewise.
7375 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
7376 (SHM_STAT_ANY): Likewise.
7377 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
7378 (SHM_STAT_ANY): Likewise.
7379 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
7380 (SHM_STAT_ANY): Likewise.
7381 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
7382 (SHM_STAT_ANY): Likewise.
7383 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
7384 (SHM_STAT_ANY): Likewise.
7385 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
7386 (SHM_STAT_ANY): Likewise.
7387 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
7388 (SHM_STAT_ANY): Likewise.
7389 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
7390 (SHM_STAT_ANY): Likewise.
7391
176c7fee
JM
7392 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
7393 (SEM_STAT_ANY): New macro.
7394 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
7395 (SEM_STAT_ANY): Likewise.
7396 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
7397 (SEM_STAT_ANY): Likewise.
7398 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
7399 (SEM_STAT_ANY): Likewise.
7400 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
7401 (SEM_STAT_ANY): Likewise.
7402 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
7403 (SEM_STAT_ANY): Likewise.
7404 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
7405 (SEM_STAT_ANY): Likewise.
7406 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
7407 (SEM_STAT_ANY): Likewise.
7408 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
7409 (SEM_STAT_ANY): Likewise.
7410 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
7411 (SEM_STAT_ANY): Likewise.
7412
86bf0019
JM
7413 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
7414 (MSG_STAT_ANY): New macro.
7415 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
7416 (MSG_STAT_ANY): Likewise.
7417 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
7418 (MSG_STAT_ANY): Likewise.
7419 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
7420 (MSG_STAT_ANY): Likewise.
7421 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
7422 (MSG_STAT_ANY): Likewise.
7423 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
7424 (MSG_STAT_ANY): Likewise.
7425 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
7426 (MSG_STAT_ANY): Likewise.
7427 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
7428 (MSG_STAT_ANY): Likewise.
7429 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
7430 (MSG_STAT_ANY): Likewise.
7431 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
7432 (MSG_STAT_ANY): Likewise.
7433
91b2f3e5
JM
7434 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
7435 (MAP_TYPE): Change value to 0x2b.
7436
3fe8fc79
FW
74372018-06-18 Florian Weimer <fweimer@redhat.com>
7438
7439 [BZ #15722]
7440 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
7441 socket with SOCK_CLOEXEC.
7442
809dc95d
JM
74432018-06-18 Joseph Myers <joseph@codesourcery.com>
7444
7445 [BZ #23303]
7446 * sysdeps/powerpc/powerpc64/le/Makefile
7447 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
7448 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
7449 (gnulib-tests): Also add $(f128-loader-link) for
7450 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
7451
298a8b59
ST
74522018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
7453
7454 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
7455 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
7456 of sendfile.
7457 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
7458 (sendfile64): New strong alias.
faf7bbc2
ST
7459 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
7460 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
7461 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
f96a85e0
ST
7462 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
7463 attribute.
7464 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
7465 ___pthread_get_cleanup_stack.
932d05f0 7466 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
c1b7586c
ST
7467 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
7468 * mach/shortcut.awk: Make syscall stubs include
7469 <mach-shortcuts-hidden.h> and add hidden definition.
7470 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
7a646a93
ST
7471 (__mach_msg): Add hidden prototype.
7472 * mach/msg.c: Include <mach.h>.
7473 (__mach_msg): Add hidden definition.
b0344cf5
ST
7474 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
7475 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
7476 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
7477 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
8c9d5342
ST
7478 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
7479 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
4d0ac037
ST
7480 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
7481 prototype and definition.
7482 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
7483 hidden target for _hurd_self_sigstate.
298a8b59 7484
b12c1e79
JM
74852018-06-15 Joseph Myers <joseph@codesourcery.com>
7486
7487 [BZ #23007]
7488 * stdlib/tst-strtod-nan-sign-main.c: New file.
7489 * stdlib/tst-strtod-nan-sign.c: Likewise.
7490 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
7491 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
7492 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
7493 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
7494 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
7495
b0debe14
HB
74962018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
7497
7498 [BZ #23007]
7499 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
7500 appropriate sign.
7501
14beef75
FW
75022018-06-14 Florian Weimer <fweimer@redhat.com>
7503
7504 [BZ #23290]
7505 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
7506 that the result stays within the ISO-8859-1 range.
7507 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
7508 characters are defined in IBM273.
7509
c596630b
ST
75102018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
7511
7512 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
7513 __mach_task_self): Remove attribute_hidden.
7514
35ebb6b0
JM
75152018-06-14 Joseph Myers <joseph@codesourcery.com>
7516
7517 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
7518 ignore -Wrestrict for one test.
7519
3c7b9f1f
SE
75202018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
7521 Szabolcs Nagy <szabolcs.nagy@arm.com>
7522
7523 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
7524
c59ee916
FW
75252018-06-14 Florian Weimer <fweimer@redhat.com>
7526
7527 * scripts/update-abilist.sh: Accept empty list of files to patch.
7528
43b5ff50
ST
75292018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
7530
7531 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
7532 test-xfail-check-abi-libmachuser): Add.
c8c910ed
ST
7533 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
7534 __libc_read and __libc_write to __read and __write.
c8c6e6d6 7535 * sysdeps/hurd/include/hurd/port.h: New file.
126b3ec3
ST
7536 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
7537 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
7538 __thread_switch, __evc_wait): Move declarations to...
7539 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
7540 attribute_hidden.
06d1a826
ST
7541 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
7542 use PLT to call _hurd_self_sigstate.
43b5ff50 7543
fcd6b5ac
JM
75442018-06-13 Joseph Myers <joseph@codesourcery.com>
7545
7546 [BZ #23279]
7547 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
7548 MAX_EXP as overflowing.
7549 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
7550 overflow flag.
7551 (round_str): Output also whether result overflows in each rounding
7552 mode.
7553 * stdlib/tst-strtod-round-data: Add more tests.
7554 * stdlib/tst-strtod-round-data.h: Regenerated.
7555 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
7556 (TEST): Handle extra arguments for overflow flags.
7557 (struct test_overflow): New type.
7558 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
7559 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
7560 (test_in_one_mode): Take argument with overflow information.
7561 (do_test): Update calls to test_in_one_mode.
7562
35df5a77
CD
75632018-06-12 Carlos O'Donell <carlos@redhat.com>
7564
a745c837
CD
7565 * elf/dl-load (_dl_dst_substitute): Correct comment.
7566 (_dl_dst_count): Likewise.
7567
35df5a77
CD
7568 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
7569 lll_futex_timed_wait.
7570
48b12ed5
JM
75712018-06-12 Joseph Myers <joseph@codesourcery.com>
7572
7573 [BZ #23277]
7574 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
7575 attribute.
7576 * math/test-nan-const.c: New file.
7577 * math/Makefile (tests): Add test-nan-const.
7578 (CFLAGS-test-nan-const.c): New variable.
7579
cb8f6aff
L
75802018-06-12 H.J. Lu <hongjiu.lu@intel.com>
7581
7582 * benchtests/scripts/compare_strings.py (process_results): Add
7583 funcs argument. Compare only functions which are selected.
7584 (main): Check if base function is among selected functions.
7585 Pass selected functions to process_results.
7586 (__main__): Add -f/--functions argument.
7587
fc2ba803
HZ
75882018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
7589 Hongbo Zhang <hongbo.zhang@linaro.org>
7590
7591 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
7592 __memcpy_falkor for phecda core.
7593 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
7594 __memmove_falkor for phecda core.
7595 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
7596 __memset_falkor for phecda core.
7597 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
7598 for phecda core.
7599 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
7600 macro to identify phecda core.
7601
5aad5f61
CD
76022018-06-12 Carlos O'Donell <carlos@redhat.com>
7603 Andreas Schwab <schwab@suse.de>
7604 Dmitry V. Levin <ldv@altlinux.org>
7605 Florian Weimer <fweimer@redhat.com>
7606
7607 [BZ #23102]
7608 [BZ #21942]
7609 [BZ #18018]
7610 [BZ #23259]
7611 CVE-2011-0536
7612 * elf/dl-dst.h: Remove DL_DST_COUNT.
7613 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
7614 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
7615 (is_dst): Comment. Support ELF gABI.
7616 (_dl_dst_count): Comment. Simplify and count DSTs.
7617 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
7618 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
7619 locals.
7620
329ea513
ZW
76212018-06-12 Zack Weinberg <zackw@panix.com>
7622
7623 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
7624 * sysdeps/unix/sysv/linux/dl-sysdep.c
7625 Include not-cancel.h. Use __close_nocancel instead of __close,
7626 __open64_nocancel instead of __open, __read_nocancel instead of
7627 __libc_read, and __write_nocancel instead of __libc_write.
7628
7629 * csu/check_fds.c (check_one_fd)
7630 * sysdeps/posix/fdopendir.c (__fdopendir)
7631 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
7632 instead of __fcntl and/or __libc_fcntl.
7633
7634 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
7635 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
7636 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
7637 Use __open64_nocancel instead of __open_nocancel.
7638
7639 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
7640 hidden_proto declarations to the end and issue them if either
7641 IS_IN(libc) or IS_IN(rtld).
7642 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
7643 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
7644 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
7645 read_nocancel, waitpid_nocancel, write_nocancel.
7646
7647 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
7648 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
7649 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
7650
7651 * nptl/pt-fcntl.c: New file.
7652 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
7653 (libpthread-routines): Add pt-fcntl.
7654 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
7655 (__libc_fcntl): Remove attribute_hidden.
7656 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
7657 __fcntl_nocancel_adjusted, not fcntl_common.
7658 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
7659 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
7660 to fcntl_nocancel.c.
7661 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
7662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
7663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7664 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
7665
7666 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
7667 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
7668 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
7669 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
7670 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
7671 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
7672 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
7673 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
7674 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
7675 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
7676 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
7677 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
7678 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
7679 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
7680 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
7681 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
7682 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
7683 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
7684 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
7685 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
7686
7687 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
7688 libpthread-routines.
7689 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
7690 defines nothing.
7691
7692 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
7693 __libc_read, and __write instead of __libc_write. Define
7694 __open64 in addition to __open.
7695
0221ce2a
L
76962018-06-12 H.J. Lu <hongjiu.lu@intel.com>
7697
7698 [BZ #23250]
7699 [BZ #10686]
7700 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
7701 to _private_tm[3] and add __glibc_reserved2.
7702 Add _Static_assert of offset of __private_ss == 0x30.
7703 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
7704 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
7705
e826574c
FW
77062018-06-12 Florian Weimer <fweimer@redhat.com>
7707
7708 x86: Make strncmp usable from rtld.
7709 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
7710 __strncmp_ia32 if in libc (and not in rtld).
7711 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
7712 strncmp if not in libc (and not to __strncmp_sse2).
7713
c4ad5782
RL
77142018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
7715
7716 [BZ #23140]
7717 * localedata/locales/gd_GB (mon): Rename to...
7718 (alt_mon): This.
7719 (mon): Import from CLDR (genitive case).
7720 * localedata/locales/hsb_DE (mon): Rename to...
7721 (alt_mon): This.
7722 (mon): Import from CLDR (genitive case).
7723 * localedata/locales/wa_BE (mon): Rename to...
7724 (alt_mon): This.
7725 (mon): Add, fill with the proper genitive forms, but CLDR data
7726 is incomplete; completed according to the comments in this file.
7727 (d_t_fmt): Do not use "di" before the month name, no longer needed.
7728
7729 * localedata/locales/wa_BE (country_name): Reword
7730 "Beljike" -> "Beldjike".
7731
ca121b11
JM
77322018-06-11 Joseph Myers <joseph@codesourcery.com>
7733
7734 [BZ #23272]
7735 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
7736 cases of non-finite arguments.
7737 * math/libm-test-fma.inc (fma_test_data): Add more tests.
7738
2b69fecb
JDA
77392018-06-10 John David Anglin <danglin@gcc.gnu.org>
7740
7741 [BZ #23174]
7742 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
7743
283d9851
AZ
77442018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7745
7746 [BZ #23264]
7747 * include/unistd.h (__execvpex): New prototype.
7748 * posix/Makefile (tests): Add tst-spawn4.
7749 (tests-internal): Add tst-spawn4-compat.
7750 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
7751 * posix/tst-spawn4-compat.c: New file.
7752 * posix/tst-spawn4.c: Likewise.
7753 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
7754 binaries as shell scripts.
7755 * sysdeps/posix/spawni.c (__spawni): Likewise.
7756
67c05796
L
77572018-06-08 H.J. Lu <hongjiu.lu@intel.com>
7758
7759 [BZ #23145]
7760 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
7761 ($(all-built-dso:=.dynsym): New target.
7762 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
7763 ($(objpfx)check-initfini.out): New target.
7764 (generated): Add check-initfini.out.
7765 * scripts/check-initfini.awk: New file.
7766 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
7767 (_fini): Likewise.
7768 * sysdeps/alpha/crti.S (_init): Mark as hidden.
7769 (_fini): Likewise.
7770 * sysdeps/arm/crti.S (_init): Mark as hidden.
7771 (_fini): Likewise.
7772 * sysdeps/hppa/crti.S (_init): Mark as hidden.
7773 (_fini): Likewise.
7774 * sysdeps/i386/crti.S (_init): Mark as hidden.
7775 (_fini): Likewise.
7776 * sysdeps/ia64/crti.S (_init): Mark as hidden.
7777 (_fini): Likewise.
7778 * sysdeps/m68k/crti.S (_init): Mark as hidden.
7779 (_fini): Likewise.
7780 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
7781 (_fini): Likewise.
7782 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
7783 (_fini): Likewise.
7784 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
7785 (_fini): Likewise.
7786 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
7787 (_fini): Likewise.
7788 * sysdeps/nios2/crti.S (_init): Mark as hidden.
7789 (_fini): Likewise.
7790 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
7791 (_fini): Likewise.
7792 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
7793 (_fini): Likewise.
7794 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
7795 (_fini): Likewise.
7796 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
7797 (_fini): Likewise.
7798 * sysdeps/sh/crti.S (_init): Mark as hidden.
7799 (_fini): Likewise.
7800 * sysdeps/sparc/crti.S (_init): Mark as hidden.
7801 (_fini): Likewise.
7802 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
7803 (_fini): Likewise.
7804
1c09524e
TMQMF
78052018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7806
7807 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
7808 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
7809 and TF redirection to KFtype and KF only when the default
7810 long double type is not the IEEE 128-bit floating point type.
7811
0e0577c9
JM
78122018-06-05 Joseph Myers <joseph@codesourcery.com>
7813
0c1c33b2
JM
7814 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
7815 macro.
7816 (HWCAP_USCAT): Likewise.
7817 (HWCAP_ILRCPC): Likewise.
7818 (HWCAP_FLAGM): Likewise.
7819 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
7820 Increase to 28.
7821 (_dl_aarch64_cap_flags): Add new flag names.
7822
bef1cbf4
JM
7823 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
7824 (MAP_FIXED_NOREPLACE): New macro.
7825 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
7826 (MAP_FIXED_NOREPLACE): Likewise.
7827 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
7828 (MAP_FIXED_NOREPLACE): Likewise.
7829 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
7830 (MAP_FIXED_NOREPLACE): Likewise.
7831 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
7832 (MAP_FIXED_NOREPLACE): Likewise.
7833 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
7834 (MAP_FIXED_NOREPLACE): Likewise.
7835 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
7836 (MAP_FIXED_NOREPLACE): Likewise.
7837 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
7838 (MAP_FIXED_NOREPLACE): Likewise.
7839 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
7840 (MAP_FIXED_NOREPLACE): Likewise.
7841 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
7842 (MAP_FIXED_NOREPLACE): Likewise.
7843 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
7844 (MAP_FIXED_NOREPLACE): Likewise.
7845 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
7846 (MAP_FIXED_NOREPLACE): Likewise.
7847 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
7848 (MAP_FIXED_NOREPLACE): Likewise.
7849 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
7850 (MAP_FIXED_NOREPLACE): Likewise.
7851 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
7852 (MAP_FIXED_NOREPLACE): Likewise.
7853
0e0577c9
JM
7854 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7855 version to 4.17.
7856
ab3a0da0
JM
78572018-06-04 Joseph Myers <joseph@codesourcery.com>
7858
7859 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7860 version to 4.17
7861
d2d9dfb6
ST
78622018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7863
7864 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
7865 int.
7866 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
7867
a650b05e
LS
78682018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7869
7870 * benchtests/scripts/compare_string.py: (process_results) Catch
7871 exception in non-existent base_func and catch exception in
7872 non-existent attribute.
7873 (parse_file) Catch exception if input file does not exist.
7874
195abbf4
LS
78752018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7876
7877 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
7878 options to avoid diff calculation and omit header, respectively.
7879 (main): process --no-diff and --no-header
7880
14570163
LS
78812018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7882 H.J. Lu <hongjiu.lu@intel.com>
7883
7884 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7885 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
7886 wcsncmp-sse2.
7887 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7888 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
7889 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
7890 and __wcsncmp_sse2.
7891 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
7892 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
7893 AVX unaligned load is fast and vzeroupper is preferred.
7894 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
7895 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
7896 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
7897 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
7898 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
7899 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
7900 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
7901 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
7902 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
7903 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
7904 is undefined.
7905
e02c026f
FW
79062018-06-01 Florian Weimer <fweimer@redhat.com>
7907
7908 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
7909 configuring with --disable-multi-arch, building with
7910 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
7911 Haswell-era CPU.
7912
d8c19275
FW
79132018-06-01 Florian Weimer <fweimer@redhat.com>
7914
7915 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
7916 results from building with “-march=x86-64 -mtune=generic
7917 -mfpmath=sse” and running on a Haswell-era CPU.
7918
0d2163eb
JM
79192018-06-01 Joseph Myers <joseph@codesourcery.com>
7920
7921 [BZ #18473]
7922 * soft-fp/sqrttf2.c: Remove file.
7923 * soft-fp/sqrtdf2.c: Move to ....
7924 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
7925 <shlib-compat.h>.
7926 (__sqrtdf2): Make conditional on
7927 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
7928 symbol.
7929 * soft-fp/sqrtsf2.c: Move to ....
7930 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
7931 <shlib-compat.h>.
7932 (__sqrtsf2): Make conditional on
7933 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
7934 symbol.
7935 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
7936 (gcc-double-routines): Remove sqrtdf2.
7937 (gcc-quad-routines): Remove sqrttf2.
7938 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
7939 Do not filter out sqrtsf2 and sqrtdf2.
7940 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7941 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
7942
10450210
FW
79432018-06-01 Florian Weimer <fweimer@redhat.com>
7944
7945 * sysdeps/generic/libcidn.abilist: Remove file.
7946
4e8a6346
FW
79472018-06-01 Florian Weimer <fweimer@redhat.com>
7948
7949 [BZ #23236]
7950 * libio/strfile.h (struct _IO_str_fields): Rename members to
7951 discourage their use and add comment.
7952 (_IO_STR_DYNAMIC): Remove unused macro.
7953 * libio/strops.c (_IO_str_init_static_internal): Do not use
7954 callback pointers. Call malloc and free.
7955 (_IO_str_overflow): Do not use callback pointers. Call malloc
7956 and free.
7957 (enlarge_userbuf): Likewise.
7958 (_IO_str_finish): Call free.
7959 * libio/wstrops.c (_IO_wstr_init_static): Initialize
7960 _allocate_buffer_unused.
7961 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
7962 and free.
7963 (enlarge_userbuf): Likewise.
7964 (_IO_wstr_finish): Call free.
7965 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
7966 _allocate_buffer_unused, _free_buffer_unused.
7967 * libio/memstream.c (__open_memstream): Likewise.
7968 * libio/vasprintf.c (_IO_vasprintf): Likewise.
7969 * libio/wmemstream.c (open_wmemstream): Likewise.
7970
50d004c9
PP
79712018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
7972
7973 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
7974 AMD Ryzen 7 1800X.
7975
2c93fce7
RS
79762018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7977
7978 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
7979 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
7980 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
7981 New file.
7982 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
7983 Likewise.
7984 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
7985
0ce2fa69
FW
79862018-05-29 Florian Weimer <fweimer@redhat.com>
7987
7988 * support/Makefile (libsupport-routines): Add
7989 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
7990 xpthread_barrierattr_setpshared.
7991 * support/xpthread_barrierattr_destroy.c: New file.
7992 * support/xpthread_barrierattr_init.c: Likewise.
7993 * support/xpthread_barrierattr_setpshared.c: Likewise.
7994
7f7b5d8d
L
79952018-05-29 H.J. Lu <hongjiu.lu@intel.com>
7996
7997 [BZ #23206]
7998 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
7999 _r_debug and update DT_DEBUG for debugger.
8000
e4890300
FW
80012018-05-29 Florian Weimer <fweimer@redhat.com>
8002
8003 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
8004 (tst-strtod5i.out): Likewise.
8005
2c753f3e
JM
80062018-05-25 Joseph Myers <joseph@codesourcery.com>
8007
b5453d9f
JM
8008 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
8009 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
8010 (sparc64-quad-routines): New variable. Moved from ....
8011 [$(subdir) = soft-fp] (sysdep_routines): Add
8012 $(sparc64-quad-routines). Moved from ....
8013 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
8014 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
8015 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
8016 moved from ....
8017 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
8018 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
8019 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
8020 * sysdeps/sparc/sparc64/qp_add.c: ... here.
8021 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
8022 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
8023 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
8024 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
8025 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
8026 * sysdeps/sparc/sparc64/qp_div.c: ... here.
8027 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
8028 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
8029 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
8030 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
8031 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
8032 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
8033 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
8034 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
8035 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
8036 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
8037 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
8038 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
8039 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
8040 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
8041 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
8042 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
8043 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
8044 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
8045 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
8046 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
8047 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
8048 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
8049 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
8050 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
8051 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
8052 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
8053 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
8054 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
8055 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
8056 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
8057 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
8058 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
8059 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
8060 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
8061 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
8062 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
8063 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
8064 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
8065 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
8066 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
8067 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
8068 * sysdeps/sparc/sparc64/qp_util.c: ... here.
8069 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
8070 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
8071 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
8072 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
8073 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
8074 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
8075
2c753f3e
JM
8076 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
8077 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
8078 (sparc32-quad-routines): New variable. Moved from ....
8079 [$(subdir) = soft-fp] (sysdep_routines): Add
8080 $(sparc32-quad-routines). Moved from ....
8081 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
8082 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
8083 moved from ....
8084 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
8085 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
8086 * sysdeps/sparc/sparc32/q_add.c: ... here.
8087 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
8088 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
8089 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
8090 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
8091 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
8092 * sysdeps/sparc/sparc32/q_div.c: ... here.
8093 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
8094 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
8095 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
8096 * sysdeps/sparc/sparc32/q_feq.c: ... here.
8097 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
8098 * sysdeps/sparc/sparc32/q_fge.c: ... here.
8099 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
8100 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
8101 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
8102 * sysdeps/sparc/sparc32/q_fle.c: ... here.
8103 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
8104 * sysdeps/sparc/sparc32/q_flt.c: ... here.
8105 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
8106 * sysdeps/sparc/sparc32/q_fne.c: ... here.
8107 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
8108 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
8109 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
8110 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
8111 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
8112 * sysdeps/sparc/sparc32/q_mul.c: ... here.
8113 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
8114 * sysdeps/sparc/sparc32/q_neg.c: ... here.
8115 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
8116 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
8117 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
8118 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
8119 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
8120 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
8121 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
8122 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
8123 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
8124 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
8125 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
8126 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
8127 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
8128 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
8129 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
8130 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
8131 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
8132 * sysdeps/sparc/sparc32/q_sub.c: ... here.
8133 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
8134 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
8135 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
8136 * sysdeps/sparc/sparc32/q_util.c: ... here.
8137 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
8138 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
8139 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
8140 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
8141
c1dc1e1b
TMQMF
81422018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8143 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8144
8145 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
8146 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
8147 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
8148 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
8149
14186e8d
JM
81502018-05-24 Joseph Myers <joseph@codesourcery.com>
8151
8152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
8153 powerpc/soft-fp.
8154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8155 Likewise.
8156 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
8157 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
8158
fb0e10b8
GG
81592018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8160
8161 [BZ #23171]
8162 * math/math.h [C++] (iseqsig): Fix parameter type for the long
8163 double version.
8164
1dfeb17e
JM
81652018-05-23 Joseph Myers <joseph@codesourcery.com>
8166
8167 * sysdeps/sh/Implies: Remove sh/soft-fp.
8168 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
8169 * sysdeps/sh/sfp-machine.h: ... here.
8170
727b38df
L
81712018-05-23 H.J. Lu <hongjiu.lu@intel.com>
8172
8173 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
8174 (__mempcpy_erms): Skip zero length.
8175 (__memmove_erms): Likewise.
8176 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
8177 (__memset_erms): Likewise.
8178
2834fb46
JM
81792018-05-23 Joseph Myers <joseph@codesourcery.com>
8180
8181 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
8182 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
8183 Add functions moved from ....
8184 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
8185 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
8186 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
8187 from ....
8188 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
8189 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
8190 * sysdeps/alpha/e_sqrtl.c: ... here.
8191 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
8192 * sysdeps/alpha/local-soft-fp.h: ... here.
8193 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
8194 * sysdeps/alpha/ots_add.c: ... here.
8195 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
8196 * sysdeps/alpha/ots_cmp.c: ... here.
8197 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
8198 * sysdeps/alpha/ots_cmpe.c: ... here.
8199 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
8200 * sysdeps/alpha/ots_cvtqux.c: ... here.
8201 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
8202 * sysdeps/alpha/ots_cvtqx.c: ... here.
8203 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
8204 * sysdeps/alpha/ots_cvttx.c: ... here.
8205 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
8206 * sysdeps/alpha/ots_cvtxq.c: ... here.
8207 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
8208 * sysdeps/alpha/ots_cvtxt.c: ... here.
8209 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
8210 * sysdeps/alpha/ots_div.c: ... here.
8211 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
8212 * sysdeps/alpha/ots_mul.c: ... here.
8213 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
8214 * sysdeps/alpha/ots_nintxq.c: ... here.
8215 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
8216 * sysdeps/alpha/ots_sub.c: ... here.
8217 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
8218 * sysdeps/alpha/sfp-machine.h: ... here.
8219
7f9f1ecb
FW
82202018-05-23 Florian Weimer <fweimer@redhat.com>
8221
8222 [BZ #19728]
8223 [BZ #19729]
8224 [BZ #22247]
8225 CVE-2016-6261
8226 CVE-2016-6263
8227 CVE-2017-14062
8228 Switch to extern IDNA implementation (libidn2).
8229 * libidn: Remove subdirectory.
8230 * LICENSES: Do not mention licensing conditions for the removed
8231 libidn code.
8232 * config.h.in (HAVE_LIBIDN): Remove.
8233 * include/dlfcn.h (__libc_dlopen): Update comment.
8234 * include/idna.h: Remove file.
8235 * inet/Makefile (routines): Add idna.
8236 (tests-static, tests-internal): Add tst-idna_name_classify.
8237 (LOCALES): Generate locales for tests.
8238 (tst-idna_name_classify.out): Depend on generated locales.
8239 * inet/idna_name_classify.c: New file.
8240 * inet/tst-idna_name_classify.c: Likewise.
8241 * inet/net-internal.h (__idna_to_dns_encoding)
8242 (__idna_from_dns_encoding): Declare.
8243 * inet/net-internal.h (enum idna_name_classification): Define.
8244 (__idna_name_classify): Declare.
8245 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
8246 __idna_from_dns_encoding.
8247 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
8248 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
8249 name as a fallback in case of encoding errors.
8250 (getnameinfo): Use DEPRECATED_NI_IDN.
8251 * inet/idna.c: New file.
8252 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
8253 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
8254 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
8255 (modules-names): Add tst-no-libidn2.
8256 (extra-test-objs): Add tst-no-libidn2.os.
8257 (LDFLAGS-tst-no-libidn2.so): Set soname.
8258 (LOCALES): Set, and generate locales.
8259 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
8260 (tst-resolv-ai_idn-latin1): Likewise.
8261 (tst-resolv-ai_idn-nolibidn2): Likewise.
8262 (tst-resolv-ai_idn.out): Depend on locales.
8263 (tst-resolv-ai_idn-latin1.out): Depend on locales.
8264 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
8265 tst-no-libidn2.so.
8266 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
8267 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
8268 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
8269 * resolv/tst-resolv-ai_idn.c: New file.
8270 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
8271 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
8272 * resolv/tst-no-libidn2.c: Likewise.
8273 * support/support_format_addrinfo.c (format_ai_flags): Do not
8274 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
8275 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
8276 (gaih_inet): Call __idna_to_dns_encoding and
8277 __idna_from_dns_encoding, and use the original (punycode) name if
8278 __idna_from_dns_encoding fails due to an encoding error.
8279 (getaddrinfo): Use DEPRECATED_AI_IDN.
8280 * sysdeps/unix/inet/Subdirs (libidn): Remove.
8281 * sysdeps/unix/inet/configure: Remove file.
8282 * sysdeps/unix/inet/configure.ac: Likewise.
8283
5f7b841d
FW
82842018-05-23 Florian Weimer <fweimer@redhat.com>
8285
8286 Implement allocate_once.
8287 * include/allocate_once.h: New file.
8288 * misc/allocate_once.c: Likewise.
8289 * misc/tst-allocate_once.c: Likewise.
8290 * misc/Makefile (routines): Add allocate_once.
8291 (tests-internal): Add tst-allocate_once.
8292 (generated): Add tst-allocate_once.mtrace,
8293 tst-allocate_once-mem.out.
8294 (tests-special): Add tst-allocate_once-mem.out.
8295 (tst-allocate_once-ENV): Set MALLOC_TRACE.
8296 (tst-allocate_once-mem.out): Call mtrace.
8297 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
8298
ed983107
L
82992018-05-23 H.J. Lu <hongjiu.lu@intel.com>
8300
8301 [BZ #23196]
8302 * string/test-memcpy.c (do_test1): New function.
8303 (test_main): Call it.
8304
9aaaab7c
AS
83052018-05-23 Andreas Schwab <schwab@suse.de>
8306
8307 [BZ #23196]
8308 CVE-2018-11237
8309 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
8310 (L(preloop_large)): Save initial destination pointer in %r11 and
8311 use it instead of %rax after the loop.
8312 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
8313
5c5c0dd7
JM
83142018-05-22 Joseph Myers <joseph@codesourcery.com>
8315
8f145c77
JM
8316 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
8317 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
8318 -I../soft-fp. Moved from ....
8319 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
8320 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
8321 * sysdeps/aarch64/e_sqrtl.c: ... here.
8322 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
8323 * sysdeps/aarch64/sfp-machine.h: ... here.
8324
3d6302a5
JM
8325 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
8326 -Wmaybe-uninitialized around access to fq[0].
8327 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
8328 Likewise.
8329
5c5c0dd7
JM
8330 [BZ #18471]
8331 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
8332 aliases for non-libc case of versioned symbols.
8333 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
8334 (llseek): Define as compat symbol if
8335 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
8336 with link warning.
8337 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
8338 Make into a compat symbol, disabled for minimum symbol version
8339 GLIBC_2.28 and later.
8340 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
8341
ed0d6988
FW
83422018-05-22 Florian Weimer <fweimer@redhat.com>
8343
8344 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
8345 not add -mpreferred-stack-boundary=4.
8346 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
8347 (stack-align-test-flags): Likewise.
8348 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
8349 Likewise.
8350 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
8351 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
8352 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
8353 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
8354 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
8355 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
8356 (CFLAGS-tst-align2.c): Likewise.
8357
e28e9b1e
L
83582018-05-21 H.J. Lu <hongjiu.lu@intel.com>
8359
8360 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
8361 (index_arch_Prefer_FSRM): Likewise.
8362 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
8363 Also check Prefer_FSRM.
8364 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
8365 Also return OPTIMIZE (erms) for Prefer_FSRM.
8366
1af30adc
L
83672018-05-21 H.J. Lu <hongjiu.lu@intel.com>
8368
8369 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
8370 (index_cpu_FSRM): Likewise.
8371 (reg_FSRM): Likewise.
8372
78274dc8
JM
83732018-05-18 Joseph Myers <joseph@codesourcery.com>
8374
7c67e6e8
JM
8375 * math/gen-tgmath-tests.py: Import sys.
8376 (Tests.__init__): Initialize macros_seen.
8377 (Tests.add_tests): Add macro to macros_seen. Only generate tests
8378 if requested to do so for this macro.
8379 (Tests.add_all_tests): Take argument for macro for which to
8380 generate tests.
8381 (Tests.check_macro_list): New function.
8382 (main): Handle check-list argument and argument specifying macro
8383 for which to generate tests.
8384 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
8385 [PYTHON] (tgmath3-macro-tests): Likewise.
8386 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
8387 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
8388 not test-tgmath3.c.
8389 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
8390 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
8391 to CFLAGS.
8392 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
8393 [PYTHON] ($(foreach
8394 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
8395 rule.
8396 [PYTHON] (tests-special): Add
8397 $(objpfx)test-tgmath3-macro-list.out.
8398 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
8399
ebc129fd
JM
8400 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
8401 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
8402 later.
8403
78274dc8
JM
8404 [BZ #22639]
8405 * time/tzset.c (SECSPERDAY): Cast to time_t.
8406 * time/tst-y2039.c: New file.
8407 * time/Makefile (tests): Add tst-y2039.
8408
6f7fdeeb
LS
84092018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8410
8411 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
8412 (PREFETCH_ONE_SET): Remove duplicate line.
8413
e363a91c
FW
84142018-05-17 Florian Weimer <fweimer@redhat.com>
8415
8416 * sysdeps/generic/math-type-macros-double.h: Include
8417 <math-nan-payload-double.h> after <libm-alias-double.h>.
8418 * sysdeps/generic/math-type-macros-float.h: Include
8419 <math-nan-payload-float.h> after <libm-alias-float.h>.
8420 * sysdeps/generic/math-type-macros-float128.h: Include
8421 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
8422 * sysdeps/generic/math-type-macros-ldouble.h: Include
8423 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
8424
dae6c43c
AS
84252018-05-17 Andreas Schwab <schwab@suse.de>
8426
8427 * resolv/res_send.c (__res_context_send): Don't set errno when
8428 returing error after malloc failure.
8429
0068c085
L
84302018-05-17 H.J. Lu <hongjiu.lu@intel.com>
8431
8432 * nptl/allocatestack.c (allocate_stack): Remove the
8433 !__ASSUME_PRIVATE_FUTEX paths.
8434 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
8435 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
8436 Likewise.
8437 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
8438 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
8439 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
8440 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
8441 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
8442 !__ASSUME_PRIVATE_FUTEX path.
8443 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
8444 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
8445 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
8446 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
8447 !__ASSUME_PRIVATE_FUTEX macros.
8448 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
8449 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
8450 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
8451 * sysdeps/unix/sysv/linux/kernel-features.h
8452 (__ASSUME_PRIVATE_FUTEX): Removed.
8453
632a6cbe
JM
84542018-05-17 Joseph Myers <joseph@codesourcery.com>
8455
8456 * math/Makefile (libm-narrow-fns): Add div.
8457 (libm-test-funcs-narrow): Likewise.
8458 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
8459 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
8460 * math/gen-auto-libm-tests.c (test_functions): Add div.
8461 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
8462 (NARROW_DIV_ROUND_TO_ODD): Likewise.
8463 (NARROW_DIV_TRIVIAL): Likewise.
8464 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
8465 macro.
8466 (__ddivl): Likewise.
8467 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
8468 ddiv.
8469 (CFLAGS-nldbl-ddiv.c): New variable.
8470 (CFLAGS-nldbl-fdiv.c): Likewise.
8471 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
8472 __nldbl_ddivl.
8473 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
8474 prototype.
8475 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
8476 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
8477 * math/auto-libm-test-in: Add tests of div.
8478 * math/auto-libm-test-out-narrow-div: New generated file.
8479 * math/libm-test-narrow-div.inc: New file.
8480 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
8481 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
8482 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
8483 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
8484 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
8485 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
8486 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
8487 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
8488 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
8489 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
8490 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
8491 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
8492 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
8493 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
8494 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
8495 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
8496 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
8497 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
8498 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8499 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
8500 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8501 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8502 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8503 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8504 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8505 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8506 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8507 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8508 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8509 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8510 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8511 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
8513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
8514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
8515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
8516 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
8517 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8518 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8519 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8520 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8521 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8522 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8523 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8524
8c78faa9
AZ
85252018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8526
8527 [BZ #23178]
8528 * nscd/nscd-client.h (sendfileall): Remove prototype.
8529 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
8530 (handle_request): Use writeall instead of sendfileall.
8531 * nscd/aicache.c (addhstaiX): Likewise.
8532 * nscd/grpcache.c (cache_addgr): Likewise.
8533 * nscd/hstcache.c (cache_addhst): Likewise.
8534 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8535 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
8536 * nscd/pwdcache.c (cache_addpw): Likewise.
8537 * nscd/servicescache.c (cache_addserv): Likewise.
8538 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
8539 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
8540 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
8541 Remove define.
8542
04958880
L
85432018-05-16 H.J. Lu <hongjiu.lu@intel.com>
8544
8545 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
8546 Include <string/strncat.c>.
8547 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
8548 alias.
8549 (__GI___strncat): New hidden alias.
8550
c9992d13
JM
85512018-05-16 Joseph Myers <joseph@codesourcery.com>
8552
8553 * sysdeps/mips/mips32/libm-test-ulps: Update.
8554 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8555
2afece36
FW
85562018-05-16 Florian Weimer <fweimer@redhat.com>
8557
8558 * support/Makefile (libsupport-routines): Add support_quote_blob,
8559 support_test_compare_blob.
8560 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
8561 * support/check.h (TEST_COMPARE_BLOB): Define.
8562 (support_test_compare_blob): Declare.
8563 * support/support.h (support_quote_blob): Declare.
8564 * support/support_quote_blob.c: New file.
8565 * support/support_test_compare_blob.c: Likewise.
8566 * support/tst-support_quote_blob.c: Likewise.
8567 * support/tst-test_compare_blob.c: Likewise.
8568
9761bf4d
FW
85692018-05-16 Florian Weimer <fweimer@redhat.com>
8570
8571 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
8572 of <strtod_nan_double.h>.
8573 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
8574 instead of SET_MANTISSA.
8575 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
8576 of include <strtod_nan_float.h>.
8577 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
8578 instead of <strtod_nan_ldouble.h>.
8579 * stdlib/strtod_nan_double.h: Move to ...
8580 * sysdeps/generic/math-nan-payload-double.h: ... here.
8581 (FLOAT): Remove definition.
8582 (SET_MANTISSA): Rename to ...
8583 (SET_NAN_PAYLOAD): ... this.
8584 * stdlib/strtod_nan_float.h: Move to ...
8585 * sysdeps/generic/math-nan-payload-float.h: ... here.
8586 (FLOAT): Remove definition.
8587 (SET_MANTISSA): Rename to ...
8588 (SET_NAN_PAYLOAD): ... this.
8589 * sysdeps/generic/math-type-macros-double.h: Include
8590 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
8591 instead of <math-svid-compat.h>.
8592 * sysdeps/generic/math-type-macros-float.h: Include
8593 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
8594 instead of <math-svid-compat.h>.
8595 * sysdeps/generic/math-type-macros-float128.h: Include
8596 <math-nan-payload-float128.h>.
8597 * sysdeps/generic/math-type-macros-ldouble.h: Include
8598 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
8599 instead of <math-svid-compat.h>.
8600 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
8601 check for definition.
8602 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
8603 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
8604 Include <ieee754_float128.h>.
8605 (FLOAT): Remove definition.
8606 (SET_MANTISSA): Rename to ...
8607 (SET_NAN_PAYLOAD): ... this.
8608 * sysdeps/ieee754/float128/strtof128_nan.c: Include
8609 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
8610 Do not include <float128_private.h>.
8611 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
8612 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
8613 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
8614 (FLOAT): Remove definition.
8615 (SET_MANTISSA): Rename to ...
8616 (SET_NAN_PAYLOAD): ... this.
8617 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
8618 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
8619 (FLOAT): Remove definition.
8620 (SET_MANTISSA): Rename to ...
8621 (SET_NAN_PAYLOAD): ... this.
8622 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
8623 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
8624 (FLOAT): Remove definition.
8625 (SET_MANTISSA): Rename to ...
8626 (SET_NAN_PAYLOAD): ... this.
8627 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
8628 of "../stdlib/strtod_nan_double.h".
8629 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
8630 of "../stdlib/strtod_nan_float.h".
8631 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
8632 instead of "../stdlib/strtod_nan_ldouble.h".
8633 * manual/arith.texi (Parsing of Floats): Adjust comment.
8634
69a01461
JM
86352018-05-16 Joseph Myers <joseph@codesourcery.com>
8636
8637 * math/Makefile (libm-narrow-fns): Add mul.
8638 (libm-test-funcs-narrow): Likewise.
8639 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
8640 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
8641 * math/gen-auto-libm-tests.c (test_functions): Add mul.
8642 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
8643 (NARROW_MUL_ROUND_TO_ODD): Likewise.
8644 (NARROW_MUL_TRIVIAL): Likewise.
8645 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
8646 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
8647 macro.
8648 (__dmull): Likewise.
8649 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
8650 dmul.
8651 (CFLAGS-nldbl-dmul.c): New variable.
8652 (CFLAGS-nldbl-fmul.c): Likewise.
8653 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
8654 __nldbl_dmull.
8655 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
8656 prototype.
8657 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
8658 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
8659 * math/auto-libm-test-in: Add tests of mul.
8660 * math/auto-libm-test-out-narrow-mul: New generated file.
8661 * math/libm-test-narrow-mul.inc: New file.
8662 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
8663 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
8664 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
8665 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
8666 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
8667 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
8668 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
8669 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
8670 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
8671 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
8672 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
8673 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
8674 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
8675 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
8676 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
8677 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
8678 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
8679 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
8680 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8681 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
8682 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8683 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8684 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8685 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8686 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8687 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8688 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8689 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8690 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8691 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8692 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8693 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
8695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
8696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
8697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
8698 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
8699 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8700 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8701 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8702 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8703 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8704 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8705 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8706
a15529fd
L
87072018-05-14 H.J. Lu <hongjiu.lu@intel.com>
8708
8709 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
8710 with *%eax in call.
8711
98ee36c7
L
87122018-05-14 H.J. Lu <hongjiu.lu@intel.com>
8713
8714 * sysdeps/i386/ldsodefs.h: Removed.
8715 * sysdeps/x86_64/ldsodefs.h: Moved to ...
8716 * sysdeps/x86/ldsodefs.h: This.
8717 (La_i86_regs): New.
8718 (La_i86_retval): Likewise.
8719 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
8720 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
8721
e322ec32
L
87222018-05-14 H.J. Lu <hongjiu.lu@intel.com>
8723
8724 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
8725 unnecessary testl.
8726
0937e209
AM
87272018-05-13 Alan Modra <amodra@gmail.com>
8728
8729 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
8730 R_PARISC_TLS_DTPOFF32 reloc addend.
8731
5db7d705
TMQMF
87322018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8733
8734 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
8735 * math/math.h: Restrict the prototype definition for the functions
8736 issignaling(_Float128) and iszero(_Float128); and template
8737 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
8738 __HAVE_FLOAT128_UNLIKE_LDBL.
8739 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
8740 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
8741 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
8742 __f128() constants; define the type _Float128 as long double;
8743 and reuse long double in __CFLOAT128.
8744
b4d5b8b0
JM
87452018-05-11 Joseph Myers <joseph@codesourcery.com>
8746
8747 * sysdeps/generic/math_private.h: Do not include
8748 <math-barriers.h>.
8749 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
8750 <math_private.h>.
8751 * math/fromfp.h: Include <math-barriers.h>.
8752 * math/math-narrow.h: Likewise.
8753 * math/s_nextafter.c: Likewise.
8754 * math/s_nexttowardf.c: Likewise.
8755 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
8756 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
8757 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
8758 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
8759 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8760 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8761 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8762 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8763 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8764 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8765 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8766 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8767 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8768 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8769 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
8770 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8771 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8772 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8773 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8774 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8775 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8776 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8777 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8778 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8779 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8780 * sysdeps/ieee754/k_standardl.c: Likewise.
8781 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8782 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8783 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8784 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
8785 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8786 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8787 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8788 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8789 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8790 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
8791 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8792 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8793 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8794 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8795 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8796 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8797 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
8798 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
8799 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8800 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8801 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
8802 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
8803
fc79706a
FW
88042018-05-11 Florian Weimer <fweimer@redhat.com>
8805
8806 Use 64-bit epoch values in the time zone file parser.
8807 * include/time.h (internal_time_t): Define.
8808 (__tzfile_compute): Use it.
8809 * time/tzfile.c (struct leap): Use internal_time_t for epoch
8810 member.
8811 (transitions): Switch to internal_time_t.
8812 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
8813 types.
8814 (__tzfile_compute): Use internal_time_t for timer argument. Check
8815 for truncation before calling __offtime.
8816
89aacb51
FW
88172018-05-11 Florian Weimer <fweimer@redhat.com>
8818
8819 [BZ #23166]
8820 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
8821 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
8822 Likewise.
8823 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
8824 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
8825 export without --enable-obsolete-rpc.
8826 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
8827 symbol. This should not have been exported, ever.
8828
bb066cb8
RL
88292018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
8830
8831 [BZ #23152]
8832 * localedata/locales/gd_GB (abmon): Fix typo in May:
8833 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
8834
70c97f84
SP
88352018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
8836
db725a45
SP
8837 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
8838 Use multiple registers to copy data in loop tail.
8839
70c97f84
SP
8840 * sysdeps/aarch64/multiarch/memmove_falkor.S
8841 (__memmove_falkor): Use multiple registers to move data in
8842 loop tail.
8843
8f5b00d3
JM
88442018-05-10 Joseph Myers <joseph@codesourcery.com>
8845
8846 * math/math-underflow.h: New file.
8847 * sysdeps/generic/math_private.h: Do not include <float.h>.
8848 (fabs_tg): Remove macro. Moved to math-underflow.h.
8849 (min_of_type_f): Likewise.
8850 (min_of_type_): Likewise.
8851 (min_of_type_l): Likewise.
8852 (min_of_type_f128): Likewise.
8853 (min_of_type): Likewise.
8854 (math_check_force_underflow): Likewise.
8855 (math_check_force_underflow_nonneg): Likewise.
8856 (math_check_force_underflow_complex): Likewise.
8857 * math/e_exp2_template.c: Include <math-underflow.h>.
8858 * math/k_casinh_template.c: Likewise.
8859 * math/s_catan_template.c: Likewise.
8860 * math/s_catanh_template.c: Likewise.
8861 * math/s_ccosh_template.c: Likewise.
8862 * math/s_cexp_template.c: Likewise.
8863 * math/s_clog10_template.c: Likewise.
8864 * math/s_clog_template.c: Likewise.
8865 * math/s_csin_template.c: Likewise.
8866 * math/s_csinh_template.c: Likewise.
8867 * math/s_csqrt_template.c: Likewise.
8868 * math/s_ctan_template.c: Likewise.
8869 * math/s_ctanh_template.c: Likewise.
8870 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8871 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8872 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8873 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8874 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8875 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8876 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8877 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8878 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8879 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8880 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8881 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8882 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8883 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8884 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8885 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8886 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8887 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8888 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8889 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8890 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8891 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8892 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8893 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8894 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8895 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8896 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8897 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8898 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8899 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8900 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8901 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8902 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8903 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8904 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8905 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8906 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8907 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8908 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8909 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8910 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8911 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8912 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8913 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8914 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8915 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8916 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8917 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8918 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8919 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8920 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8921 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8922 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8923 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
8924 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8925 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8926 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8927 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8928 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8929 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8930 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8931 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
8932 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8933 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
8934 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8935 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8936 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8937 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8938 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8939 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8940 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8941 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8942 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
8943 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
8944 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8945 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8946 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8947 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8948 * sysdeps/x86/fpu/powl_helper.c: Likewise.
8949 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
8950 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
8951 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
8952 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
8953 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
8954
9ed2e15f
JM
89552018-05-09 Joseph Myers <joseph@codesourcery.com>
8956
8957 * sysdeps/generic/math-barriers.h: New file.
8958 * sysdeps/generic/math_private.h [!math_opt_barrier]
8959 (math_opt_barrier): Move to math-barriers.h.
8960 [!math_opt_barrier] (math_force_eval): Likewise.
8961 * sysdeps/aarch64/fpu/math-barriers.h: New file.
8962 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
8963 math-barriers.h.
8964 (math_force_eval): Likewise.
8965 * sysdeps/alpha/fpu/math-barriers.h: New file.
8966 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
8967 math-barriers.h.
8968 (math_force_eval): Likewise.
8969 * sysdeps/x86/fpu/math-barriers.h: New file.
8970 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
8971 math-barriers.h.
8972 (math_force_eval): Likewise.
8973 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
8974 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
8975 multiple-include guard for rename.
8976 * sysdeps/powerpc/fpu/math-barriers.h: New file.
8977 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
8978 math-barriers.h.
8979 (math_force_eval): Likewise.
8980
5460617d
PP
89812018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
8982
8983 [BZ #22786]
43d4f3d5 8984 CVE-2018-11236
5460617d
PP
8985 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
8986 computation.
8987 * stdlib/Makefile (test-bz22786): New test.
8988 * stdlib/test-bz22786.c: New test.
8989
aaee3cd8
JM
89902018-05-09 Joseph Myers <joseph@codesourcery.com>
8991
8992 * include/math-narrow-eval.h: New file. Contents moved from ....
8993 * sysdeps/generic/math_private.h: ... here.
8994 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
8995 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
8996 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
8997 * stdlib/strtod_l.c: Likewise.
8998 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
8999 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
9000 * sysdeps/i386/fpu/s_fdim.c: Likewise.
9001 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9002 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9003 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9004 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9005 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9006 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9007 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
9008 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9009 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
9010 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9011 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9012 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9013 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9014 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9015 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9016 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9017 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9018 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9019 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9020 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9021 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9022 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
9023 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9024 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9025 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9026 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9027
0555c477
AS
90282018-05-08 Andreas Schwab <schwab@suse.de>
9029
9030 * sysdeps/nptl/internaltypes.h: Fix comment.
9031
50d7d351
L
90322018-05-07 H.J. Lu <hongjiu.lu@intel.com>
9033
9034 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
9035 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
9036 hidden.
9037
543477f7
SP
90382018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
9039
9040 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
9041 of I into loop header.
9042 * benchtests/bench-memmove-walk.c
9043 (test_main): Likewise.
9044
90452018-05-07 Alexandre Oliva <oliva@gnu.org>
ffa81c22
AO
9046
9047 Revert:
9048 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
9049 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
9050
0065aaaa
PP
90512018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9052
9053 [BZ #20419]
9054 * elf/dl-load.c (open_verify): Fix stack overflow.
9055 * elf/Makefile (tst-big-note): New test.
9056 * elf/tst-big-note-lib.S: New.
9057 * elf/tst-big-note.c: New.
9058
b289cd9d
JM
90592018-05-04 Joseph Myers <joseph@codesourcery.com>
9060
9061 * scripts/abilist.awk: Ignore absolute symbols.
9062 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
9063 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
9064 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
9065 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
9066 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
9067 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
9068 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
9069 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
9070 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
9071 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
9072 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
9073 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
9074 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
9075 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
9076 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
9077 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
9078 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
9079 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
9080 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9081 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
9082 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
9083 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
9084 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
9085 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
9086 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
9087 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
9088 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
9089 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
9090 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9091 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
9092 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
9093 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9094 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
9095 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
9096 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
9097 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
9098 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
9099 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
9100 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
9101 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
9102 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
9103 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9104 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
9105 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
9106 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9107 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
9108 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
9109 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
9110 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
9111 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
9112 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
9113 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
9114 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
9115 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
9116 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9117 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
9118 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
9119 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9120 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
9121 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
9122 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
9123 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
9124 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
9125 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
9126 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
9127 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
9128 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
9129 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9130 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
9131 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
9132 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9133 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
9134 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
9135 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
9136 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
9137 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
9138 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
9139 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
9140 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
9141 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
9142 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9143 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
9144 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
9145 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9146 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
9147 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
9148 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
9149 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
9150 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
9151 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
9152 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
9153 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
9154 Likewise.
9155 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
9156 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9157 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
9158 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
9159 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9160 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
9161 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
9162 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
9163 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
9164 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
9165 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
9166 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
9167 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
9168 Likewise.
9169 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
9170 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9171 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
9172 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
9173 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9174 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
9175 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
9176 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
9177 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
9178 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
9179 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
9180 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
9181 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
9182 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
9183 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9184 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
9185 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
9186 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9187 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
9188 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
9189 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
9190 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
9191 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
9192 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
9193 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9194 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
9195 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
9196 Likewise.
9197 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
9198 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
9199 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
9200 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
9201 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9202 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
9203 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
9204 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
9205 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
9206 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
9207 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
9208 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
9209 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
9210 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
9211 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
9212 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
9213 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
9214 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
9215 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9216 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
9217 Likewise.
9218 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
9219 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
9220 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
9221 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9222 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
9223 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
9224 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
9225 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
9226 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
9227 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
9228 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9229 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
9230 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
9231 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9232 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
9233 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
9234 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
9235 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
9236 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9237 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
9238 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
9239 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9240 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
9241 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
9242 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
9243 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
9244 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
9245 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
9246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
9247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
9248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
9249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
9250 Likewise.
9251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
9252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
9253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
9254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
9255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
9256 Likewise.
9257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
9258 Likewise.
9259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
9260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
9261 Likewise.
9262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
9263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9264 Likewise.
9265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9266 Likewise.
9267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
9268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
9269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
9270 Likewise.
9271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
9272 Likewise.
9273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
9274 Likewise.
9275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
9276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
9279 Likewise.
9280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
9281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
9282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
9283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
9284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
9285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
9286 Likewise.
9287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
9288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9289 Likewise.
9290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9291 Likewise.
9292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
9293 Likewise.
9294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
9295 Likewise.
9296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
9297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
9298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
9299 Likewise.
9300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
9301 Likewise.
9302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
9303 Likewise.
9304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
9305 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
9306 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
9307 Likewise.
9308 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
9309 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9310 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
9311 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
9312 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
9313 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
9314 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
9315 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
9316 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
9317 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
9318 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
9319 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
9320 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
9321 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
9322 Likewise.
9323 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9324 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
9325 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
9326 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9327 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
9328 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
9329 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
9330 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
9331 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
9332 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
9333 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
9334 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
9335 Likewise.
9336 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9337 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
9338 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
9339 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9340 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
9341 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
9342 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
9343 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
9344 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
9345 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
9346 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
9347 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
9348 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
9349 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9350 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
9351 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
9352 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9353 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
9354 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
9355 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
9356 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
9357 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
9358 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
9359 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
9360 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
9361 Likewise.
9362 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
9363 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9364 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
9365 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
9366 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9367 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
9368 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
9369 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
9370 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
9371 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
9372 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
9373 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
9374 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
9375 Likewise.
9376 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
9377 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9378 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
9379 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
9380 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9381 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
9382 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
9383 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
9384 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
9385 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
9386 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
9387 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
9388 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
9389 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
9390 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9391 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
9392 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
9393 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9394 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
9395 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
9396 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
9397 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
9398 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
9399 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
9400 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
9401 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
9402 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
9403 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
9404 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9405 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
9406 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
9407 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9408 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
9409 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
9410 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
9411 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
9412 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
9413 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
9414
16609018
SL
94152018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
9416
9417 [BZ #23137]
9418 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
9419 Use atomic_load_acquire to load __tid.
9420
556f5c46
L
94212018-05-02 H.J. Lu <hongjiu.lu@intel.com>
9422
9423 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
9424 Restore the pointer into %rdx, after syscall and use %rdx,
9425 instead of %rsi, to restore context.
9426
8b8f32b2
L
94272018-05-02 H.J. Lu <hongjiu.lu@intel.com>
9428
9429 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
9430 Pop the pointer into %rdx after syscall and use %rdx, instead
9431 of %rsi, to restore context.
9432
d6cc1829
L
94332018-05-02 H.J. Lu <hongjiu.lu@intel.com>
9434
9435 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
9436 handlers after setjmp.
9437 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
9438 defined.
9439 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
9440 <libc-pointer-arith.h>.
9441 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
9442 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
9443 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
9444 _JUMP_BUF_SIGSET_BITS_PER_WORD.
9445 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
9446 * sysdeps/x86/__longjmp_cancel.S: New file.
9447 * sysdeps/x86/longjmp.c: Likewise.
9448 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
9449
cf2478d5
AZ
94502018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9451
9452 * NEWS: Add ustat.h deprecation entry.
9453 * bits/ustat.h: Remove file.
9454 * misc/sys/ustat.h: Likewise.
9455 * misc/ustat.h: Likewise.
9456 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
9457 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
9458 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
9459 compatibility mode.
9460 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
9461 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
9462 generic Linux implementation.
9463
dc115e1c
TMQMF
94642018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9465
9466 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
9467 * math/w_expl_compat.c: Likewise.
9468 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
9469
340d9652
RN
94702018-04-30 Raymond Nicholson <rain1@airmail.cc>
9471
9472 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
9473
c57bf7c1
AZ
94742018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9475
9476 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
9477 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
9478 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
9479 Remove.
9480 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
9481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
9482 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
9483 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
9484 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
9485 and SYSCALL_LL64.
9486
06135c33
TMQMF
94872018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9488
33927914
TMQMF
9489 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
9490
06135c33
TMQMF
9491 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
9492 * math/w_asin_template.c: Likewise.
9493 * math/w_atanh_template.c: Likewise.
9494
3a33b069
GG
94952018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9496
9497 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
9498 to powerpc/powerpc64/be for big-endian.
9499 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
9500 little-endian.
9501
9502 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
9503 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
9504 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
9505 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
9506 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
9507 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
9508 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
9509 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
9510 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
9511 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
9512 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
9513 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
9514 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
9515 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
9516 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
9517 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
9518 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
9519 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
9520 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
9521 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
9522 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
9523 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
9524 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
9525 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
9526 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
9527 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
9528 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
9529 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
9530 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
9531 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
9532 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
9533 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
9534
9535 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
9536 adjusted to imply powerpc64 and older processors on powerpc64/be.
9537 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
9538 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
9539 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
9540 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
9541 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
9542 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
9543 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
9544 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
9545 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
9546 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
9547 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
9548 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
9549 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
9550 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
9551 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
9552 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
9553 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
9554 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
9555 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
9556 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
9557 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
9558 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
9559 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
9560 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
9561 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
9562 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
9563 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
9564 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
9565 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
9566 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
9567 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
9568
9569 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
9570 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
9571 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
9572 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
9573
9574 * sysdeps/powerpc/powerpc64/be/Implies: New file.
9575 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
9576 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
9577 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
9578
9579 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
9580 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
9581 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
9582 * sysdeps/powerpc/powerpc64le/configure: Likewise.
9583 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
9584 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
9585 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
9586 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
9587 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
9588 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
9589 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
9590
9591 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
9592 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
9593 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
9594 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
9595 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
9596 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
9597 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
9598 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
9599 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
9600 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
9601 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
9602
9603 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
9604 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
9605 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
9606 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
9607 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
9608 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
9609 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
9610 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
9611 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
9612 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
9613 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
9614 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
9615
9616 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
9617 and adjusted to imply olders processors.
9618 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
9619 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
9620 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
9621 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
9622 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
9623 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
9624 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
9625 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
9626 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
9627 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
9628 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
9629
9630 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
9631 powerpc64/le.
9632 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
9633 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
9634
9635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
9636 powerpc64le.
9637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
9638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
9639
9640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
9641 powerpc64/be.
9642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
9643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
9644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
9645
9646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
9647 powerpc64 and adjusted.
9648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
9649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
9650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
9651 Likewise.
9652
a3fb6b6b
JM
96532018-04-27 Joseph Myers <joseph@codesourcery.com>
9654
9655 * sysdeps/tile: Remove.
9656 * sysdeps/unix/sysv/linux/tile: Likewise.
9657 * README (tilegx-*-linux-gnu): Remove from list of supported
9658 configurations.
9659 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
9660 contribution of support for generic Linux kernel syscall
9661 interface.
9662 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
9663 tilegx configurations.
9664 (Config.install_linux_headers): Do not handle tile.
9665 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
9666 in comment.
9667 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
9668 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
9669 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
9670 conditional undefine and redefine.
9671 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
9672 in comment.
9673 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
9674 conditional undefine and redefine.
9675
7a6f7478
AJ
96762018-04-26 Aurelien Jarno <aurelien@aurel32.net>
9677
9678 * signal/tst-sigaction.c: New file to test BZ #23069.
9679 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
9680
81b49e96
TMQMF
96812018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9682
9683 [BZ #22766]
9684 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
9685 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
9686 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
9687 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
9688
7d80f48e
AZ
96892018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9690
9691 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
9692 _DIRENT_MATCHES_DIRENT64 is not defined.
9693 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
9694 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
9695 is defined.
9696 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
9697 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
9698
42a2bf58
JM
96992018-04-25 Joseph Myers <joseph@codesourcery.com>
9700
9701 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
9702 version to GCC 8 branch.
9703
9320ca88
JM
97042018-04-24 Joseph Myers <joseph@codesourcery.com>
9705
5e14bb97
JM
9706 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
9707 (check_no_hidden): Use type of original function when declaring
9708 alias.
9709
9320ca88
JM
9710 * sysdeps/unix/sysv/linux/sys/ptrace.h
9711 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
9712 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
9713 (struct __ptrace_seccomp_metadata): New type.
9714 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
9715 (PTRACE_SECCOMP_GET_METADATA): Likewise.
9716 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
9717 (PTRACE_SECCOMP_GET_METADATA): Likewise.
9718 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
9719 (PTRACE_SECCOMP_GET_METADATA): Likewise.
9720 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
9721 (PTRACE_SECCOMP_GET_METADATA): Likewise.
9722 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
9723 (PTRACE_SECCOMP_GET_METADATA): Likewise.
9724 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
9725 (PTRACE_SECCOMP_GET_METADATA): Likewise.
9726 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
9727 (PTRACE_SECCOMP_GET_METADATA): Likewise.
9728 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
9729 (PTRACE_SECCOMP_GET_METADATA): Likewise.
9730
af7e376b
AZ
97312018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9732
9733 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
9734 defined.
9735 * dirent/versionsort.c (versionsort): Likewise.
9736 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
9737 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
9738 * dirent/versionsort64.c (versionsort64): Likewise.
9739 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
9740 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
9741 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
9742 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
9743 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
9744 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
9745 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
9746 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
9747 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
9748 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
9749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
9750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
9751 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
9752 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
9753
da5e0361
JM
97542018-04-23 Joseph Myers <joseph@codesourcery.com>
9755
9756 * elf/elf.h (NT_PPC_PKEY): New macro.
9757
ea76691a
DSN
97582018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
9759
9760 [BZ #23094]
9761 * localedata/locales/hr_HR: fix thousands_sep and
9762 mon_thousands_sep
9763
573963e3
JM
97642018-04-20 Joseph Myers <joseph@codesourcery.com>
9765
9766 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
9767 (XTABS): Define to TAB3.
9768
c0123b3b
AZ
97692018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9770
0900a849
AZ
9771 * sysdeps/hppa/fpu/libm-test-ulps: Update.
9772
c0123b3b
AZ
9773 * dirent/scandir-tail-common.c: New file.
9774 * dirent/scandir-tail.c: Use scandir-tail-common.c.
9775 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
9776 * dirent/scandir.c: Use scandir-tail-common.c.
9777 * dirent/scandirat.c: Likewise.
9778 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
9779 * dirent/scandir64.c (scandir64): Always build and alias to scandir
9780 if _DIRENT_MATCHES_DIRENT64 is defined.
9781 * dirent/scandirat64.c (scandirat64): Likewise.
9782 * include/dirent.h (__scandir_tail): Only define iff
9783 _DIRENT_MATCHES_DIRENT64 is not defined.
9784 (__scandir64_tail): Define regardless.
9785 (__scandirat, scandirat64): Remove libc_hidden_proto.
9786 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
9787 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
9788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
9789 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
9790 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
9791 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
9792 * sysdeps/unix/sysv/linux/scandir64.c: New file.
9793
458b94f6
JM
97942018-04-20 Joseph Myers <joseph@codesourcery.com>
9795
9796 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
9797 New macro.
9798 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
9799 Increase to 24.
9800 (_dl_aarch64_cap_flags): Add asimdfhm.
9801
9f0437e8
CLT
98022018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
9803
9804 * sysdeps/nios2/libm-test-ulps: Update.
9805
298d0e31
AZ
98062018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9807
50511ca4
AZ
9808 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
9809 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
9810
298d0e31
AZ
9811 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
9812 requirements.
9813 (_DIRENT_MATCHES_DIRENT64): Undef
9814 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
9815 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
9816 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
9817 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
9818 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
9819 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
9820 use getdents64 syscalls as base.
9821 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
9822 symbol if required.
9823 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
9824 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
9825 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
9826 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
9827 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
9828 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
9829 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
9830 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
9831 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9832 (__get_clockfreq_via_proc_openprom): Use __getdents64.
9833 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
9834
0085be14
SL
98352018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
9836
9837 * scripts/test_printers_common.py (init_test): Disable lock elision.
9838
da796524
SL
98392018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
9840
9841 * math/test-tgmath.c (count_double, count_float,
9842 count_ldouble, count_cdouble, count_cfloat,
9843 count_cldouble): Use volatile int.
9844
0dd25301
ST
98452018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
9846
9847 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
9848 (conformtest-xfail-conds): Add i386-gnu.
cbc256b1 9849 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
0dd25301
ST
9850 i386-gnu.
9851 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
9852 ipc_perm.cuid, ipc_perm.cgid): Likewise.
9853 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
9854 msqid_ds.msg_lrpid): Likewise.
9855 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
9856 Likewise.
9857 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
9858 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
9d9f8f03
ST
9859 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
9860 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
9861 unsigned int.
9862 (struct statvfs64): Likewise.
f55a4fde
ST
9863 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
9864 Likewise.
77b93390
ST
9865 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
9866 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
9867 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
9868 instead of wait_queue.
9869 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
9870 instead of vm_area_struct.
5cd2931a
ST
9871 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
9872 struct sched_param definition to it.
e60c3f2b
ST
9873 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9874 * bits/types/struct_sched_param.h: New file.
9875 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
9876 <bits/types/struct_sched_param.h> instead of <sched.h>.
9877 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
5cd2931a
ST
9878 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
9879 generic version but include <bits/pthreadtypes.h> to make struct
9880 sigevent's sigev_notify_attributes field a pthread_attr_t*.
ed370924
ST
9881 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
9882 non-compliant.
a564872d
ST
9883 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
9884 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
9885 [__USE_XOPEN] (OFDEL): New macro.
9886 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
a279b8ed 9887 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
5dbfe13b
ST
9888 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
9889 prototypes.
9890 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
9891 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
81b032c8
ST
9892 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
9893 non-compliant.
9894 * sysdeps/i386/sys/ucontext.h: Likewise.
9895 * sysdeps/m68k/sys/ucontext.h: Likewise.
9896 * sysdeps/mips/sys/ucontext.h: Likewise.
9897 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
f00b62ec
ST
9898 * sysdeps/mach/hurd/i386/Makefile
9899 (test-xfail-POSIX/fcntl.h/conform): Add.
9900 (test-xfail-POSIX/signal.h/conform): Add.
9901 (test-xfail-POSIX/semaphore.h/conform): Add.
9902 (test-xfail-POSIX/regex.h/conform): Add.
9903 (test-xfail-POSIX/aio.h/conform): Add.
9904 (test-xfail-POSIX/mqueue.h/conform): Add.
9905 (test-xfail-POSIX/sys/types.h/conform): Add.
9906 (test-xfail-UNIX98/fcntl.h/conform): Add.
9907 (test-xfail-UNIX98/netdb.h/conform): Add.
9908 (test-xfail-UNIX98/signal.h/conform): Add.
9909 (test-xfail-UNIX98/semaphore.h/conform): Add.
9910 (test-xfail-UNIX98/regex.h/conform): Add.
9911 (test-xfail-UNIX98/aio.h/conform): Add.
9912 (test-xfail-UNIX98/ftw.h/conform): Add.
9913 (test-xfail-UNIX98/mqueue.h/conform): Add.
9914 (test-xfail-UNIX98/netinet/in.h/conform): Add.
9915 (test-xfail-UNIX98/sys/wait.h/conform): Add.
9916 (test-xfail-UNIX98/sys/sem.h/conform): Add.
9917 (test-xfail-UNIX98/sys/uio.h/conform): Add.
9918 (test-xfail-UNIX98/sys/socket.h/conform): Add.
9919 (test-xfail-UNIX98/sys/types.h/conform): Add.
9920 (test-xfail-UNIX98/stdlib.h/conform): Add.
9921 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
9922 (test-xfail-POSIX2008/fcntl.h/conform): Add.
9923 (test-xfail-POSIX2008/netdb.h/conform): Add.
9924 (test-xfail-POSIX2008/signal.h/conform): Add.
9925 (test-xfail-POSIX2008/semaphore.h/conform): Add.
9926 (test-xfail-POSIX2008/regex.h/conform): Add.
9927 (test-xfail-POSIX2008/aio.h/conform): Add.
9928 (test-xfail-POSIX2008/mqueue.h/conform): Add.
9929 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
9930 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
9931 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
9932 (test-xfail-POSIX2008/sys/types.h/conform): Add.
9933 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
9934 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
9935 (test-xfail-XOPEN2K/netdb.h/conform): Add.
9936 (test-xfail-XOPEN2K/signal.h/conform): Add.
9937 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
9938 (test-xfail-XOPEN2K/regex.h/conform): Add.
9939 (test-xfail-XOPEN2K/aio.h/conform): Add.
9940 (test-xfail-XOPEN2K/ftw.h/conform): Add.
9941 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
9942 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
9943 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
9944 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
9945 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
9946 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
9947 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
9948 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
9949 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
9950 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
9951 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
9952 (test-xfail-XOPEN2K8/signal.h/conform): Add.
9953 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
9954 (test-xfail-XOPEN2K8/regex.h/conform): Add.
9955 (test-xfail-XOPEN2K8/aio.h/conform): Add.
9956 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
9957 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
9958 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
9959 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
9960 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
9961 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
9962 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
9963 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
9964 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
9965 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
cbc256b1
ST
9966 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
9967 i386-gnu.
9968 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
9969 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
0dd25301 9970
d6397de3
JM
99712018-04-18 Joseph Myers <joseph@codesourcery.com>
9972
9973 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
9974 --enable-obsolete for powerpc-linux-gnuspe.
9975
8323a902
ST
99762018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
9977
3dc0814c 9978 * conform/data/sys/un.h-data: Allow sun_ prefix.
c5896a45 9979 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
d4379e02 9980 prototypes.
c5896a45
ST
9981 * sysdeps/mach/include/mach.h: Likewise.
9982 * sysdeps/mach/include/mach/mig_support.h: Likewise.
9983 * sysdeps/mach/include/mach_error.h: Likewise.
8323a902 9984
743b9c2a
AZ
99852018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9986
9987 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
9988 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
9989 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
9990 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
9991
326e74e7
AS
99922018-04-16 Andreas Schwab <schwab@suse.de>
9993
9994 [BZ #19527]
9995 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
9996
a14d8acd
PM
99972018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
9998
9999 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
10000 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
10001
a700e7cb
DD
100022018-04-12 DJ Delorie <dj@redhat.com>
10003
10004 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
10005 version to 4.16.
10006
d8abfab7
SL
100072018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
10008
10009 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
10010 (struct kernel_sigaction): Use the same definition on 31bit as is used
10011 on 64bit.
10012
583a27d5
FW
100132018-04-09 Florian Weimer <fweimer@redhat.com>
10014
10015 [BZ #23037]
10016 * resolv/res_send.c (send_dg): Use designated initializers instead
10017 of assignment to zero-initialize other fields of struct mmsghdr.
10018
243f59e5
AZ
100192018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10020
942de61a
AZ
10021 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
10022 __READDIR_ALIAS): Undefine after usage.
10023 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
10024 __READDIR_R_ALIAS): Likewise.
10025 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
10026 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
10027 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
10028 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
10029 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
10030 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
10031 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
10032 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10033 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
10034 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
10035 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
10036 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
10037 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
10038 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
10039 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
10040 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
10041 * sysdeps/unix/sysv/linux/readdir.c: New file.
10042 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
10043 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
10044 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
10045
243f59e5
AZ
10046 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
10047
690c3475
AS
100482018-04-06 Andreas Schwab <schwab@linux-m68k.org>
10049
10050 * manual/charset.texi (Converting a Character): Fix typo.
10051
b4a5d26d
AZ
100522018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10053
bbc2062a
AZ
10054 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10055
fa7c6199
AZ
10056 * sysdeps/arm/libm-test-ulps: Update.
10057
b4a5d26d
AZ
10058 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
10059 as base implementation.
10060 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
10061 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
10062 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
10063 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
10064 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
10065 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
10066 remove unrequired definitions and update comments.
10067 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
10068 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
10069 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
10070 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
10071 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
10072 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
10073 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
10074 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
10075 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
10076 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
10077 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
10078 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
10079 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
10080 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
10081 and RESET_SA_RESTORER hooks.
10082
db9e55ff
SL
100832018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
10084
10085 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10086
cf138b0c
FW
100872018-04-05 Florian Weimer <fweimer@redhat.com>
10088
10089 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
10090 integer overflow, memory leak on error, and indeterminate errno
10091 value. Add a null wide character to terminate the result string.
10092 * manual/charset.texi (Converting a Character): Mention embedded
10093 null bytes in the mbrtowc input string. Explain what happens in
10094 the -2 result case. Do not claim that mbrtowc is simple or
10095 obvious to use. Adjust the description of the code example. Use
10096 @code, not @var, for concrete variables.
10097
0f339252
FW
100982018-04-05 Florian Weimer <fweimer@redhat.com>
10099
10100 * manual/examples/mbstouwcs.c: New file.
10101 * manual/charset.texi (Converting a Character): Include it.
10102
e5f9508a
ST
101032018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
10104
c120981d
ST
10105 * include/dirent.h (dirfd): Add hidden proto.
10106 * dirent/dirfd.c (dirfd): Add hidden def.
10107 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
10108 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
e5f9508a 10109
b2fd61ca
TMQMF
101102018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10111
10112 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
10113 sin, cos and sincos to 1 ULP.
10114
10a446dd
MR
101152018-04-04 Maciej W. Rozycki <macro@mips.com>
10116
e7feec37
MR
10117 [BZ #19818]
10118 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
10119 symbols.
10120 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
10121 * elf/tst-absolute-sym.c: New file.
10122 * elf/tst-absolute-sym-lib.c: New file.
10123 * elf/tst-absolute-sym-lib.lds: New file.
10124 * elf/Makefile (tests): Add `tst-absolute-sym'.
10125 (modules-names): Add `tst-absolute-sym-lib'.
10126 (LDLIBS-tst-absolute-sym-lib.so): New variable.
10127 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
10128 ($(objpfx)tst-absolute-sym): New dependency.
10129
10a446dd
MR
10130 [BZ #19818]
10131 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
10132 parameter.
10133 (SYMBOL_ADDRESS): New macro.
10134 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
10135 SYMBOL_ADDRESS for symbol address calculation.
10136 * elf/dl-runtime.c (_dl_fixup): Likewise.
10137 (_dl_profile_fixup): Likewise.
10138 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
10139 * elf/rtld.c (dl_main): Likewise.
10140 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
10141 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
10142 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
10143 (elf_machine_rela): Likewise.
10144 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
10145 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
10146 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
10147 (elf_machine_rela): Likewise.
10148 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
10149 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
10150 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
10151 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
10152 Likewise.
10153 (elf_machine_reloc): Likewise.
10154 (elf_machine_got_rel): Likewise.
10155 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
10156 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
10157 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
10158 Likewise.
10159 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10160 Likewise.
10161 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
10162 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
10163 Likewise.
10164 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
10165 Likewise.
10166 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10167 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
10168 Likewise.
10169 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
10170 Likewise.
10171 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
10172 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10173
9185f86d
ZW
101742018-04-04 Zack Weinberg <zackw@panix.com>
10175
10176 * sysdeps/generic/internal-signals.h: Include signal.h,
10177 sigsetops.h, and stdbool.h.
10178 (__libc_signal_block_all): Actually block all signals.
10179 (__libc_signal_block_app): Likewise.
10180 (__libc_signal_restore_set): Actually restore the signal mask.
10181
b07367bc
FW
101822018-04-04 Florian Weimer <fweimer@redhat.com>
10183
10184 inet: Actually build and run tst-deadline.
10185 * inet/Makefile (tests-internal): Add tst-deadline and do not
10186 overwrite the variable.
10187 (tests-static-internal): Remove variable.
10188
f2652643
L
101892018-04-03 H.J. Lu <hongjiu.lu@intel.com>
10190
10191 [BZ #22947]
10192 * bits/uio-ext.h (RWF_APPEND): New.
10193 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
10194 * manual/llio.texi: Document RWF_APPEND.
10195 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
10196 (RWF_SUPPORTED): Add RWF_APPEND.
10197
d2dc5467
AZ
101982018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10199
10200 [BZ #22391]
10201 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
10202 check for internal nptl signals.
10203 * nptl/sigaction.c (__sigaction): Likewise.
10204 * signal/sigaddset.c (sigaddset): Likewise.
10205 * signal/sigdelset.c (sigdelset): Likewise.
10206 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
10207 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
10208 value.
10209 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
10210 to filter out internal nptl signals.
10211 * signal/tst-sigset.c (do_test): Check ech signal indidually and
10212 also check realtime signals using standard macros.
10213 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
10214 __is_internal_signal, __libc_signal_block_all,
10215 __libc_signal_block_app, __libc_signal_restore_set): New functions.
10216 * sysdeps/nptl/sigfillset.c: Remove file.
10217 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
10218 Change return to bool.
10219 (__clear_internal_signals): Remove SIGTIMER clean since it is
10220 equal to SIGCANEL on Linux.
10221 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
10222 signal set was constructed using standard functions.
10223
511ed56f
ST
102242018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
10225
92846492
ST
10226 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
10227 ifname is too long.
e8ef51b1
ST
10228 * hurd/hurdsig.c (interrupted_reply_port_location): Use
10229 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
ff297b70
ST
10230 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
10231 hidden def.
10232 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
d8440a21
ST
10233 * signal/sigaddset.c: Include <sigsetopts.h>.
10234 * signal/sigdelset.c: Likewise.
511ed56f 10235
e88ecbbf
WD
102362018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
10237
10238 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
10239 (__cos): Likewise.
10240 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
10241 logic as sin and cos.
10242
aef3e255
WD
102432018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
10244
10245 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
10246 inputs. Return correct sign.
10247 (do_sincos): Remove small input check before do_sin, let do_sin set
10248 the sign.
10249 (__sin): Likewise.
10250 (__cos): Likewise.
10251
72f6e9a3
WD
102522018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
10253
10254 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
10255 (do_cos_slow): Likewise.
10256 (do_sin_slow): Likewise.
10257 (reduce_and_compute): Likewise.
10258 (slow): Likewise.
10259 (slow1): Likewise.
10260 (slow2): Likewise.
10261 (sloww): Likewise.
10262 (sloww1): Likewise.
10263 (sloww2): Likewise.
10264 (bslow): Likewise.
10265 (bslow1): Likewise.
10266 (bslow2): Likewise.
10267 (cslow2): Likewise.
10268
64909583
WD
102692018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
10270
10271 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
10272 (do_cos): Remove corp parameter and calculations.
10273 (do_sin): Likewise.
10274 (do_sincos): Remove cor variable.
10275 (__sin): Use do_sincos for huge inputs.
10276 (__cos): Likewise.
10277 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
10278 (reduce_and_compute_sincos): Remove unused function.
10279
d9469deb
WD
102802018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
10281
10282 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
10283 reduce_sincos, improve accuracy to 136 bits.
10284 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
10285 (__sin): Use improved reduction and simplified do_sincos calculation.
10286 (__cos): Likewise.
10287 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
10288
7a5640f2
WD
102892018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
10290
10291 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
10292 (do_sincos_2): Likewise.
10293 (__sin): Remove middle range reduction case.
10294 (__cos): Likewise.
10295 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
10296 reduction case.
10297
19a8b9a3
WD
102982018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
10299
10300 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
10301 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
10302 inputs.
10303 (__cos): Likewise.
10304 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
10305
f72aa11d
JM
103062018-04-03 Joseph Myers <joseph@codesourcery.com>
10307
10308 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19a8b9a3 10309 version to 4.16
f72aa11d 10310
8e4754ed
AZ
103112018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10312
10313 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
10314 Remove definitions.
10315 (opendir_oflags): Use O_DIRECTORY regardless.
10316 (__opendir, __opendirat): Remove need_isdir_precheck usage.
10317 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
10318
8e2666ea
ST
103192018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10320
10321 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
10322 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
10323 macros.
10324 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
10325 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
10326 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
10327 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
deed72f6
ST
10328 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
10329 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
8e2666ea 10330
ad2b41bf
ST
10331 * htl/Makefile: Bump licence to LGPL 2.1+.
10332 * htl/alloca_cutoff.c: Likewise.
10333 * htl/cthreads-compat.c: Likewise.
10334 * htl/lockfile.c: Likewise.
10335 * htl/pt-alloc.c: Likewise.
10336 * htl/pt-cancel.c: Likewise.
10337 * htl/pt-cleanup.c: Likewise.
10338 * htl/pt-create.c: Likewise.
10339 * htl/pt-dealloc.c: Likewise.
10340 * htl/pt-detach.c: Likewise.
10341 * htl/pt-exit.c: Likewise.
10342 * htl/pt-getattr.c: Likewise.
10343 * htl/pt-initialize.c: Likewise.
10344 * htl/pt-internal.h: Likewise.
10345 * htl/pt-join.c: Likewise.
10346 * htl/pt-self.c: Likewise.
10347 * htl/pt-setcancelstate.c: Likewise.
10348 * htl/pt-setcanceltype.c: Likewise.
10349 * htl/pt-sigmask.c: Likewise.
10350 * htl/pt-spin-inlines.c: Likewise.
10351 * htl/pt-testcancel.c: Likewise.
10352 * htl/pt-yield.c: Likewise.
10353 * htl/tests/test-1.c: Likewise.
10354 * htl/tests/test-10.c: Likewise.
10355 * htl/tests/test-11.c: Likewise.
10356 * htl/tests/test-12.c: Likewise.
10357 * htl/tests/test-13.c: Likewise.
10358 * htl/tests/test-14.c: Likewise.
10359 * htl/tests/test-15.c: Likewise.
10360 * htl/tests/test-16.c: Likewise.
10361 * htl/tests/test-17.c: Likewise.
10362 * htl/tests/test-2.c: Likewise.
10363 * htl/tests/test-3.c: Likewise.
10364 * htl/tests/test-4.c: Likewise.
10365 * htl/tests/test-5.c: Likewise.
10366 * htl/tests/test-6.c: Likewise.
10367 * htl/tests/test-7.c: Likewise.
10368 * htl/tests/test-8.c: Likewise.
10369 * htl/tests/test-9.c: Likewise.
10370 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
10371 * sysdeps/htl/bits/cancelation.h: Likewise.
10372 * sysdeps/htl/bits/pthread-np.h: Likewise.
10373 * sysdeps/htl/bits/pthread.h: Likewise.
10374 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
10375 * sysdeps/htl/bits/semaphore.h: Likewise.
10376 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
10377 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
10378 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
10379 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
10380 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
10381 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
10382 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
10383 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
10384 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
10385 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
10386 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
10387 * sysdeps/htl/old_pt-atfork.c: Likewise.
10388 * sysdeps/htl/pt-atfork.c: Likewise.
10389 * sysdeps/htl/pt-attr-destroy.c: Likewise.
10390 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
10391 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
10392 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
10393 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
10394 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
10395 * sysdeps/htl/pt-attr-getscope.c: Likewise.
10396 * sysdeps/htl/pt-attr-getstack.c: Likewise.
10397 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
10398 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
10399 * sysdeps/htl/pt-attr-init.c: Likewise.
10400 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
10401 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
10402 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
10403 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
10404 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
10405 * sysdeps/htl/pt-attr-setscope.c: Likewise.
10406 * sysdeps/htl/pt-attr-setstack.c: Likewise.
10407 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
10408 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
10409 * sysdeps/htl/pt-attr.c: Likewise.
10410 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
10411 * sysdeps/htl/pt-barrier-init.c: Likewise.
10412 * sysdeps/htl/pt-barrier-wait.c: Likewise.
10413 * sysdeps/htl/pt-barrier.c: Likewise.
10414 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
10415 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
10416 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
10417 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
10418 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
10419 * sysdeps/htl/pt-cond-destroy.c: Likewise.
10420 * sysdeps/htl/pt-cond-init.c: Likewise.
10421 * sysdeps/htl/pt-cond-signal.c: Likewise.
10422 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
10423 * sysdeps/htl/pt-cond-wait.c: Likewise.
10424 * sysdeps/htl/pt-cond.c: Likewise.
10425 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
10426 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
10427 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
10428 * sysdeps/htl/pt-condattr-init.c: Likewise.
10429 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
10430 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
10431 * sysdeps/htl/pt-destroy-specific.c: Likewise.
10432 * sysdeps/htl/pt-equal.c: Likewise.
10433 * sysdeps/htl/pt-getconcurrency.c: Likewise.
10434 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
10435 * sysdeps/htl/pt-getschedparam.c: Likewise.
10436 * sysdeps/htl/pt-getspecific.c: Likewise.
10437 * sysdeps/htl/pt-init-specific.c: Likewise.
10438 * sysdeps/htl/pt-key-create.c: Likewise.
10439 * sysdeps/htl/pt-key-delete.c: Likewise.
10440 * sysdeps/htl/pt-key.h: Likewise.
10441 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
10442 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
10443 * sysdeps/htl/pt-mutex-init.c: Likewise.
10444 * sysdeps/htl/pt-mutex-lock.c: Likewise.
10445 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
10446 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
10447 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
10448 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
10449 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
10450 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
10451 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
10452 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
10453 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
10454 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
10455 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
10456 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
10457 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
10458 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
10459 * sysdeps/htl/pt-mutexattr.c: Likewise.
10460 * sysdeps/htl/pt-once.c: Likewise.
10461 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
10462 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
10463 * sysdeps/htl/pt-rwlock-init.c: Likewise.
10464 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
10465 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
10466 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
10467 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
10468 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
10469 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
10470 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
10471 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
10472 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
10473 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
10474 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
10475 * sysdeps/htl/pt-setconcurrency.c: Likewise.
10476 * sysdeps/htl/pt-setschedparam.c: Likewise.
10477 * sysdeps/htl/pt-setschedprio.c: Likewise.
10478 * sysdeps/htl/pt-setspecific.c: Likewise.
10479 * sysdeps/htl/pt-spin.c: Likewise.
10480 * sysdeps/htl/pt-startup.c: Likewise.
10481 * sysdeps/htl/pthread.h: Likewise.
10482 * sysdeps/htl/sem-close.c: Likewise.
10483 * sysdeps/htl/sem-destroy.c: Likewise.
10484 * sysdeps/htl/sem-getvalue.c: Likewise.
10485 * sysdeps/htl/sem-init.c: Likewise.
10486 * sysdeps/htl/sem-open.c: Likewise.
10487 * sysdeps/htl/sem-post.c: Likewise.
10488 * sysdeps/htl/sem-timedwait.c: Likewise.
10489 * sysdeps/htl/sem-trywait.c: Likewise.
10490 * sysdeps/htl/sem-unlink.c: Likewise.
10491 * sysdeps/htl/sem-wait.c: Likewise.
10492 * sysdeps/hurd/htl/pt-kill.c: Likewise.
10493 * sysdeps/i386/htl/pt-machdep.h: Likewise.
10494 * sysdeps/mach/htl/pt-block.c: Likewise.
10495 * sysdeps/mach/htl/pt-spin.c: Likewise.
10496 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
10497 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
10498 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
10499 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
10500 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
10501 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
10502 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
10503 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
10504 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
10505 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
10506 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
10507 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
10508 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
10509 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
10510 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
10511 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
10512 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
10513 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
10514 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
10515 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
10516 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
10517 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
10518 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
10519 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
10520 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
10521 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
10522 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
10523 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
10524 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
10525 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
10526 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
10527 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
10528 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
10529 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
10530 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
10531 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
10532 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
10533 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
10534 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
10535 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
10536 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
10537 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
10538 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
10539
fb03b04b
ST
10540 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
10541 * README: Remove the mention of out-of-tree patches needed for
10542 GNU/Hurd.
10543
fa9e1555
ST
10544 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
10545 (UTIME_NOW, UTIME_OMIT): Define macros.
10546
f6fb29d2
ST
10547 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
10548 instead of pthread_detach.
10549 (__cthread_fork): Call __pthread_create instead of pthread_create.
10550 (__cthread_keycreate): Call __pthread_key_create instead of
10551 pthread_key_create.
10552 (__cthread_getspecific): Call __pthread_getspecific instead of
10553 pthread_getspecific.
10554 (__cthread_setspecific): Call __pthread_setspecific instead of
10555 pthread_setspecific.
10556 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
10557 __pthread_mutex_unlock instead of pthread_mutex_lock and
10558 pthread_mutex_unlock.
10559 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
10560 ___pthread_get_cleanup_stack.
10561 (__pthread_get_cleanup_stack): New strong alias.
10562 * htl/pt-create.c: Include <pthreadP.h>.
10563 (entry_point): Call __pthread_exit instead of pthread_exit.
10564 (pthread_create): Rename to __pthread_create.
10565 (pthread_create): New strong alias.
10566 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
10567 (pthread_detach): New strong alias.
10568 (__pthread_detach): Call __pthread_cond_broadcast instead of
10569 pthread_cond_broadcast.
fe9748cc
ST
10570 * htl/pt-exit.c: Include <pthreadP.h>.
10571 (__pthread_exit): Call __pthread_setcancelstate and
10572 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
10573 __pthread_get_cleanup_stack.
f6fb29d2
ST
10574 * htl/pt-testcancel.c: Include <pthreadP.h>.
10575 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
10576 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
10577 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
10578 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
10579 pthread_attr_getstacksize.
10580 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
10581 Rename to __pthread_attr_getstackaddr.
10582 (pthread_attr_getstackaddr): New strong alias.
10583 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
10584 Rename to __pthread_attr_getstacksize.
10585 (pthread_attr_getstacksize): New strong alias.
10586 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
10587 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
10588 (pthread_attr_setstack): New strong alias.
10589 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
10590 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
10591 pthread_attr_getstacksize, pthread_attr_setstacksize and
10592 pthread_attr_setstackaddr.
10593 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
10594 Rename to __pthread_attr_setstackaddr.
10595 (pthread_attr_setstackaddr): New strong alias.
10596 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
10597 Rename to __pthread_attr_setstacksize.
10598 (pthread_attr_setstacksize): New strong alias.
10599 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
10600 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
10601 pthread_exit.
10602 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
10603 (__pthread_key_create): New hidden def.
10604 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
10605 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
10606 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
10607 __pthread_exit, __pthread_key_create, __pthread_getspecific,
10608 __pthread_setspecific, __pthread_setcancelstate,
10609 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
10610 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
10611 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
10612 declarations.
10613 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
10614 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
10615 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
10616 (pthread_attr_setstackaddr): New strong alias.
10617 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
10618 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
10619 (pthread_attr_setstacksize): New strong alias.
10620 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
10621 (call_exit): Call __pthread_exit instead of pthread_exit.
10622 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
10623 (_pthread_mutex_init): New hidden definition.
10624 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
10625 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
10626 instead of pthread_attr_init and pthread_attr_setstack.
10627
dba2bdbe
ST
10628 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
10629 __vm_deallocate instead of vm_allocate and vm_deallocate.
10630 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
10631 setenv.
10632 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
10633 of geteuid.
10634 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
10635 strdup.
10636 * hurd/siginfo.c: Include <libioP.h>.
10637 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
10638 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
10639 munmap.
dba2bdbe
ST
10640 * mach/devstream.c: Include <libioP.h>.
10641 (dealloc_ref): Call __mach_port_deallocate instead of
10642 mach_port_deallocate.
10643 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
10644 Call __mach_port_deallocate instead of mach_port_deallocate.
10645 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
10646 pathconf.
10647 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
10648 munmap.
10649 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
10650 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
10651 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
10652 of munmap.
10653 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
10654 of close.
10655 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
10656 instead of sysconf.
10657 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
10658 __clock_gettime instead of clock_gettime.
10659 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
10660 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
10661 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
10662 * sysdeps/unix/bsd/stty.c (stty): Likewise.
10663 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
10664 tcgetattr.
10665 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
10666 __clock_gettime and __nanosleep instead of clock_gettime and
10667 nanosleep.
7a8f45e3
ST
10668 * hurd/catch-signal.c (hurd_catch_signal): Rename to
10669 __hurd_catch_signal.
10670 (hurd_catch_signal): New strong alias.
10671 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
10672 __hurd_catch_signal instead of hurd_catch_signal.
10673 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
10674 * hurd/hurdexec.c (_hurd_init): Add hidden def.
10675 * hurd/hurdinit.c (_hurd_init): Add hidden def.
10676 * hurd/hurdsig.c: Include <mach/mig_support.h>.
10677 (_hurd_thread_sigstate): Add hidden def.
10678 (_hurd_internal_post_signal): Use __mutex_unlock instead of
10679 mutex_unlock.
10680 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
10681 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
10682 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
10683 __hurd_file_name_path_lookup.
10684 (hurd_file_name_path_lookup): New strong alias.
10685 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
10686 hurd_file_name_path_lookup.
10687 * mach/errstring.c (mach_error_type): Add hidden def.
10688 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
10689 * mach/mutex-init.c (__mutex_init): Add hidden def.
10690 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
10691 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
10692 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
10693 * sysdeps/mach/hurd/getcwd.c
10694 (_hurd_canonicalize_directory_name_internal): Rename to
10695 __hurd_canonicalize_directory_name_internal.
10696 (_hurd_canonicalize_directory_name_internal): New strong alias.
10697 (__canonicalize_directory_name_internal, __getcwd): Call
10698 __hurd_canonicalize_directory_name_internal instead of
10699 _hurd_canonicalize_directory_name_internal.
10700 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
10701 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
10702 hidden defs.
10703 * sysdeps/hurd/include/hurd.h: New file.
10704 * sysdeps/hurd/include/hurd/fd.h: New file.
10705 * sysdeps/hurd/include/hurd/signal.h: New file.
10706 * sysdeps/mach/include/lock-intern.h: New file.
10707 * sysdeps/mach/include/mach.h: New file.
10708 * sysdeps/mach/include/mach/mig_support.h: New file.
10709 * sysdeps/mach/include/mach_error.h: New file.
a758c293
ST
10710 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
10711 prototype.
10712 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
10713 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
10714 _HEADER_H_HIDDEN_DEF macro.
10715 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
10716 _hurd_fd_error_signal): Add hidden prototype.
10717 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
10718 hidden def.
82dbf555
ST
10719 * libio/iolibio.h (_IO_puts): New hidden prototype.
10720 * libio/ioputs.c (_IO_puts): New hidden def.
171488a2
ST
10721 * sysdeps/mach/hurd/localplt.data: New file.
10722
33574c17
ST
107232018-04-02 Agustina Arzille <avarzille@riseup.net>
10724 Amos Jeffries <squid3@treenet.co.nz>
10725 David Michael <fedora.dm0@gmail.com>
10726 Marco Gerards <marco@gnu.org>
10727 Marcus Brinkmann <marcus@gnu.org>
10728 Neal H. Walfield <neal@gnu.org>
10729 Pino Toscano <toscano.pino@tiscali.it>
10730 Richard Braun <rbraun@sceen.net>
10731 Roland McGrath <roland@gnu.org>
10732 Samuel Thibault <samuel.thibault@ens-lyon.org>
10733 Thomas DiModica <ricinwich@yahoo.com>
10734 Thomas Schwinge <tschwinge@gnu.org>
10735
10736 * htl: New directory.
10737 * sysdeps/htl: New directory.
10738 * sysdeps/hurd/htl: New directory.
10739 * sysdeps/i386/htl: New directory.
10740 * sysdeps/mach/htl: New directory.
10741 * sysdeps/mach/hurd/htl: New directory.
10742 * sysdeps/mach/hurd/i386/htl: New directory.
10743 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
10744 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
10745 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
10746
03e2aa50
ST
107472018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10748
10749 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
10750 signals in thread created for runing timers.
10751
1aa52ced
FW
107522018-04-01 Florian Weimer <fweimer@redhat.com>
10753
10754 * support/support_format_addrinfo.c (support_format_addrinfo):
10755 Include unknown error number in formatted result.
10756
4d76d3e5
FW
107572018-03-29 Florian Weimer <fweimer@redhat.com>
10758
10759 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
10760 capture SIGBUS.
10761
d39c0a45
AZ
107622018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10763
10764 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
10765 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
10766 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10767 (__ASSUME_CLONE_BACKWARDS): Define.
10768
cc8a1620
JH
107692018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
10770
57408435 10771 [BZ #23024]
cc8a1620
JH
10772 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
10773 early when linux sentinel value is set.
10774
8bfd94d0
ST
107752018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
10776
10777 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
10778
f178e59f
AS
107792018-03-27 Andreas Schwab <schwab@suse.de>
10780
10781 [BZ #23005]
10782 * resolv/res_send.c (__res_context_send): Return ENOMEM if
10783 allocation of private copy of nsaddr_list fails.
10784
5f45f96a
JM
107852018-03-26 Joseph Myers <joseph@codesourcery.com>
10786
10787 [BZ #16552]
10788 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
10789 * sysdeps/unix/sysv/linux/umount.c: ... here.
10790 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
10791 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
10792 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
10793 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
10794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
10795 * sysdeps/unix/sysv/linux/umount.S: Likewise.
10796 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
10797
3dfd23eb
AS
107982018-03-26 Andreas Schwab <schwab@suse.de>
10799
10800 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
10801 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
10802 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
10803 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
10804 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
10805 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
10806 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
10807 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
10808 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
10809 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
10810 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
10811 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
10812 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
10813 (R_RISCV_NUM): Define.
10814
fa97d2ab
ST
108152018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
10816
10817 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
10818 TLS declaration of errno.
37be82a0
ST
10819 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
10820 __libc_setup_tls.
10821 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
10822 (ARCH_SETUP_TLS): Likewise.
10823 * sysdeps/mach/hurd/libc-start.h: New file copied from
10824 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
978a6803
ST
10825 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
10826 instead of __libc_setup_tls.
37be82a0 10827 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
978a6803
ST
10828 __libc_setup_tls before initializing libpthread and running _hurd_init
10829 which starts the signal thread.
10830 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
10831 Declare function.
2d813d7b 10832 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fa97d2ab 10833
b8114edd
L
108342018-03-24 H.J. Lu <hongjiu.lu@intel.com>
10835
10836 [BZ #22998]
10837 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
10838 after it is defined.
10839
cd66c0e5
AS
108402018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
10841 Max Horn <max@quendi.de>
10842
10843 [BZ #22644]
43d4f3d5 10844 CVE-2017-18269
cd66c0e5
AS
10845 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
10846 branch conditions.
10847 * string/test-memmove.c (do_test2): New testcase.
10848
a4406139
JM
108492018-03-22 Joseph Myers <joseph@codesourcery.com>
10850
10851 * sysdeps/generic/frame.h: Remove file.
10852 * sysdeps/arm/frame.h: Likewise.
10853 * sysdeps/hppa/frame.h: Likewise.
10854 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
10855 macro.
10856 (GET_FRAME): Likewise.
10857 (GET_STACK): Likewise.
10858 (CALL_SIGHANDLER): Likewise.
10859 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
10860 Likewise.
10861 (GET_FRAME): Likewise.
10862 (GET_STACK): Likewise.
10863 (CALL_SIGHANDLER): Likewise.
10864 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
10865 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10866 (GET_FRAME): Likewise.
10867 (GET_STACK): Likewise.
10868 (CALL_SIGHANDLER): Likewise.
10869 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
10870 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10871 (GET_FRAME): Likewise.
10872 (GET_STACK): Likewise.
10873 (ADVANCE_STACK_FRAME): Likewise.
10874 (CALL_SIGHANDLER): Likewise.
10875 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
10876 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10877 (GET_FRAME): Likewise.
10878 (GET_STACK): Likewise.
10879 (CALL_SIGHANDLER): Likewise.
10880 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
10881 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10882 (GET_FRAME): Likewise.
10883 (GET_STACK): Likewise.
10884 (CALL_SIGHANDLER): Likewise.
10885 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
10886 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10887 (GET_FRAME): Likewise.
10888 (GET_STACK): Likewise.
10889 (CALL_SIGHANDLER): Likewise.
10890 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
10891 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10892 (GET_FRAME): Likewise.
10893 (GET_STACK): Likewise.
10894 (CALL_SIGHANDLER): Likewise.
10895 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
10896 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10897 (GET_FRAME): Likewise.
10898 (GET_STACK): Likewise.
10899 (CALL_SIGHANDLER): Likewise.
10900 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
10901 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10902 (GET_FRAME): Likewise.
10903 (GET_STACK): Likewise.
10904 (CALL_SIGHANDLER): Likewise.
10905 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
10906 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10907 (GET_FRAME): Likewise.
10908 (GET_STACK): Likewise.
10909 (CALL_SIGHANDLER): Likewise.
10910 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
10911 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10912 (GET_FRAME): Likewise.
10913 (GET_STACK): Likewise.
10914 (CALL_SIGHANDLER): Likewise.
10915 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
10916 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10917 (GET_FRAME): Likewise.
10918 (GET_STACK): Likewise.
10919 (CALL_SIGHANDLER): Likewise.
10920 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
10921 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10922 (FIRST_FRAME_POINTER): Likewise.
10923 (ADVANCE_STACK_FRAME): Likewise.
10924 (GET_STACK): Likewise.
10925 (GET_FRAME): Likewise.
10926 (CALL_SIGHANDLER): Likewise.
10927 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
10928 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10929 (ADVANCE_STACK_FRAME): Likewise.
10930 (GET_STACK): Likewise.
10931 (GET_FRAME): Likewise.
10932 (CALL_SIGHANDLER): Likewise.
10933 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
10934 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10935 (GET_FRAME): Likewise.
10936 (GET_STACK): Likewise.
10937 (CALL_SIGHANDLER): Likewise.
10938 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
10939 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10940 (GET_FRAME): Likewise.
10941 (GET_STACK): Likewise.
10942 (CALL_SIGHANDLER): Likewise.
10943
ffec7b27
JM
109442018-03-21 Joseph Myers <joseph@codesourcery.com>
10945
10946 * sysdeps/x86_64/backtrace.c: Move to ....
10947 * debug/backtrace.c: ... here.
10948 * sysdeps/aarch64/backtrace.c: Remove file.
10949 * sysdeps/alpha/backtrace.c: Likewise.
10950 * sysdeps/hppa/backtrace.c: Likewise.
10951 * sysdeps/ia64/backtrace.c: Likewise.
10952 * sysdeps/mips/backtrace.c: Likewise.
10953 * sysdeps/nios2/backtrace.c: Likewise.
10954 * sysdeps/riscv/backtrace.c: Likewise.
10955 * sysdeps/sh/backtrace.c: Likewise.
10956 * sysdeps/tile/backtrace.c: Likewise.
10957
8a07b0c4
JM
109582018-03-20 Joseph Myers <joseph@codesourcery.com>
10959
d0c5d731
JM
10960 [BZ #22987]
10961 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
10962 function.
10963 (fdimf): Likewise.
10964 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
10965
8a07b0c4
JM
10966 [BZ #17343]
10967 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
10968 possibly overflowing computations.
10969
ceb54b9b
ST
109702018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
10971
10972 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
10973 values from Linux-specific section now that it is in the GNU section.
10974 * sysdeps/gnu/errlist.c: Regenerate.
10975
8d3f9e85
JM
109762018-03-20 Joseph Myers <joseph@codesourcery.com>
10977
10978 * math/Makefile (libm-narrow-fns): Add sub.
10979 (libm-test-funcs-narrow): Likewise.
10980 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
10981 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
10982 * math/gen-auto-libm-tests.c (test_functions): Add sub.
10983 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
10984 (NARROW_SUB_ROUND_TO_ODD): Likewise.
10985 (NARROW_SUB_TRIVIAL): Likewise.
10986 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
10987 macro.
10988 (__dsubl): Likewise.
10989 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
10990 dsub.
10991 (CFLAGS-nldbl-dsub.c): New variable.
10992 (CFLAGS-nldbl-fsub.c): Likewise.
10993 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
10994 __nldbl_dsubl.
10995 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
10996 prototype.
10997 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
10998 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
10999 * math/auto-libm-test-in: Add tests of sub.
11000 * math/auto-libm-test-out-narrow-sub: New generated file.
11001 * math/libm-test-narrow-sub.inc: New file.
11002 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
11003 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
11004 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
11005 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
11006 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
11007 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
11008 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
11009 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
11010 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
11011 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
11012 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
11013 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
11014 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
11015 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
11016 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
11017 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
11018 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
11019 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
11020 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11021 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
11022 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11023 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11024 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11025 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11026 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11027 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11028 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11029 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11030 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11031 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11032 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11033 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
11036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11038 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
11039 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11040 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11041 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11042 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11043 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11044 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
11045 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
11046 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11047 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11048
d473f015
JM
110492018-03-19 Joseph Myers <joseph@codesourcery.com>
11050
11051 [BZ #20079]
11052 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
11053
fbce6f72
WD
110542018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
11055
11056 * benchtests/bench-timing.h (attribute_hidden): Undefine.
11057
72e7ffc3
RB
110582018-03-18 Richard Braun <rbraun@sceen.net>
11059
11060 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
11061 thread reference.
11062
542c20a1
AA
110632018-03-18 Agustina Arzille <avarzille@riseup.net>
11064
11065 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
11066 (__libc_cleanup_fct): Define function.
11067 (__libc_cleanup_region_start, __libc_cleanup_region_end,
11068 __libc_cleanup_end): Rewrite implementation using
11069 __attribute__ ((__cleanup__)).
11070 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
fb4cc8a0
AA
11071 * hurd/Makefile (routines): Add hurdlock.
11072 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
11073 interface.
11074 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
11075 * hurd/hurdpid.c: Include <lowlevellock.h>
11076 (_S_msg_proc_newids): Use lll_wait to synchronize.
11077 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
11078 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
11079 * mach/Makefile (lock-headers): Remove machine-lock.h.
11080 * mach/lock-intern.h: Include <lowlevellock.h> instead of
11081 <machine-lock.h>.
11082 (__spin_lock_t): New type.
11083 (__SPIN_LOCK_INITIALIZER): New macro.
11084 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
11085 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
11086 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
11087 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
11088 (__mutex_init): Initialize with lll.
11089 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
11090 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
11091 needing lll.
11092 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
11093 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
11094 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
11095 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
11096 (__setpgid): Use lll for synchronization.
11097 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
11098 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
11099 instead of <cthreads.h>.
11100 (_IO_lock_inexpensive): New macro
11101 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
11102 (__libc_lock_self0): New declaration.
11103 (__libc_lock_owner_self): New macro.
11104 (__libc_key_t): Remove type.
11105 (_LIBC_LOCK_INITIALIZER): New macro.
11106 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
11107 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
11108 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
11109 __libc_lock_define_initialized_recursive,
11110 __rtld_lock_define_initialized_recursive,
11111 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
11112 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
11113 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
11114 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
11115 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
11116 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
11117 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
11118 New macros.
11119 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
11120 * hurd/hurdlock.c: New file.
11121 * hurd/hurdlock.h: New file.
11122 * mach/lowlevellock.h: New file
542c20a1 11123
9a37922e
ST
111242018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
11125
11126 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
489999cc
ST
11127 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
11128 when opening a symlink with O_NOFOLLOW.
72103e73
ST
11129 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
11130 path when flags contains O_NOFOLLOW.
11131 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
11132 if flags contains O_DIRECTORY and the result is a directory.
aa218929
ST
11133 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
11134 oneself when the pointer given in D is nul (as set by ext2fs).
20bc801b
ST
11135 * sysdeps/mach/hurd/mlockall.c: New file.
11136 * sysdeps/mach/hurd/munlockall.c: New file.
9a37922e 11137
34e6a869
ST
111382018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
11139
11140 * hurd/hurdsig.c: Include <pthread.h>.
11141 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
11142 get the signal thread stack layout.
dc33bef3
ST
11143 * hurd/Makefile (headers): Remove threadvar.h.
11144 (inline-headers): Remove threadvar.h.
11145 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
11146 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
11147 __hurd_threadvar_max, __hurd_errno_location.
11148 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
11149 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
11150 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
11151 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
11152 unless TLS is not initialized yet, in which case we do not need a
11153 critical section yet anyway.
11154 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
11155 <machine-sp.h>.
11156 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
11157 declarations.
11158 (__hurd_threadvar_index): Remove enum.
11159 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
11160 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
11161 inlines.
11162 (__hurd_reply_port0): New variable declaration.
11163 (__hurd_local_reply_port): New macro.
11164 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
11165 (interrupted_reply_port_location): Add thread_t parameter. Use it
11166 with THREAD_TCB to access thread-local variables.
11167 (_hurdsig_abort_rpcs): Pass ss->thread to
11168 interrupted_reply_port_location.
11169 (_hurd_internal_post_signal): Likewise.
11170 (_hurdsig_init): Use presence of cthread_fork instead of
11171 __hurd_threadvar_stack_mask to start signal thread by hand.
11172 Remove signal thread threadvar initialization.
11173 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
11174 * hurd/sigunwind.c: Include <hurd/threadvar.h>
11175 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
11176 of threadvar.
11177 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
11178 __libc_lock_self0.
11179 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
11180 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
11181 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
11182 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
11183 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
11184 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
11185 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
11186 define variables.
11187 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
11188 <hurd/threadvar.h>.
11189 [IS_IN(rtld)] (rtld_errno): New variable.
11190 [IS_IN(rtld)] (__errno_location): New weak function.
11191 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
11192 * sysdeps/mach/hurd/errno.c: Remove file.
11193 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
11194 (__fork): Remove THREADVAR_SPACE macro and its use.
11195 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
11196 variable.
11197 (init): Do not initialize threadvar.
11198 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
11199 symbol.
11200 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
11201 __hurd_local_reply_port instead of threadvar.
11202 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
11203 _hurd_sigstate fields.
11204 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
11205 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
11206 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
11207 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
11208 instead of threadvar.
11209 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
11210 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
11211 (use_threadvar, global_reply_port): Remove variables.
11212 (__hurd_reply_port0): New variable.
11213 (__mig_get_reply_port): Use __hurd_local_reply_port and
11214 __hurd_reply_port0 instead of threadvar.
11215 (__mig_dealloc_reply_port): Likewise.
11216 (__mig_init): Do not initialize threadvar.
11217 * sysdeps/mach/hurd/profil.c: Fix comment.
c2fb08c7
ST
11218 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
11219 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
11220 cthread_keycreate, cthread_getspecific, cthread_setspecific to
11221 __cthread_fork, __cthread_detach, __pthread_getattr_np,
11222 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
11223 __cthread_setspecific.
11224 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
11225 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
11226 __cthread_t instead of cthread_fork, cthread_detach,
11227 pthread_getattr_np, pthread_attr_getstack.
11228 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
11229 __cthread_keycreate.
11230 (cthread_getspecific): Rename to __cthread_getspecific.
11231 (cthread_setspecific): Rename to __cthread_setspecific.
11232 (__libc_getspecific): Use __cthread_getspecific instead of
11233 cthread_getspecific.
11234 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
11235 __cthread_keycreate instead of cthread_keycreate.
11236 (__libc_setspecific): Use __cthread_setspecific instead of
11237 cthread_setspecific.
11238 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
11239 Likewise.
dd28d4ba
ST
11240 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
11241 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
11242 testing whether it is defined.
34e6a869 11243
f8baf2a2
ST
112442018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11245
11246 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
11247 Define macro.
11248 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
11249 * sysdeps/mach/i386/thread_state.h
11250 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
11251 i386_THREAD_STATE.
11252 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
11253 i386_THREAD_STATE.
11254 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
11255
11256 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
11257 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
11258
11259 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
11260 macros.
11261 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
11262 descriptor instead of creating a new one.
11263 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
11264
11265 * mach/setup-thread.c: Include <ldsodefs.h>.
11266 (__mach_setup_thread): Call _dl_allocate_tls, pass
11267 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
11268 MACHINE_THREAD_STATE_FLAVOR, before getting
11269 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
11270 MACHINE_THREAD_STATE_FLAVOR with the result.
11271 * hurd/hurdfault.c (_hurdsig_fault_init): Call
11272 MACHINE_THREAD_STATE_FIX_NEW.
11273 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
11274 too. Add original thread parameter.
11275
34ba96b8
JM
112762018-03-16 Joseph Myers <joseph@codesourcery.com>
11277
5d75b75f
JM
11278 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
11279 Remove inline function.
11280
34ba96b8
JM
11281 * sysdeps/i386/fpu/libm-test-ulps: Update.
11282 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
11283
22679b2c
WD
112842018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
11285
11286 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
11287 commit.
11288
c429a8d8
JM
112892018-03-15 Joseph Myers <joseph@codesourcery.com>
11290
11291 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
11292 (__sincos_code): Remove define and undefine.
11293 [__FAST_MATH__] (__sincos): Remove inline function.
11294 [__FAST_MATH__] (__sincosf): Remove inline function.
11295 [__FAST_MATH__] (__sincosl): Remove inline function.
11296 (__atan2l): Remove inline functions.
11297 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
11298 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
11299 function.
11300 (floor): Remove inline function.
11301 (ceil): Likewise.
11302 [__FAST_MATH__] (__ldexp_code): Remove macro.
11303 [__FAST_MATH__] (ldexp): Remove inline function.
11304 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
11305 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
11306 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
11307 [__USE_ISOC99] (__lrint_code): Remove macro.
11308 [__USE_ISOC99] (__llrint_code): Likewise.
11309 [__USE_ISOC99] (lrintf): Remove inline function.
11310 [__USE_ISOC99] (lrint): Likewise.
11311 [__USE_ISOC99] (lrintl): Likewise.
11312 [__USE_ISOC99] (llrint): Likewise.
11313 [__USE_ISOC99] (llrintf): Likewise.
11314 [__USE_ISOC99] (llrintl): Likewise.
11315
700593fd
WD
113162018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
11317
11318 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
11319 (__ieee754_sqrtf): Remove.
11320 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
11321 (__ieee754_sqrtf): Remove.
11322 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
11323 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
11324 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
11325 (__ieee754_sqrtf): Remove.
11326 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
11327 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
11328 (sqrtf): Remove.
11329 (sqrtl): Remove.
11330 (__ieee754_sqrt): Remove.
11331 (__ieee754_sqrtf): Remove.
11332 (__ieee754_sqrtl): Remove.
11333 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
11334 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
11335 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
11336 (__ieee754_sqrtf): Remove.
11337 (__ieee754_sqrtl): Remove.
11338
f67a8147
WD
113392018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
11340
11341 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
11342 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
11343 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
11344 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
11345 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
11346 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11347 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11348 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
11349 Likewise.
11350 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
11351 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
11352 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
11353 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
11354 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
11355 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
11356 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
11357 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
11358 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
11359 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
11360 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
11361 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
11362 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
11363 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
11364 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
11365 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11366 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11367 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
11368 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
11369 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
11370 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
11371 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11372 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
11373 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
11374 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
11375 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
11376 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11377 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11378 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
11379 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
11380 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
11381 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
11382 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
11383 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
11384 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
11385 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11386 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
11387 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
11388 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
11389 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
11390
1294b189
WD
113912018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
11392
11393 * include/math.h (sqrt): Declare with asm redirect.
11394 (sqrtf): Likewise.
11395 (sqrtl): Likewise.
11396 (sqrtf128): Likewise.
11397 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
11398 nonlib and libnldbl with -fmath-errno.
11399 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
11400 * math/w_sqrt_template.c: Likewise.
11401 * math/w_sqrtf_compat.c: Likewise.
11402 * math/w_sqrtl_compat.c: Likewise.
11403 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
11404 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
11405 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
11406 complex.h.
11407
f1c8185d
WD
114082018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
11409
11410 * benchtests/Makefile: Define _ISOMAC.
11411 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
11412 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
11413 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
11414 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
11415 * benchtests/bench-timing.h: Define attribute_hidden.
11416
b47c3e76
SP
114172018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
11418
11419 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
11420 mov + lsr.
11421
807fee29
RL
114222018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
11423
11424 [BZ #22963]
11425 * localedata/locales/cs_CZ (mon): Rename to...
11426 (alt_mon): This.
11427 (mon): Import from CLDR (genitive case).
11428
e7155a28
RL
114292018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
11430
11431 [BZ #22937]
11432 * localedata/locales/el_CY (abmon): Rename to...
11433 (ab_alt_mon): This.
11434 (abmon): Import from CLDR (abbreviated genitive case).
11435 * localedata/locales/el_GR (abmon): Rename to...
11436 (ab_alt_mon): This.
11437 (abmon): Import from CLDR (abbreviated genitive case).
11438
71d7b121
RL
114392018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
11440
11441 [BZ #22932]
11442 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
11443
a00bffe8
RB
114442018-03-15 Robert Buj <robert.buj@gmail.com>
11445
11446 [BZ #22848]
11447 * localedata/locales/ca_ES (abmon): Rename to...
11448 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
11449 (mon): Rename to...
11450 (alt_mon): This.
11451 (abmon): Import from CLDR (genitive case, month names preceded by
11452 "de" or "d’").
11453 (mon): Likewise.
11454 (abday): Synchronize with CLDR.
11455 (d_t_fmt): Likewise.
11456 (d_fmt): Likewise.
11457 (am_pm): Likewise.
11458
11459 (LC_TIME): Improve indentation.
11460 (LC_TELEPHONE): Likewise.
11461 (LC_NAME): Likewise.
11462 (LC_ADDRESS): Likewise.
11463
f9555d73
JM
114642018-03-14 Joseph Myers <joseph@codesourcery.com>
11465
11466 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
11467 (lrintf): Remove definitions used only with old GCC.
11468 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
11469 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
11470 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
11471 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
11472 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
11473 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
11474 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
11475 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
11476 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
11477 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
11478 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
11479 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
11480 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
11481 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
11482 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
11483 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
11484 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
11485 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
11486 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
11487 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
11488 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
11489 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
11490 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
11491 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
11492 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
11493 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
11494 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
11495 [__FAST_MATH__] (__M_SQRT2): Remove macro.
11496
d46f84de
SP
114972018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
11498
11499 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
11500 instruction to unbreak builds with binutils 2.26 and older.
11501
7108f1f9
SP
115022018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
11503
11504 * sysdeps/aarch64/strncmp.S (count): New macro.
11505 (strncmp): Store misaligned length in SRC1 in COUNT.
11506 (mutual_align): Adjust.
11507 (misaligned8): Load dword at a time when it is safe.
11508
2cc7bad0
ZW
115092018-03-12 Zack Weinberg <zackw@panix.com>
11510
11511 [BZ #1190]
11512 [BZ #19476]
11513 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
11514 if the _IO_EOF_SEEN bit is already set; update commentary.
11515 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
11516 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
11517
11518 * support/support_openpty.c, support/tty.h: New files.
11519 * support/Makefile (libsupport-routines): Add support_openpty.
11520
11521 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
11522 New test cases.
11523 * libio/Makefile (tests): Add tst-fgetc-after-eof.
11524 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
11525
778f1974
DL
115262018-03-12 Dmitry V. Levin <ldv@altlinux.org>
11527
11528 * po/pt_BR.po: Update translations.
11529
da6d4404
DM
115302018-03-12 David Michael <fedora.dm0@gmail.com>
11531
11532 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
11533 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
11534 get a port to the startup server.
11535
d3da750d
ZW
115362018-03-11 Zack Weinberg <zackw@panix.com>
11537
11538 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
11539 before nldbl-compat.h.
11540
054b72cc
ZW
115412018-03-10 Zack Weinberg <zackw@panix.com>
11542
0d13dfa1
ZW
11543 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
11544 math.h or math_private.h.
11545
11546 * sysdeps/alpha/fpu/s_isnan.c
11547 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
11548 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
11549 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
11550 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
11551 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
11552 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
11553 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
11554 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
11555 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
11556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
11557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
11558 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
11559 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
11560 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
11561 Include math_private.h.
11562
11563 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
11564 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
11565 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
11566 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
11567 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
11568 * sysdeps/powerpc/power7/fpu/s_logb.c:
11569 Include math.h and math_private.h.
11570
054b72cc
ZW
11571 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
11572 uses of $at in .set noat / .set at.
11573
6253bacd
L
115742018-03-10 H.J. Lu <hongjiu.lu@intel.com>
11575
11576 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
11577 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
11578 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
11579 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
11580 Likewise.
11581
229855e5
FW
115822018-03-09 Florian Weimer <fweimer@redhat.com>
11583
11584 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
11585 in comment.
11586
9aa5c222
AJ
115872018-03-09 Aurelien Jarno <aurelien@aurel32.net>
11588
11589 [BZ #22919]
11590 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
11591 Add nop before __startcontext, add explaining comments.
11592
3dc21497
AZ
115932018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11594
e921c89e
AZ
11595 [BZ #22926]
11596 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
11597 empty for __SPE__.
11598 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
11599 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
11600 Do not build hardware transactional code for __SPE__.
11601 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
11602 (__lll_trylock_elision): Likewise.
11603 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
11604 (__lll_unlock_elision): Likewise.
11605
d9f26dab 11606 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
3dc21497
AZ
11607 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
11608 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
11609 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
11610 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
11611 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
11612 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
11613 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
11614 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
11615 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
11616 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
11617 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
11618 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
11619 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
11620 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
11621 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
11622 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
11623 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
11624 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
11625 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
11626 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
11627 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11628 (__ASSUME_CLONE_BACKWARDS): Define.
11629 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
11630 __clone2 if __NR_clone2 is defined.
11631 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11632 (__ASSUME_CLONE_BACKWARDS): Likewise.
11633 * sysdeps/unix/sysv/linux/i386/kernel-features.h
11634 (__ASSUME_CLONE_BACKWARDS): Likewise.
11635 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11636 (__ASSUME_CLONE2): Likewise.
11637 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11638 (__ASSUME_CLONE_BACKWARDS3): Likewise.
11639 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
11640 variants and the define architecture can use.
11641 (__ASSUME_CLONE_DEFAULT): Define as default.
11642 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11643 (__ASSUME_CLONE_BACKWARDS): Likewise.
11644 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11645 (__ASSUME_CLONE_BACKWARDS): Likewise.
11646 * sysdeps/unix/sysv/linux/s390/kernel-features.h
11647 (__ASSUME_CLONE_BACKWARDS2): Likewise.
11648
adc95fb0
SP
116492018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
11650
4e54d918
SP
11651 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
11652
30a81dae
SP
11653 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
11654 time.
11655
adc95fb0
SP
11656 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
11657 (do_test_limit): Likewise.
11658
11659 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
11660 for every implementation.
11661 (do_test): Likewise.
11662
11663 * benchtests/bench-strncmp.c: Convert output to json.
11664
4e9066bc
ST
116652018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11666
11667 * io/futimens.c: Add missing start-of-file descriptive comment.
11668 * io/utime.c: Likewise.
11669 * misc/futimesat.c: Likewise.
11670 * misc/utimes.c: Likewise.
11671 * sysdeps/mach/hurd/futimesat.c: Likewise.
11672 * sysdeps/mach/hurd/utimes.c: Likewise.
11673 * sysdeps/posix/utime.c: Likewise.
11674 * sysdeps/posix/utimes.c: Likewise.
11675 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
11676 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
11677 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
11678 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
11679
ec1300cf
ST
116802018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
11681
11682 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
11683 hurd_futimes.
11684 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
11685 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
11686 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
11687 (__futimens): Move implementation to...
11688 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
11689 utime_tvalue_from_tspec): ... new helper functions.
11690 (hurd_futimens): New function.
11691 * sysdeps/mach/hurd/futimesat.c: New file.
11692 * sysdeps/mach/hurd/utimensat.c: New file.
11693
bbe762d1
FC
116942018-03-05 Flávio Cruz <flaviocruz@gmail.com>
11695
11696 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
11697 UTIME_OMIT): New macros.
11698 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
11699 before reverting to converting time spec to time value and calling
11700 __file_utimes.
11701 * sysdeps/mach/hurd/utime-helper.c: New file.
11702 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
11703 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
11704 reverting to utime_tvalue_from_tval and __file_utimes.
11705 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
11706 (__lutimes): Just call hurd_futimens after lookup.
11707 * sysdeps/mach/hurd/utimes.c: Likewise.
11708
a1ede3a4
ST
117092018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
11710
11711 * bits/sigaction.h: Add include guard.
11712 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
11713 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
11714 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
11715 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
11716 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
11717 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
11718 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
11719 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
11720 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
11721
6900d2ca
JM
117222018-03-05 Joseph Myers <joseph@codesourcery.com>
11723
11724 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
11725 -Wmaybe-uninitialized for -Os.
11726 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
11727 this disabling.
11728
68448be2
AZ
117292018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11730
5226a81f
AZ
11731 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
11732 __INO_T_MATCHES_INO64_T is defined.
11733 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
11734 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
11735 of definition.
11736 * dirent/alphasort64.c: Likewise.
11737 * dirent/scandir.c: Likewise.
11738 * dirent/scandir64-tail.c: Likewise.
11739 * dirent/scandir64.c: Likewise.
11740 * dirent/scandirat.c: Likewise.
11741 * dirent/scandirat64.c: Likewise.
11742 * dirent/versionsort.c: Likewise.
11743 * dirent/versionsort64.c: Likewise.
11744 * include/dirent.h: Likewise.
11745
fbd01e6c
AZ
11746 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
11747 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
11748 for socketpair endpoint.
11749 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
11750 WRITE_BUFFER_SIZE as buffer size for sending socket.
11751 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
11752 issue on system where send is implemented with sendto syscall.
11753 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
11754 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
11755 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
11756 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
11757
68448be2
AZ
11758 [BZ #21269]
11759 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
11760 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
11761 sa_restorer for vDSO case.
11762 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
11763
eb1ca47e
ST
117642018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
11765
11766 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
e30c291a
ST
11767 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
11768 * hurd/hurd/ioctl.h: Include <mach/port.h>
11769 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
f4bff843
ST
11770 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
11771 <mach/mach_types.h> and <mach/message.h>.
430fd945
ST
11772 (headers): Move mach/param.h to bits/mach/param.h.
11773 * sysdeps/mach/i386/mach/param.h: Move file to ...
11774 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
11775 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
11776 of <mach/param.h>.
3403cb7d
ST
11777 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
11778 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
11779 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
48d34cbc
ST
11780 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
11781 trivial, for C++ conformity.
44c6376c 11782 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
95dfdbd2
ST
11783 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
11784 Process mig output through $(migheadersed).
11785 * hurd/Makefile (migheadersed): Define variable.
a726c87a
ST
11786 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
11787 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
11788 headers.
ba89615d
ST
11789 * hurd/hurd.h: Include <bits/types/sigset_t.h>
11790 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
11791 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
11792 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
11793 <bits/types/sigset_t.h>.
11794 [!defined __USE_GNU]: Do not #error out.
11795 (struct hurd_sigstate): Use _NSIG instead of NSIG.
11796 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
11797 Include <stddef.h> and <bits/types/sigset_t.h>
11798 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
11799 instead of sighandler_t.
974393ea
ST
11800 * stdlib/errno.h (error_t): Move definition to...
11801 * bits/types/error_t.h: ... new header.
11802 * stdlib/Makefile (headers): Add bits/types/error_t.h.
11803 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
11804 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
11805 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
11806 * hurd/hurd.h: Include <bits/types/error_t.h>
11807 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
11808 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
11809 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
11810 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
11811 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
11812 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
8d965cde 11813 * sysdeps/mach/hurd/futimens.c: New file.
eb1ca47e 11814
eaf6753f
AS
118152018-03-03 Andreas Schwab <schwab@linux-m68k.org>
11816
11817 [BZ #22918]
11818 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
11819 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
11820 * nscd/gai.c (__nss_hosts_database): Readd definition.
11821 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
11822 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
11823 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
11824
4dc23804
JM
118252018-03-02 Joseph Myers <joseph@codesourcery.com>
11826
11827 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
11828 (ifunc_one): Likewise.
11829
1c81d55f
DD
118302018-03-01 DJ Delorie <dj@delorie.com>
11831
11832 [BZ #22342]
11833 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
11834 key value.
11835
b717c14f
MR
118362018-03-01 Maciej W. Rozycki <macro@mips.com>
11837
11838 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
11839 `match_pid' parameter.
11840 (td_ta_thr_iter): Update accordingly.
11841
1efe1358
FW
118422018-03-01 Florian Weimer <fweimer@redhat.com>
11843
11844 * nptl/Makefile (install-lib-ldscripts): Remove.
11845 (install): Remove rule.
11846 ($(inst_libdir)/libpthread.so): Likewise.
11847
a527f09c
MF
118482018-03-01 Mike FABIAN <mfabian@redhat.com>
11849
11850 [BZ #22896]
11851 * localedata/locales/an_ES: update month and day names,
11852 improve d_fmt, improve postal_fmt, add country_post,
11853 add country_isbn
11854
35d660b0
MF
118552018-03-01 Mike FABIAN <mfabian@redhat.com>
11856
11857 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
11858 Ukrainian instead of Bulgarian.
11859
1a2f44a8
FW
118602018-03-01 Florian Weimer <fweimer@redhat.com>
11861
11862 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
11863 reference.
11864
bd60ce86
FW
118652018-03-01 Florian Weimer <fweimer@redhat.com>
11866
11867 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
11868 * nptl/Makefile (routines): Add pthread_atfork.
11869 (static-only-routines): Set to pthread_atfork.
11870 (libpthread-routines): Remove pthread_atfork.
11871 (libpthread-static-only-routines): Remove.
11872 (install): Update comment.
11873 (libpthread.so): Do not install libpthread_nonshared.a.
11874 (tests): Do not link with libpthread_nonshared.a.
11875 (generated): Remove libpthread_nonshared.a.
11876 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
11877 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
11878 with libpthread_nonshared.a.
11879
000f290f
JM
118802018-02-28 Joseph Myers <joseph@codesourcery.com>
11881
e2bcf6a8
JM
11882 [BZ #22902]
11883 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
11884 (libc_feholdexcept_setroundf128): New macro.
11885 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
11886
000f290f
JM
11887 [BZ #15105]
11888 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
11889 libc_hidden_def.
11890 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
11891 * include/inttypes.h: New file.
11892
02f2fead
JM
118932018-02-27 Joseph Myers <joseph@codesourcery.com>
11894
11895 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
11896 -Os in two more places.
11897
874c56d7
MF
118982018-02-27 Mike FABIAN <mfabian@redhat.com>
11899
11900 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
11901 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
11902 be sorted correctly at the moment because of a bug.
11903
15973854
MF
119042018-02-27 Mike FABIAN <mfabian@redhat.com>
11905
11906 [BZ #22550] - es_ES locale (and other es_* locales): collation should
11907 treat ñ as a primary different character, sync the collation
11908 for Spanish with CLDR.
11909 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
11910 * localedata/Makefile: Add new test files.
11911 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
11912 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
11913 collation order.
11914 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
11915 * localedata/am_ET.UTF-8.in: New test file.
11916 * localedata/az_AZ.UTF-8.in: Likewise.
11917 * localedata/be_BY.UTF-8.in: Likewise.
11918 * localedata/ber_DZ.UTF-8.in: Likewise.
11919 * localedata/ber_MA.UTF-8.in: Likewise.
11920 * localedata/bg_BG.UTF-8.in: Likewise.
11921 * localedata/br_FR.UTF-8.in: Likewise.
11922 * localedata/cmn_TW.UTF-8.in: Likewise.
11923 * localedata/crh_UA.UTF-8.in: Likewise.
11924 * localedata/csb_PL.UTF-8.in: Likewise.
11925 * localedata/cv_RU.UTF-8.in: Likewise.
11926 * localedata/cy_GB.UTF-8.in: Likewise.
11927 * localedata/dz_BT.UTF-8.in: Likewise.
11928 * localedata/eo.UTF-8.in: Likewise.
11929 * localedata/es_ES.UTF-8.in: Likewise.
11930 * localedata/fa_IR.UTF-8.in: Likewise.
11931 * localedata/fi_FI.UTF-8.in: Likewise.
11932 * localedata/fil_PH.UTF-8.in: Likewise.
11933 * localedata/fur_IT.UTF-8.in: Likewise.
11934 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
11935 * localedata/ha_NG.UTF-8.in: Likewise.
11936 * localedata/ig_NG.UTF-8.in: Likewise.
11937 * localedata/ik_CA.UTF-8.in: Likewise.
11938 * localedata/kk_KZ.UTF-8.in: Likewise.
11939 * localedata/ku_TR.UTF-8.in: Likewise.
11940 * localedata/ky_KG.UTF-8.in: Likewise.
11941 * localedata/ln_CD.UTF-8.in: Likewise.
11942 * localedata/mi_NZ.UTF-8.in: Likewise.
11943 * localedata/ml_IN.UTF-8.in: Likewise.
11944 * localedata/mn_MN.UTF-8.in: Likewise.
11945 * localedata/mr_IN.UTF-8.in: Likewise.
11946 * localedata/mt_MT.UTF-8.in: Likewise.
11947 * localedata/nb_NO.UTF-8.in: Likewise.
11948 * localedata/om_KE.UTF-8.in: Likewise.
11949 * localedata/os_RU.UTF-8.in: Likewise.
11950 * localedata/ps_AF.UTF-8.in: Likewise.
11951 * localedata/ro_RO.UTF-8.in: Likewise.
11952 * localedata/ru_RU.UTF-8.in: Likewise.
11953 * localedata/sc_IT.UTF-8.in: Likewise.
11954 * localedata/se_NO.UTF-8.in: Likewise.
11955 * localedata/sq_AL.UTF-8.in: Likewise.
11956 * localedata/sv_SE.UTF-8.in: Likewise.
11957 * localedata/szl_PL.UTF-8.in: Likewise.
11958 * localedata/tg_TJ.UTF-8.in: Likewise.
11959 * localedata/tk_TM.UTF-8.in: Likewise.
11960 * localedata/tt_RU.UTF-8.in: Likewise.
11961 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
11962 * localedata/ug_CN.UTF-8.in: Likewise.
11963 * localedata/uz_UZ.UTF-8.in: Likewise.
11964 * localedata/vi_VN.UTF-8.in: Likewise.
11965 * localedata/yi_US.UTF-8.in: Likewise.
11966 * localedata/yo_NG.UTF-8.in: Likewise.
11967 * localedata/zh_CN.UTF-8.in: Likewise.
11968 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
11969 file and fix bugs in the collation.
11970 * localedata/locales/az_AZ: Likewise.
11971 * localedata/locales/be_BY: Likewise.
11972 * localedata/locales/ber_DZ: Likewise.
11973 * localedata/locales/ber_MA: Likewise.
11974 * localedata/locales/bg_BG: Likewise.
11975 * localedata/locales/br_FR: Likewise.
11976 * localedata/locales/br_FR@euro: Likewise.
11977 * localedata/locales/ca_ES: Likewise.
11978 * localedata/locales/cns11643_stroke: Likewise.
11979 * localedata/locales/crh_UA: Likewise.
11980 * localedata/locales/cs_CZ: Likewise.
11981 * localedata/locales/csb_PL: Likewise.
11982 * localedata/locales/cv_RU: Likewise.
11983 * localedata/locales/cy_GB: Likewise.
11984 * localedata/locales/da_DK: Likewise.
11985 * localedata/locales/dz_BT: Likewise.
11986 * localedata/locales/en_CA: Likewise.
11987 * localedata/locales/eo: Likewise.
11988 * localedata/locales/es_CU: Likewise.
11989 * localedata/locales/es_EC: Likewise.
11990 * localedata/locales/es_ES: Likewise.
11991 * localedata/locales/es_US: Likewise.
11992 * localedata/locales/et_EE: Likewise.
11993 * localedata/locales/fa_IR: Likewise.
11994 * localedata/locales/fi_FI: Likewise.
11995 * localedata/locales/fil_PH: Likewise.
11996 * localedata/locales/fur_IT: Likewise.
11997 * localedata/locales/gez_ER@abegede: Likewise.
11998 * localedata/locales/ha_NG: Likewise.
11999 * localedata/locales/hr_HR: Likewise.
12000 * localedata/locales/hsb_DE: Likewise.
12001 * localedata/locales/hu_HU: Likewise.
12002 * localedata/locales/ig_NG: Likewise.
12003 * localedata/locales/ik_CA: Likewise.
12004 * localedata/locales/is_IS: Likewise.
12005 * localedata/locales/iso14651_t1_pinyin: Likewise.
12006 * localedata/locales/kk_KZ: Likewise.
12007 * localedata/locales/ku_TR: Likewise.
12008 * localedata/locales/ky_KG: Likewise.
12009 * localedata/locales/ln_CD: Likewise.
12010 * localedata/locales/lt_LT: Likewise.
12011 * localedata/locales/lv_LV: Likewise.
12012 * localedata/locales/mi_NZ: Likewise.
12013 * localedata/locales/ml_IN: Likewise.
12014 * localedata/locales/mn_MN: Likewise.
12015 * localedata/locales/mr_IN: Likewise.
12016 * localedata/locales/mt_MT: Likewise.
12017 * localedata/locales/nb_NO: Likewise.
12018 * localedata/locales/om_KE: Likewise.
12019 * localedata/locales/os_RU: Likewise.
12020 * localedata/locales/pl_PL: Likewise.
12021 * localedata/locales/ps_AF: Likewise.
12022 * localedata/locales/ro_RO: Likewise.
12023 * localedata/locales/ru_RU: Likewise.
12024 * localedata/locales/ru_UA: Likewise.
12025 * localedata/locales/sc_IT: Likewise.
12026 * localedata/locales/se_NO: Likewise.
12027 * localedata/locales/si_LK: Likewise.
12028 * localedata/locales/sq_AL: Likewise.
12029 * localedata/locales/sv_FI: Likewise.
12030 * localedata/locales/sv_FI@euro: Likewise.
12031 * localedata/locales/sv_SE: Likewise.
12032 * localedata/locales/szl_PL: Likewise.
12033 * localedata/locales/tg_TJ: Likewise.
12034 * localedata/locales/ti_ER: Likewise.
12035 * localedata/locales/tk_TM: Likewise.
12036 * localedata/locales/tl_PH: Likewise.
12037 * localedata/locales/tr_TR: Likewise.
12038 * localedata/locales/tt_RU: Likewise.
12039 * localedata/locales/tt_RU@iqtelif: Likewise.
12040 * localedata/locales/ug_CN: Likewise.
12041 * localedata/locales/uk_UA: Likewise.
12042 * localedata/locales/uz_UZ: Likewise.
12043 * localedata/locales/uz_UZ@cyrillic: Likewise.
12044 * localedata/locales/vi_VN: Likewise.
12045 * localedata/locales/yi_US: Likewise.
12046 * localedata/locales/yo_NG: Likewise.
12047
ce6636b0
MF
120482018-02-27 Mike FABIAN <mfabian@redhat.com>
12049
12050 * gen-locales.mk: Make test files which contain @ modifiers in their
12051 name work.
12052 * localedata/gen-locale.sh: Likewise.
12053
ac3a3b4b
MF
120542018-02-27 Mike FABIAN <mfabian@redhat.com>
12055
12056 * posix/tst-fnmatch.input: Fix results for range expressions
12057 for non C locales.
12058 * posix/tst-regexloc.c: Do not use a range expression for
12059 de_DE.ISO-8859-1 locale.
12060
770cbe14
MF
120612018-02-27 Mike FABIAN <mfabian@redhat.com>
12062
12063 * posix/bug-regex5.c: Fix test case because with the new
12064 iso14651_t1_common file, the da_DK locale now has 6 collating elements
12065 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
12066 file.
12067
0fc355d9
MF
120682018-02-27 Mike FABIAN <mfabian@redhat.com>
12069
12070 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
12071 downloaded from ISO, the collation order of @-. and space has changed.
12072 Therefore, this test file needed to be adapted.
12073 * localedata/fr_CA.UTF-8.in: Likewise.
12074 * localedata/fr_FR.UTF-8.in: Likewise.
12075 * localedata/uk_UA.UTF-8.in: Likewise.
12076
43f3893f
MF
120772018-02-27 Mike FABIAN <mfabian@redhat.com>
12078
12079 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
12080 order of ȥ in the new iso14651_t1_common file.
12081 * localedata/pl_PL.UTF-8.in: Likewise.
12082
df74ef78
MF
120832018-02-27 Mike FABIAN <mfabian@redhat.com>
12084
12085 * localedata/locales/iso14651_t1_common: Add sections for various
12086 scripts to the iso14651_t1_common file.
12087
d5adfbad
MF
120882018-02-27 Mike FABIAN <mfabian@redhat.com>
12089
12090 * localedata/locales/iso14651_t1_common: Use the code point of a
12091 character in the fourth collation level instead of IGNORE for all
12092 entries which have IGNORE on all 4 levels.
12093
5f5a9610
MF
120942018-02-27 Mike FABIAN <mfabian@redhat.com>
12095
12096 * localedata/locales/iso14651_t1_common: Add some convenient collation
12097 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
12098 rules similar to those in CLDR.
12099
8a97e900
MF
121002018-02-27 Mike FABIAN <mfabian@redhat.com>
12101
12102 * localedata/locales/iso14651_t1_common: The new version of this
12103 file downloaded from ISO contained several syntax errors which
12104 are fixed by this patch.
12105
bbdd2fba
MF
121062018-02-27 Mike FABIAN <mfabian@redhat.com>
12107
12108 * localedata/locales/iso14651_t1_common: replace all <U.....>
12109 with <U000.....> because glibc understands only 4 digit or 8 digit
12110
1569e551
MF
121112018-02-27 Mike FABIAN <mfabian@redhat.com>
12112
12113 * localedata/locales/iso14651_t1_common: Necessary changes
12114 to make the file downloaded from ISO usable by glibc.
12115
9479b6d5
MF
121162018-02-27 Mike FABIAN <mfabian@redhat.com>
12117
12118 [BZ #14095]
12119 * localedata/locales/iso14651_t1_common: Update file to
12120 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
12121
03b540b3
ST
121222018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
12123
12124 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
12125 of <nptl/pthreadP.h>
12126 (thread_attr_compare): Move function to...
eb937a52 12127 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
03b540b3 12128 * sysdeps/nptl/timer_routines.h: ... new header.
7211eba6 12129 * sysdeps/mach/hurd/gai_misc.h: New file.
03b540b3 12130
20602c72
JM
121312018-02-26 Joseph Myers <joseph@codesourcery.com>
12132
f54d8f73
JM
12133 * string/strcoll_l.c: Include <libc-diag.h>.
12134 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
12135 declarations of seq1 and seq2.
12136
20602c72
JM
12137 [BZ #15105]
12138 * stdlib/atoi.c (atoi): Use libc_hidden_def.
12139 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
12140
f5f473a9
DL
121412018-02-26 Dmitry V. Levin <ldv@altlinux.org>
12142
12143 [BZ #22433]
12144 [BZ #22807]
12145 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
12146 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
12147 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
12148 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
12149 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
12150 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
12151
398c6fdd
TMQMF
121522018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12153
12154 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
12155 macros used in __ptrace_request.
12156
f5d1f629
L
121572018-02-23 H.J. Lu <hongjiu.lu@intel.com>
12158
12159 [BZ #22792]
12160 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
12161 to $(CC).
12162 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
12163 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
12164 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
12165 <tcb-offsets.h>.
12166
54412d20
JM
121672018-02-23 Joseph Myers <joseph@codesourcery.com>
12168
12169 [BZ #15105]
12170 * ctype/ctype.c (tolower): Use libc_hidden_def.
12171 (toupper): Likewise.
12172 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
12173 [!_ISOMAC] (toupper): Likewise.
12174
81be4b5e
MF
121752018-02-23 Mike FABIAN <mfabian@redhat.com>
12176
12177 * localedata/Makefile: Remove --quiet argument when
12178 installing locales
12179
9d5cfd8e
MF
121802018-02-23 Mike FABIAN <mfabian@redhat.com>
12181
12182 [BZ #17438]
12183 * localedata/locales/pt_BR (LC_TIME): use / instead of -
12184 in d_fmt.
12185 * localedata/locales/pt_PT (LC_TIME): likewise
12186
6c7269f3
MF
121872018-02-23 Mike FABIAN <mfabian@redhat.com>
12188
12189 [BZ #22646]
12190 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
12191 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
12192 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
12193
92aabad9
AZ
121942018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12195
4cdc25a4
AZ
12196 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12197
27761a10
AZ
12198 * nptl/Makefile (routines): Remove unregister-atfork.
12199 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
12200 (fork_handler_alloc): Remove function.
12201 (fork_handlers, fork_handler_init): New variables.
12202 (__fork_lock): Rename to atfork_lock.
12203 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
12204 to use a dynamic array to add/remove atfork handlers.
12205 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
12206 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
12207 Remove declaration.
12208 (fork_handler): Remove next, refcntr, and need_signal member.
12209 (__run_fork_handler_type): New enum.
12210 (__run_fork_handlers): New prototype.
12211 * nptl/register-atfork.c: Remove file.
12212 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
12213
92aabad9
AZ
12214 * sysdeps/nptl/nptl-signals.h: Move to ...
12215 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
12216 comments.
12217 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
12218 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
12219 unnecessary check for SIGTIMER.
12220 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
12221 remove unnecessary removal of SIGTIMER.
12222 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
12223 include-signals.h rename.
12224 * nptl/pthreadP.h: Likewise.
12225 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
12226 __is_internal_signal instead of __nptl_is_internal_signal.
12227
fdcc6253
AW
122282018-02-22 Andrew Waterman <andrew@sifive.com>
12229
7e04eb29 12230 [BZ # 22884]
fdcc6253
AW
12231 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
12232 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
12233 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
12234 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
12235
8090720a
DD
122362018-02-22 DJ Delorie <dj@delorie.com>
12237
12238 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
12239
6ca24c43
SP
122402018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
12241
12242 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
12243 do_misaligned, not misaligned8.
12244
e9537ddd
SE
122452018-02-22 Steve Ellcey <sellcey@cavium.com>
12246
12247 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
12248 Add memcpy_thunderx2.
12249 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
12250 Increment to 4.
12251 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
12252 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
12253 and IS_THUNDERX2PA checks.
12254 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
12255 Use macro to set name appropriately.
12256 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
12257 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
12258 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
12259 New macro.
12260 (IS_THUNDERX2): New macro.
12261
6e336476
SL
122622018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
12263
12264 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12265
34957904
ZW
122662018-02-21 Zack Weinberg <zackw@panix.com>
12267
30bfee26
ZW
12268 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
12269 Define here, unconditionally.
12270 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
12271 * libio/libioP.h: Remove #if 0 blocks.
12272 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
12273 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
12274 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
12275
12276 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
12277 Assume weak_alias is always defined.
12278
12279 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
12280 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
12281 Remove #if 0 and #ifdef TODO blocks.
12282 Assume text_set_element is always defined.
12283
12284 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
12285 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
12286 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
12287
df6c012b
ZW
12288 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
12289 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
12290 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
12291 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
12292 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
12293 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
12294 Reformat bit flags for _flags field to make occupancy clearer.
12295 Update commentary.
12296 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
12297 Keep definitions consistent with those in libio/libio.h.
12298
12299 * libio/libio.h (_IO_file_flags): Remove macro.
12300 All uses changed to _flags.
12301
177aad3f
ZW
12302 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
12303 (__HAVE_COLUMN, _IO_BE): Don't define.
12304 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
12305 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
12306 * libio/libioP.h (EOF): Don't define.
12307 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
12308 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
12309 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
12310 testing _IO_UNIFIED_JUMPTABLES.
12311
9964a145
ZW
12312 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
12313 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
12314 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
12315 (_IO_size_t): Delete; all uses changed to size_t.
12316 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
12317 (_IO_off_t): Delete; all uses changed to off_t.
12318 (_IO_off64_t): Delete; all uses changed to off64_t.
12319 (_IO_pid_t): Delete; all uses changed to pid_t.
12320 (_IO_uid_t): Delete; all uses changed to uid_t.
12321 (_IO_wint_t): Delete; all uses changed to wint_t.
12322 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
12323 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
12324 (_IO_cookie_io_functions_t): Delete; all uses changed to
12325 cookie_io_functions_t.
12326 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
12327 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
12328 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
12329 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
12330
12331 * libio/iofopncook.c: Remove unnecessary forward declarations.
12332 * libio/iolibio.h: Correct outdated commentary.
12333 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
12334 * stdio-common/fxprintf.c (__fxprintf_nocancel):
12335 Remove unnecessary casts.
12336 * stdio-common/getline.c: Use _IO_getdelim directly.
12337 Don't redefine ssize_t.
12338 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
12339 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
12340 Remove outdated comments.
12341 * stdio-common/vfscanf.c: Don't redefine va_list.
12342
34957904
ZW
12343 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
12344 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
12345 Remove preprocessor conditionals on _LIBC and __USE_GNU,
12346 which are always true, and __cplusplus, which is always false.
12347
30ac923d
JM
123482018-02-21 Joseph Myers <joseph@codesourcery.com>
12349
039c721a
JM
12350 [BZ #15105]
12351 [BZ #19463]
12352 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
12353 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
12354 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
12355 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
12356 libc_hidden_proto.
12357 [!_ISOMAC] (putc_unlocked): Likewise.
12358 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
12359 define inline if [__USE_EXTERN_INLINES].
12360 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
12361 putc_unlocked.
12362
30ac923d
JM
12363 [BZ #15105]
12364 [BZ #19463]
12365 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
12366 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
12367 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
12368 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
12369 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
12370 getc_unlocked.
12371 * time/tzfile.c (__tzfile_read): Likewise.
12372
7ec5f946
MF
123732018-02-21 Mike FABIAN <mfabian@redhat.com>
12374
12375 [BZ #22517]
12376 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
12377
0d217f40
RJ
123782018-02-21 Rical Jasan <ricaljasan@pacific.net>
12379
12380 * io/fcntl.h: Fix a typo in a comment.
12381
862b4502
RJ
123822018-02-21 Rical Jasan <ricaljasan@pacific.net>
12383
12384 [BZ #22862]
12385 * include/features.h: Add _ISOC11_SOURCE to test for whether to
12386 define _DEFAULT_SOURCE.
12387 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
12388
999a6dab
FW
123892018-02-21 Florian Weimer <fweimer@redhat.com>
12390
12391 [BZ #20890]
12392 * elf/cache.c (save_cache): Call fsync on temporary file before
12393 renaming it.
12394 (save_aux_cache): Call fdatasync on temporary file before renaming
12395 it.
12396
52a01100
FW
123972018-02-21 Florian Weimer <fweimer@redhat.com>
12398
12399 [BZ #22787]
12400 * include/caller.h: Remove file.
12401 * elf/dl-caller.c: Likewise.
12402 * elf/Makefile (dl-routines): Remove dl-caller.
12403 (shared-only-routines): Do not add dl-caller.
12404 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
12405 __check_caller.
12406 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
12407 member.
12408 (dl_open_worker): Do not call __check_caller.
12409 (_dl_open): Do not set caller_dl_open member.
12410 * elf/rtld.c (_rtld_global_ro): Do not initialize
12411 _dl_check_caller member.
12412 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
12413 _dl_check_caller member.
12414 (_dl_check_caller): Remove declaration.
12415 * sysdeps/unix/sysv/linux/dl-execstack.c
12416 (_dl_make_stack_executable): Do not call __check_caller.
12417
b5bf62e4
ST
124182018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
12419
12420 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
315304d2 12421 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
b5bf62e4 12422
e8d190b9
RJ
124232018-02-20 Rical Jasan <ricaljasan@pacific.net>
12424
12425 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
12426 description.
12427
6a3962c4
RJ
124282018-02-20 Rical Jasan <ricaljasan@pacific.net>
12429
da81ae64 12430 [BZ #16335]
6a3962c4
RJ
12431 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
12432 of 199606L, 200112L, and 200809L.
12433 (_XOPEN_SOURCE): Document special values of 600 and 700.
12434 (_ISOC11_SOURCE): Document macro.
12435 (_ATFILE_SOURCE): Likewise.
12436 (_FORTIFY_SOURCE): Likewise.
12437
ec481ad8
JM
124382018-02-19 Joseph Myers <joseph@codesourcery.com>
12439
12440 [BZ #15105]
12441 [BZ #19463]
12442 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
12443 and define as weak alias of __ferror_unlocked. Use
12444 libc_hidden_weak.
12445 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
12446 libc_hidden_proto.
12447 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
12448 function if [__USE_EXTERN_INLINES].
12449 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
12450 ferror_unlocked.
12451
7d15ef84
RJ
124522018-02-19 Rical Jasan <ricaljasan@pacific.net>
12453
12454 [BZ #6889]
12455 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
12456
f8d79582
AJ
124572018-02-18 Aurelien Jarno <aurelien@aurel32.net>
12458
12459 [BZ #22818]
12460 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
12461 the GLIBC_2.1 version.
12462
56456a2a
AJ
124632018-02-18 Aurelien Jarno <aurelien@aurel32.net>
12464
12465 [BZ #21508]
12466 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
12467 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
12468 intl/tst-gettext-de.po from po/de.po by removing the
12469 POT-Creation-Date line.
12470 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
12471 ../po/de.po.
12472 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
12473 ../po/de.po.
12474
13768813
ST
124752018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
12476
12477 * mach/Makefile (headers): Add mach/param.h.
12478 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
12479 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
dd1efd8c
ST
12480 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
12481 (__ptsname_r): Move implementation to...
12482 (__ptsname_internal): ... new function. Add filling the STP
12483 structure.
13768813 12484
6aca1b61
JDA
124852018-02-17 John David Anglin <danglin@gcc.gnu.org>
12486
12487 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
12488 idouble to 1 ULP.
12489
16efad51
RJ
124902018-02-16 Rical Jasan <ricaljasan@pacific.net>
12491
12492 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
12493 syntax.
12494
87245073
SL
124952018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
12496
12497 * nptl/Makefile (tst-mutex8-ENV): Delete.
12498 * nptl/tst-mutex8.c (check_type):
12499 Add runtime check if mutex will be elided.
12500
7fc03cf3
JM
125012018-02-15 Joseph Myers <joseph@codesourcery.com>
12502
db9881ec
JM
12503 [BZ #20980]
12504 [BZ #21234]
12505 * manual/install.texi (Configuring and compiling): Describe
12506 passing CC and CFLAGS on configure command line, not as
12507 environment variables. Use @code markup on those variables.
12508 Specify what options go in CC and what go in CFLAGS. Note the
12509 requirement to compile with optimization.
12510 * INSTALL: Regenerated.
12511
3785b31c
JM
12512 [BZ #18124]
12513 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
12514 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
12515 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
12516 __sigprocmask instead of sigprocmask.
12517 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
12518 Likewise.
12519 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
12520 __sigsetjmp and sigprocmask.
12521
055ac2a7
JM
12522 [BZ #15105]
12523 * include/argz.h (argz_next): Use libc_hidden_proto.
12524 (__argz_next): Likewise.
12525 * string-argz-next.c (__argz_next): Use libc_hidden_def.
12526 (argz_next): Use libc_hidden_weak.
12527
e4452a2d
JM
12528 [BZ #15105]
12529 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
12530 libc_hidden_proto.
12531 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
12532 libc_hidden_def.
12533
499b3153
JM
12534 [BZ #15105]
12535 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
12536 libc_hidden_proto.
12537 * libio/iofputs.c (fputs): Use libc_hidden_weak.
12538
7fc03cf3
JM
12539 [BZ #15105]
12540 [BZ #19463]
12541 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
12542 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
12543 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
12544 (__feof_unlocked): New declaration, and inline function if
12545 [__USE_EXTERN_INLINES].
12546 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
12547 instead of feof_unlocked.
12548 * intl/localealias.c [_LIBC] (FEOF): Likewise.
12549 * nss/nsswitch.c (nss_parse_file): Likewise.
12550 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
12551 Likewise.
12552 * time/getdate.c (__getdate_r): Likewise.
12553 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
12554 Define as macro to call __feof_unlocked.
12555
0c8a67a5
WD
125562018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
12557
12558 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
12559
610ee1fc
WD
125602018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
12561
12562 * math/Makefile: Remove mpexp.c and mplog.c
12563 * sysdeps/i386/fpu/mpexp.c: Delete file.
12564 * sysdeps/i386/fpu/mplog.c: Likewise.
12565 * sysdeps/ia64/fpu/mpexp.c: Likewise.
12566 * sysdeps/ia64/fpu/mplog.c: Likewise.
12567 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
12568 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
12569 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
12570 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
12571 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
12572 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
12573 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
12574 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
12575 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
12576 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
12577 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
12578 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
12579 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
12580 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
12581 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
12582 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
12583
8e7196c8
SL
125842018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
12585
12586 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12587
4f55ad0b
AZ
125882018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12589
12590 * sysdeps/sh/libm-test-ulps: Update.
12591
261a851c
TMQMF
125922018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12593
12594 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
12595 idouble to 1 ULP.
12596
e16deca6
ZW
125972018-02-12 Zack Weinberg <zackw@panix.com>
12598
12599 [BZ #19239]
12600 * posix/sys/types.h: Don't include sys/sysmacros.h.
12601 * misc/sys/sysmacros.h: Remove the conditional deprecation
12602 warnings for the macros defined by this header.
12603
de800d83
SN
126042018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
12605
12606 * manual/probes.texi: Remove slowexp probes.
12607 * math/Makefile: Remove slowexp.
12608 * sysdeps/generic/math_private.h (__slowexp): Remove.
12609 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
12610 document error bounds.
12611 * sysdeps/i386/fpu/slowexp.c: Remove.
12612 * sysdeps/ia64/fpu/slowexp.c: Remove.
12613 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
12614 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
12615 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
12616 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
12617 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
12618 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
12619 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
12620 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
12621 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
12622 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
12623 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
12624
c3d466cb
WD
126252018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
12626
12627 [BZ #13932]
12628 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
12629 * benchtests/pow-inputs: Update comment for slow path cases.
12630 * manual/probes.texi (slowpow_p10): Delete removed probe.
12631 (slowpow_p10): Likewise.
12632 * math/Makefile: Remove halfulp.c and slowpow.c.
12633 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
12634 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
12635 (__halfulp): Remove.
12636 (__slowpow): Remove.
12637 * sysdeps/i386/fpu/halfulp.c: Delete file.
12638 * sysdeps/i386/fpu/slowpow.c: Likewise.
12639 * sysdeps/ia64/fpu/halfulp.c: Likewise.
12640 * sysdeps/ia64/fpu/slowpow.c: Likewise.
12641 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
12642 improve comments and add error analysis.
12643 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
12644 (power1): Remove function:
12645 (log1): Remove error argument, add error analysis.
12646 (my_log2): Remove function.
12647 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
12648 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12649 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
12650 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
12651 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
12652 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
12653 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
12654 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
12655 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
12656 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
12657 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
12658 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
12659 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
12660 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
12661
7bb087bd
ST
126622018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
12663
12664 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
12665 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
12666
2fd4bbaa
DL
126672018-02-10 Dmitry V. Levin <ldv@altlinux.org>
12668
12669 [BZ #22433]
12670 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
12671 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
12672 and PTRACE_SETHBPREGS.
12673
402ecba4
ZW
126742018-02-10 Zack Weinberg <zackw@panix.com>
12675
12676 [BZ #22830]
12677 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
12678 correctly.
12679 * malloc/tst-malloc-stats-cancellation.c: New test case.
12680 * malloc/Makefile: Add new test case.
12681
4f5b921e
WD
126822018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
12683
12684 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
12685
a85b70db
JM
126862018-02-10 Joseph Myers <joseph@codesourcery.com>
12687
d8742dd8
JM
12688 * math/Makefile (libm-narrow-fns): Add add.
12689 (libm-test-funcs-narrow): Likewise.
12690 * math/Versions (GLIBC_2.28): Add narrowing add functions.
12691 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
12692 * math/gen-auto-libm-tests.c (test_functions): Add add.
12693 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
12694 (NARROW_ADD_ROUND_TO_ODD): Likewise.
12695 (NARROW_ADD_TRIVIAL): Likewise.
12696 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
12697 macro.
12698 (__daddl): Likewise.
12699 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
12700 dadd.
12701 (CFLAGS-nldbl-dadd.c): New variable.
12702 (CFLAGS-nldbl-fadd.c): Likewise.
12703 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
12704 __nldbl_daddl.
12705 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
12706 prototype.
12707 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
12708 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
12709 * math/auto-libm-test-in: Add tests of add.
12710 * math/auto-libm-test-out-narrow-add: New generated file.
12711 * math/libm-test-narrow-add.inc: New file.
12712 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
12713 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
12714 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
12715 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
12716 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
12717 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
12718 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
12719 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
12720 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
12721 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
12722 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
12723 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
12724 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
12725 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
12726 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
12727 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
12728 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
12729 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
12730 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12731 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12732 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12733 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12734 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12735 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12736 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12737 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12738 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12739 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12740 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12741 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12742 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12743 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
12746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12748 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12749 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12750 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12751 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12752 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12753 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12754 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
12755 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
12756 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12757 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12758
a85b70db
JM
12759 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
12760 (f128-pairs): New variable.
12761 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
12762 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
12763 to CFLAGS.
12764 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
12765 Also make tests add $(f128-loader-link) to gnulib-tests.
12766
6a1ff640
DD
127672018-02-09 DJ Delorie <dj@redhat.com>
12768
12769 [BZ #22827]
12770 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
12771 64-bit ELF type for 64-bit ELF objects.
12772
bfd47587
JM
127732018-02-09 Joseph Myers <joseph@codesourcery.com>
12774
31958338
JM
12775 * math/libm-test-driver.c (snan_tests_arg): New variable.
12776 * math/libm-test-support.h (snan_tests_arg): New declaration.
12777 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
12778
8e554659
JM
12779 * math/Makefile (test-type-pairs): New variable.
12780 (test-type-pairs-f64xf128-yes): Likewise.
12781 (tests): Add test-narrow-macros.
12782 (libm-test-funcs-narrow): New variable.
12783 (libm-test-c-narrow): Likewise.
12784 (generated): Add $(libm-test-c-narrow).
12785 (libm-tests-base-narrow): New variable.
12786 (libm-tests-narrow): Likewise.
12787 (libm-tests): Add $(libm-tests-narrow).
12788 (libm-tests-for-type): Handle $(libm-tests-narrow).
12789 (libm-test-c-narrow-obj): New variable.
12790 ($(libm-test-c-narrow-obj)): New rule.
12791 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
12792 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
12793 $(o-iterator) to set dependencies and CFLAGS.
12794 * math/gen-auto-libm-tests.c: Document use for narrowing
12795 functions.
12796 (output_for_one_input_case): Take argument NARROW.
12797 (generate_output): Likewise. Update call to
12798 output_for_one_input_case.
12799 (main): Take --narrow option. Update call to generate_output.
12800 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
12801 (apply_lit): Update call to _apply_lit.
12802 (apply_arglit): New function.
12803 (parse_args): Handle "a" arguments.
12804 (parse_auto_input): Handle format names using ":".
12805 * math/README.libm-test: Document "a" parameter type.
12806 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
12807 (ARG_TYPE_TRUE_MIN): Likewise.
12808 (ARG_TYPE_MAX): Likwise.
12809 (ARG_MIN_EXP): Likewise.
12810 (ARG_MAX_EXP): Likewise.
12811 (ARG_MANT_DIG): Likewise.
12812 (TEST_COND_arg_ibm128): Likewise.
12813 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
12814 (TEST_COND_arg_fmt): New macro.
12815 (init_max_error): Update prototype.
12816 * math/libm-test-support.c (test_ibm128): New variable.
12817 (init_max_error): Take argument testing_ibm128 and set test_ibm128
12818 instead of using [TEST_COND_ibm128] conditional.
12819 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
12820 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
12821 [TEST_NARROW] (TEST_MSG): New definition.
12822 (arg_plus_zero): New macro.
12823 (arg_minus_zero): Likewise.
12824 (arg_plus_infty): Likewise.
12825 (arg_minus_infty): Likewise.
12826 (arg_qnan_value_pl): Likewise.
12827 (arg_qnan_value): Likewise.
12828 (arg_snan_value_pl): Likewise.
12829 (arg_snan_value): Likewise.
12830 (arg_max_value): Likewise.
12831 (arg_min_value): Likewise.
12832 (arg_min_subnorm_value): Likewise.
12833 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
12834 (RUN_TEST_LOOP_aa_f): New macro.
12835 (TEST_SUFF): New macro.
12836 (TEST_SUFF_STR): Likewise.
12837 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
12838 (TEST_COND_any_ibm128): New macro.
12839 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
12840 this_func. Update call to init_max_error.
12841 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
12842 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
12843 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
12844 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
12845 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
12846 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
12847 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
12848 * math/test-math-scalar.h (TEST_NARROW): Likewise.
12849 * math/test-math-vector.h (TEST_NARROW): Likewise.
12850 * math/test-arg-double.h: New file.
12851 * math/test-arg-float128.h: Likewise.
12852 * math/test-arg-float32x.h: Likewise.
12853 * math/test-arg-float64.h: Likewise.
12854 * math/test-arg-float64x.h: Likewise.
12855 * math/test-arg-ldouble.h: Likewise.
12856 * math/test-math-narrow.h: Likewise.
12857 * math/test-narrow-macros.c: Likewise.
12858 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
12859 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
12860 test-narrow-macros-ldbl-64.
12861 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
12862
63716ab2
JM
12863 * math/bits/mathcalls-narrow.h: New file.
12864 * include/bits/mathcalls-narrow.h: Likewise.
12865 * math/math-narrow.h: Likewise.
12866 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
12867 (__MATHCALL_NARROW_ARGS_2): Likewise.
12868 (__MATHCALL_NARROW_ARGS_3): Likewise.
12869 (__MATHCALL_NARROW_NORMAL): Likewise.
12870 (__MATHCALL_NARROW_REDIR): Likewise.
12871 (__MATHCALL_NARROW): Likewise.
12872 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
12873 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
12874 defined.
12875 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
12876 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
12877 (libm-narrow-fns): New variable.
12878 (libm-narrow-types-basic): Likewise.
12879 (libm-narrow-types-ldouble-yes): Likewise.
12880 (libm-narrow-types-float128-yes): Likewise.
12881 (libm-narrow-types-float128-alias-yes): Likewise.
12882 (libm-narrow-types): Likewise.
12883 (libm-routines): Add narrowing functions.
12884 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
12885 (libc_feholdexcept_setroundf128): New macro.
12886 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
12887 * sysdeps/ieee754/float128/float128_private.h: Include
12888 <math/math-narrow.h>.
12889 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
12890 Undefine and redefine.
12891 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
12892 (libm_alias_float_ldouble): Undefine and redefine.
12893 (libm_alias_double_ldouble): Likewise.
12894
bfd47587
JM
12895 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
12896
3f8d9d58
WD
128972018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
12898
12899 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
12900 FPCR/FPSR.
12901
1f6676d7
RJ
129022018-02-09 Rical Jasan <ricaljasan@pacific.net>
12903
12904 * manual/creature.texi: Convert references to gcc.info to gcc.
12905 * manual/stdio.texi: Likewise.
12906 * manual/string.texi: Likewise.
12907
d80441dd
JM
129082018-02-07 Joseph Myers <joseph@codesourcery.com>
12909
15081be9
JM
12910 [BZ #17979]
12911 * posix/bits/types.h (__int_least8_t): New typedef.
12912 (__uint_least8_t): Likewise.
12913 (__int_least16_t): Likewise.
12914 (__uint_least16_t): Likewise.
12915 (__int_least32_t): Likewise.
12916 (__uint_least32_t): Likewise.
12917 (__int_least64_t): Likewise.
12918 (__uint_least64_t): Likewise.
12919 * sysdeps/generic/stdint.h (int_least8_t): Define using
12920 __int_least8_t.
12921 (int_least16_t): Define using __int_least16_t.
12922 (int_least32_t): Define using __int_least32_t.
12923 (int_least64_t): Define using __int_least64_t.
12924 (uint_least8_t): Define using __uint_least8_t.
12925 (uint_least16_t): Define using __uint_least16_t.
12926 (uint_least32_t): Define using __uint_least32_t.
12927 (uint_least64_t): Define using __uint_least64_t.
12928 * wcsmbs/uchar.h: Include <bits/types.h>.
12929 (char16_t): Define using __uint_least16_t conditional only on
12930 [!__USE_ISOCXX11].
12931 (char32_t): Define using __uint_least32_t conditional only on
12932 [!__USE_ISOCXX11].
12933 * wcsmbs/test-char-types.c: New file.
12934 * wcsmbs/Makefile (tests): Add test-char-types.
12935
d80441dd
JM
12936 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
12937 version to 4.0.1.
12938
6c6c962a
ZW
129392018-02-07 Zack Weinberg <zackw@panix.com>
12940
63fb8f9a
ZW
12941 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
12942 Delete all contents except for definitions of _G_HAVE_MMAP and
12943 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
12944 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
12945 sysdeps/unix/sysv/linux/_G_config.h. Make same content
12946 change as above.
12947
12948 * libio/libio.h: Don't include bits/_G_config.h here.
12949 Include stddef.h with __need_wchar_t defined. Include
12950 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
12951 Define _IO_iconv_t here, directly.
12952 Don't define _IO_HAVE_ST_BLKSIZE.
12953 * libio/libioP.h: Include _G_config.h here. Move include of
12954 shlib-compat.h up with rest of includes. Simplify conditionals
12955 controlling definition of _IO_JUMPS_OFFSET.
12956
12957 * csu/init.c: Remove always-true #if around entire file.
12958 Don't include stdio.h. Set _IO_stdin_used to hardwired
12959 constant 0x20001, and update commentary.
12960 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
12961 Replace all uses of _G_va_list with __gnuc_va_list.
12962 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
12963 instead of #if _IO_HAVE_ST_BLKSIZE.
12964 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
12965 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
12966 not #ifdef.
12967
6c6c962a
ZW
12968 * libio/bits/libio.h: Move back to libio/libio.h and adjust
12969 multiple-include guard to match.
12970 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
12971 into this file.
12972 Remove preprocessor conditionals that are always true and/or
12973 redundant to other preprocessor conditionals in the same nest.
12974 Include shlib-compat.h unconditionally.
12975 Error out if _LIBC is not defined, or if _ISOMAC is defined,
12976 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
12977 defined after including stdio.h.
12978 Use __BEGIN_DECLS/__END_DECLS.
12979
12980 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
12981 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
12982 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
12983
a4fea3f2
ZW
129842018-02-07 Zack Weinberg <zackw@panix.com>
12985
12986 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
12987 New single-type headers split from _G_config.h.
12988 * libio/bits/types/cookie_io_functions_t.h
12989 * libio/bits/types/struct_FILE.h
12990 New single-type headers split from libio.h.
12991
12992 * libio/Makefile: Install the above new headers. Don't install
12993 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
12994 bits/libio-ldbl.h.
12995 * libio/_G_config.h, libio/libio.h: Delete file.
12996
12997 * libio/bits/libio.h: Remove improper-inclusion guard.
12998 Include stdio.h and don't repeat anything that it does.
12999 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
13000 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
13001 __io_read_fn as cookie_read_function_t,
13002 __io_write_fn as cookie_write_function_t,
13003 __io_seek_fn as cookie_seek_function_t,
13004 __io_close_fn as cookie_close_function_t,
13005 and _IO_cookie_io_functions_t as cookie_io_functions_t.
13006 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
13007 here, in the "compatibility defines" section. Remove an #if 0
6c6c962a 13008 block. Use the "body" macros from bits/types/struct_FILE.h to
a4fea3f2
ZW
13009 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
13010 and _IO_ferror_unlocked.
13011 Move prototypes of __uflow and __overflow...
13012
13013 * libio/stdio.h: ...here. Don't include bits/libio.h.
13014 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
6c6c962a 13015 directly from stdarg.h. Include bits/types/__fpos_t.h,
a4fea3f2
ZW
13016 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
13017 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
13018 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
13019 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
13020 cookie_io_functions_t, not _IO_cookie_io_functions_t;
13021 __ssize_t, not _IO_ssize_t. Unconditionally define
13022 BUFSIZ as 8192 and EOF as (-1).
13023
13024 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
13025 macros from bits/types/struct_FILE.h instead of _IO_* macros
13026 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
13027 instead of _IO_ssize_t.
13028 * libio/bits/stdio2.h: Similarly.
13029
13030 * libio/iolibio.h: Add multiple-include guard.
13031 Include bits/libio.h after stdio.h.
13032 * libio/libioP.h: Add multiple-include guard.
13033 Include stdio.h and bits/libio.h before iolibio.h.
13034
6c6c962a 13035 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
a4fea3f2
ZW
13036 * include/bits/types/cookie_io_functions_t.h
13037 * include/bits/types/struct_FILE.h: New wrappers.
13038
13039 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
6c6c962a
ZW
13040 Get definitions of _G_fpos_t and _G_fpos64_t from
13041 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
13042 respectively. Remove improper-inclusion guards.
a4fea3f2 13043
6c6c962a 13044 * conform/data/stdio.h-data: Update expectations of va_list.
a4fea3f2 13045 * scripts/check-installed-headers.sh: Remove special case for
6c6c962a 13046 libio.h and _G_config.h.
a4fea3f2 13047
ce999220
JM
130482018-02-07 Joseph Myers <joseph@codesourcery.com>
13049
8b4a1182
JM
13050 [BZ #15105]
13051 [BZ #19463]
13052 * include/sys/sysmacros.h [!_ISOMAC]
13053 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
13054 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
13055 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
13056 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
13057 libc_hidden_proto.
13058 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
13059 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
13060 Likewise.
13061 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
13062 Undefine and redefine to add use __gnu_dev_ prefix.
13063 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
13064 Likewise.
13065 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
13066 and define as hidden inline function.
13067 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
13068 Likewise.
13069 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
13070 Likewise.
13071 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
13072 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
13073 (gnu_dev_minor): Likewise.
13074 (gnu_dev_makedev): Likewise.
13075 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
13076 makedev.
13077 * posix/wordexp.c (exec_comm_child): Likewise.
13078 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
13079 instead of minor and __gnu_dev_major instead of major.
13080 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
13081 __gnu_dev_major instead of major.
13082 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
13083 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
13084 instead of gnu_dev_minor.
13085 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
13086 (SLAVE_P): Likewise.
13087 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
13088 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
13089 instead of major.
13090
ce999220
JM
13091 [BZ #21313]
13092 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
13093 in another place.
13094 * locale/weightwc.h (findidx): Likewise.
13095
b7c83ca3
WD
130962018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
13097
13098 * manual/probes.texi (slowlog): Delete documentation of removed probe.
13099 (slowlog_inexact): Likewise
13100 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
13101 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
13102
388ff7bd
IG
131032018-02-07 Igor Gnatenko <ignatenko@redhat.com>
13104
13105 [BZ #22797]
13106 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
13107 missing second underscore to parameter name.
13108
663e7d78
JM
131092018-02-06 Joseph Myers <joseph@codesourcery.com>
13110
0d40d0ec
JM
13111 [BZ #14508]
13112 [BZ #15512]
13113 [BZ #17082]
13114 [BZ #20530]
13115 * bits/byteswap.h: Update file comment. Do not include
13116 <bits/byteswap-16.h>.
13117 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
13118 constant.
13119 (__bswap_16): Define as inline function.
13120 (__bswap_constant_32): Reformat definition.
13121 (__bswap_32): Always define as inline function, not macro, using
13122 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
13123 otherwise __bswap_constant_32.
13124 (__bswap_constant_64): Reformat definition. Do not use
13125 __extension__ here.
13126 (__bswap_64): Always define as inline function, not macro. Use
13127 __extension__ on function definition. Use __builtin_bswap64 if
13128 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
13129 * string/test-endian-file-scope.c: New file.
13130 * string/test-endian-sign-conversion.c: Likewise.
13131 * string/Makefile (headers): Remove bits/byteswap-16.h.
13132 (tests): Add test-endian-file-scope and
13133 test-endian-sign-conversion.
13134 (CFLAGS-test-endian-sign-conversion.c): New variable.
13135 * bits/byteswap-16.h: Remove file.
13136 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
13137 * sysdeps/ia64/bits/byteswap.h: Likewise.
13138 * sysdeps/m68k/bits/byteswap.h: Likewise.
13139 * sysdeps/s390/bits/byteswap-16.h: Likewise.
13140 * sysdeps/s390/bits/byteswap.h: Likewise.
13141 * sysdeps/tile/bits/byteswap.h: Likewise.
13142 * sysdeps/x86/bits/byteswap-16.h: Likewise.
13143 * sysdeps/x86/bits/byteswap.h: Likewise.
13144
383e87c9
JM
13145 [BZ #17721]
13146 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
13147 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
13148 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
13149 199901L] (__restrict): Define to restrict.
13150
d92c2759
JM
13151 [BZ #19667]
13152 * string/testcopy.c: Include <support/support.h>. Do not include
13153 <malloc.h>. Use <support/test-driver.c>.
13154 (main): Rename to do_test. Make static. Use xmalloc instead of
13155 malloc.
13156
625fb764
JM
13157 [BZ #13575]
13158 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
13159 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
13160 (SSIZE_MAX): Define to INT_MAX.
13161 * posix/test-ssize-max.c: New file.
13162 * posix/Makefile (tests): Add test-ssize-max.
13163
02325d6c
JM
13164 [BZ #19668]
13165 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
13166 <support/support.h>. Do not include <malloc.h>.
13167 (query_auxv): Use xmalloc instead of malloc.
13168
663e7d78
JM
13169 [BZ #14553]
13170 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
13171 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
13172 instead of loff_t.
13173
6d7aa2b5
FW
131742018-02-06 Florian Weimer <fweimer@redhat.com>
13175
13176 [BZ #18023]
13177 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13178 Use scratch_buffer instead of extend_alloca.
13179
de6da571
ZW
131802018-02-06 Zack Weinberg <zackw@panix.com>
13181
26c07172
ZW
13182 * libio/stdio.h: Don't define getc or putc as macros.
13183 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
13184 not _IO_getc and _IO_putc.
13185
de6da571
ZW
13186 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
13187 * stdio-common/tstgetln.c: Don't redefine ssize_t.
13188
92669d6e
JM
131892018-02-06 Joseph Myers <joseph@codesourcery.com>
13190
c2b84df9
JM
13191 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
13192 (TCP_FASTOPEN_NO_COOKIE): Likewise.
13193
41376f8c
JM
13194 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
13195
d28bf648
JM
13196 [BZ #14890]
13197 * elf/elf.h (NT_PRFPREG): New macro.
13198 (NT_S390_VXRS_LOW): Likewise.
13199 (NT_S390_VXRS_HIGH): Likewise.
13200 (NT_S390_GS_CB): Likewise.
13201 (NT_S390_GS_BC): Likewise.
13202 (NT_S390_RI_CB): Likewise.
13203
e76def72
JM
13204 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
13205 (MAP_SYNC): New macro.
13206 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
13207 Likewise.
13208 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
13209 (MAP_SYNC): Likewise.
13210 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
13211 (MAP_SYNC): Likewise.
13212 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
13213 (MAP_SYNC): Likewise.
13214 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
13215 (MAP_SYNC): Likewise.
13216 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
13217 (MAP_SYNC): Likewise.
13218 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
13219 (MAP_SYNC): Likewise.
13220 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
13221 Likewise.
13222 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
13223 Likewise.
13224
92669d6e
JM
13225 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
13226 (MAP_SHARED_VALIDATE): New macro.
13227 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
13228 (MAP_SHARED_VALIDATE): Likewise.
13229
6a5cac49
L
132302018-02-05 H.J. Lu <hongjiu.lu@intel.com>
13231
13232 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
13233 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
13234 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
13235
b44e0dfb
L
132362018-02-05 H.J. Lu <hongjiu.lu@intel.com>
13237
13238 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
13239 (DT_NUM): Updated to 35.
13240
f886c16c
L
132412018-02-05 H.J. Lu <hongjiu.lu@intel.com>
13242
13243 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
13244 __builtin_expect with __glibc_likely and __glibc_unlikely.
13245 (elf_machine_rela): Likewise.
13246 (elf_machine_lazy_rel): Likewise.
13247
06fbebff
L
132482018-02-05 H.J. Lu <hongjiu.lu@intel.com>
13249
13250 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
8f4bf93f 13251 __builtin_expect with __glibc_likely and __glibc_unlikely.
06fbebff
L
13252 (elf_machine_lazy_rel): Likewise.
13253
371b220f
L
132542018-02-05 H.J. Lu <hongjiu.lu@intel.com>
13255
13256 [BZ #22638]
13257 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
13258 SHARED.
65805016 13259 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
371b220f 13260
f649a1b8
AS
132612018-02-05 Andreas Schwab <schwab@suse.de>
13262
13263 [BZ #22761]
13264 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
13265 string.
13266
9fdb340e
ST
132672018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13268
13269 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
13270 not check against PTHREAD_STACK_MIN.
13271
09e56b9e
SM
132722018-02-02 Sean McKean <smckean83@gmail.com>
13273
13274 [BZ #22735]
13275 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
13276
d4b4a00a
FW
132772018-02-02 Florian Weimer <fweimer@redhat.com>
13278
13279 [BZ #22753]
13280 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
13281 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
13282 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
13283 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
13284 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
13285 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
13286 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
13287 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
13288 * manual/llio.texi (Scatter-Gather): Mention offset -1.
13289 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
13290 * misc/tst-preadvwritev2.c (do_test): Call it.
13291 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
13292
3dfcbfa1
SP
132932018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
13294
84c94d2f
SP
13295 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
13296
96e6a716
SP
13297 * benchtests/bench-memcmp.c: Print json instead of plain text.
13298
3dfcbfa1
SP
13299 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
13300 every test run.
13301
049375e2
JM
133022018-02-01 Joseph Myers <joseph@codesourcery.com>
13303
39f898c6
JM
13304 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13305 version to 4.15.
13306 (s390_sthyi): New syscall.
13307
6f9a3dd8
JM
13308 * sysdeps/generic/ldbl-classify-compat.h: New file.
13309 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
13310 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
13311 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
13312 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
13313 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
13314 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
13315 * sysdeps/ieee754/dbl-64/s_finite.c: Include
13316 <ldbl-classify-compat.h>.
13317 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
13318 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
13319 <ldbl-classify-compat.h>.
13320 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
13321 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
13322 <ldbl-classify-compat.h>.
13323 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
13324 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
13325 <ldbl-classify-compat.h>.
13326 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
13327 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
13328 <ldbl-classify-compat.h>.
13329 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
13330 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
13331 <ldbl-classify-compat.h>.
13332 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
13333 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
13334 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
13335 * sysdeps/m68k/coldfire/math_private.h: Remove file.
13336 * sysdeps/microblaze/math_private.h: Likewise.
13337 * sysdeps/nios2/math_private.h: Likewise.
13338 * sysdeps/sh/math_private.h: Likewise.
13339
eb65a3d5
JM
13340 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
13341 * sysdeps/m68k/coldfire/math_private.h: ... here.
13342 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
13343 * sysdeps/tile/math_private.h: Likewise.
13344 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
13345 Remove macro.
13346 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
13347 Likewise.
13348
8a6bb1d0
JM
13349 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
13350 Remove macro.
13351 (libc_fetestexcept): Likewise.
13352 (libc_feupdateenv_test): Likewise.
13353 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
13354 (libc_fetestexcept): Likewise.
13355 (libc_feupdateenv_test): Likewise.
13356 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
13357 (libc_fetestexcept): Likewise.
13358 (libc_feupdateenv_test): Likewise.
13359 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
13360 (libc_fetestexcept): Likewise.
13361 (libc_feupdateenv_test): Likewise.
13362
ae1fcb7b
JM
13363 * sysdeps/generic/math_private.h
13364 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
13365 New inline function.
13366 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
13367 Likewise.
13368
b1c347e2
JM
13369 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
13370 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
13371 * sysdeps/generic/math_private.h
13372 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
13373 inline function.
13374 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
13375 Likewise.
13376 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
13377 Likewise.
13378 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
13379 Likewise.
13380 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
13381 Likewise.
13382 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
13383 Likewise.
13384 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
13385 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
13386 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
13387 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
13388 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
13389 (__fegetenv): Likewise.
13390 (fesetenv): Likewise.
13391 (__fesetenv): Likewise.
13392 (feupdateenv): Likewise.
13393 (__feupdateenv): Likewise.
13394 (fegetround): Likewise.
13395 (__fegetround): Likewise.
13396 (fesetround): Likewise.
13397 (__fesetround): Likewise.
13398
d23a4962
JM
13399 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
13400 (feraiseexcept): New macro.
13401 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
13402 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
13403 Remove macro.
13404 (__feraiseexcept): Likewise.
13405 (feclearexcept): Likewise.
13406 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
13407 (__feraiseexcept): Likewise.
13408 (feclearexcept): Likewise.
13409 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
13410 (__feraiseexcept): Likewise.
13411 (feclearexcept): Likewise.
13412 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
13413 (__feraiseexcept): Likewise.
13414 (feclearexcept): Likewise.
13415 (fetestexcept): Likewise.
13416
5f167950
JM
13417 * sysdeps/m68k/coldfire/math-tests.h: New file.
13418
ccc9035a
JM
13419 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
13420 * sysdeps/m68k/bits/fenv.h: ... here.
13421 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
13422 not define.
13423 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
13424 Likewise.
13425 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
13426 Likewise.
13427 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
13428 Likewise.
13429 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
13430 Likewise.
13431 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
13432 Define to 0.
13433 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
13434 (__FE_UNDEFINED): New enum constant.
13435 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
13436 Do not define.
13437 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
13438 Likewise.
13439 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
13440 Likewise.
13441 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
13442 to match generic bits/fenv.h.
13443 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
13444 Do not define.
13445
049375e2
JM
13446 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
13447 packed on bits.
13448 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
13449 * soft-fp/half.h (union _FP_UNION_H): Likewise.
13450 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
13451 * soft-fp/single.h (union _FP_UNION_S): Likewise.
13452
f1d73681
CD
134532018-02-01 Carlos O'Donell <carlos@redhat.com>
13454 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
13455 Joseph Myers <joseph@codesourcery.com>
13456
13457 [BZ #21314]
13458 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
13459 (__log1p): Disable -Wmaybe-uninitialized for -Os around
13460 computation using c.
13461 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
13462 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
13463 computation using c.
13464
242cbc90
DL
134652018-02-01 Dmitry V. Levin <ldv@altlinux.org>
13466
086ee48e
DL
13467 * version.h (RELEASE): Set to "development".
13468 (VERSION): Set to "2.27.9000".
13469 * NEWS (2.28): New section.
13470
23158b08
DL
13471 * version.h (RELEASE): Set to "stable".
13472 (VERSION): Set to "2.27".
13473 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
13474
242cbc90
DL
13475 * NEWS: Add the list of bugs fixed in 2.27.
13476
673e2305
AZ
134772018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13478
13479 * stdlib/test-atexit-race-common.c (do_test): Check stack size
13480 against PTHREAD_STACK_MIN.
13481
ced64e01
DL
134822018-02-01 Dmitry V. Levin <ldv@altlinux.org>
13483
13484 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
13485 New entries.
13486 (Rafal Luzynski, Andreas Schwab): Update.
13487
c10c9a5e
RL
134882018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
13489
13490 [BZ #10871]
13491 * NEWS: List the languages which actually use the alternative
13492 months feature in this release. Also explain that "alt_mon" and
13493 "ab_alt_mon" are optional.
13494
650ba77a
IM
134952018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
13496
13497 [BZ #22765]
13498 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
13499
93493119
DL
135002018-01-31 Dmitry V. Levin <ldv@altlinux.org>
13501
13502 * manual/install.texi (Tools for Compilation): Update the newest
13503 versions of gcc, binutils, texinfo, gawk, bison, and sed.
13504 * INSTALL: Regenerated.
13505
363e4519 135062018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
407552cf
ST
13507
13508 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
13509 instead of __builtin_expect.
13510
d7536874
FW
135112018-01-30 Florian Weimer <fweimer@redhat.com>
13512
13513 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
13514 data.
13515 * nss/tst-nss-getpwent.c (do_test): Likewise.
13516
9a1b267d
RL
135172018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
13518
13519 [BZ #10871]
13520 * localedata/locales/hr_HR (mon): Rename to...
13521 (alt_mon): This.
13522 (mon): Import from CLDR (genitive case).
13523 (d_t_fmt): Update the comment.
13524
9a179328
AS
135252018-01-29 Andreas Schwab <schwab@linux-m68k.org>
13526
13527 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
13528 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
13529 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
13530
e01e0ddc
ST
135312018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
13532
13533 * mach/Versions: Fix version when __mach_host_self_ was added.
13534 * hurd/Versions: Fix version when _hurd_exec_paths was added.
13535 * sysdeps/mach/hurd/i386/ld.abilist: New file.
13536 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
13537 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
13538 * sysdeps/mach/hurd/i386/libc.abilist: New file.
13539 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
13540 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
13541 * sysdeps/mach/hurd/i386/libm.abilist: New file.
13542 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
13543 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
13544 * sysdeps/mach/hurd/i386/librt.abilist: New file.
13545 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
ba729de6
ST
13546 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
13547 || to respect codestyle.
2aadb705
ST
13548 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
13549 (do_test_bz20181): Rename accordingly.
406e7a0a
ST
13550 * malloc/malloc.c: Include <assert.h>.
13551 (assert): Do not define.
13552 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
99dfbef4
ST
13553 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
13554 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
ac56adbb 13555 * sysdeps/mach/hurd/hp-timing.h: New file.
ef4cf463 13556 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
e01e0ddc 13557
521877e1
PD
135582018-01-29 Darius Rad <darius@bluespec.com>
13559
13560 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
13561
532cf290
PD
135622018-01-29 Palmer Dabbelt <palmer@sifive.com>
13563
13564 * sysdeps/init_array/crti.S (.section .init_array): Add
13565 PREINIT_FUNCTION when defined.
40ca951b 13566 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
4215e276 13567 * config.h.in: Regenerate.
ba9e25a6
PD
13568 * manual/platform.texi: Add RISC-V documenation for
13569 __riscv_flush_icache.
c776fa11
PD
13570 * sysdeps/riscv/__longjmp.S: New file.
13571 * sysdeps/riscv/backtrace.c: Likewise.
13572 * sysdeps/riscv/bits/endian.h: Likewise.
13573 * sysdeps/riscv/bits/setjmp.h: Likewise.
13574 * sysdeps/riscv/bits/wordsize.h: Likewise.
13575 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
13576 * sysdeps/riscv/bsd-setjmp.c: Likewise.
13577 * sysdeps/riscv/dl-trampoline.S: Likewise.
13578 * sysdeps/riscv/gccframe.h: Likewise.
13579 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
13580 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
13581 * sysdeps/riscv/machine-gmon.h: Likewise.
13582 * sysdeps/riscv/memusage.h: Likewise.
13583 * sysdeps/riscv/setjmp.S: Likewise.
13584 * sysdeps/riscv/sys/asm.h: Likewise.
13585 * sysdeps/riscv/tls-macros.h: Likewise.
33712660
PD
13586 * sysdeps/riscv/dl-tls.h: New file.
13587 * sysdeps/riscv/libc-tls.c: Likewise.
13588 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
13589 * sysdeps/riscv/nptl/tls.h: Likewise.
13590 * sysdeps/riscv/stackinfo.h: Likewise.
67236aeb
PD
13591 * sysdeps/riscv/bits/fenv.h: New file.
13592 * sysdeps/riscv/e_sqrtl.c: Likewise.
13593 * sysdeps/riscv/fpu_control.h: Likewise.
13594 * sysdeps/riscv/math-tests.h: Likewise.
13595 * sysdeps/riscv/nofpu/Implies: Likewise.
13596 * sysdeps/riscv/sfp-machine.h: Likewise.
13597 * sysdeps/riscv/tininess.h: Likewise.
b2cb5e02
PD
13598 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
13599 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
13600 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
13601 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
13602 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
13603 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
13604 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
13605 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
13606 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
13607 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
13608 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
13609 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
13610 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
13611 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
13612 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
13613 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
13614 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
13615 * sysdeps/riscv/rvd/s_finite.c: Likewise.
13616 * sysdeps/riscv/rvd/s_fma.c: Likewise.
13617 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
13618 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
13619 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
13620 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
13621 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
13622 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
13623 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
13624 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
13625 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
13626 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
13627 * sysdeps/riscv/rvf/fegetround.c: Likewise.
13628 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
13629 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
13630 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
13631 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
13632 * sysdeps/riscv/rvf/fesetround.c: Likewise.
13633 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
13634 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
13635 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
13636 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
13637 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
13638 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
13639 * sysdeps/riscv/rvf/math_private.h: Likewise.
13640 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
13641 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
13642 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
13643 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
13644 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
13645 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
13646 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
13647 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
13648 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
13649 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
13650 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
13651 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
13652 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
13653 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
13654 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
13655 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
d1c09b24
PD
13656 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
13657 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
13658 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
13659 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
36960f0c
PD
13660 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
13661 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
13662 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
13663 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
13664 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
13665 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
13666 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
13667 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
13668 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
7f33b09c
PD
13669 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
13670 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
13671 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
13672 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
13673 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
13674 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
13675 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
13676 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
13677 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
13678 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
13679 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
13680 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
13681 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
13682 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
13683 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
13684 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
13685 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
13686 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
13687 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
13688 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
13689 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
13690 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
ee53fed9
PD
13691 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
13692 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
13693 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
2268c433
PD
13694 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
13695 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
13696 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
13697 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
13698 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
13699 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
13700 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
13701 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
13702 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
13703 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
13704 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13705 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
13706 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
13707 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
c5061557
PD
13708 * sysdeps/riscv/Implies: New file.
13709 * sysdeps/riscv/Makefile: Likewise.
13710 * sysdeps/riscv/configure: Likewise.
13711 * sysdeps/riscv/configure.ac: Likewise.
13712 * sysdeps/riscv/nptl/Makefile: Likewise.
13713 * sysdeps/riscv/preconfigure: Likewise.
13714 * sysdeps/riscv/rv64/Implies-after: Likewise.
13715 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
13716 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
13717 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
13718 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
13719 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
13720 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
13721 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
13722 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
13723 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
13724 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
13725 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
0fd5d876
PD
13726 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
13727 (Config): Likewise.
532cf290 13728
cdd14619
FW
137292018-01-29 Florian Weimer <fweimer@redhat.com>
13730
13731 [BZ #22701]
13732 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
13733 libnsl_hidden_proto.
13734 * include/rpcsvc/yp.h (yp_xdrall): Declare with
13735 libnsl_hidden_proto.
13736 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
13737 * nis/Makefile (libnsl-routines): Add nss-default only for
13738 build-obsolete-nsl.
13739 * nis/nis_defaults.c (__nis_default_ttl): Add
13740 libnsl_hidden_nolink_def.
13741 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
13742 declaration.
13743 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
13744 * nis/ypclnt.c (yp_maplist): Likewise.
13745
b7ccb5de
RN
137462018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
13747
13748 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13749 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
13750
522623e4
JM
137512018-01-29 Joseph Myers <joseph@codesourcery.com>
13752
e3aa6999
JM
13753 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
13754 clean -dxfq for git updates when replacing sources.
13755
088de7d0
JM
13756 * scripts/build-many-glibcs.py (Config.build_gcc): Use
13757 --disable-libcilkrts unconditionally, not just for the final GCC
13758 build for Hurd.
13759
522623e4
JM
13760 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13761 version to 4.15.
13762
8b406f87
RL
137632018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
13764
13765 [BZ #10871]
13766 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
13767 case).
13768
105e90bd
RL
137692018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
13770
13771 [BZ #10871]
13772 * localedata/locales/be_BY (mon): Rename to...
13773 (alt_mon): This, then synchronize with CLDR (nominative case).
13774 (abmon): Rename to...
13775 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
13776 (mon): Import from CLDR (genitive case).
13777 (abmon): Likewise.
13778 * localedata/locales/be_BY@latin (mon): Rename to...
13779 (alt_mon): This.
13780 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
13781
13782 * localedata/locales/be_BY@latin (lang_name): Reworded to
13783 "biełaruskaja mova".
13784
561cb414
RL
137852018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
13786
13787 [BZ #10871]
13788 * localedata/locales/el_CY (mon): Renamed to...
13789 (alt_mon): This.
13790 (mon): Import from CLDR (genitive case).
13791 * localedata/locales/el_GR: Likewise.
13792
f7bdf30d
RL
137932018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
13794
13795 [BZ #10871]
13796 * localedata/locales/ru_RU (mon): Rename to...
13797 (alt_mon): This.
13798 (abmon): Rename to...
13799 (ab_alt_mon): This.
13800 (mon): Import from CLDR (genitive case).
13801 (abmon): Copy from the old content except the 5th month which is
13802 now in the genitive case, even when abbreviated.
13803 * localedata/locales/ru_UA: Likewise.
13804 * time/tst-strptime.c (day_tests): Add an actual example of
13805 a difference between %b and %Ob in Russian.
13806
85285a0c
ST
138072018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13808
13809 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
da8168df
ST
13810 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
13811 a `c' variable.
3538a4b6 13812 * resolv/res-close.c: Include <stdlib.h>.
b29848b9
ST
13813 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
13814 <sys/wait.h>, <time.h>, <sys/uio.h>.
13815 (NOT_CANCEL_H): Add inclusion guard.
4f66dc23 13816 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
147d1dbb
ST
13817 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
13818 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
13819 return 0.
05ebfe87
ST
13820 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
13821 vm_address_t * to ElfW(Addr) * for dl_main parameter.
61a3a8c6
ST
13822 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
13823 instead of void *.
13824 * sysdeps/pthread/timer_create.c (timer_create): Do not use
13825 timer_ptr2id to cast struct timer_node * to void *.
d4d5b2dd
ST
13826 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
13827 --disable-libcilkrts to gcc configure.
19fd8d0d
ST
13828 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
13829 and make them the default for now.
903d3633
ST
13830 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
13831 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
7dab2d00
ST
13832 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
13833 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
13834 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
13835 MACH_IPC_COMPAT.
06fac9f5
ST
13836 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
13837 __task_terminate would ever return successfully.
f8177753
ST
13838 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
13839 to global scope.
41cdb1eb
ST
13840 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
13841 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
660b7bff
ST
13842 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
13843 critical section to make code simpler and avoid warning.
13844 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
13845 critical section to make code simpler and avoid warning.
844bf921
ST
13846 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
13847 const char * instead of char *.
f8bee46c
ST
13848 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
13849 __hurd_file_name_split, hurd_file_name_split,
13850 __hurd_directory_name_split, hurd_directory_name_split,
13851 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
13852 hurd_file_name_path_lookup): Make lookup function parameter take a
13853 const char *name instead of char *name.
13854 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
13855 __hurd_directory_name_split): Likewise.
13856 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
13857 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
40066975
ST
13858 * sysdeps/mach/hurd/check_native.c: New file.
13859 * sysdeps/mach/hurd/check_pf.c: New file.
7c5b106d
ST
13860 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
13861 (__freeifaddrs): Define macro to freeifaddrs.
5f982b0b
ST
13862 * sysdeps/mach/hurd/libhurduser.abilist: New file.
13863 * sysdeps/mach/libmachuser.abilist: New file.
cef7166a
ST
13864 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
13865 (do_test_bz20181): Rename accordingly.
13866 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
3fc1ecf9
ST
13867 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
13868 <sys/mount.h>.
28f6186f
ST
13869 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
13870 version only if __USE_EXTERN_INLINES is defined.
13871 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
13872 __hurd_sockfail): Likewise.
13873 (_hurd_fd_get): Always declare functions, and provide inline versions
13874 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
13875 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
13876 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
13877 _hurd_port_set): Always declare functions, and provide inline versions
13878 only if __USE_EXTERN_INLINES and _LIBC are defined and
13879 IS_IN(libc).
13880 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
13881 _hurd_critical_section_unlock): Likewise.
13882 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
13883 * __hurd_threadvar_location): Likewise.
13884 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
13885 _hurd_userlink_clear): Likewise.
13886 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
13887 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
13888 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
13889 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
13890 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
13891 __spin_lock_locked): Likewise.
13892 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
13893 __spin_lock_locked): Likewise.
13894 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
13895 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
13896 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
13897 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
13898 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
b1025304
ST
13899 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
13900 _POSIX_NO_TRUNC): Define to 0.
a902a086
ST
13901 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
13902 check size against PTHREAD_STACK_MIN.
625ba81e
ST
13903 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
13904 IS_IN(libpthread)]: Include <sigsetops.h>.
2e52dff4
ST
13905 * mach/Makefile (user-interfaces): Add mach/gnumach.
13906 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
13907 * sysdeps/mach/configure (mach_interface_list): Regenerate.
80463dc6
ST
13908 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
13909 instead of invalid -1.
1f89ac71
ST
13910 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
13911 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
13912 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
13913 <net/ppp_defs.h>.
85285a0c 13914
1fd1e27c 139152018-01-27 Thomas Schwinge <tschwinge@gnu.org>
84814e2a
TS
13916
13917 * hurd/fcntl-internal.h: New file.
13918
3854c5a8
JC
139192018-01-27 James Clarke <jrtc27@jrtc27.com>
13920
7e23a7dd
JC
13921 * sysdeps/hppa/fpu/libm-test-ulps: Update.
13922
3854c5a8
JC
13923 * sysdeps/alpha/fpu/libm-test-ulps: Update.
13924
5503f413
AS
139252018-01-26 Andreas Schwab <schwab@linux-m68k.org>
13926
13927 [BZ #22701]
13928 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
13929 Build only shared objects.
13930
caaf7804
CD
139312018-01-26 Carlos O'Donell <carlos@redhat.com>
13932
13933 * README: Update for hppa.
13934
1cbf818d
PM
139352018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
13936
caaf7804
CD
13937 * sysdeps/sparc/fpu/libm-test-ulps: Update
13938 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
1cbf818d 13939
caaf7804 139402018-01-26 Carlos O'Donell <carlos@redhat.com>
2ec0e7ea
CD
13941
13942 Revert:
13943
13944 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
13945
13946 [BZ #22563]
13947 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
13948 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
13949 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
13950 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
13951 to feature_1.
13952
13953 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
13954
13955 [BZ #22563]
13956 * bits/types/__cancel_jmp_buf_tag.h: New file.
13957 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
13958 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
13959 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
13960 * nptl/Makefile (headers): Add
13961 bits/types/__cancel_jmp_buf_tag.h.
13962 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
13963 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
13964 * sysdeps/nptl/pthread.h: Include
13965 <bits/types/__cancel_jmp_buf_tag.h>.
13966 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
13967 __cancel_jmp_buf.
13968 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
13969
65f6c94e
RL
139702018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
13971
13972 [BZ #10871]
13973 * localedata/locales/uk_UA (mon): Renamed to...
13974 (alt_mon): This.
13975 (alt_digits): "0" removed and then renamed to...
13976 (mon): This.
13977 (date_fmt): Definition changed not to use the alternative
13978 digits hack.
13979
fb58aac5
PD
139802018-01-25 Palmer Dabbelt <palmer@sifive.com>
13981
13982 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
13983 FLAG_RISCV_FLOAT_ABI_DOUBLE.
13984 * elf/elf.h (EF_RISCV_RVC): New define.
13985 (EF_RISCV_FLOAT_ABI): Likewise.
13986 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
13987 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
13988 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
13989 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
13990 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
13991 define.
13992 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
13993
128c43a2
AS
139942018-01-25 Andreas Schwab <schwab@suse.de>
13995
13996 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
13997 single quotes.
13998 * sysdeps/gnu/configure: Regenerate.
13999 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
14000 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
14001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
14002 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
14003 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
14004 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
14005 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
14006 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
14007
f9015003
ST
140082018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
14009
48130690 14010 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
47c4b4b0 14011 URL, and run autoconf, make it the default for now.
f9015003 14012
91b2cffa
JM
140132018-01-24 Joseph Myers <joseph@codesourcery.com>
14014
3005b705
JM
14015 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
14016 soft-float ColdFire configuration.
14017
69231fab
JM
14018 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
14019 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
14020 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
14021
d4c7e1d0
JM
14022 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
14023 MicroBlaze file.
14024
0cfe5be5
JM
14025 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
14026 ....
14027 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
14028 ... here.
14029 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
14030 New file.
14031
91b2cffa
JM
14032 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
14033 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
14034 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
14035 file.
14036
c739e191
SN
140372018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
14038
14039 [BZ #22742]
14040 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
14041 Rename to __reserved and add comment.
14042 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
14043 Rename to __reserved.
14044
394b5bac
JM
140452018-01-24 Joseph Myers <joseph@codesourcery.com>
14046
14047 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
14048 i686-gnu configurations.
14049 (Context.run_builds): Include mig, gnumach and hurd in components
14050 considered.
14051 (Context.checkout): Add mig, gnumach and hurd to components.
14052 (Context.checkout_tar): Add URL mappings for mig, gnumach and
14053 hurd.
14054 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
14055 (Config.build): Install gnumach headers, build mig and install
14056 hurd headers for 'gnu' OS.
14057 (Config.install_gnumach_headers): New function.
14058 (Config.install_hurd_headers): Likewise.
14059 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
14060 when building for 'gnu' OS.
14061
28c3f14f
TK
140622018-01-23 Tobias Klauser <tklauser@distanz.ch>
14063
14064 * manual/tunables.texi (Hardware Capability Tunables): Fix
14065 spelling.
14066
0f5e2da1
RJ
140672018-01-22 Rical Jasan <ricaljasan@pacific.net>
14068
14069 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
14070 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
14071 (ALTMON_11, ALTMON_12): Improve documentation.
14072 * manual/time.texi (strftime): Likewise.
14073
7817b14a
RL
140742018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
14075
14076 [BZ #10871]
14077 * localedata/locales/pl_PL: Alternative month names added,
14078 primary month names are genitive now.
14079 * time/tst-strptime.c (day_tests): Actually use a genitive case
14080 of a month name in Polish language.
14081
22390764
RL
140822018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
14083
14084 [BZ #10871]
14085 * manual/locale.texi: Document ALTMON_1..12 constants for
14086 nl_langinfo. Specify when to use ALTMON instead of MON.
14087 * manual/time.texi (strftime, strptime): Document GNU extension
14088 permitting O modifier with %B and %b. Specify when to use
14089 %OB instead of %B.
14090
761a585c
RL
140912018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
14092
14093 [BZ #10871]
14094 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
14095 names, define them as the same as abbreviated month names explicitly.
14096 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
14097 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
14098 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
14099 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
14100 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
14101 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
14102 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
14103 _NL_WABALTMON_12): New enum constants.
14104 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
14105 wab_alt_mon, and ab_alt_mon_defined members.
14106 (time_output): Output ab_alt_mon and wab_alt_mon members.
14107 (time_read): Read them, initialize them as copies of abmon and wabmon
14108 respectively if they are missing, initialize ab_alt_mon_defined.
14109 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
14110 * locale/programs/locfile-kw.h: Regenerate.
14111 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
14112 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
14113 and ru_RU.UTF-8.
14114 * time/strftime_l.c (a_altmonth, aam_len): New macros.
14115 [!COMPILE_WIDE] (ABALTMON_1): New macro.
14116 (__strftime_internal): Handle %Ob and %Oh formats.
14117 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
14118 (__strptime_internal): Handle %Ob and %Oh formats.
14119 * time/tst-strptime.c (day_tests): Add more tests to parse different
14120 forms of month names including the new %Ob format specifier.
14121
95cb863a
RL
141222018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
14123
14124 [BZ #10871]
14125 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
14126 define them as the same as primary full month names explicitly.
14127 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
14128 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
14129 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
14130 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
14131 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
14132 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
14133 _NL_WALTMON_12): New enum constants.
14134 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
14135 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
14136 macros.
14137 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
14138 walt_mon, and alt_mon_defined members.
14139 (time_output): Output alt_mon and walt_mon members.
14140 (time_read): Read them, initialize them as copies of mon and wmon
14141 respectively if they are missing, initialize alt_mon_defined.
14142 * locale/programs/locfile-kw.gperf (alt_mon): Define.
14143 * locale/programs/locfile-kw.h: Regenerate.
14144 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
14145 * localedata/tst-langinfo.c (map): Add tests for the new constants
14146 ALTMON_1 .. ALTMON_12.
14147 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
14148 and pl_PL.UTF-8.
14149 * time/strftime_l.c (f_altmonth): New macro.
14150 (__strftime_internal): Handle %OB format.
14151 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
14152 (__strptime_internal): Handle %OB format.
14153 * time/tst-strptime.c (day_tests): Add tests to parse different forms
14154 of month names including the new %OB format specifier.
14155
4612268a
TMQMF
141562018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14157
14158 [BZ #22685]
14159 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
14160 from ABORT_TRANSACTION.
14161 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
14162 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
14163 ABORT_TRANSACTION_IMPL): Likewise.
14164 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
14165 Linux code, but remove the code that aborts transactions.
14166
64f63cb4
ST
141672018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
14168
14169 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
14170
32ac6e92
RL
141712018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
14172
14173 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
14174 in date: "2004-14-09" should be "2004-09-14".
14175 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
14176 "2003-15-09" should be "2003-09-15".
14177
8e448310
AS
141782018-01-18 Arjun Shankar <arjun@redhat.com>
14179
14180 [BZ #22343]
71aa429b 14181 [BZ #22774]
4590634f 14182 CVE-2018-6485
71aa429b 14183 CVE-2018-6551
8e448310
AS
14184 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
14185 after padding.
14186 (_int_memalign): check for integer overflow before calling
14187 _int_malloc.
14188 * malloc/tst-malloc-too-large.c: New test.
14189 * malloc/Makefile: Add tst-malloc-too-large.
14190
e234d7cb
RL
141912018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
14192
14193 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
14194 in date: "2017-24-07" should be "2017-07-24".
14195 * localedata/locales/mai_IN: Likewise.
14196 * localedata/locales/mai_NP: Likewise.
14197
48b66019
DL
141982018-01-17 Dmitry V. Levin <ldv@altlinux.org>
14199
14200 * po/ru.po: Update translations.
14201
1eeddc58
JM
142022018-01-17 Joseph Myers <joseph@codesourcery.com>
14203
14204 [BZ #22719]
14205 * sysdeps/hppa/backtrace.c: New file.
14206
207a72e2
L
142072018-01-17 H.J. Lu <hongjiu.lu@intel.com>
14208
14209 [BZ #22715]
14210 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
14211 align La_x86_64_retval to VEC_SIZE.
14212
4942c4ea
JM
142132018-01-16 Joseph Myers <joseph@codesourcery.com>
14214
14215 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
14216 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
14217
10d200db
FW
142182018-01-16 Florian Weimer <fweimer@redhat.com>
14219
14220 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
14221 Move tst-thread-exit-clobber ...
14222 [$(CXX)] (tests-unsupported): ... to here.
14223
953c49cc
SN
142242018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
14225
14226 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
14227 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
14228 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
14229 (_dl_aarch64_cap_flags): Update.
14230 (_DL_HWCAP_COUNT): Update.
14231
afce1991
SN
142322018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
14233
14234 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
14235 (_DL_HWCAP_LAST): Remove.
14236 (_DL_HWCAP_COUNT): Move to ...
14237 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
14238 (_DL_HWCAP_COUNT): ... here.
14239
b725132d
FW
142402018-01-16 Florian Weimer <fweimer@redhat.com>
14241
14242 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
14243 mode with GNU extensions.
14244
c9e613a7
AH
142452018-01-15 Alan Hayward <alan.hayward@arm.com>
14246
14247 * elf/elf.h (NT_ARM_SVE): Define.
14248
860b0240
FW
142492018-01-15 Florian Weimer <fweimer@redhat.com>
14250
14251 [BZ #22636]
14252 * nptl/tst-minstack-throw.cc: New file.
14253 * nptl/Makefile (tests): Add tst-minstack-throw.
14254 (LDLIBS-tst-minstack-throw): Link with libstdc++.
14255 [!CXX] (tests-unsupported): Add tst-minstack-throw.
14256
16d0f6ac
JM
142572018-01-15 Joseph Myers <joseph@codesourcery.com>
14258
14259 * scripts/build-many-glibcs.py (Context.checkout): Default
14260 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
14261 version to 1.1.0.
14262
505d3910
CD
142632018-01-13 Carlos O'Donell <carlos@redhat.com>
14264
14265 [BZ #22707]
14266 * elf/elf.h (DF_1_STUB): Define.
14267 (DF_1_PIE): Define.
14268
af1e6be4
TMQMF
142692018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14270
14271 [BZ #22697]
14272 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
14273 Do not add 0.5 to integer or out-of-range arguments.
14274
98d13ce0
DL
142752018-01-12 Dmitry V. Levin <ldv@altlinux.org>
14276
14277 * po/bg.po: Update translations.
14278 * po/cs.po: Likewise.
14279 * po/de.po: Likewise.
14280 * po/ko.po: Likewise.
14281 * po/pl.po: Likewise.
14282 * po/sv.po: Likewise.
14283 * po/uk.po: Likewise.
14284 * po/vi.po: Likewise.
14285
3d1d7928
SN
142862018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
14287
14288 * aarch64/start.S (_start): Use __wrap_main.
14289 (__wrap_main): New local symbol.
14290
52a713fd
DL
142912018-01-12 Dmitry V. Levin <ldv@altlinux.org>
14292
14293 [BZ #22679]
14294 CVE-2018-1000001
14295 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
14296 generic_getcwd if the path returned by getcwd syscall is not absolute.
14297 * io/tst-getcwd-abspath.c: New test.
14298 * io/Makefile (tests): Add tst-getcwd-abspath.
14299
249a5895
IK
143002018-01-12 Istvan Kurucsai <pistukem@gmail.com>
14301
14302 * malloc/malloc.c (malloc_consolidate): Add size check.
14303
1a51e46e
FW
143042018-01-12 Florian Weimer <fweimer@redhat.com>
14305
14306 * support/write_message.c (write_message): Preserve errno.
14307 * support/check.c (print_failure): Likewise.
14308 * support/support_test_verify_impl.c (support_test_verify_impl):
14309 Likewise.
14310 * support/support_test_compare_failure.c
14311 (support_test_compare_failure): Likewise.
14312
9a08a366
FW
143132018-01-12 Florian Weimer <fweimer@redhat.com>
14314
14315 [BZ #22701]
14316 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
14317 Prevent installation of libnsl.so.
14318 (libnsl-inhibit-o): Do not build (or install) static libraries.
14319
80647883 143202018-01-12 Egmont Koblinger <egmont@gmail.com>
f172187b
EK
14321
14322 [BZ #22657]
14323 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
14324 before the day number which may produce a double space.
14325 (date_fmt): Likewise.
14326
c8924f1f
JM
143272018-01-12 Joseph Myers <joseph@codesourcery.com>
14328
14329 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
14330 instead of fegetenv.
14331
da09e6fa
JM
143322018-01-11 Joseph Myers <joseph@codesourcery.com>
14333
14334 [BZ #22702]
14335 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
14336 comment to say exceptions are discarded.
14337 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
14338 __fegetenv.
14339 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
14340 be enabled.
14341
08c6e952
FW
143422018-01-11 Florian Weimer <fweimer@redhat.com>
14343
14344 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
14345 and error message.
14346
d8b77890
FW
143472018-01-11 Florian Weimer <fweimer@redhat.com>
14348
14349 [BZ #22636]
14350 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
14351 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
14352
b303185d
JM
143532018-01-10 Joseph Myers <joseph@codesourcery.com>
14354
14355 [BZ #22693]
14356 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
14357 negative arguments in test for NaN or infinity argument.
14358
ee61d028
DL
143592018-01-10 Dmitry V. Levin <ldv@altlinux.org>
14360
14361 * po/libc.pot: Regenerate.
14362
f993b875
FW
143632018-01-10 Florian Weimer <fweimer@redhat.com>
14364
14365 [BZ #22636]
14366 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
14367 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
14368
09085ede
ST
143692018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14370
14371 * hurd/hurd/fd.h: Include <fcntl.h>
14372 (__hurd_at_flags): New function.
14373 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
14374 with call to __hurd_at_flags.
14375 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
14376 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
14377 __faccessat
14378 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
14379 (__access_noerrno): Use __faccessat_common instead of access_common.
14380 (__access): Likewise.
14381 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
14382 with a call to __faccessat.
14383 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
14384 (__faccessat_common): ... this. Move implementation of __access into it when
14385 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
14386 reauthenticate_cwdir_at helper to implement AT mechanism.
14387 (__faccessat_noerrno): New function, just calls __faccessat_common.
14388 (__faccessat): New function, just calls __faccessat_common.
14389 (faccessat): Define weak alias.
14390
12727488
JM
143912018-01-10 Joseph Myers <joseph@codesourcery.com>
14392
87faac55
JM
14393 [BZ #22691]
14394 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14395 (CFLAGS-s_fmaxmagl.c): New variable.
14396 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
14397
12727488
JM
14398 [BZ #22690]
14399 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
14400 long int for arguments of possibly overflowing addition or
14401 subtraction.
14402 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
14403
e134ca17
JM
144042018-01-09 Joseph Myers <joseph@codesourcery.com>
14405
b2584ac2
JM
14406 [BZ #22688]
14407 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14408 (CFLAGS-e_remainderl.c): New variable.
14409
e134ca17
JM
14410 [BZ #22687]
14411 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
14412 variable.
14413 (CFLAGS-s_cacoshl.c): Likewise.
14414 (CFLAGS-s_casinhl.c): Likewise.
14415 (CFLAGS-s_catanl.c): Likewise.
14416 (CFLAGS-s_catanhl.c): Likewise.
14417 (CFLAGS-s_cexpl.c): Likewise.
14418 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
14419 (CFLAGS-s_csinhl.c): Likewise.
14420 (CFLAGS-s_clogl.c): Likewise.
14421 (CFLAGS-s_clog10l.c): Likewise.
14422 (CFLAGS-s_csinl.c): Likewise.
14423 (CFLAGS-s_csqrtl.c): Likewise.
14424
d31a4a48
ST
144252017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
144262017-01-09 Svante Signell <svante.signell@gmail.com>
311ba8dc
ST
14427
14428 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
14429 (_hurd_exec_paths): New function.
14430 * hurd/hurd.h (_hurd_exec): Deprecate function.
14431 (_hurd_exec_paths): Declare function.
14432 * hurd/Versions: Export _hurd_exec_paths.
14433 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
14434 (__execve): Use __getcwd to build absolute path, and use
14435 _hurd_exec_paths instead of _hurd_exec.
14436 * sysdeps/mach/hurd/spawni.c: Likewise.
14437 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
14438 _hurd_exec.
14439
d7ff3f11
DL
144402018-01-08 Dmitry V. Levin <ldv@altlinux.org>
14441
14442 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
14443 test instead of failing in case of ENOENT returned by posix_openpt.
14444
401311cf
FW
144452018-01-08 Florian Weimer <fweimer@redhat.com>
14446
14447 resolv: Support binary labels in test framework.
14448 * support/resolv_test.c (struct to_be_freed): Remove.
14449 (struct compressed_name): New.
14450 (allocate_compressed_name, ascii_tolower)
14451 (compare_compressed_name): New functions.
14452 (struct resolv_response_builder): Update type of
14453 compression_offsets for use with tsearch. Rempve to_be_freed.
14454 (response_push_pointer_to_free): Remove function.
14455 (resolv_response_add_name): Rewrite using struct compressed_name
14456 and tsearch instead of hsearch_r.
14457 (response_builder_allocate): Remove initialization of
14458 compression_offsets.
14459 (response_builder_free): Update for removal of to_be_freed. Use
14460 tdestroy instead of hdestroy_r.
14461 * resolv/Makefile (tests): Add tst-resolv-binary.
14462 (tst-resolv-binary): Link with -lresolv -lpthread.
14463
2b3aa446
FW
144642018-01-08 Florian Weimer <fweimer@redhat.com>
14465
14466 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
14467 time. Pass positive flag instead of negative flag to
14468 support_test_compare_failure.
14469 (support_test_compare_failure): Change negative parameter to
14470 positive.
14471 * support/support_test_compare_failure.c (report)
14472 (support_test_compare_failure): Likewise.
14473 * support/tst-test_compare.c (return_ssize_t, return_int): New.
14474 (do_test): Check int/size_t, ssize_t/size_t comparisons.
14475
630f4cc3
SN
144762018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
14477
14478 [BZ #22637]
14479 * nptl/descr.h (stackblock, stackblock_size): Update comments.
14480 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
14481 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
14482 stacksize.
14483 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
14484
c70e4e9c
L
144852018-01-08 H.J. Lu <hongjiu.lu@intel.com>
14486
14487 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
14488 Add s_sincosf-sse2 and s_sincosf-fma.
14489 (CFLAGS-s_sincosf-fma.c): New.
14490 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
14491 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
14492 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
14493 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
14494 __sincosf is defined.
14495
579396ee
FW
144962018-01-08 Florian Weimer <fweimer@redhat.com>
14497
14498 * nptl/tst-thread-exit-clobber.cc: New file.
14499 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
14500 C++11 mode.
14501 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
14502 (tests): Add tst-thread-exit-clobber.
14503 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
14504
dabd75b6
FW
145052018-01-08 Florian Weimer <fweimer@redhat.com>
14506
14507 * support/check.h (support_static_assert): Define.
14508 (TEST_COMPARE): Use it.
14509
c2e014cc
AJ
145102018-01-07 Aurelien Jarno <aurelien@aurel32.net>
14511
14512 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
14513 [!__RLIM_T_MATCHES_RLIM64_T]
14514 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
14515 __getrlimit64. Add libc_hidden_weak.
14516
31a98837
PD
145172018-01-06 Palmer Dabbelt <palmer@sifive.com>
14518
14519 * elf/elf.h (R_RISCV_NONE): New define.
14520 (R_RISCV_32): Likewise.
14521 (R_RISCV_64): Likewise.
14522 (R_RISCV_RELATIVE): Likewise.
14523 (R_RISCV_COPY): Likewise.
14524 (R_RISCV_JUMP_SLOT): Likewise.
14525 (R_RISCV_TLS_DTPMOD32): Likewise.
14526 (R_RISCV_TLS_DTPMOD64): Likewise.
14527 (R_RISCV_TLS_DTPREL32): Likewise.
14528 (R_RISCV_TLS_DTPREL64): Likewise.
14529 (R_RISCV_TLS_TPREL32): Likewise.
14530 (R_RISCV_TLS_TPREL64): Likewise.
00505532
PD
14531 * Makerules (make-link-multidir): Make directories before linking into
14532 them.
150bbac1
PD
14533 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
14534 define.
14535 (VDSO_HASH_LINUX_4_15): Likewise.
1598f3ad
PD
14536 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
14537 in subdirectories of lib.
8e13c51b
PD
14538 * nptl/Makefile (/librt.so): Always depend on
14539 "$(shared-thread-library)".
31a98837 14540
fad7d57e
ST
145412018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14542
14543 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
4a5ce6e9
ST
14544 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
14545 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
14546 (___tls_get_addr).
14547 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
107a35a5
ST
14548 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
14549 "-O2 -march=i686".
01c7e549 14550 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
f417d92c
ST
14551 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
14552 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
14553 * sysdeps/gnu/glob-lstat-compat.c: New file.
14554 * sysdeps/gnu/glob64-lstat-compat.c: New file.
200fc24b 14555 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
fad7d57e 14556
3a32b716
TMQMF
145572018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14558
14559 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
14560 Reserve 16 chars to reloc_addr before calling _itoa_word.
14561
24731685
AJ
145622018-01-05 Aurelien Jarno <aurelien@aurel32.net>
14563
14564 [BZ #22678]
14565 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
14566 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
14567
19be56d8
AJ
14568 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
14569 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
14570
a6d0afb5
AJ
14571 * resource/tst-getrlimit.c: Add copyright header.
14572
8e900969
AJ
145732018-01-05 Aurelien Jarno <aurelien@aurel32.net>
14574 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14575
14576 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
14577 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
14578 Define __GI_getrlimit64 as weak alias of __getrlimit64.
14579 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
14580 instead.
14581 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
14582 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
14583 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
14584 RLIM64_INFINITY): Fix values to match the kernel ones.
14585 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
14586 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
14587 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
14588 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
14589 getrlimit64@@GLIBC_2_27.
14590 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
14591 and setrlimit64.
14592 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
14593 getrlimit, setrlimit, getrlimit64 and setrlimit64.
14594 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
14595 setrlimit, getrlimit64 and setrlimit64.
14596
0d0bc784
AJ
145972018-01-05 Aurelien Jarno <aurelien@aurel32.net>
14598
14599 [BZ #22648]
14600 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
14601 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
14602
ba374b6d
JM
146032018-01-04 Joseph Myers <joseph@codesourcery.com>
14604
14605 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
14606 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
14607 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
14608
4854ddd8
AZ
146092018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14610
b0a4eca2
AZ
14611 [BZ #15479]
14612 [BZ #22666]
14613 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
14614 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
14615
4854ddd8
AZ
14616 [BZ #15479]
14617 [BZ #22665]
14618 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
14619 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
14620 * sysdeps/alpha/fpu/s_floor.c: Likewise.
14621 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
14622
8a5df95f
FW
146232018-01-04 Florian Weimer <fweimer@redhat.com>
14624
14625 [BZ #22667]
14626 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
14627 Align the stack before calling exit.
14628 * stdlib/tst-makecontext-align.c: New file.
14629 * stdlib/Makefile (tests): Add tst-makecontext-align.
14630
82eef55f
FW
146312018-01-04 Florian Weimer <fweimer@redhat.com>
14632
14633 Add support for calling dlvsym from libc.so.
14634 * include/dlfcn.h (__libc_dlvsym): Declare.
14635 * elf/Makefile (tests-static-internal): Add
14636 tst-libc_dlvsym-static.
14637 (tests-internal): Add tst-libc_dlvsym.
14638 (modules-names): Add tst-libc_dlvsym-dso.
14639 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
14640 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
14641 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
14642 object tst-libc_dlvsym-dso.so needs to be built before running
14643 these tests.
14644 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
14645 * elf/Versions: Export __libc_dlvsym.
14646 * elf/dl-libc.c (struct do_dlvsym_args): New.
14647 (do_dlvsym, __libc_dlvsym): New functions.
14648 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
14649 (_dl_open_hook2): New variable.
14650 (__libc_register_dl_open_hook): Set it.
14651 * elf/tst-libc_dlvsym-dso.c: New file.
14652 * elf/tst-libc_dlvsym-static.c: Likewise.
14653 * elf/tst-libc_dlvsym.c: Likewise.
14654 * elf/tst-libc_dlvsym.h: Likewise.
14655
1714fc06
ST
146562018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
14657
14658 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
14659 include <sys/mount.h>.
14660
3c7d0312
WD
146612018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
14662
14663 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
14664 Add __NO_MATH_ERRNO__ check.
14665
7eff0954
JM
146662018-01-02 Joseph Myers <joseph@codesourcery.com>
14667
14668 * sysdeps/mips/mips32/libm-test-ulps: Update.
14669 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14670
77f49956
FW
146712018-01-02 Florian Weimer <fweimer@redhat.com>
14672
14673 * misc/tst-pselect.c: Add copyright header.
14674
363e4519 146752018-01-02 Aurelien Jarno <aurelien@aurel32.net>
d35989be
AJ
14676
14677 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
14678 comment.
14679 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
14680 comment.
14681 (settrlimit): Rename into setrlimit.
14682 (__sttrlimit): Rename into __setrlimit.
14683
3e4226ff
AJ
14684 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
14685 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
14686 never defined in that case.
14687
b9256ab6
JM
146882018-01-02 Joseph Myers <joseph@codesourcery.com>
14689
28fd6a44
JM
14690 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
14691
a4933a15
JM
14692 * sysdeps/arm/libm-test-ulps: Update.
14693
b9256ab6
JM
14694 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
14695 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
14696
4cf82d23
RS
146972018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14698
14699 * NEWS: Add cosf and sincosf to list of optimized functions.
14700
6a9dd7a7
AJ
147012018-01-02 Aurelien Jarno <aurelien@aurel32.net>
14702
14703 [BZ #22660]
14704 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
14705 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
14706 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
14707 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
14708
dbba87d5
DL
147092018-01-01 Dmitry V. Levin <ldv@altlinux.org>
14710
b05cb613
DL
14711 [BZ #22433]
14712 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
14713
dbba87d5
DL
14714 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
14715 making a copy of it.
14716
688903eb
JM
147172018-01-01 Joseph Myers <joseph@codesourcery.com>
14718
66ac23de
JM
14719 * manual/texinfo.tex: Update to version 2017-12-26.21 with
14720 trailing whitespace removed.
14721 * scripts/config.guess: Update to version 2018-01-01.
14722 * scripts/config.sub: Update to version 2018-01-01.
14723 * scripts/move-if-change: Update from gnulib.
14724
09533208
JM
14725 * NEWS: Update copyright dates.
14726 * catgets/gencat.c (print_version): Likewise.
14727 * csu/version.c (banner): Likewise.
14728 * debug/catchsegv.sh: Likewise.
14729 * debug/pcprofiledump.c (print_version): Likewise.
14730 * debug/xtrace.sh (do_version): Likewise.
14731 * elf/ldconfig.c (print_version): Likewise.
14732 * elf/ldd.bash.in: Likewise.
14733 * elf/pldd.c (print_version): Likewise.
14734 * elf/sotruss.sh: Likewise.
14735 * elf/sprof.c (print_version): Likewise.
14736 * iconv/iconv_prog.c (print_version): Likewise.
14737 * iconv/iconvconfig.c (print_version): Likewise.
14738 * locale/programs/locale.c (print_version): Likewise.
14739 * locale/programs/localedef.c (print_version): Likewise.
14740 * login/programs/pt_chown.c (print_version): Likewise.
14741 * malloc/memusage.sh (do_version): Likewise.
14742 * malloc/memusagestat.c (print_version): Likewise.
14743 * malloc/mtrace.pl: Likewise.
14744 * manual/libc.texinfo: Likewise.
14745 * nptl/version.c (banner): Likewise.
14746 * nscd/nscd.c (print_version): Likewise.
14747 * nss/getent.c (print_version): Likewise.
14748 * nss/makedb.c (print_version): Likewise.
14749 * posix/getconf.c (main): Likewise.
14750 * scripts/test-installation.pl: Likewise.
14751 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
14752
688903eb
JM
14753 * All files with FSF copyright notices: Update copyright dates
14754 using scripts/update-copyrights.
14755 * locale/programs/charmap-kw.h: Regenerated.
14756 * locale/programs/locfile-kw.h: Likewise.
14757
4f820792
ZW
147582017-12-31 Zack Weinberg <zackw@panix.com>
14759
14760 * libio/bits/libio-ldbl.h: Correct check for improper
14761 inclusion. Add own multiple include guard.
14762
3e3c904d
AJ
147632017-12-30 Aurelien Jarno <aurelien@aurel32.net>
14764 Dmitry V. Levin <ldv@altlinux.org>
14765
14766 [BZ #22625]
31f96325 14767 CVE-2017-16997
3e3c904d
AJ
14768 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
14769 string token expansion. Check for NULL pointer or empty string possibly
14770 returned by expand_dynamic_string_token.
14771 (decompose_rpath): Check for empty path after dynamic string
14772 token expansion.
14773
7e21972b
DL
147742017-12-29 Dmitry V. Levin <ldv@altlinux.org>
14775
c48831d0
DL
14776 [BZ #22433]
14777 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
14778
ac583f50
DL
14779 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
14780 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
14781 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
14782 and PTRACE_SYSCALL.
14783 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
14784 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
14785 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14786 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14787 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14788 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
14789
7e21972b
DL
14790 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
14791 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
14792 __ptrace_peeksiginfo_flags, ptrace): Move to ...
14793 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
14794 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14795 bits/ptrace-shared.h.
14796 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
14797 <bits/ptrace-shared.h>.
14798 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
14799 __ptrace_peeksiginfo_flags, ptrace): Remove.
14800 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
14801 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14802 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14803 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14804 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
14805
72f29e3a
AJ
148062017-12-29 Aurelien Jarno <aurelien@aurel32.net>
14807
14808 [BZ #17804]
14809 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
14810 end of the loop. Improve comments.
14811
54e4efc2
AJ
148122017-12-29 Zack Weinberg <zackw@panix.com>
14813
14814 [BZ #22615]
14815 * manual/errno.texi (Checking for Errors): Explicitly say that errno
14816 might be set on success.
14817
f8aa69be
AJ
148182017-12-29 Aurelien Jarno <aurelien@aurel32.net>
14819
14820 [BZ #22611]
14821 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
14822 is unchanged on success.
14823
97f13188
DL
148242017-12-27 Dmitry V. Levin <ldv@altlinux.org>
14825
2bd86632
DL
14826 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
14827 updated.
14828 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
14829 expand_dynamic_string_token): Likewise.
14830 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
14831 is_path argument.
14832
1c36e1e6
DL
14833 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
14834 contains ':'.
14835
97f13188
DL
14836 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
14837 is set and name contains ':', and all code depending on these checks.
14838
48a8f832
ZW
148392017-12-24 Zack Weinberg <zackw@panix.com>
14840
14841 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
14842 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
14843 respectively.
14844 * libio/libio.h: Rename the original version of this file to
14845 libio/bits/libio.h. Error out if not included by stdio.h or the
14846 stub libio.h.
14847 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
14848 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
14849 if not included by bits/libio.h or the stub _G_config.h.
14850 * sysdeps/unix/sysv/linux/_G_config.h: Move to
14851 sysdeps/unix/sysv/linux/bits. Error out if not included by
14852 bits/libio.h or the stub _G_config.h.
14853 * libio/stdio.h: Include bits/libio.h, not libio.h.
14854 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
14855 well as libio.h and _G_config.h.
14856
14857 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
14858 * libio/strfile.h, stdio-common/vfscanf.c
14859 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
14860 Include stdio.h, not _G_config.h nor libio.h.
14861 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
14862 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
14863
14864 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
14865
a47ad79a
DL
148662017-12-23 Dmitry V. Levin <ldv@altlinux.org>
14867
14868 [BZ #22347]
14869 * stdlib/getrandom.c (getrandom): Fix comment.
14870 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
14871
363e4519 148722017-12-23 Aurelien Jarno <aurelien@aurel32.net>
e65a5644 14873
f5c558f3
AJ
14874 [BZ #21161]
14875 * manual/arith.texi (strtoul): Fix a typo.
14876
e65a5644
AJ
14877 [BZ #22596]
14878 * manual/arith.texi (finite): Fix the description of the return
14879 value.
14880
ed8ae46b
EB
148812017-12-22 Eric Blake <ebb9@byu.net>
14882
14883 Avoid gcc warnings on cygwin
14884 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
14885 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
14886 Avoid unused variable.
14887
bad7a0c8
FW
148882017-12-22 Florian Weimer <fweimer@redhat.com>
14889
14890 * io/Makefile (routines): Add copy_file_range.
14891 (tests): Add tst-copy_file_range.
14892 (tests-static, tests-internal): Add tst-copy_file_range-compat.
14893 * io/Versions (GLIBC_2.27): Export copy_file_range.
14894 * io/copy_file_range-compat.c: New file.
14895 * io/copy_file_range.c: Likewise.
14896 * io/tst-copy_file_range-compat.c: Likewise.
14897 * io/tst-copy_file_range.c: Likewise.
14898 * manual/llio.texi (Copying File Data): New section.
14899 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
14900 * support/Makefile (libsupport-routines): Add support-xfstat,
14901 xftruncate, xlseek.
14902 * support/support-xfstat.c: New file.
14903 * support/xftruncate.c: Likewise.
14904 * support/xlseek.c: Likewise.
14905 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
14906 * sysdeps/unix/sysv/linux/**.abilist: Update.
14907 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
14908
6cb86fd2
SN
149092017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
14910
14911 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
14912 disable-multi-arch variant to aarch64-linux-gnu.
14913
41d11b15
JM
149142017-12-20 Joseph Myers <joseph@codesourcery.com>
14915
14916 * manual/texinfo.tex: Update to version 2017-12-18.20 with
14917 trailing whitespace removed.
14918 * scripts/config.guess: Update to version 2017-12-17.
14919 * scripts/config.sub: Update to version 2017-11-23.
14920 * scripts/install-sh: Update to version 2017-09-23.17.
14921 * scripts/move-if-change: Update to version 2017-09-13 06:45.
14922
4735850f
AZ
149232017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14924
8d2d239c
AZ
14925 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
14926 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
14927 * sysdeps/tile/_mcount.S (__mcount): Likewise.
14928 * sysdeps/tile/crti.S (_init, _fini): Likewise.
14929 * sysdeps/tile/crtn.S: Likewise.
14930 * sysdeps/tile/dl-start.S (_start): Likewise.
14931 * sysdeps/tile/dl-trampoline.S: Likewise.
14932 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
14933 * sysdeps/tile/start.S (_start): Likewise.
14934 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
14935 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
14936 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
14937 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
14938 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
14939 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
14940 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
14941
24d1d8ec
AZ
14942 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
14943 comment.
14944 * sysdeps/tile/preconfigure: Remove tilegx folder.
14945 * sysdeps/tile/tilegx/Implies: Move definitions to ...
14946 * sysdeps/tile/Implies: ... here.
14947 * sysdeps/tile/tilegx/Makefile: Move rules to ...
14948 * sysdeps/tile/Makefile: ... here.
14949 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
14950 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
14951 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
14952 * sysdeps/tile/bits/wordsize.h: ... here.
14953 * sysdeps/tile/tilegx/*: Move to ...
14954 * sysdeps/tile/*: ... here.
14955 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
14956 * sysdeps/tile/tilegx32/Implies: ... here.
14957 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
14958 * sysdeps/tile/tilegx64/Implies: ... here.
14959 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
14960 to ...
14961 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
14962 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
14963 * sysdeps/unix/sysv/linux/tile/*: ... here.
14964 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
14965 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
14966 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
14967 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
14968
ed95f611
AZ
14969 * README: Remove tilepro-*-linux-gnu from supported architecture.
14970 * scripts/build-many-glibcs.py: Likewise.
14971 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
14972 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
14973 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
14974 elf_machine_matches_host, elf_machine_dynamic,
14975 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
14976 howto, elf_machine_rela): Likewise.
14977 * sysdeps/tile/dl-start.S (_start): Likewise.
14978 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
14979 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
14980 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
14981 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
14982 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
14983 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
14984 Likewise.
14985 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
14986 * sysdeps/tile/preconfigure: Likewise.
14987 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
14988 POINTER_CHK_GUARD): Likewise.
14989 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
14990 * sysdeps/tile/start.S (_start): Likewise.
14991 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
14992 Likewise.
14993 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
14994 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
14995 CMOVNEZ): Remove.
14996 * sysdeps/unix/sysv/linux/tile/bits/environments.h
14997 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
14998 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
14999 Likewise.
15000 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
15001 * sysdeps/tile/tilepro/Implies: Remove file.
15002 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
15003 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
15004 * sysdeps/tile/tilepro/memchr.c: Likewise.
15005 * sysdeps/tile/tilepro/memcpy.S: Likewise.
15006 * sysdeps/tile/tilepro/memset.c: Likewise.
15007 * sysdeps/tile/tilepro/memusage.h: Likewise.
15008 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
15009 * sysdeps/tile/tilepro/strchr.c: Likewise.
15010 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
15011 * sysdeps/tile/tilepro/strlen.c: Likewise.
15012 * sysdeps/tile/tilepro/strrchr.c: Likewise.
15013 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
15014 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
15015 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
15016 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
15017 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
15018 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
15019 Likewise.
15020 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
15021 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15022 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
15023 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
15024 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15025 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
15026 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
15027 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
15028 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
15029 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
15030 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
15031 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
15032 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
15033 tilepro mention in comment.
15034
4735850f
AZ
15035 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
15036 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
15037 * nptl/pthread_join_common.c: New file: common function used on
15038 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
15039 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
15040 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
15041 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
15042 (cleanup): Move definition to pthread_join_common.c.
15043 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
15044 Remove superflous checks.
15045 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
15046 Likewise.
15047
8bfb461e
SN
150482017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
15049
15050 * sysdeps/aarch64/libm-test-ulps: Update.
15051
4e001969
AZ
150522017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15053
15054 * sysdeps/aarch64/memset.S (MEMSET): Define.
15055
8a26ad2a
FW
150562017-12-20 Florian Weimer <fweimer@redhat.com>
15057
15058 [BZ #22635]
15059 nptl: Provide full implementation of pthread_self in libc.so.
15060 * nptl/Makefile (routines): Add pthread_self.
15061 (libpthread-routines): Replace pthread_self with
15062 compat-pthread_self.
15063 * nptl/forward.c (pthread_self): Remove.
15064 * nptl/nptl-init.c (pthread_functions): Do not initialize
15065 ptr_pthread_self.
15066 * nptl/pthread_self.c (pthread_self): Remove weak alias.
15067 * nptl/compat-pthread_self.c: New file.
15068 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
15069 Remove ptr_pthread_self.
15070
5069ff32
AR
150712017-12-19 Arnold D. Robbins <arnold@skeeve.com>
15072
15073 * posix/regcomp.c: Fix spelling in comments.
15074 * posix/regex.h: Likewise.
15075 * posix/regex_internal.c: Likewise.
15076 * posix/regexec.c: Likewise.
15077
c85e54ac
GG
150782017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15079
15080 [BZ #22377]
15081 * math/Makefile [C++] (tests): Add test for iseqsig.
15082 * math/math.h [C++] (iseqsig): New implementation, which does
15083 not rely on __MATH_TG/__builtin_types_compatible_p.
15084 * math/test-math-iseqsig.cc: New file.
15085 * sysdeps/powerpc/powerpc64le/Makefile
15086 (CFLAGS-test-math-iseqsig.cc): New variable.
15087
10e93d96
DL
150882017-12-19 Dmitry V. Levin <ldv@altlinux.org>
15089
15090 * elf/dl-load.c (is_trusted_path): Remove.
15091 (fillin_rpath): Remove check_trusted argument and its use,
15092 all callers changed.
15093
ce16eb52
L
150942017-12-19 H.J. Lu <hongjiu.lu@intel.com>
15095
15096 [BZ #22630]
15097 * Makeconfig (link-pie-before-libc): Replace -pie with
15098 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
15099 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
15100 (tst-dlopen-aout-no-pie): New.
15101 (LDFLAGS-tst-prelink): Removed.
15102 (tst-prelink-no-pie): New.
15103 (LDFLAGS-tst-main1): Removed.
15104 (tst-main1-no-pie): New.
15105 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
15106 (tst-gmon-no-pie): New.
15107
126adc89
L
151082017-12-19 H.J. Lu <hongjiu.lu@intel.com>
15109
15110 * manual/install.texi: Document that --enable-static-pie
15111 implies PIE.
15112 * INSTALL: Regenerated.
15113
648615e1
BE
151142017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
15115
15116 [BZ #21309]
15117 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
15118 unsigned.
15119
f1e00502
JM
151202017-12-19 Joseph Myers <joseph@codesourcery.com>
15121
15122 Revert:
15123
15124 2017-12-19 Joseph Myers <joseph@codesourcery.com>
15125
15126 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15127
15128 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
15129
15130 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
15131 <errno.h>. Include "eexp.tbl".
15132 (half): New constant.
15133 (one): Likewise.
15134 (__ieee754_exp): Rewrite.
15135 (__slowexp): Remove prototype.
15136 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
15137 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
15138 * sysdeps/i386/fpu/slowexp.c: Likewise.
15139 * sysdeps/ia64/fpu/slowexp.c: Likewise.
15140 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
15141 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
15142 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
15143 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
15144 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
15145 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
15146 comment.
15147 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
15148 (CPPFLAGS-slowexp.c): Remove variable.
15149 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15150 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
15151 (CFLAGS-slowexp-fma.c): Remove variable.
15152 (CFLAGS-slowexp-fma4.c): Likewise.
15153 (CFLAGS-slowexp-avx.c): Likewise.
15154 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
15155 define as macro.
15156 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
15157 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
15158 * math/Makefile (type-double-routines): Remove slowexp.
15159 * manual/probes.texi (slowexp_p6): Remove.
15160 (slowexp_p32): Likewise.
15161
d711a00f
AZ
151622017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15163
e184ac3a
AZ
15164 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
15165 arithmetic.
15166
d711a00f
AZ
15167 * lib/glob.c (glob): Do not pass NULL to mempcpy.
15168
6f58c10d
JM
151692017-12-19 Joseph Myers <joseph@codesourcery.com>
15170
15171 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15172
6fd0a3c6
PM
151732017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
15174
15175 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
15176 <errno.h>. Include "eexp.tbl".
15177 (half): New constant.
15178 (one): Likewise.
15179 (__ieee754_exp): Rewrite.
15180 (__slowexp): Remove prototype.
15181 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
15182 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
15183 * sysdeps/i386/fpu/slowexp.c: Likewise.
15184 * sysdeps/ia64/fpu/slowexp.c: Likewise.
15185 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
15186 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
15187 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
15188 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
15189 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
15190 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
15191 comment.
15192 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
15193 (CPPFLAGS-slowexp.c): Remove variable.
15194 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15195 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
15196 (CFLAGS-slowexp-fma.c): Remove variable.
15197 (CFLAGS-slowexp-fma4.c): Likewise.
15198 (CFLAGS-slowexp-avx.c): Likewise.
15199 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
15200 define as macro.
15201 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
15202 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
15203 * math/Makefile (type-double-routines): Remove slowexp.
15204 * manual/probes.texi (slowexp_p6): Remove.
15205 (slowexp_p32): Likewise.
15206
3bb1ef58
AZ
152072017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15208 James Clarke <jrtc27@jrtc27.com>
15209
15210 [BZ #22603]
15211 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
15212 addition.
15213
554e3d51
AZ
152142017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15215
15216 [BZ #22605]
15217 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
15218 code.
15219
cba595c3
L
152202017-12-19 H.J. Lu <hongjiu.lu@intel.com>
15221
15222 [BZ #22563]
15223 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
15224 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
15225 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
15226 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
15227 to feature_1.
15228
f81ddabf
L
152292017-12-19 H.J. Lu <hongjiu.lu@intel.com>
15230
15231 [BZ #22563]
15232 * bits/types/__cancel_jmp_buf_tag.h: New file.
15233 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
15234 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
15235 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
15236 * nptl/Makefile (headers): Add
15237 bits/types/__cancel_jmp_buf_tag.h.
15238 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
15239 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
15240 * sysdeps/nptl/pthread.h: Include
15241 <bits/types/__cancel_jmp_buf_tag.h>.
15242 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
15243 __cancel_jmp_buf.
15244 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
15245
1a49fc59
L
152462017-12-18 H.J. Lu <hongjiu.lu@intel.com>
15247
15248 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
15249 --enable-static-pie variants to x86_64, x32 and i686.
15250
8e52f573
JM
152512017-12-19 Joseph Myers <joseph@codesourcery.com>
15252
66425185
JM
15253 [BZ #22631]
15254 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
15255 argument for attrubutes. All callers changed.
15256 (__inline_mathop1): Likewise. All callers changed.
15257 (__inline_mathop): Likewise. All callers changed.
15258 [__USE_MISC] (scalbn): Use __inline_forward instead of
15259 __inline_forward_c.
15260 [__USE_ISOC99] (scalbln): Likewise.
15261 [__USE_ISOC99] (nearbyint): Likewise.
15262 [__USE_ISOC99] (lrint): Likewise.
15263 [__USE_MISC] (scalbnf): Likewise.
15264 [__USE_ISOC99] (scalblnf): Likewise.
15265 [__USE_ISOC99] (nearbyintf): Likewise.
15266 [__USE_ISOC99] (lrintf): Likewise.
15267 [__USE_MISC] (scalbnl): Likewise.
15268 [__USE_ISOC99] (scalblnl): Likewise.
15269 [__USE_ISOC99] (nearbyintl): Likewise.
15270 [__USE_ISOC99] (lrintl): Likewise.
15271 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
15272 __inline_mathop and __m81_defun changed.
15273
8e52f573
JM
15274 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
15275 CPU or FPU for ARM hard-float configurations.
15276
1421f39b
JM
152772017-12-18 Joseph Myers <joseph@codesourcery.com>
15278
40c4162d
JM
15279 * nptl/tst-attr3.c: Include <libc-diag.h>.
15280 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
15281
5983df32
JM
15282 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
15283
1421f39b
JM
15284 * string/tester.c (test_strncat): Also disable -Warray-bounds
15285 warnings for two tests.
15286
00c714df
L
152872017-12-18 H.J. Lu <hongjiu.lu@intel.com>
15288
15289 [BZ #22614]
15290 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
15291 $(cc-pie-default) == yes.
15292 * config.make.in (cc-pie-default): New.
15293 * configure.ac (libc_cv_pie_default): Renamed to ...
15294 (libc_cv_cc_pie_default): This.
15295 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
15296 * configure: Regenerated.
15297
8e1472d2
FW
152982017-12-18 Florian Weimer <fweimer@redhat.com>
15299
15300 [BZ #20204]
15301 ld.so: Harden dl-libc/libdl hooks.
15302 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
15303 (rtld_active): New function.
15304 * dlfcn/dladdr.c (__dladdr): Call it.
15305 * dlfcn/dladdr1.c (__dladdr1): Likewise.
15306 * dlfcn/dlclose.c (__dlcose): Likewise.
15307 * dlfcn/dlerror.c (__dlerror): Likewise.
15308 * dlfcn/dlinfo.c (__dlinfo): Likewise.
15309 * dlfcn/dlmopen.c (__dlmopen): Likewise.
15310 * dlfcn/dlopen.c (__dlopen): Likewise.
15311 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
15312 * dlfcn/dlsym.c (__dlsym): Likewise.
15313 * dlfcn/dlvsym.c (__dlvsym): Likewise.
15314 * libio/vtables.c (_IO_vtable_check): Likewise.
15315 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
15316 (__libc_dlclose): Likewise.
15317 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
15318 assignment.
15319
49b036bc
JM
153202017-12-18 Joseph Myers <joseph@codesourcery.com>
15321
15322 [BZ #22446]
15323 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
15324 buffers for readlink input and output.
15325
368b6c8d
ST
153262017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
15327
c85c564d
ST
15328 [BZ #22624]
15329 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
15330 inhibit_stack_protector.
15331
368b6c8d
ST
15332 [BZ #22624]
15333 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
15334 inhibit_stack_protector.
15335
bb195224
DL
153362017-12-18 Dmitry V. Levin <ldv@altlinux.org>
15337
15338 [BZ #22627]
15339 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
15340 code and invocation.
15341
14d886ed
SN
153422017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
15343
15344 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
15345
7d38eb38
AJ
153462017-12-16 Aurelien Jarno <aurelien@aurel32.net>
15347
15348 [BZ #22505]
15349 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
15350
2e77deef
RS
153512017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15352
15353 * sysdeps/s390/fpu/libm-test-ulps: Update.
15354
0b9bef6d
RS
153552017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15356
15357 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15358
984ae996
RS
153592017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15360
15361 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
15362 constants to s_sincosf.h file.
15363 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15364 * sysdeps/ieee754/flt-32/s_sincosf.c: New
15365 implementation.
15366 * sysdeps/ieee754/flt-32/s_sincosf.h:
15367 New file.
15368
363e4519 153692017-12-12 Carlos O'Donell <carlos@redhat.com>
93930ea9
CD
15370
15371 [BZ #14681]
15372 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
15373 before mtrace.
15374
9d7a3741
L
153752017-12-15 H.J. Lu <hongjiu.lu@intel.com>
15376
15377 [BZ #19574]
15378 * INSTALL: Regenerated.
15379 * Makeconfig (real-static-start-installed-name): New.
15380 (pic-default): Updated for --enable-static-pie.
15381 (pie-default): New for --enable-static-pie.
15382 (default-pie-ldflag): Likewise.
15383 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
15384 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
15385 Replace $(static-start-installed-name) with
15386 $(real-static-start-installed-name).
15387 (+prectorT): Updated for --enable-static-pie.
15388 (+postctorT): Likewise.
15389 (CFLAGS-.o): Add $(pie-default).
15390 (CFLAGS-.op): Likewise.
15391 * NEWS: Mention --enable-static-pie.
15392 * config.h.in (ENABLE_STATIC_PIE): New.
15393 * configure.ac (--enable-static-pie): New configure option.
15394 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
15395 (have-static-pie): Likewise.
15396 Enable static PIE if linker supports --no-dynamic-linker.
15397 (ENABLE_STATIC_PIE): New AC_DEFINE.
15398 (enable-static-pie): New LIBC_CONFIG_VAR.
15399 * configure: Regenerated.
15400 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
15401 gr$(start-installed-name) for --enable-static-pie.
15402 (extra-objs): Likewise.
15403 (install-lib): Likewise.
15404 (extra-objs): Add static-reloc.o and static-reloc.os
15405 ($(objpfx)$(start-installed-name)): Also depend on
15406 $(objpfx)static-reloc.o.
15407 ($(objpfx)r$(start-installed-name)): New.
15408 ($(objpfx)g$(start-installed-name)): Also depend on
15409 $(objpfx)static-reloc.os.
15410 ($(objpfx)gr$(start-installed-name)): New.
15411 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
15412 in libc.a.
15413 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
15414 initimage.
15415 * csu/static-reloc.c: New file.
15416 * elf/Makefile (routines): Add dl-reloc-static-pie.
15417 (elide-routines.os): Likewise.
15418 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
15419 (tst-tls1-static-non-pie-no-pie): New.
15420 * elf/dl-reloc-static-pie.c: New file.
15421 * elf/dl-support.c (_dl_get_dl_main_map): New function.
15422 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
15423 STATIC_PIE_BOOTSTRAP.
15424 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
15425 * gmon/Makefile (tests): Add tst-gmon-static-pie.
15426 (tests-static): Likewise.
15427 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
15428 (tst-gmon-static-no-pie): New.
15429 (CFLAGS-tst-gmon-static-pie.c): Likewise.
15430 (CRT-tst-gmon-static-pie): Likewise.
15431 (tst-gmon-static-pie-ENV): Likewise.
15432 (tests-special): Likewise.
15433 ($(objpfx)tst-gmon-static-pie.out): Likewise.
15434 (clean-tst-gmon-static-pie-data): Likewise.
15435 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
15436 * gmon/tst-gmon-static-pie.c: New file.
15437 * manual/install.texi: Document --enable-static-pie.
15438 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
15439 (_dl_get_dl_main_map): Likewise.
15440 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
15441 * sysdeps/x86_64/configure.ac: Likewise.
15442 * sysdeps/i386/configure: Regenerated.
15443 * sysdeps/x86_64/configure: Likewise.
15444 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
15445 (ASFLAGS-.op): Likewise.
15446
95511aab
JM
154472017-12-15 Joseph Myers <joseph@codesourcery.com>
15448
15449 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
15450 * posix/tst-mmap-offset.c (fname): Use /tmp.
15451 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
15452
a7e3edf4
SE
154532017-12-15 Steve Ellcey <sellcey@cavium.com>
15454
15455 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
15456
d232f2e1
TS
154572017-12-15 Thomas Schwinge <thomas@codesourcery.com>
15458
15459 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
15460 errno.
15461
174edbde
JM
154622017-12-15 Joseph Myers <joseph@codesourcery.com>
15463
5170fa49
JM
15464 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
15465 --with-float=hard for arm-linux-gnueabihf configurations.
15466
f2da2fd8
JM
15467 [BZ #14121]
15468 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
15469 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
15470 ($(mo-installed)): Use $(objpfx)%.mo.
15471 (realclean): Remove rule.
15472
0c4fe28d
JM
15473 * po/Makefile (linguas): Remove rule and dependencies.
15474 (linguas.mo): Likewise.
15475 (.PHONY): Do not depend on linguas and linguas.mo.
15476 (podir): Remove variable.
15477 (pofiles): Likewise.
15478 [$(pofiles)] (%.po): Remove rule.
15479
174edbde
JM
15480 * sysdeps/sparc/sparc32/Makefile
15481 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
15482 start-of-line whitespace in argument of echo.
15483 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
15484 with whitespace. Generate __wrap_.udiv alias.
15485 * sysdeps/sparc/sparc32/rem.S: Regenerated.
15486 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
15487 * sysdeps/sparc/sparc32/udiv.S: Likewise.
15488 * sysdeps/sparc/sparc32/urem.S: Likewise.
15489
1e36806f
RS
154902017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15491
15492 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
15493 for aligned inputs.
15494
aa6932aa
SP
154952017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
15496
5f1603c3
SP
15497 * benchtests/bench-strcmp.c: Print output in JSON format.
15498
aa6932aa
SP
15499 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
15500
3ff3dfa5
FW
155012017-12-14 Florian Weimer <fweimer@redhat.com>
15502
15503 [BZ #22607]
15504 CVE-2017-1000409
15505 * elf/dl-load.c (_dl_init_paths): Compute number of components in
15506 the expanded path string.
15507
8a0b17e4
FW
155082017-12-14 Florian Weimer <fweimer@redhat.com>
15509
15510 [BZ #22606]
15511 CVE-2017-1000408
15512 * elf/dl-load.c (system_dirs): Update comment.
15513 (nsystem_dirs_len): Use array_length.
15514 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
15515
f58bd7f0
FW
155162017-12-14 Florian Weimer <fweimer@redhat.com>
15517
15518 Simplify compiling most of support/ outside of glibc.
15519 * support/check_addrinfo.c: Include <string.h>.
15520 * support/check_dns_packet.c: Likewise.
15521 * support/check_hostent.c: Likewise.
15522 * support/support_can_chroot.c: Include <support/xunistd.h>.
15523 * support/support_format_addrinfo.c: Include <stdlib.h>
15524 * support/support_format_dns_packet.c: Include <stdbool.h>.
15525 * support/support_format_hostent.c: Include <stdlib.h>.
15526 * support/support_format_netent.c: Likewise.
15527 * support/support_write_string.c: Include <support/xunistd.h>.
15528 * support/xdlfcn.c: Include <stddef.h>.
15529
4ca945e9
L
155302017-12-14 H.J. Lu <hongjiu.lu@intel.com>
15531
15532 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
15533
1b6e07f8
PM
155342017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
15535 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15536
e6a1c5dc
PM
15537 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
15538 (sysdeps_routines): Add memset-niagara7.
15539 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
15540 Likewise.
15541 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
15542 file.
15543 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
15544 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
15545 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
15546 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
15547 Add niagara7 option.
15548 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
15549 memset.
15550
1b6e07f8
PM
15551 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
15552 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
15553 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
15554 Likewise.
15555 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
15556 New file.
15557 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
15558 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
15559 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
15560 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
15561 and __memmove_niagara7.
15562 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
15563 Add niagara7 option.
15564 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
15565 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
15566 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
15567 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
15568 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
15569
bfb7bf22
JM
155702017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
15571
767a26d6
JM
15572 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
15573 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
15574 * sysdeps/sparc/sparc64/memmove.S: Likewise.
15575 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
15576
bfb7bf22
JM
15577 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
15578 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
15579 _dl_sparc_cap_flags array.
15580 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
15581
2bce01eb
SP
155822017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
15583
15584 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
15585 time whenever possible.
15586
363e4519 155872017-12-12 Carlos O'Donell <carlos@redhat.com>
243b6333
CD
15588
15589 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
15590 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
15591
6f7c0092
JM
155922017-12-12 Joseph Myers <joseph@codesourcery.com>
15593
15594 * soft-fp/fmadf4.c: Move to ....
15595 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
15596 * soft-fp/fmasf4.c: Move to ....
15597 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
15598 * soft-fp/fmatf4.c: Move to ....
15599 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
15600 * sysdeps/ieee754/soft-fp/Makefile: New file.
15601 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
15602 * sysdeps/arm/preconfigure: Regenerated.
15603 * sysdeps/arm/nofpu/Implies: New file.
15604 * sysdeps/arm/s_fma.c: Remove file.
15605 * sysdeps/arm/s_fmaf.c: Likewise.
15606 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
15607 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
15608 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
15609 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
15610 * sysdeps/microblaze/s_fma.c: Remove file.
15611 * sysdeps/microblaze/s_fmaf.c: Likewise.
15612 * sysdeps/mips/mips32/nofpu/Implies: New file.
15613 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
15614 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
15615 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
15616 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
15617 * sysdeps/mips/ieee754/s_fma.c: Remove file.
15618 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
15619 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
15620 implementation.
15621 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
15622 * sysdeps/nios2/s_fma.c: Remove file.
15623 * sysdeps/nios2/s_fmaf.c: Likewise.
15624 * sysdeps/sh/nofpu/Implies: New file.
15625 * sysdeps/sh/s_fma.c: Remove file.
15626 * sysdeps/sh/s_fmaf.c: Likewise.
15627 * sysdeps/tile/Implies: Add ieee754/soft-fp.
15628 * sysdeps/tile/s_fma.c: Remove file.
15629 * sysdeps/tile/s_fmaf.c: Likewise.
15630
ac817e08
L
156312017-12-12 H.J. Lu <hongjiu.lu@intel.com>
15632
15633 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15634 Add s_cosf-sse2 and s_cosf-fma.
15635 (CFLAGS-s_cosf-fma.c): New.
15636 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
15637 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
15638 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
15639
eb428576
SE
156402017-12-12 Steve Ellcey <sellcey@cavium.com>
15641
15642 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
15643
c80acdc3
AZ
156442017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15645
cc683f7e
AZ
15646 * libio/Makefile (tests): Add tst-bz22415.
15647 (tst-bz22415-ENV): New rule.
15648 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
15649 (tests-special): Add tst-bz22415-mem.out.
15650 ($(objpfx)tst-bz22415-mem.out): New rule.
15651 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
15652 in case of a successful seek operation.
15653 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15654 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
15655 buffer is required.
15656 * libio/tst-bz22415.c: New test.
15657
c80acdc3
AZ
15658 * sysdeps/ia64/fpu/libm-test-ulps: Update.
15659
363e4519 156602017-12-12 James Clarke <jrtc27@jrtc27.com>
89bd8016
JC
15661
15662 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
15663 __IPC_64 to 0 to avoid IPC_64 being set.
15664
4e0dca54
SN
156652017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
15666
15667 [BZ #22593]
15668 * math/bits/mathcalls.h (nextafter): Remove const.
15669 (nexttoward): Likewise.
15670
8df5d347
JM
156712017-12-12 Joseph Myers <joseph@codesourcery.com>
15672
15673 * configure.ac (--with-fp): Remove configure option.
15674 (with_fp_cond): New variable.
15675 (libc_cv_with_fp): New configure test. Use this variable instead
15676 of with_fp.
15677 * configure: Regenerated.
15678 * config.make.in (with-fp): Use @libc_cv_with_fp@.
15679 * manual/install.texi (Configuring and compiling): Remove
15680 --without-fp.
15681 * INSTALL: Regenerated.
15682 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
15683 * sysdeps/mips/preconfigure (with_fp_cond): Define.
15684 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
15685 * sysdeps/sh/preconfigure (with_fp_cond): Define.
15686 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
15687 use --without-fp to configure glibc.
15688
0cee1257
RJ
156892017-12-12 Rical Jasan <ricaljasan@pacific.net>
15690
15691 * manual/locale.texi (nl_langinfo): Fix a typo.
15692
363e4519 156932017-12-12 Aurelien Jarno <aurelien@aurel32.net>
f54ad2f9
AJ
15694
15695 [BZ #22588]
15696 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
15697
36975e8e
L
156982017-12-11 H.J. Lu <hongjiu.lu@intel.com>
15699
15700 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
15701 (CFLAGS-argp-parse.c): Likewise.
15702 (CFLAGS-argp-fmtstream.c): Likewise.
15703 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
15704 (CPPFLAGS-sha512-crypt.c): Likewise.
15705 (CPPFLAGS-md5-crypt.c): Likewise.
15706 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
15707 (CFLAGS-stack_chk_fail_local.c): Likewise.
15708 (CFLAGS-backtrace.c): Likewise.
15709 (CFLAGS-sprintf_chk.c): Likewise.
15710 (CFLAGS-snprintf_chk.c): Likewise.
15711 (CFLAGS-vsprintf_chk.c): Likewise.
15712 (CFLAGS-vsnprintf_chk.c): Likewise.
15713 (CFLAGS-asprintf_chk.c): Likewise.
15714 (CFLAGS-vasprintf_chk.c): Likewise.
15715 (CFLAGS-obprintf_chk.c): Likewise.
15716 (CFLAGS-dprintf_chk.c): Likewise.
15717 (CFLAGS-vdprintf_chk.c): Likewise.
15718 (CFLAGS-printf_chk.c): Likewise.
15719 (CFLAGS-fprintf_chk.c): Likewise.
15720 (CFLAGS-vprintf_chk.c): Likewise.
15721 (CFLAGS-vfprintf_chk.c): Likewise.
15722 (CFLAGS-gets_chk.c): Likewise.
15723 (CFLAGS-fgets_chk.c): Likewise.
15724 (CFLAGS-fgets_u_chk.c): Likewise.
15725 (CFLAGS-fread_chk.c): Likewise.
15726 (CFLAGS-fread_u_chk.c): Likewise.
15727 (CFLAGS-swprintf_chk.c): Likewise.
15728 (CFLAGS-vswprintf_chk.c): Likewise.
15729 (CFLAGS-wprintf_chk.c): Likewise.
15730 (CFLAGS-fwprintf_chk.c): Likewise.
15731 (CFLAGS-vwprintf_chk.c): Likewise.
15732 (CFLAGS-vfwprintf_chk.c): Likewise.
15733 (CFLAGS-fgetws_chk.c): Likewise.
15734 (CFLAGS-fgetws_u_chk.c): Likewise.
15735 (CFLAGS-read_chk.c): Likewise.
15736 (CFLAGS-pread_chk.c): Likewise.
15737 (CFLAGS-pread64_chk.c): Likewise.
15738 (CFLAGS-recv_chk.c): Likewise.
15739 (CFLAGS-recvfrom_chk.c): Likewise.
15740 (CFLAGS-tst-longjmp_chk.c): Likewise.
15741 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
15742 (CFLAGS-tst-longjmp_chk2.c): Likewise.
15743 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
15744 (CFLAGS-tst-longjmp_chk3.c): Likewise.
15745 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
15746 (CFLAGS-tst-chk1.c): Likewise.
15747 (CFLAGS-tst-chk2.c): Likewise.
15748 (CFLAGS-tst-chk3.c): Likewise.
15749 (CFLAGS-tst-chk4.cc): Likewise.
15750 (CFLAGS-tst-chk5.cc): Likewise.
15751 (CFLAGS-tst-chk6.cc): Likewise.
15752 (CFLAGS-tst-lfschk1.c): Likewise.
15753 (CFLAGS-tst-lfschk2.c): Likewise.
15754 (CFLAGS-tst-lfschk3.c): Likewise.
15755 (CFLAGS-tst-lfschk4.cc): Likewise.
15756 (CFLAGS-tst-lfschk5.cc): Likewise.
15757 (CFLAGS-tst-lfschk6.cc): Likewise.
15758 (CFLAGS-tst-ssp-1.c): Likewise.
15759 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
15760 (CFLAGS-scandir64.c): Likewise.
15761 (CFLAGS-scandir-tail.c): Likewise.
15762 (CFLAGS-scandir64-tail.c): Likewise.
15763 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
15764 (CFLAGS-dl-tunables.c): Likewise.
15765 (CFLAGS-dl-runtime.c): Likewise.
15766 (CFLAGS-dl-lookup.c): Likewise.
15767 (CFLAGS-dl-iterate-phdr.c): Likewise.
15768 (CFLAGS-vismain.c): Likewise.
15769 (CFLAGS-tst-linkall-static.c): Likewise.
15770 (CFLAGS-tst-linkall-static.c): Likewise.
15771 (CPPFLAGS-dl-load.c): Likewise.
15772 (CFLAGS-ldconfig.c): Likewise.
15773 (CFLAGS-dl-cache.c): Likewise.
15774 (CFLAGS-cache.c): Likewise.
15775 (CFLAGS-rtld.c): Likewise.
15776 (CFLAGS-multiload.c): Likewise.
15777 (CFLAGS-filtmod1.c): Likewise.
15778 (CFLAGS-tst-align.c): Likewise.
15779 (CFLAGS-tst-align2.c): Likewise.
15780 (CFLAGS-tst-alignmod.c): Likewise.
15781 (CFLAGS-tst-alignmod2.c): Likewise.
15782 (CPPFLAGS-tst-execstack.c): Likewise.
15783 (CFLAGS-tst-ptrguard1-static.c): Likewise.
15784 (CFLAGS-tst-latepthreadmod.c): Likewise.
15785 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
15786 (CFLAGS-getgrnam_r.c): Likewise.
15787 (CFLAGS-getgrent_r.c): Likewise.
15788 (CFLAGS-getgrent.c): Likewise.
15789 (CFLAGS-fgetgrent.c): Likewise.
15790 (CFLAGS-fgetgrent_r.c): Likewise.
15791 (CFLAGS-putgrent.c): Likewise.
15792 (CFLAGS-initgroups.c): Likewise.
15793 (CFLAGS-getgrgid.c): Likewise.
15794 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
15795 (CFLAGS-getsgent.c): Likewise.
15796 (CFLAGS-fgetsgent.c): Likewise.
15797 (CFLAGS-fgetsgent_r.c): Likewise.
15798 (CFLAGS-putsgent.c): Likewise.
15799 (CFLAGS-getsgnam.c): Likewise.
15800 (CFLAGS-getsgnam_r.c): Likewise.
15801 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
15802 (CFLAGS-iconv_charmap.c): Likewise.
15803 (CFLAGS-dummy-repertoire.c): Likewise.
15804 (CFLAGS-charmap.c): Likewise.
15805 (CFLAGS-linereader.c): Likewise.
15806 (CFLAGS-simple-hash.c): Likewise.
15807 (CFLAGS-gconv_conf.c): Likewise.
15808 (CFLAGS-iconvconfig.c): Likewise.
15809 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
15810 (CFLAGS-gethstbyad.c): Likewise.
15811 (CFLAGS-gethstbynm_r.c): Likewise.
15812 (CFLAGS-gethstbynm.c): Likewise.
15813 (CFLAGS-gethstbynm2_r.c): Likewise.
15814 (CFLAGS-gethstbynm2.c): Likewise.
15815 (CFLAGS-gethstent_r.c): Likewise.
15816 (CFLAGS-gethstent.c): Likewise.
15817 (CFLAGS-rcmd.c): Likewise.
15818 (CFLAGS-getnetbynm_r.c): Likewise.
15819 (CFLAGS-getnetbynm.c): Likewise.
15820 (CFLAGS-getnetbyad_r.c): Likewise.
15821 (CFLAGS-getnetbyad.c): Likewise.
15822 (CFLAGS-getnetent_r.c): Likewise.
15823 (CFLAGS-getnetent.c): Likewise.
15824 (CFLAGS-getaliasent_r.c): Likewise.
15825 (CFLAGS-getaliasent.c): Likewise.
15826 (CFLAGS-getrpcent_r.c): Likewise.
15827 (CFLAGS-getrpcent.c): Likewise.
15828 (CFLAGS-getservent_r.c): Likewise.
15829 (CFLAGS-getservent.c): Likewise.
15830 (CFLAGS-getprtent_r.c): Likewise.
15831 (CFLAGS-getprtent.c): Likewise.
15832 (CFLAGS-either_ntoh.c): Likewise.
15833 (CFLAGS-either_hton.c): Likewise.
15834 (CFLAGS-getnetgrent.c): Likewise.
15835 (CFLAGS-getnetgrent_r.c): Likewise.
15836 (CFLAGS-tst-checks-posix.c): Likewise.
15837 (CFLAGS-tst-sockaddr.c): Likewise.
15838 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
15839 (CFLAGS-tst-translit.c): Likewise.
15840 (CFLAGS-tst-gettext2.c): Likewise.
15841 (CFLAGS-tst-codeset.c): Likewise.
15842 (CFLAGS-tst-gettext3.c): Likewise.
15843 (CFLAGS-tst-gettext4.c): Likewise.
15844 (CFLAGS-tst-gettext5.c): Likewise.
15845 (CFLAGS-tst-gettext6.c): Likewise.
15846 * io/Makefile (CFLAGS-open.c): Likewise.
15847 (CFLAGS-open64.c): Likewise.
15848 (CFLAGS-creat.c): Likewise.
15849 (CFLAGS-creat64.c): Likewise.
15850 (CFLAGS-fcntl.c): Likewise.
15851 (CFLAGS-poll.c): Likewise.
15852 (CFLAGS-ppoll.c): Likewise.
15853 (CFLAGS-lockf.c): Likewise.
15854 (CFLAGS-statfs.c): Likewise.
15855 (CFLAGS-fstatfs.c): Likewise.
15856 (CFLAGS-statvfs.c): Likewise.
15857 (CFLAGS-fstatvfs.c): Likewise.
15858 (CFLAGS-fts.c): Likewise.
15859 (CFLAGS-fts64.c): Likewise.
15860 (CFLAGS-ftw.c): Likewise.
15861 (CFLAGS-ftw64.c): Likewise.
15862 (CFLAGS-lockf.c): Likewise.
15863 (CFLAGS-posix_fallocate.c): Likewise.
15864 (CFLAGS-posix_fallocate64.c): Likewise.
15865 (CFLAGS-fallocate.c): Likewise.
15866 (CFLAGS-fallocate64.c): Likewise.
15867 (CFLAGS-read.c): Likewise.
15868 (CFLAGS-write.c): Likewise.
15869 (CFLAGS-test-stat.c): Likewise.
15870 (CFLAGS-test-lfs.c): Likewise.
15871 * libio/Makefile (CFLAGS-fileops.c): Likewise.
15872 (CFLAGS-fputc.c): Likewise.
15873 (CFLAGS-fputwc.c): Likewise.
15874 (CFLAGS-freopen64.c): Likewise.
15875 (CFLAGS-freopen.c): Likewise.
15876 (CFLAGS-fseek.c): Likewise.
15877 (CFLAGS-fseeko64.c): Likewise.
15878 (CFLAGS-fseeko.c): Likewise.
15879 (CFLAGS-ftello64.c): Likewise.
15880 (CFLAGS-ftello.c): Likewise.
15881 (CFLAGS-fwide.c): Likewise.
15882 (CFLAGS-genops.c): Likewise.
15883 (CFLAGS-getc.c): Likewise.
15884 (CFLAGS-getchar.c): Likewise.
15885 (CFLAGS-getwc.c): Likewise.
15886 (CFLAGS-getwchar.c): Likewise.
15887 (CFLAGS-iofclose.c): Likewise.
15888 (CFLAGS-iofflush.c): Likewise.
15889 (CFLAGS-iofgetpos64.c): Likewise.
15890 (CFLAGS-iofgetpos.c): Likewise.
15891 (CFLAGS-iofgets.c): Likewise.
15892 (CFLAGS-iofgetws.c): Likewise.
15893 (CFLAGS-iofputs.c): Likewise.
15894 (CFLAGS-iofputws.c): Likewise.
15895 (CFLAGS-iofread.c): Likewise.
15896 (CFLAGS-iofsetpos64.c): Likewise.
15897 (CFLAGS-iofsetpos.c): Likewise.
15898 (CFLAGS-ioftell.c): Likewise.
15899 (CFLAGS-iofwrite.c): Likewise.
15900 (CFLAGS-iogetdelim.c): Likewise.
15901 (CFLAGS-iogetline.c): Likewise.
15902 (CFLAGS-iogets.c): Likewise.
15903 (CFLAGS-iogetwline.c): Likewise.
15904 (CFLAGS-ioputs.c): Likewise.
15905 (CFLAGS-ioseekoff.c): Likewise.
15906 (CFLAGS-ioseekpos.c): Likewise.
15907 (CFLAGS-iosetbuffer.c): Likewise.
15908 (CFLAGS-iosetvbuf.c): Likewise.
15909 (CFLAGS-ioungetc.c): Likewise.
15910 (CFLAGS-ioungetwc.c): Likewise.
15911 (CFLAGS-oldfileops.c): Likewise.
15912 (CFLAGS-oldiofclose.c): Likewise.
15913 (CFLAGS-oldiofgetpos64.c): Likewise.
15914 (CFLAGS-oldiofgetpos.c): Likewise.
15915 (CFLAGS-oldiofsetpos64.c): Likewise.
15916 (CFLAGS-oldiofsetpos.c): Likewise.
15917 (CFLAGS-peekc.c): Likewise.
15918 (CFLAGS-putc.c): Likewise.
15919 (CFLAGS-putchar.c): Likewise.
15920 (CFLAGS-putwc.c): Likewise.
15921 (CFLAGS-putwchar.c): Likewise.
15922 (CFLAGS-rewind.c): Likewise.
15923 (CFLAGS-wfileops.c): Likewise.
15924 (CFLAGS-wgenops.c): Likewise.
15925 (CFLAGS-oldiofopen.c): Likewise.
15926 (CFLAGS-iofopen.c): Likewise.
15927 (CFLAGS-iofopen64.c): Likewise.
15928 (CFLAGS-oldtmpfile.c): Likewise.
15929 (CFLAGS-tst_putwc.c): Likewise.
15930 * locale/Makefile (CFLAGS-md5.c): Likewise.
15931 (CFLAGS-charmap.c): Likewise.
15932 (CFLAGS-locfile.c): Likewise.
15933 (CFLAGS-charmap-dir.c): Likewise.
15934 * login/Makefile (CFLAGS-grantpt.c): Likewise.
15935 (CFLAGS-getpt.c): Likewise.
15936 (CFLAGS-pt_chown.c): Likewise.
15937 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
15938 (CFLAGS-obstack.c): Likewise.
15939 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
15940 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
15941 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
15942 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
15943 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
15944 (CFLAGS-test-tgmath.c): Likewise.
15945 (CFLAGS-test-tgmath2.c): Likewise.
15946 (CFLAGS-test-tgmath-ret.c): Likewise.
15947 (CFLAGS-test-powl.c): Likewise.
15948 (CFLAGS-test-snan.c): Likewise.
15949 (CFLAGS-test-signgam-finite.c): Likewise.
15950 (CFLAGS-test-signgam-finite-c99.c): Likewise.
15951 (CFLAGS-test-signgam-finite-c11.c): Likewise.
15952 (CFLAGS-test-signgam-uchar.c): Likewise.
15953 (CFLAGS-test-signgam-uchar-init.c): Likewise.
15954 (CFLAGS-test-signgam-uchar-static.c): Likewise.
15955 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
15956 (CFLAGS-test-signgam-uint.c): Likewise.
15957 (CFLAGS-test-signgam-uint-init.c): Likewise.
15958 (CFLAGS-test-signgam-uint-static.c): Likewise.
15959 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
15960 (CFLAGS-test-signgam-ullong.c): Likewise.
15961 (CFLAGS-test-signgam-ullong-init.c): Likewise.
15962 (CFLAGS-test-signgam-ullong-static.c): Likewise.
15963 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
15964 (CFLAGS-test-math-cxx11.cc): Likewise.
15965 (CFLAGS-test-math-isinff.cc): Likewise.
15966 (CFLAGS-test-math-iszero.cc): Likewise.
15967 (CFLAGS-test-math-issignaling.cc): Likewise.
15968 (CFLAGS-test-math-iscanonical.cc): Likewise.
15969 (CFLAGS-test-iszero-excess-precision.c): Likewise.
15970 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
15971 (CFLAGS-test-flt-eval-method.c): Likewise.
15972 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
15973 (CFLAGS-test-finite-macros.c): Likewise.
15974 * misc/Makefile (CFLAGS-select.c): Likewise.
15975 (CFLAGS-tsearch.c): Likewise.
15976 (CFLAGS-lsearch.c): Likewise.
15977 (CFLAGS-pselect.c): Likewise.
15978 (CFLAGS-readv.c): Likewise.
15979 (CFLAGS-writev.c): Likewise.
15980 (CFLAGS-preadv.c): Likewise.
15981 (CFLAGS-preadv64.c): Likewise.
15982 (CFLAGS-pwritev.c): Likewise.
15983 (CFLAGS-pwritev64.c): Likewise.
15984 (CFLAGS-preadv2.c): Likewise.
15985 (CFLAGS-preadv64v2.c): Likewise.
15986 (CFLAGS-pwritev2.c): Likewise.
15987 (CFLAGS-pwritev64v2.c): Likewise.
15988 (CFLAGS-usleep.c): Likewise.
15989 (CFLAGS-syslog.c): Likewise.
15990 (CFLAGS-error.c): Likewise.
15991 (CFLAGS-getpass.c): Likewise.
15992 (CFLAGS-mkstemp.c): Likewise.
15993 (CFLAGS-mkstemp64.c): Likewise.
15994 (CFLAGS-getsysstats.c): Likewise.
15995 (CFLAGS-getusershell.c): Likewise.
15996 (CFLAGS-err.c): Likewise.
15997 (CFLAGS-tst-tsearch.c): Likewise.
15998 (CFLAGS-msync.c): Likewise.
15999 (CFLAGS-fdatasync.c): Likewise.
16000 (CFLAGS-fsync.c): Likewise.
16001 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
16002 (CFLAGS-unwind.c): Likewise.
16003 (CFLAGS-unwind-forcedunwind.c): Likewise.
16004 (CFLAGS-pthread_cancel.c): Likewise.
16005 (CFLAGS-pthread_setcancelstate.c): Likewise.
16006 (CFLAGS-pthread_setcanceltype.c): Likewise.
16007 (CFLAGS-cancellation.c): Likewise.
16008 (CFLAGS-libc-cancellation.c): Likewise.
16009 (CFLAGS-pthread_exit.c): Likewise.
16010 (CFLAGS-forward.c): Likewise.
16011 (CFLAGS-pthread_testcancel.c): Likewise.
16012 (CFLAGS-pthread_join.c): Likewise.
16013 (CFLAGS-pthread_timedjoin.c): Likewise.
16014 (CFLAGS-pthread_once.c): Likewise.
16015 (CFLAGS-pthread_cond_wait.c): Likewise.
16016 (CFLAGS-sem_wait.c): Likewise.
16017 (CFLAGS-sem_timedwait.c): Likewise.
16018 (CFLAGS-fcntl.c): Likewise.
16019 (CFLAGS-lockf.c): Likewise.
16020 (CFLAGS-pread.c): Likewise.
16021 (CFLAGS-pread64.c): Likewise.
16022 (CFLAGS-pwrite.c): Likewise.
16023 (CFLAGS-pwrite64.c): Likewise.
16024 (CFLAGS-wait.c): Likewise.
16025 (CFLAGS-waitpid.c): Likewise.
16026 (CFLAGS-sigwait.c): Likewise.
16027 (CFLAGS-msgrcv.c): Likewise.
16028 (CFLAGS-msgsnd.c): Likewise.
16029 (CFLAGS-tcdrain.c): Likewise.
16030 (CFLAGS-open.c): Likewise.
16031 (CFLAGS-open64.c): Likewise.
16032 (CFLAGS-pause.c): Likewise.
16033 (CFLAGS-recv.c): Likewise.
16034 (CFLAGS-send.c): Likewise.
16035 (CFLAGS-accept.c): Likewise.
16036 (CFLAGS-sendto.c): Likewise.
16037 (CFLAGS-connect.c): Likewise.
16038 (CFLAGS-recvfrom.c): Likewise.
16039 (CFLAGS-recvmsg.c): Likewise.
16040 (CFLAGS-sendmsg.c): Likewise.
16041 (CFLAGS-close.c): Likewise.
16042 (CFLAGS-read.c): Likewise.
16043 (CFLAGS-write.c): Likewise.
16044 (CFLAGS-nanosleep.c): Likewise.
16045 (CFLAGS-sigsuspend.c): Likewise.
16046 (CFLAGS-msync.c): Likewise.
16047 (CFLAGS-fdatasync.c): Likewise.
16048 (CFLAGS-fsync.c): Likewise.
16049 (CFLAGS-pt-system.c): Likewise.
16050 (CFLAGS-tst-cleanup2.c): Likewise.
16051 (CFLAGS-tst-cleanupx2.c): Likewise.
16052 (CFLAGS-flockfile.c): Likewise.
16053 (CFLAGS-ftrylockfile.c): Likewise.
16054 (CFLAGS-funlockfile.c): Likewise.
16055 (CFLAGS-tst-initializers1.c): Likewise.
16056 (CFLAGS-tst-initializers1-c89.c): Likewise.
16057 (CFLAGS-tst-initializers1-c99.c): Likewise.
16058 (CFLAGS-tst-initializers1-c11.c): Likewise.
16059 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
16060 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
16061 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
16062 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
16063 (CFLAGS-nscd_getgr_r.c): Likewise.
16064 (CFLAGS-nscd_gethst_r.c): Likewise.
16065 (CFLAGS-nscd_getai.c): Likewise.
16066 (CFLAGS-nscd_initgroups.c): Likewise.
16067 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
16068 (CFLAGS-pause.c): Likewise.
16069 (CFLAGS-pread.c): Likewise.
16070 (CFLAGS-pread64.c): Likewise.
16071 (CFLAGS-pwrite.c): Likewise.
16072 (CFLAGS-pwrite64.c): Likewise.
16073 (CFLAGS-sleep.c): Likewise.
16074 (CFLAGS-wait.c): Likewise.
16075 (CFLAGS-waitid.c): Likewise.
16076 (CFLAGS-waitpid.c): Likewise.
16077 (CFLAGS-getopt.c): Likewise.
16078 (CFLAGS-wordexp.c): Likewise.
16079 (CFLAGS-sysconf.c): Likewise.
16080 (CFLAGS-pathconf.c): Likewise.
16081 (CFLAGS-fpathconf.c): Likewise.
16082 (CFLAGS-spawn.c): Likewise.
16083 (CFLAGS-spawnp.c): Likewise.
16084 (CFLAGS-spawni.c): Likewise.
16085 (CFLAGS-glob.c): Likewise.
16086 (CFLAGS-glob64.c): Likewise.
16087 (CFLAGS-getconf.c): Likewise.
16088 (CFLAGS-nanosleep.c): Likewise.
16089 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
16090 (CFLAGS-getpwent.c): Likewise.
16091 (CFLAGS-getpw.c): Likewise.
16092 (CFLAGS-fgetpwent_r.c): Likewise.
16093 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
16094 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
16095 (CFLAGS-mq_timedreceive.c): Likewise.
16096 (CFLAGS-mq_timedsend.c): Likewise.
16097 (CFLAGS-clock_nanosleep.c): Likewise.
16098 (CFLAGS-librt-cancellation.c): Likewise.
16099 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
16100 (CFLAGS-getspent.c): Likewise.
16101 (CFLAGS-fgetspent.c): Likewise.
16102 (CFLAGS-fgetspent_r.c): Likewise.
16103 (CFLAGS-putspent.c): Likewise.
16104 (CFLAGS-getspnam.c): Likewise.
16105 (CFLAGS-getspnam_r.c): Likewise.
16106 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
16107 (CFLAGS-sigsuspend.c): Likewise.
16108 (CFLAGS-sigtimedwait.c): Likewise.
16109 (CFLAGS-sigwait.c): Likewise.
16110 (CFLAGS-sigwaitinfo.c): Likewise.
16111 (CFLAGS-sigreturn.c): Likewise.
16112 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
16113 (CFLAGS-vfwprintf.c): Likewise.
16114 (CFLAGS-tmpfile.c): Likewise.
16115 (CFLAGS-tmpfile64.c): Likewise.
16116 (CFLAGS-tempname.c): Likewise.
16117 (CFLAGS-psignal.c): Likewise.
16118 (CFLAGS-vprintf.c): Likewise.
16119 (CFLAGS-cuserid.c): Likewise.
16120 (CFLAGS-errlist.c): Likewise.
16121 (CFLAGS-siglist.c): Likewise.
16122 (CFLAGS-scanf15.c): Likewise.
16123 (CFLAGS-scanf17.c): Likewise.
16124 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
16125 (CFLAGS-msort.c): Likewise.
16126 (CFLAGS-qsort.c): Likewise.
16127 (CFLAGS-system.c): Likewise.
16128 (CFLAGS-fmtmsg.c): Likewise.
16129 (CFLAGS-strfmon.c): Likewise.
16130 (CFLAGS-strfmon_l.c): Likewise.
16131 (CFLAGS-strfromd.c): Likewise.
16132 (CFLAGS-strfromf.c): Likewise.
16133 (CFLAGS-strfroml.c): Likewise.
16134 (CFLAGS-tst-bsearch.c): Likewise.
16135 (CFLAGS-tst-qsort.c): Likewise.
16136 (CFLAGS-tst-makecontext2.c): Likewise.
16137 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
16138 (CFLAGS-xnlm_prot.c): Likewise.
16139 (CFLAGS-xrstat.c): Likewise.
16140 (CFLAGS-xyppasswd.c): Likewise.
16141 (CFLAGS-xklm_prot.c): Likewise.
16142 (CFLAGS-xrex.c): Likewise.
16143 (CFLAGS-xsm_inter.c): Likewise.
16144 (CFLAGS-xmount.c): Likewise.
16145 (CFLAGS-xrusers.c): Likewise.
16146 (CFLAGS-xspray.c): Likewise.
16147 (CFLAGS-xnfs_prot.c): Likewise.
16148 (CFLAGS-xrquota.c): Likewise.
16149 (CFLAGS-xkey_prot.c): Likewise.
16150 (CFLAGS-auth_unix.c): Likewise.
16151 (CFLAGS-key_call.c): Likewise.
16152 (CFLAGS-pmap_rmt.c): Likewise.
16153 (CFLAGS-clnt_perr.c): Likewise.
16154 (CFLAGS-openchild.c): Likewise.
16155 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
16156 (CFLAGS-msgsnd.c): Likewise.
16157 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
16158 * time/Makefile (CFLAGS-tzfile.c): Likewise.
16159 (CFLAGS-tzset.c): Likewise.
16160 (CFLAGS-getdate.c): Likewise.
16161 (CFLAGS-test_time.c): Likewise.
16162 (CPPFLAGS-tst-tzname.c): Likewise.
16163 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
16164 (CFLAGS-zic.c): Likewise.
16165 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
16166 (CFLAGS-wcswidth.c): Likewise.
16167 (CFLAGS-wcstol.c): Likewise.
16168 (CFLAGS-wcstoul.c): Likewise.
16169 (CFLAGS-wcstoll.c): Likewise.
16170 (CFLAGS-wcstoull.c): Likewise.
16171 (CFLAGS-wcstod.c): Likewise.
16172 (CFLAGS-wcstold.c): Likewise.
16173 (CFLAGS-wcstof128.c): Likewise.
16174 (CFLAGS-wcstof.c): Likewise.
16175 (CFLAGS-wcstol_l.c): Likewise.
16176 (CFLAGS-wcstoul_l.c): Likewise.
16177 (CFLAGS-wcstoll_l.c): Likewise.
16178 (CFLAGS-wcstoull_l.c): Likewise.
16179 (CFLAGS-wcstod_l.c): Likewise.
16180 (CFLAGS-wcstold_l.c): Likewise.
16181 (CFLAGS-wcstof128_l.c): Likewise.
16182 (CFLAGS-wcstof_l.c): Likewise.
16183 (CPPFLAGS-tst-wchar-h.c): Likewise.
16184 (CPPFLAGS-wcstold_l.c): Likewise.
16185---
f4b2aea6
PC
161862017-12-11 Paul A. Clarke <pc@us.ibm.com>
16187
16188 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
16189
c9cd7b0c
AZ
161902017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16191 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16192
16193 * manual/tunables.texi (Hardware Capability Tunables): Document
16194 glibc.tune.cached_memopt.
16195 * sysdeps/powerpc/cpu-features.c: New file.
16196 * sysdeps/powerpc/cpu-features.h: New file.
16197 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
16198 _dl_powerpc_cpu_features.
16199 * sysdeps/powerpc/dl-tunables.list: New file.
16200 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
16201 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
16202 (INIT_ARCH): Initialize use_aligned_memopt.
16203 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
16204 IS_IN(rtld))]: Restrict dl_platform_init availability and
16205 initialize CPU features used by tunables.
16206 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
16207 Add memcpy-power8-cached.
16208 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
16209 __memcpy_power8_cached.
16210 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
16211 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
16212 New file.
16213
e70c6fee
L
162142017-12-11 H.J. Lu <hongjiu.lu@intel.com>
16215
16216 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
16217 (CFLAGS-noinl-tester.c): Likewise.
16218 (CFLAGS-tst-strlen.c): Likewise.
16219 (CFLAGS-stratcliff.c): Likewise.
16220 (CFLAGS-test-ffs.c): Likewise.
16221 (CFLAGS-tst-inlcall.c): Likewise.
16222 (CFLAGS-tst-xbzero-opt.c): Likewise.
16223 (CFLAGS-memcpy.c): Likewise.
16224 (CFLAGS-wordcopy.c): Likewise.
16225
dee94366
SL
162262017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
16227
16228 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
16229 Store r15 on stack and add cfi rule.
16230 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
16231 Likewise.
16232
363e4519 162332017-12-10 Aurelien Jarno <aurelien@aurel32.net>
f648728c
AJ
16234
16235 [BZ #22577]
16236 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
16237 call.
16238
9d0ffa60
L
162392017-12-07 H.J. Lu <hongjiu.lu@intel.com>
16240
16241 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16242 Add s_sinf-sse2 and s_sinf-fma.
16243 (CFLAGS-s_sinf-fma.c): New.
16244 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
16245 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
16246 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
16247
9574c7b6
L
162482017-12-07 H.J. Lu <hongjiu.lu@intel.com>
16249
16250 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
16251
d15e83c5
JM
162522017-12-07 Joseph Myers <joseph@codesourcery.com>
16253
16254 [BZ #22568]
16255 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
16256 part of result to imaginary part of argument if it is zero and the
16257 real part of the argument is not finite.
16258 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
16259 of result to real part of argument if it is zero and the imaginary
16260 part of the argument is not finite.
16261
d89756eb
MF
162622017-12-07 Mike FABIAN <mfabian@redhat.com>
16263
16264 [BZ #22524]
16265 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
16266 and to the list of locales to be built for testing.
16267 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
16268 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
16269 and build the collation rules upon that.
16270
1f9055ce
JM
162712017-12-07 Joseph Myers <joseph@codesourcery.com>
16272
16273 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
16274 * manual/math.texi (Mathematics): Document support for _Float32.
16275 * math/Makefile (test-types): Add float32.
16276 * math/Versions (GLIBC_2.27): Add _Float32 functions.
16277 * stdlib/Versions (GLIBC_2.27): Likewise.
16278 * wcsmbs/Versions (GLIBC_2.27): Likewise.
16279 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
16280 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16281 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
16282 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16283 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
16284 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16285 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
16286 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16287 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
16288 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16289 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
16290 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16291 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
16292 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16293 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
16294 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16295 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
16296 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16297 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
16298 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16299 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
16300 Likewise.
16301 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16302 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
16303 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
16304 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
16305 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
16307 Likewise.
16308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16309 Likewise.
16310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16311 Likewise.
16312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16313 Likewise.
16314
16315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
16316 Likewise.
16317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
16318 Likewise.
16319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16320 Likewise.
16321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16322 Likewise.
16323 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
16324 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16325 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
16326 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16327 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
16328 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16329 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
16330 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16331 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16332 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16333 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
16334 Likewise.
16335 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
16336 Likewise.
16337 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
16338 Likewise.
16339 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
16340 Likewise.
16341 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
16342 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16343 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
16344 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16345 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
16346 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16347 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
16348 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
16349
5244527d
JM
163502017-12-06 Joseph Myers <joseph@codesourcery.com>
16351
fb1ca2aa
JM
16352 * stdlib/strtof.c: Include <bits/floatn.h>
16353 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
16354 and later undefine as macro. Define as weak alias if
16355 [!USE_WIDE_CHAR].
16356 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
16357 and later undefine as macro. Define as weak alias if
16358 [USE_WIDE_CHAR].
16359 * stdlib/strtof_l.c: Include <bits/floatn.h>
16360 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
16361 and later undefine as macro. Define as weak alias if
16362 [!USE_WIDE_CHAR].
16363 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
16364 and later undefine as macro. Define as weak alias if
16365 [USE_WIDE_CHAR].
16366
fc10cc3f
JM
16367 * stdlib/strfromf.c: Include <bits/floatn.h>.
16368 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
16369 and later undefine as macro and define as weak alias.
16370
e420d228
JM
16371 * math/test-float32.h: New file.
16372
26007a2f
JM
16373 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
16374 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
16375 (libm_alias_float_other_r): Create f32 alias.
16376 (libm_alias_float_r): Use semicolon before call to
16377 libm_alias_float_other_r.
16378
c191f64c
JM
16379 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
16380 second argument to libm_alias_float_other.
16381 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
16382 second argument to libm_alias_float_other.
16383 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
16384 argument to libm_alias_float_other.
16385
5244527d
JM
16386 [BZ #22561]
16387 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
16388 real part of result for argument 0 + i * NaN.
16389 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
16390 results for tests of 0 + i * NaN.
16391
d73fac82
AZ
163922017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16393
16394 * sysdeps/alpha/fpu/libm-test-ulps: Update.
16395
7ec094e8
DM
163962017-12-06 David S. Miller <davem@davemloft.net>
16397
16398 * sysdeps/sparc/fpu/libm-test-ulps: Update
16399 exp_{downward,towardzero,upward} ulps.
16400
53994f12
JM
164012017-12-06 Joseph Myers <joseph@codesourcery.com>
16402
1dbe6f64
JM
16403 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
16404 variables static.
16405
53994f12
JM
16406 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
16407 (Y0_2D): Likewise.
16408 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
16409 (Y0_2D): Likewise.
16410 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
16411 (Y0_2D): Likewise.
16412 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
16413 (Y0_2D): Likewise.
16414
62ea2193
MF
164152017-12-06 Mike FABIAN <mfabian@redhat.com>
16416
16417 [BZ #22515]
16418 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
16419 and to the list of locales to be built for testing.
16420 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
16421 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
16422 and build the collation rules upon that.
16423
87235d70
RS
164242017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16425
16426 * NEWS: Add sinf to list of optimized functions.
16427
0d93b7fd
JM
164282017-12-06 Joseph Myers <joseph@codesourcery.com>
16429
16430 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
16431 (__HAVE_FLOAT32X): Likewise.
16432 * manual/math.texi (Mathematics): Document support for _Float64
16433 and _Float32x.
16434 * math/Makefile (test-types): Add float64 and float32x.
16435 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
16436 functions.
16437 * stdlib/Versions (GLIBC_2.27): Likewise.
16438 * wcsmbs/Versions (GLIBC_2.27): Likewise.
16439 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
16440 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16441 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
16442 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16443 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
16444 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16445 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
16446 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16447 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
16448 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16449 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
16450 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16451 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
16452 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16453 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
16454 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16455 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
16456 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16457 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
16458 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16459 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
16460 Likewise.
16461 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16462 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
16463 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
16464 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
16465 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
16467 Likewise.
16468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16469 Likewise.
16470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16471 Likewise.
16472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16473 Likewise.
16474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
16475 Likewise.
16476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
16477 Likewise.
16478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16479 Likewise.
16480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16481 Likewise.
16482 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
16483 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16484 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
16485 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16486 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
16487 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16488 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
16489 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16490 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16491 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16492 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
16493 Likewise.
16494 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
16495 Likewise.
16496 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
16497 Likewise.
16498 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
16499 Likewise.
16500 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
16501 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16502 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
16503 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16504 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
16505 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16506 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
16507 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
16508
f7787234
JM
165092017-12-05 Joseph Myers <joseph@codesourcery.com>
16510
16511 * bits/floatn-common.h: Include <bits/long-double.h>.
16512 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
16513 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
16514 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
16515 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
16516 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
16517 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
16518 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
16519 (__builtin_huge_valf64): Use __builtin_huge_vall.
16520 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
16521 (__builtin_inff64): Use __builtin_infl.
16522 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
16523 (__builtin_nanf64): Use __builtin_nanl.
16524 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
16525 (__builtin_nansf64): Use __builtin_nansl.
16526
363e4519
DL
165272017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
16528 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
07ed18d2
RA
16529 Carlos O'Donnell <carlos@redhat.com>
16530
16531 * elf/dl-tunables.list: Add elision parameters.
16532 * manual/tunables.texi: Add entries about elision tunable.
16533 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
16534 Add callback functions to dynamically enable/disable elision.
16535 Add multiple callbacks functions to set elision parameters.
16536 Deleted __libc_enable_secure check.
16537 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
16538 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
16539 * configure: Regenerated.
16540 * configure.ac: Option enable_lock_elision was deleted.
16541 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
16542 * config.make.in: Remove references to enable_lock_elision.
16543 * manual/install.texi: Elision configure option was removed.
16544 * INSTALL: Regenerated to remove enable_lock_elision.
16545 * nptl/Makefile:
16546 Disable elision so it can verify error case for destroying a mutex.
16547 * sysdeps/powerpc/nptl/elide.h:
16548 Cleanup ENABLE_LOCK_ELISION check.
16549 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
16550 * sysdeps/s390/configure: Regenerated.
16551 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
16552 * nptl/tst-mutex8.c:
16553 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
16554 * sysdeps/powerpc/powerpc32/sysdep.h:
16555 Deleted all ENABLE_LOCK_ELISION checks.
16556 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
16557 * sysdeps/powerpc/sysdep.h: Likewise.
16558 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
16559 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
16560 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
16561 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
16562 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
16563 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
16564 enable-lock-elision.
16565
a5a2a76b
JM
165662017-12-05 Joseph Myers <joseph@codesourcery.com>
16567
16568 * stdlib/strtod.c: Include <bits/floatn.h>.
16569 (BUILD_DOUBLE): New macro.
16570 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
16571 (strtof64): Define and later undefine as macro. Define as weak
16572 alias if [!USE_WIDE_CHAR].
16573 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
16574 (wcstof64): Define and later undefine as macro. Define as weak
16575 alias if [USE_WIDE_CHAR].
16576 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
16577 (strtof32x): Define and later undefine as macro. Define as weak
16578 alias if [!USE_WIDE_CHAR].
16579 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
16580 (wcstof32x): Define and later undefine as macro. Define as weak
16581 alias if [USE_WIDE_CHAR].
16582 * stdlib/strtod_l.c: Include <bits/floatn.h>.
16583 (BUILD_DOUBLE): New macro.
16584 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
16585 (strtof64_l): Define and later undefine as macro. Define as weak
16586 alias if [!USE_WIDE_CHAR].
16587 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
16588 (wcstof64_l): Define and later undefine as macro. Define as weak
16589 alias if [USE_WIDE_CHAR].
16590 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
16591 (strtof32x_l): Define and later undefine as macro. Define as weak
16592 alias if [!USE_WIDE_CHAR].
16593 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
16594 (wcstof32x_l): Define and later undefine as macro. Define as weak
16595 alias if [USE_WIDE_CHAR].
16596
94d80dfc
AZ
165972017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16598
16599 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
16600 (reduced): Use ones as double instead of integer.
16601
00d54af7
SN
166022017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
16603
16604 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
16605
f2d64d62
JM
166062017-12-05 Joseph Myers <joseph@codesourcery.com>
16607
1f70eae4
JM
16608 * stdlib/strfromd.c: Include <bits/floatn.h>.
16609 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
16610 and later undefine as macro and define as weak alias.
16611 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
16612 Likewise.
16613
e2c4dce5
JM
16614 * math/test-float32x.h: New file.
16615 * math/test-float64.h: Likewise.
16616
f2d64d62
JM
16617 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
16618 (libm_alias_double_other_r_f64): New macro.
16619 (libm_alias_double_other_r_f32x): Likewise.
16620 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
16621 libm_alias_double_other_r_f32x.
16622 (libm_alias_double_r): Use semicolon before call to
16623 libm_alias_double_other_r.
16624 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
16625 <bits/floatn.h>.
16626 (libm_alias_double_other_r_f64): New macro.
16627 (libm_alias_double_other_r_f32x): Likewise.
16628 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
16629 libm_alias_double_other_r_f32x.
16630
91c318e7
L
166312017-12-05 H.J. Lu <hongjiu.lu@intel.com>
16632
16633 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
16634 int.
16635 (SINF_FUNC): Likewise. Replace floor with simple casts.
16636
de9661d6
MF
166372017-12-05 Mike FABIAN <mfabian@redhat.com>
16638
16639 [BZ #22517]
16640 * localedata/Makefile: Add et_EE.UTF-8 to test-input
16641 and to the list of locales to be built for testing.
16642 * localedata/et_EE.UTF-8.in: New file for testing the collation.
16643 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
16644 and build the collation rules upon that.
16645
f18b8dc7
CM
166462017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
16647
16648 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
16649 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
16650 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
16651 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
16652 instead of __insn__xxx.
16653 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
16654 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
16655 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
16656 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
16657 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
16658 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
16659
446d22e9
FW
166602017-12-05 Florian Weimer <fweimer@redhat.com>
16661
16662 Linux: Implement interfaces for memory protection keys
16663 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
16664 xsignal, xsysconf.
16665 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
16666 * support/xunistd.h (xsysconf): Declare.
16667 * support/xraise.c: New file.
16668 * support/xsigaction.c: Likewise.
16669 * support/xsignal.c: Likewise.
16670 * support/xsysconf.c: Likewise.
16671 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
16672 pkey_set, pkey_get, pkey_mprotect.
16673 [misc] (tests): Add tst-pkey.
16674 (tst-pkey): Link with -lpthread.
16675 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
16676 pkey_free, pkey_set, pkey_get, pkey_mprotect.
16677 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
16678 (PKEY_DISABLE_WRITE): Define.
16679 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
16680 Declare.
16681 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
16682 (SEGV_PKUERR): Add.
16683 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
16684 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
16685 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
16686 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
16687 Add.
16688 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
16689 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
16690 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
16691 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
16692 * sysdeps/unix/sysv/linux/**.abilist: Update.
16693
da616c14
FW
166942017-12-05 Florian Weimer <fweimer@redhat.com>
16695
16696 * support/tst-test_compare.c (subprocess): Use long long instead
16697 of long argument for consistent type width across 32-bit and
16698 64-bit architectures.
16699 (do_test): Adjust expected output.
16700
216933b2
JM
167012017-12-05 Joseph Myers <joseph@codesourcery.com>
16702
16703 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
16704 (cosf): Define using libm_alias_float.
16705 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
16706 (fabsf): Define using libm_alias_float.
16707 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
16708 (fmaf): Define using libm_alias_float.
16709 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
16710 (rintf): Define using libm_alias_float.
16711 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
16712 (sinf): Define using libm_alias_float.
16713 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
16714 <libm-alias-float.h>.
16715 (modff): Define using libm_alias_float.
16716 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
16717 <libm-alias-float.h>.
16718 (logbf): Define using libm_alias_float.
16719 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
16720 <libm-alias-float.h>.
16721 (ceilf): Define using libm_alias_float.
16722 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
16723 <libm-alias-float.h>.
16724 (copysignf): Define using libm_alias_float.
16725 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
16726 <libm-alias-float.h>.
16727 (floorf): Define using libm_alias_float.
16728 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
16729 <libm-alias-float.h>.
16730 (llrintf): Define using libm_alias_float.
16731 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
16732 <libm-alias-float.h>.
16733 (llroundf): Define using libm_alias_float.
16734 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
16735 <libm-alias-float.h>.
16736 (lrintf): Define using libm_alias_float.
16737 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
16738 <libm-alias-float.h>.
16739 (lroundf): Define using libm_alias_float.
16740 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
16741 <libm-alias-float.h>.
16742 (nearbyintf): Define using libm_alias_float.
16743 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
16744 <libm-alias-float.h>.
16745 (rintf): Define using libm_alias_float.
16746 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
16747 <libm-alias-float.h>.
16748 (roundf): Define using libm_alias_float.
16749 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
16750 <libm-alias-float.h>.
16751 (truncf): Define using libm_alias_float.
16752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
16753 Include <libm-alias-float.h>.
16754 (ceilf): Define using libm_alias_float.
16755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
16756 Include <libm-alias-float.h>.
16757 (copysignf): Define using libm_alias_float.
16758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
16759 Include <libm-alias-float.h>.
16760 (floorf): Define using libm_alias_float.
16761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
16762 Include <libm-alias-float.h>.
16763 (llrintf): Define using libm_alias_float.
16764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
16765 Include <libm-alias-float.h>.
16766 (llroundf): Define using libm_alias_float.
16767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
16768 Include <libm-alias-float.h>.
16769 (logbf): Define using libm_alias_float.
16770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
16771 Include <libm-alias-float.h>.
16772 (lrintf): Define using libm_alias_float.
16773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
16774 Include <libm-alias-float.h>.
16775 (lroundf): Define using libm_alias_float.
16776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
16777 Include <libm-alias-float.h>.
16778 (modff): Define using libm_alias_float.
16779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
16780 Include <libm-alias-float.h>.
16781 (roundf): Define using libm_alias_float.
16782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
16783 Include <libm-alias-float.h>.
16784 (truncf): Define using libm_alias_float.
16785 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
16786 <libm-alias-float.h>.
16787 (llrintf): Define using libm_alias_float.
16788 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
16789 <libm-alias-float.h>.
16790 (llroundf): Define using libm_alias_float.
16791 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
16792 <libm-alias-float.h>.
16793 (ceilf): Define using libm_alias_float.
16794 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
16795 <libm-alias-float.h>.
16796 (floorf): Define using libm_alias_float.
16797 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
16798 <libm-alias-float.h>.
16799 (llroundf): Define using libm_alias_float.
16800 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
16801 <libm-alias-float.h>.
16802 (lroundf): Define using libm_alias_float.
16803 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
16804 <libm-alias-float.h>.
16805 (roundf): Define using libm_alias_float.
16806 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
16807 <libm-alias-float.h>.
16808 (truncf): Define using libm_alias_float.
16809 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
16810 <libm-alias-float.h>.
16811 (copysignf): Define using libm_alias_float.
16812 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
16813 <libm-alias-float.h>.
16814 (llrintf): Define using libm_alias_float.
16815 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
16816 <libm-alias-float.h>.
16817 (llroundf): Define using libm_alias_float.
16818 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
16819 <libm-alias-float.h>.
16820 (lrintf): Define using libm_alias_float.
16821 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
16822 <libm-alias-float.h>.
16823 (lroundf): Define using libm_alias_float.
16824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
16825 <libm-alias-float.h>.
16826 (ceilf): Define using libm_alias_float.
16827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
16828 <libm-alias-float.h>.
16829 (copysignf): Define using libm_alias_float.
16830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
16831 <libm-alias-float.h>.
16832 (cosf): Define using libm_alias_float.
16833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
16834 <libm-alias-float.h>.
16835 (floorf): Define using libm_alias_float.
16836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
16837 <libm-alias-float.h>.
16838 (llrintf): Define using libm_alias_float.
16839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
16840 <libm-alias-float.h>.
16841 (llroundf): Define using libm_alias_float.
16842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
16843 <libm-alias-float.h>.
16844 (logbf): Define using libm_alias_float.
16845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
16846 <libm-alias-float.h>.
16847 (modff): Define using libm_alias_float.
16848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
16849 <libm-alias-float.h>.
16850 (roundf): Define using libm_alias_float.
16851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
16852 <libm-alias-float.h>.
16853 (sinf): Define using libm_alias_float.
16854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
16855 <libm-alias-float.h>.
16856 (truncf): Define using libm_alias_float.
16857 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
16858 <libm-alias-float.h>.
16859 (ceilf): Define using libm_alias_float.
16860 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
16861 <libm-alias-float.h>.
16862 (copysignf): Define using libm_alias_float.
16863 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
16864 <libm-alias-float.h>.
16865 (floorf): Define using libm_alias_float.
16866 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
16867 <libm-alias-float.h>.
16868 (llrintf): Define using libm_alias_float.
16869 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
16870 <libm-alias-float.h>.
16871 (llroundf): Define using libm_alias_float.
16872 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
16873 <libm-alias-float.h>.
16874 (nearbyintf): Define using libm_alias_float.
16875 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
16876 <libm-alias-float.h>.
16877 (rintf): Define using libm_alias_float.
16878 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
16879 <libm-alias-float.h>.
16880 (roundf): Define using libm_alias_float.
16881 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
16882 <libm-alias-float.h>.
16883 (truncf): Define using libm_alias_float.
16884 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
16885 <libm-alias-float.h>.
16886 (ceilf): Define using libm_alias_float.
16887 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
16888 <libm-alias-float.h>.
16889 (floorf): Define using libm_alias_float.
16890 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
16891 <libm-alias-float.h>.
16892 (llroundf): Define using libm_alias_float.
16893 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
16894 <libm-alias-float.h>.
16895 (roundf): Define using libm_alias_float.
16896 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
16897 <libm-alias-float.h>.
16898 (truncf): Define using libm_alias_float.
16899 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
16900 <libm-alias-float.h>.
16901 (copysignf): Define using libm_alias_float.
16902 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
16903 <libm-alias-float.h>.
16904 (llrintf): Define using libm_alias_float.
16905 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
16906 <libm-alias-float.h>.
16907 (llroundf): Define using libm_alias_float.
16908 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
16909 <libm-alias-float.h>.
16910 (cosf): Define using libm_alias_float.
16911 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
16912 <libm-alias-float.h>.
16913 (llrintf): Define using libm_alias_float.
16914 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
16915 <libm-alias-float.h>.
16916 (llroundf): Define using libm_alias_float.
16917 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
16918 <libm-alias-float.h>.
16919 (sinf): Define using libm_alias_float.
16920
93485524
FW
169212017-12-04 Florian Weimer <fweimer@redhat.com>
16922
16923 * support/check.h (TEST_COMPARE): Define.
16924 (support_test_compare_failure): Declare.
16925 * support/Makefile (libsupport-routines): Add
16926 support_test_compare_failure.
16927 (tests): Add tst-test_compare.
16928 * support /support_test_compare_failure.c: New file.
16929 * support/tst-test_compare.c: Likewise.
16930
96b06a19
MF
169312017-12-04 Mike FABIAN <mfabian@redhat.com>
16932
16933 [BZ #22527]
16934 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
16935 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
16936 available, this rewrite of the collation rules does reproduce
16937 the test file in the same order.
16938
1f6d91f3
MF
169392017-12-04 Mike FABIAN <mfabian@redhat.com>
16940
16941 [BZ #10580]
16942 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
16943 digraphs in the month and day names. Using single code points for
16944 digraphs is deprecated. While there are dedicated Unicode
16945 codepoints, for the digraphs, these are included for backwards
16946 compatibility and modern texts use a sequence of Basic Latin
16947 characters. See: https://www.unicode.org/faq/ligature_digraph.html
16948 This makes the month and day names agree exactly with CLDR now,
16949 CLDR does not use the single code points for the digraphs either.
16950
2e49fed8
CM
169512017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
16952
16953 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
16954
73895b49
JM
169552017-12-04 Joseph Myers <joseph@codesourcery.com>
16956
16957 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
16958 of floor.
16959
4c1d801a
SP
169602017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
16961
16962 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
16963 Define only for libc.so.
16964
478593e6
SL
169652017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
16966
16967 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
16968 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
16969 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
16970 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
16971 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16972
7863a711
RS
169732017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16974
16975 [BZ #5997]
16976 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
16977
800a496a
JDA
169782017-12-02 John David Anglin <danglin@gcc.gnu.org>
16979
b3f7fb12
JDA
16980 [BZ libc/19170]
16981 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
16982 PREINIT_FUNCTION_WEAK is nonzero.
16983 (gmon_initializer): New function. Put procedure label for it in
16984 .init_array section.
16985 (_init): Don't call PREINIT_FUNCTION.
16986 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
16987 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
16988 value when map argument is null.
16989
800a496a
JDA
16990 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
16991 depi instruction from PIC pc-relative sequence.
16992 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
16993 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
16994 (elf_machine_load_address): Likewise.
16995 (elf_machine_runtime_setup): Likewise.
16996
d17542d2
JM
169972017-12-02 Joseph Myers <joseph@codesourcery.com>
16998
16999 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
17000 <libm-alias-double.h>.
17001 (logb): Define using libm_alias_double.
17002 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
17003 <libm-alias-double.h>.
17004 (copysign): Define using libm_alias_double.
17005 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
17006 <libm-alias-double.h>.
17007 (llrint): Define using libm_alias_double.
17008 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
17009 <libm-alias-double.h>.
17010 (llround): Define using libm_alias_double.
17011 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
17012 <libm-alias-double.h>.
17013 (lrint): Define using libm_alias_double.
17014 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
17015 <libm-alias-double.h>.
17016 (lround): Define using libm_alias_double.
17017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
17018 Include <libm-alias-double.h>.
17019 (copysign): Define using libm_alias_double.
17020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
17021 Include <libm-alias-double.h>.
17022 (llrint): Define using libm_alias_double.
17023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
17024 Include <libm-alias-double.h>.
17025 (llround): Define using libm_alias_double.
17026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
17027 <libm-alias-double.h>.
17028 (logb): Define using libm_alias_double.
17029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
17030 Include <libm-alias-double.h>.
17031 (lrint): Define using libm_alias_double.
17032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
17033 Include <libm-alias-double.h>.
17034 (lround): Define using libm_alias_double.
17035 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
17036 <libm-alias-double.h>.
17037 (llrint): Define using libm_alias_double.
17038 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
17039 <libm-alias-double.h>.
17040 (llround): Define using libm_alias_double.
17041 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
17042 <libm-alias-double.h>.
17043 (llround): Define using libm_alias_double.
17044 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
17045 <libm-alias-double.h>.
17046 (lround): Define using libm_alias_double.
17047 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
17048 <libm-alias-double.h>.
17049 (copysign): Define using libm_alias_double.
17050 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
17051 <libm-alias-double.h>.
17052 (llrint): Define using libm_alias_double.
17053 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
17054 <libm-alias-double.h>.
17055 (llround): Define using libm_alias_double.
17056 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
17057 <libm-alias-double.h>.
17058 (lrint): Define using libm_alias_double.
17059 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
17060 <libm-alias-double.h>.
17061 (lround): Define using libm_alias_double.
17062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
17063 <libm-alias-double.h>.
17064 (copysign): Define using libm_alias_double.
17065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
17066 <libm-alias-double.h>.
17067 (llrint): Define using libm_alias_double.
17068 (lrint): Likewise.
17069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
17070 <libm-alias-double.h>.
17071 (llround): Define using libm_alias_double.
17072 (lround): Likewise.
17073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
17074 <libm-alias-double.h>.
17075 (logb): Define using libm_alias_double.
17076 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
17077 <libm-alias-double.h>.
17078 (copysign): Define using libm_alias_double.
17079 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
17080 <libm-alias-double.h>.
17081 (llrint): Define using libm_alias_double.
17082 (lrint): Likewise.
17083 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
17084 <libm-alias-double.h>.
17085 (llround): Define using libm_alias_double.
17086 (lround): Likewise.
17087 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
17088 <libm-alias-double.h>.
17089 (llround): Define using libm_alias_double.
17090 (lround): Likewise.
17091 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
17092 <libm-alias-double.h>.
17093 (copysign): Define using libm_alias_double.
17094 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
17095 <libm-alias-double.h>.
17096 (llrint): Define using libm_alias_double.
17097 (lrint): Likewise.
17098 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
17099 <libm-alias-double.h>.
17100 (llround): Define using libm_alias_double.
17101 (lround): Likewise.
17102 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
17103 <libm-alias-double.h>.
17104 (llrint): Define using libm_alias_double.
17105 (lrint): Likewise.
17106 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
17107 <libm-alias-double.h>.
17108 (llround): Define using libm_alias_double.
17109 (lround): Likewise.
17110
ec2cf3f4
JM
171112017-12-01 Joseph Myers <joseph@codesourcery.com>
17112
0ddde474
JM
17113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
17114 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
17115 compat symbol based on llround.
17116
0d5ba561
JM
17117 * sysdeps/powerpc/power7/fpu/s_logb.c
17118 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
17119 symbol based on __logb, not on logb.
17120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
17121 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
17122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
17123 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
17124
51ea3b20
JM
17125 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
17126 (rint): Define using libm_alias_double.
17127 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
17128 <libm-alias-double.h>.
17129 (modf): Define using libm_alias_double.
17130 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
17131 <libm-alias-double.h>.
17132 (ceil): Define using libm_alias_double.
17133 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
17134 <libm-alias-double.h>.
17135 (floor): Define using libm_alias_double.
17136 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
17137 <libm-alias-double.h>.
17138 (nearbyint): Define using libm_alias_double.
17139 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
17140 <libm-alias-double.h>.
17141 (rint): Define using libm_alias_double.
17142 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
17143 <libm-alias-double.h>.
17144 (round): Define using libm_alias_double.
17145 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
17146 <libm-alias-double.h>.
17147 (trunc): Define using libm_alias_double.
17148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
17149 <libm-alias-double.h>.
17150 (ceil): Define using libm_alias_double.
17151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
17152 Include <libm-alias-double.h>.
17153 (floor): Define using libm_alias_double.
17154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
17155 <libm-alias-double.h>.
17156 (modf): Define using libm_alias_double.
17157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
17158 Include <libm-alias-double.h>.
17159 (round): Define using libm_alias_double.
17160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
17161 Include <libm-alias-double.h>.
17162 (trunc): Define using libm_alias_double.
17163 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
17164 <libm-alias-double.h>.
17165 (ceil): Define using libm_alias_double.
17166 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
17167 <libm-alias-double.h>.
17168 (floor): Define using libm_alias_double.
17169 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
17170 <libm-alias-double.h>.
17171 (round): Define using libm_alias_double.
17172 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
17173 <libm-alias-double.h>.
17174 (trunc): Define using libm_alias_double.
17175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
17176 <libm-alias-double.h>.
17177 (ceil): Define using libm_alias_double.
17178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
17179 <libm-alias-double.h>.
17180 (floor): Define using libm_alias_double.
17181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
17182 <libm-alias-double.h>.
17183 (modf): Define using libm_alias_double.
17184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
17185 <libm-alias-double.h>.
17186 (round): Define using libm_alias_double.
17187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
17188 <libm-alias-double.h>.
17189 (trunc): Define using libm_alias_double.
17190 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
17191 <libm-alias-double.h>.
17192 (ceil): Define using libm_alias_double.
17193 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
17194 <libm-alias-double.h>.
17195 (floor): Define using libm_alias_double.
17196 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
17197 <libm-alias-double.h>.
17198 (nearbyint): Define using libm_alias_double.
17199 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
17200 <libm-alias-double.h>.
17201 (rint): Define using libm_alias_double.
17202 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
17203 <libm-alias-double.h>.
17204 (round): Define using libm_alias_double.
17205 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
17206 <libm-alias-double.h>.
17207 (trunc): Define using libm_alias_double.
17208 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
17209 <libm-alias-double.h>.
17210 (ceil): Define using libm_alias_double.
17211 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
17212 <libm-alias-double.h>.
17213 (floor): Define using libm_alias_double.
17214 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
17215 <libm-alias-double.h>.
17216 (round): Define using libm_alias_double.
17217 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
17218 <libm-alias-double.h>.
17219 (trunc): Define using libm_alias_double.
17220
ec2cf3f4
JM
17221 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
17222 (fabs): Define using libm_alias_double.
17223 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
17224 (fma): Define using libm_alias_double.
17225 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
17226 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
17227 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
17228 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
17229
5b7bd975
AZ
172302017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17231
0594b13f
AZ
17232 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
17233
dbdfcf3b
AZ
17234 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
17235 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
17236 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
17237
5b7bd975
AZ
17238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
17239 due redirect macro.
17240
ef9ecfa6
AS
172412017-12-01 Andreas Schwab <schwab@linux-m68k.org>
17242
17243 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
17244
5b4e5e78
AZ
172452017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17246
2a14526b
AZ
17247 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
17248 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
17249 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
17250 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
17251
dbeb74ef 17252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1c051a9b
AZ
17253 (libm-sysdep_routines): Add s_nearbyintf-generic and
17254 s_nearbyint-generic.
17255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
17256 New file.
17257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
17258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
17259 Likewise.
17260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
17261 Likewise.
17262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
17263 file.
17264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
17265 Likewise.
17266
17267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
dbeb74ef
AZ
17268 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
17269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
17270 file.
17271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
17272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
17273 Likewise.
17274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
17275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
17276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
17277
fa7ded96
AZ
17278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
17279 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
17280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
17281 file.
17282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
17283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
17284 Likewise.
17285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
17286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
17287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
17288
e240cf0e
AZ
17289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
17290 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
17291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
17292 file.
17293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
17294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
17295 Likewise.
17296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
17297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
17298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
17299
5b4e5e78
AZ
17300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
17301 (sysdep_calls): New rule.
17302 (sysdep_routines): Use sysdep_calls as base.
17303 (libm-sysdep_routines): Add generic rule for symbols shared with
17304 libc. Add s_copysign-generic and s_copysign-generic objects.
17305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
17306 New file.
17307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
17308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
17309 Likewise.
17310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
17311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
17312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
17313
d985adae
MF
173142017-12-01 Mike FABIAN <mfabian@redhat.com>
17315
17316 [BZ #22519]
17317 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
17318 the list of locales to be built for testing.
17319 * localedata/is_IS.UTF-8.in: New file.
17320 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
17321 on iso14651_t1.
17322
ff84a0e0
JM
173232017-12-01 Joseph Myers <joseph@codesourcery.com>
17324
17325 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
17326 <libm-alias-float.h>.
17327 (fabsf): Define using libm_alias_float.
17328
ef5d8b43
L
173292017-11-30 H.J. Lu <hongjiu.lu@intel.com>
17330
17331 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
17332
c0535adf
JM
173332017-11-30 Joseph Myers <joseph@codesourcery.com>
17334
f938b397
JM
17335 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
17336 <libm-alias-float.h>.
17337 (fabsf): Define using libm_alias_float.
17338 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
17339 <libm-alias-float.h>.
17340 (lrintf): Define using libm_alias_float.
17341 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
17342 <libm-alias-float.h>.
17343 (rintf): Define using libm_alias_float.
17344
2251fad0
JM
17345 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
17346 <libm-alias-double.h>.
17347 (fabs): Define using libm_alias_double.
17348 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
17349 <libm-alias-double.h>.
17350 (lrint): Define using libm_alias_double.
17351 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
17352 <libm-alias-double.h>.
17353 (rint): Define using libm_alias_double.
17354
e53df1de
JM
17355 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
17356 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
17357 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
17358 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
17359 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
17360 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
17361 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
17362 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
17363 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
17364 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
17365 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
17366 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
17367 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
17368 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
17369 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
17370 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
17371 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
17372 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
17373 s_atan_template.c.
17374 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
17375 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
17376 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
17377 s_ceil_template.c.
17378 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
17379 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
17380 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
17381 s_cos_template.c.
17382 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
17383 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
17384 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
17385 s_expm1_template.c.
17386 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
17387 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
17388 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
17389 s_fabs_template.c.
17390 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
17391 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
17392 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
17393 s_floor_template.c.
17394 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
17395 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
17396 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
17397 s_frexp_template.c.
17398 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
17399 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
17400 s_lrint_template.c.
17401 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
17402 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
17403 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
17404 s_modf_template.c.
17405 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
17406 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
17407 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
17408 s_nearbyint_template.c.
17409 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
17410 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
17411 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
17412 s_remquo_template.c.
17413 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
17414 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
17415 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
17416 s_rint_template.c.
17417 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
17418 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
17419 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
17420 s_sin_template.c.
17421 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
17422 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
17423 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
17424 s_sincos_template.c.
17425 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
17426 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
17427 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
17428 s_tan_template.c.
17429 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
17430 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
17431 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
17432 s_tanh_template.c.
17433 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
17434 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
17435 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
17436 s_trunc_template.c.
17437 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
17438 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
17439 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
17440 s_atan.c instead of including s_atan.c.
17441 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
17442 s_atanf.c instead of including s_atanf.c.
17443 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
17444 s_atanl.c instead of including s_atanl.c.
17445 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
17446 instead of s_atan.c.
17447 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
17448 instead of s_atanf.c.
17449 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
17450 instead of s_atanl.c.
17451
c0535adf
JM
17452 * scripts/update-copyrights: Do not handle intl/plural.c
17453 specially.
17454
1faaf703
JB
174552017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
17456
17457 [BZ #22432]
17458 * configure.ac (BISON): Require to be present.
17459 * configure: Regenerated.
17460 * intl/Makefile (generated): Add plural.c.
17461 [$(BISON) != no]: Make code unconditional.
17462 (plural.c): Change rule to $(objpfx)plural.c.
17463 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
17464 * intl/plural.c: Remove.
17465 * manual/install.texi (Tools for Compilation): Document bison as
17466 required.
17467 * INSTALL: Regenerated.
17468
faec6323
JM
174692017-11-30 Joseph Myers <joseph@codesourcery.com>
17470
bd6ea9ed
JM
17471 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
17472 <libm-alias-double.h>.
17473 (llrint): Define using libm_alias_double.
17474 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
17475 <libm-alias-float.h>.
17476 (llrintf): Define using libm_alias_float.
17477 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
17478 <libm-alias-ldouble.h>.
17479 (llrintl): Define using libm_alias_ldouble.
17480
faec6323
JM
17481 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
17482 declare_mgen_alias instead of weak_alias.
17483 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
17484 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
17485 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
17486
023cade3
AZ
174872017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17488
9e2279a0
AZ
17489 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
17490 Add add_n-generic.
17491 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
17492 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
17493 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
17494
75f37c71
AZ
17495 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
17496 Add submul_1-generic.
17497 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
17498 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
17499 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
17500
b70cbbfc 17501 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
dda1d2e8
AZ
17502 Add addmul_1-generic.
17503 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
17504 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
17505 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
17506
17507 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
b70cbbfc
AZ
17508 Add sub_n-generic.
17509 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
17510 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
17511 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
17512
023cade3
AZ
17513 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
17514 Add mul_1-generic.
17515 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
17516 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
17517 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
17518
fbb5fd03
MF
175192017-11-30 Mike FABIAN <mfabian@redhat.com>
17520
17521 According to CLDR, collation rules for Serbian and Bosnian
17522 should be the same as for Croatian.
17523
17524 [BZ #22534]
17525 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
17526 and to the list of locales to be built for testing.
17527 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
17528 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
17529 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
17530 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
17531
5e56e937
MF
175322017-11-30 Mike FABIAN <mfabian@redhat.com>
17533
17534 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
17535 to make test case pass.
17536 * localedata/hr_HR.UTF-8.in: Add more test strings.
17537
cf4341ca
MF
175382017-11-30 Mike FABIAN <mfabian@redhat.com>
17539
17540 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
17541
363e4519 175422017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
9ca6b343
DSN
17543
17544 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
17545 the list of locales to built for testing.
17546 * localedata/hr_HR.UTF-8.in: New file.
17547
363e4519 175482017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
37075ae1
DSN
17549
17550 [BZ #10580]
17551 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
17552 iso14651_t1.
17553 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
17554 CLDR (except use ligatures for the digraphs, CLDR does not use
17555 the ligatures), add first_workday, some fixes in the date and time
17556 formats.
17557 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
17558 for Đ and đ.
17559 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
17560 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
17561 Add int_p_cs_precedes and int_n_cs_precedes.
17562 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
17563 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
17564 LC_MONETARY now).
17565 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
17566 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
17567 name_miss.
17568 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
17569 and lang_lib. Change postal_fmt.
17570
f33632cc
L
175712017-11-30 H.J. Lu <hongjiu.lu@intel.com>
17572
17573 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
17574 <setjmp.h>.
17575 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
17576 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
17577 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
17578 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
17579 * sysdeps/generic/setjmpP.h: New file.
17580 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
17581 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
17582 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
17583 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
17584 Add jmp_buf-ssp.sym.
17585 (tests): Add tst-saved_mask-1.
17586
34697694
AS
175872017-11-30 Arjun Shankar <arjun@redhat.com>
17588
17589 [BZ #22375]
37ac8e63 17590 CVE-2017-17426
34697694
AS
17591 * malloc/malloc.c (__libc_malloc): Use checked_request2size
17592 instead of request2size.
17593
3e5efdbd
JM
175942017-11-30 Joseph Myers <joseph@codesourcery.com>
17595
18305fba
JM
17596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
17597 (__lllrint): Remove alias.
17598 (lllrint): Likewise.
17599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
17600 (__lllrintf): Likewise.
17601 (lllrintf): Likewise.
17602
3e5efdbd
JM
17603 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
17604 <libm-alias-float.h>.
17605 (copysignf): Define using libm_alias_float.
17606 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
17607 <libm-alias-float.h>.
17608 (fabsf): Define using libm_alias_float.
17609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
17610 Include <libm-alias-float.h>.
17611 (copysignf): Define using libm_alias_float.
17612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
17613 <libm-alias-float.h>.
17614 (fabsf): Define using libm_alias_float.
17615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
17616 <libm-alias-float.h>.
17617 (fdimf): Define using libm_alias_float.
17618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
17619 <libm-alias-float.h>.
17620 (fmaf): Define using libm_alias_float.
17621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
17622 <libm-alias-float.h>.
17623 (llrintf): Define using libm_alias_float.
17624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
17625 Include <libm-alias-float.h>.
17626 (nearbyintf): Define using libm_alias_float.
17627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
17628 <libm-alias-float.h>.
17629 (rintf): Define using libm_alias_float.
17630 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
17631 <libm-alias-float.h>.
17632 (llrintf): Define using libm_alias_float.
17633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
17634 <libm-alias-float.h>.
17635 (lrintf): Define using libm_alias_float.
17636 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
17637 <libm-alias-float.h>.
17638 (nearbyintf): Define using libm_alias_float.
17639 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
17640 <libm-alias-float.h>.
17641 (rintf): Define using libm_alias_float.
17642 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
17643 <libm-alias-float.h>.
17644 (ceilf): Define using libm_alias_float.
17645 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
17646 <libm-alias-float.h>.
17647 (floorf): Define using libm_alias_float.
17648 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
17649 <libm-alias-float.h>.
17650 (fmaf): Define using libm_alias_float.
17651 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
17652 <libm-alias-float.h>.
17653 (lrintf): Define using libm_alias_float.
17654 (llrintf): Likewise.
17655 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
17656 <libm-alias-float.h>.
17657 (nearbyintf): Define using libm_alias_float.
17658 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
17659 <libm-alias-float.h>.
17660 (rintf): Define using libm_alias_float.
17661 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
17662 <libm-alias-float.h>.
17663 (truncf): Define using libm_alias_float.
17664 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
17665 <libm-alias-float.h>.
17666 (copysignf): Define using libm_alias_float.
17667 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
17668 <libm-alias-float.h>.
17669 (fabsf): Define using libm_alias_float.
17670 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
17671 <libm-alias-float.h>.
17672 (lrintf): Define using libm_alias_float.
17673 (llrintf): Likewise.
17674 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
17675 <libm-alias-float.h>.
17676 (nearbyintf): Define using libm_alias_float.
17677 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
17678 <libm-alias-float.h>.
17679 (rintf): Define using libm_alias_float.
17680
011fba7e
JM
176812017-11-29 Joseph Myers <joseph@codesourcery.com>
17682
875cd548
JM
17683 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
17684 <libm-alias-double.h>.
17685 (copysign): Define using libm_alias_double.
17686 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
17687 <libm-alias-double.h>.
17688 (fabs): Define using libm_alias_double.
17689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
17690 Include <libm-alias-double.h>.
17691 (copysign): Define using libm_alias_double.
17692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
17693 <libm-alias-double.h>.
17694 (fabs): Define using libm_alias_double.
17695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
17696 <libm-alias-double.h>.
17697 (fdim): Define using libm_alias_double.
17698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
17699 <libm-alias-double.h>.
17700 (fma): Define using libm_alias_double.
17701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
17702 <libm-alias-double.h>.
17703 (llrint): Define using libm_alias_double.
17704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
17705 Include <libm-alias-double.h>.
17706 (nearbyint): Define using libm_alias_double.
17707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
17708 <libm-alias-double.h>.
17709 (rint): Define using libm_alias_double.
17710 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
17711 <libm-alias-double.h>.
17712 (fabs): Define using libm_alias_double.
17713 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
17714 <libm-alias-double.h>.
17715 (llrint): Define using libm_alias_double.
17716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
17717 <libm-alias-double.h>.
17718 (nearbyint): Define using libm_alias_double.
17719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
17720 <libm-alias-double.h>.
17721 (rint): Define using libm_alias_double.
17722 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
17723 <libm-alias-double.h>.
17724 (ceil): Define using libm_alias_double.
17725 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
17726 <libm-alias-double.h>.
17727 (floor): Define using libm_alias_double.
17728 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
17729 <libm-alias-double.h>.
17730 (fma): Define using libm_alias_double.
17731 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
17732 <libm-alias-double.h>.
17733 (lrint): Define using libm_alias_double.
17734 (llrint): Likewise.
17735 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
17736 <libm-alias-double.h>.
17737 (nearbyint): Define using libm_alias_double.
17738 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
17739 <libm-alias-double.h>.
17740 (rint): Define using libm_alias_double.
17741 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
17742 <libm-alias-double.h>.
17743 (trunc): Define using libm_alias_double.
17744 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
17745 <libm-alias-double.h>.
17746 (copysign): Define using libm_alias_double.
17747 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
17748 <libm-alias-double.h>.
17749 (fabs): Define using libm_alias_double.
17750 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
17751 <libm-alias-double.h>.
17752 (lrint): Define using libm_alias_double.
17753 (llrint): Likewise.
17754 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
17755 <libm-alias-double.h>.
17756 (nearbyint): Define using libm_alias_double.
17757 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
17758 <libm-alias-double.h>.
17759 (rint): Define using libm_alias_double.
17760
cf4ebc27
JM
17761 [BZ #22229]
17762 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
17763 <math_ldbl_opt.h>.
17764 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
17765
0c097378
JM
17766 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17767 SPARC --disable-multi-arch glibc variants.
17768
34bb10aa
JM
17769 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
17770 <libm-alias-float.h>.
17771 (exp2f): Define using libm_alias_float, or libm_alias_float_other
17772 if [SHARED].
17773 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
17774 <libm-alias-float.h>.
17775 (exp2f): Define using libm_alias_float, or libm_alias_float_other
17776 if [SHARED].
17777 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
17778 <libm-alias-float.h>.
17779 (exp2f): Define using libm_alias_float, or libm_alias_float_other
17780 if [SHARED].
17781 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
17782 <libm-alias-float.h>.
17783 (exp2f): Define using libm_alias_float, or libm_alias_float_other
17784 if [SHARED].
17785 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
17786 <libm-alias-float.h>.
17787 (exp2f): Define using libm_alias_float, or libm_alias_float_other
17788 if [SHARED].
17789 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
17790 <libm-alias-float.h>.
17791 (ceilf): Define using libm_alias_float.
17792 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
17793 <libm-alias-float.h>.
17794 (floorf): Define using libm_alias_float.
17795 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
17796 <libm-alias-float.h>.
17797 (fmaf): Define using libm_alias_float.
17798 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
17799 <libm-alias-float.h>.
17800 (nearbyintf): Define using libm_alias_float.
17801 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
17802 <libm-alias-float.h>.
17803 (rintf): Define using libm_alias_float.
17804 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
17805 <libm-alias-float.h>.
17806 (truncf): Define using libm_alias_float.
17807 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
17808 (copysignf): Define using libm_alias_float.
17809 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
17810 (cosf): Define using libm_alias_float.
17811 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
17812 (fabsf): Define using libm_alias_float.
17813 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
17814 (fmaxf): Define using libm_alias_float.
17815 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
17816 (fminf): Define using libm_alias_float.
17817 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
17818 (llrintf): Define using libm_alias_float.
17819 [!__ILP32__] (lrintf): Likewise.
17820 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
17821 (sincosf): Define using libm_alias_float.
17822 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
17823 (sinf): Define using libm_alias_float.
17824 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
17825 (lrintf): Define using libm_alias_float.
17826
011fba7e
JM
17827 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
17828 <libm-alias-double.h>.
17829 (atan): Define using libm_alias_double.
17830 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
17831 <libm-alias-double.h>.
17832 (ceil): Define using libm_alias_double.
17833 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
17834 <libm-alias-double.h>.
17835 (floor): Define using libm_alias_double.
17836 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
17837 <libm-alias-double.h>.
17838 (fma): Define using libm_alias_double.
17839 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
17840 <libm-alias-double.h>.
17841 (nearbyint): Define using libm_alias_double.
17842 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
17843 <libm-alias-double.h>.
17844 (rint): Define using libm_alias_double.
17845 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
17846 <libm-alias-double.h>.
17847 (sin): Define using libm_alias_double.
17848 (cos): Likewise.
17849 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
17850 <libm-alias-double.h>.
17851 (tan): Define using libm_alias_double.
17852 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
17853 <libm-alias-double.h>.
17854 (trunc): Define using libm_alias_double.
17855 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
17856 (copysign): Define using libm_alias_double.
17857 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
17858 (fabs): Define using libm_alias_double.
17859 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
17860 (fmax): Define using libm_alias_double.
17861 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
17862 (fmin): Define using libm_alias_double.
17863 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
17864 (llrint): Define using libm_alias_double.
17865 [!__ILP32__] (lrint): Likewise.
17866 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
17867 (lrint): Define using libm_alias_double.
17868
1cbd7bfe
AZ
178692017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17870
21bfcc3d
AZ
17871 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
17872 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
17873 objects.
17874 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
17875 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
17876 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
17877 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
17878 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
17879 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
17880
522228dd
AZ
17881 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
17882 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
17883 objects.
17884 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
17885 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
17886 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
17887 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
17888 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
17889 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
17890
2a6f4fab
AZ
17891 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
17892 (libm-sysdep_routines): Add s_nearbyint-generic and
17893 s_nearbyintf-generic objects.
17894 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
17895 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
17896 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
17897 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
17898 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
17899 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
17900
712b5b83
AZ
17901 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
17902 Add s_finitef-generic and s_finite-generic objects.
17903 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
17904 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
17905 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
17906 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
17907 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
17908 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
17909
c96d3335
AZ
17910 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
17911 Add s_isinff-generic and s_isinf-generic objects.
17912 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
17913 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
17914 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
17915 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
17916 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
17917 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
17918
c6862a23
AZ
17919 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
17920 Add s_isnanf-generic and s_isnan-generic objects.
17921 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
17922 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
17923 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
17924 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
17925 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
17926 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
17927
1cbd7bfe
AZ
17928 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
17929 macro.
17930 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
17931 rule.
17932 (sysdep_routines): Use sysdep_calls as base.
17933 (libm-sysdep_routines): Add generic rule for symbols shared with
17934 libc. Add s_signbit-generic and s_signbitf-generic objects.
17935 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
17936 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
17937 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
17938 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
17939 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
17940 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
17941
aa1142c5
JM
179422017-11-29 Joseph Myers <joseph@codesourcery.com>
17943
17944 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
17945 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
17946 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
17947 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
17948 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
17949 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
17950 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
17951 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
17952 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
17953 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
17954 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
17955 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
17956 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
17957 libm_alias_float_r.
17958 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
17959 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
17960 (logf): Likewise.
17961 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
17962 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
17963 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
17964 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
17965 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
17966 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
17967 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
17968 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
17969 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
17970 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
17971 libm_alias_float.
17972 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
17973 (cosf): Likewise.
17974 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
17975 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
17976 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
17977 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
17978 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
17979 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
17980 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
17981 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
17982 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
17983 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
17984 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
17985 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
17986 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
17987 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
17988 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
17989 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
17990 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
17991 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
17992 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
17993 libm_alias_float.
17994 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
17995 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
17996 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
17997 * sysdeps/ia64/fpu/w_lgammaf_main.c
17998 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
17999 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
18000
363e4519
DL
180012017-11-28 Mike FABIAN <mfabian@redhat.com>
18002 Alexandre Oliva <aoliva@redhat.com>
8da25eec
AO
18003
18004 [BZ #17750]
18005 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
18006 * localedata/fr_CA.UTF-8.in: New file with test data for backward
18007 accents sorting.
18008 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
18009 sorting.
18010 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
18011 * localedata/locales/de_DE (LC_COLLATE): Likewise.
18012 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
18013 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
18014 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
18015 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
18016 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
18017 instead of “ifdef DIACRIT_BACKWARD”.
18018
a55430cb
AZ
180192017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18020
18021 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
18022 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
18023 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
18024 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
18025 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
18026 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
18027 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
18028 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
18029 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
18030 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
18031 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
18032 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
18033 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
18034 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
18035 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
18036 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
18037 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
18038 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
18039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18040 ($(have-as-vis3) == yes): Remove conditional.
18041 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
18042 Likewise.
18043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
18044 file.
18045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
18046 file.
18047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
18048 file.
18049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
18050 file.
18051 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
18052 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
18053 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
18054 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
18055 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
18056 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
18057 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
18058 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
18059
0609ec0a
JM
180602017-11-29 Joseph Myers <joseph@codesourcery.com>
18061
18062 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
18063 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
18064 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
18065 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
18066 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
18067 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
18068 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
18069 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
18070 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
18071 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
18072 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
18073 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
18074 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
18075 libm_alias_double_r.
18076 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
18077 (log): Likewise.
18078 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
18079 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
18080 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
18081 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
18082 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
18083 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
18084 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
18085 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
18086 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
18087 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
18088 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
18089 libm_alias_double.
18090 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
18091 (cos): Likewise.
18092 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
18093 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
18094 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
18095 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
18096 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
18097 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
18098 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
18099 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
18100 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
18101 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
18102 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
18103 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
18104 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
18105 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
18106 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
18107 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
18108 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
18109 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
18110 libm_alias_double.
18111 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
18112 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
18113 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
18114 * sysdeps/ia64/fpu/w_lgamma_main.c
18115 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
18116 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
18117
d5bfa34a
JDA
181182017-11-28 John David Anglin <danglin@gcc.gnu.org>
18119
18120 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
18121 address of $global$ into %dp register earlier. Use pc-relative
18122 instruction sequence for PIC case.
18123
bc4e8f9b
JM
181242017-11-28 Joseph Myers <joseph@codesourcery.com>
18125
e4602cba
JM
18126 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
18127 (asinhf): Define using libm_alias_float.
18128 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
18129 (atanf): Define using libm_alias_float.
18130 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
18131 (cbrtf): Define using libm_alias_float.
18132 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
18133 (ceilf): Define using libm_alias_float.
18134 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
18135 (copysignf): Define using libm_alias_float.
18136 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
18137 (expm1f): Define using libm_alias_float.
18138 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
18139 (fabsf): Define using libm_alias_float.
18140 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
18141 (floorf): Define using libm_alias_float.
18142 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
18143 (fmaxf): Define using libm_alias_float.
18144 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
18145 (fminf): Define using libm_alias_float.
18146 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
18147 (frexpf): Define using libm_alias_float.
18148 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
18149 (llrintf): Define using libm_alias_float.
18150 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
18151 (logbf): Define using libm_alias_float.
18152 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
18153 (lrintf): Define using libm_alias_float.
18154 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
18155 (nearbyintf): Define using libm_alias_float.
18156 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
18157 (remquof): Define using libm_alias_float.
18158 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
18159 (rintf): Define using libm_alias_float.
18160 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
18161 (truncf): Define using libm_alias_float.
18162 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
18163 <libm-alias-float.h>.
18164 (exp2f): Define using libm_alias_float, or libm_alias_float_other
18165 if [SHARED].
18166 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
18167 <libm-alias-float.h>.
18168 (expf): Define using libm_alias_float, or libm_alias_float_other
18169 if [SHARED].
18170 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
18171 <libm-alias-float.h>.
18172 (log2f): Define using libm_alias_float, or libm_alias_float_other
18173 if [SHARED].
18174 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
18175 <libm-alias-float.h>.
18176 (logf): Define using libm_alias_float, or libm_alias_float_other
18177 if [SHARED].
18178 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
18179 <libm-alias-float.h>.
18180 (powf): Define using libm_alias_float, or libm_alias_float_other
18181 if [SHARED].
18182 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
18183 <libm-alias-float.h>.
18184 (cosf): Define using libm_alias_float.
18185 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
18186 <libm-alias-float.h>.
18187 (sincosf): Define using libm_alias_float.
18188 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
18189 <libm-alias-float.h>.
18190 (sinf): Define using libm_alias_float.
18191 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
18192 (fmaxf): Define using libm_alias_float.
18193 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
18194 (fminf): Define using libm_alias_float.
18195 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
18196 <libm-alias-float.h>.
18197 (fmaf): Define using libm_alias_float.
18198
bc4e8f9b
JM
18199 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
18200 (asinh): Define using libm_alias_double.
18201 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
18202 (atan): Define using libm_alias_double.
18203 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
18204 (cbrt): Define using libm_alias_double.
18205 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
18206 (ceil): Define using libm_alias_double.
18207 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
18208 (copysign): Define using libm_alias_double.
18209 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
18210 (expm1): Define using libm_alias_double.
18211 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
18212 (fabs): Define using libm_alias_double.
18213 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
18214 (fdim): Define using libm_alias_double.
18215 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
18216 (floor): Define using libm_alias_double.
18217 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
18218 (fmax): Define using libm_alias_double.
18219 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
18220 (fmin): Define using libm_alias_double.
18221 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
18222 (frexp): Define using libm_alias_double.
18223 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
18224 (llrint): Define using libm_alias_double.
18225 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
18226 (logb): Define using libm_alias_double.
18227 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
18228 (lrint): Define using libm_alias_double.
18229 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
18230 (nearbyint): Define using libm_alias_double.
18231 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
18232 (remquo): Define using libm_alias_double.
18233 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
18234 (rint): Define using libm_alias_double.
18235 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
18236 (trunc): Define using libm_alias_double.
18237 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
18238 (fmax): Define using libm_alias_double.
18239 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
18240 (fmin): Define using libm_alias_double.
18241 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
18242 (fma): Define using libm_alias_double.
18243
8d81ce0c
L
182442017-11-28 H.J. Lu <hongjiu.lu@intel.com>
18245
18246 [BZ #22370]
18247 * elf/dl-hwcaps.c (ROUND): Removed.
18248 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
18249 and ELF_NOTE_NEXT_OFFSET.
18250 * elf/dl-load.c (ROUND): Removed.
18251 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
18252 * elf/readelflib.c (ROUND): Removed.
18253 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
18254 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
18255 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
18256 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
18257
6940bd96
JM
182582017-11-28 Joseph Myers <joseph@codesourcery.com>
18259
313ba463
JM
18260 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
18261 [!__fmaf] (fmaf): Define using libm_alias_float.
18262
6940bd96
JM
18263 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
18264 [!__fma] (fma): Define using libm_alias_double.
18265 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
18266
22c69b6a
MF
182672017-11-28 Mike FABIAN <mfabian@redhat.com>
18268
18269 [BZ #22336]
18270 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
18271 and implement the collation rules for cs from CLDR on top of that.
18272 * Makefile: Add cs_CZ.UTF-8 to test-input.
18273 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
18274
8d7d3ba8
SP
182752017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
18276
18277 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
18278
0422ed1e
VR
182792017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
18280 Icarus Sparry <icarus.w.sparry@intel.com>
18281
18282 * benchtests/Makefile:Add BENCHSET to allow subsets of
18283 benchmarks to be run.
18284 * benchtests/README: Add documentation for: Running subsets of
18285 benchmarks.
18286
0595e360
VR
182872017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
18288
d5090db3
VR
18289 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
18290 range of tests names.
18291
0595e360
VR
18292 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
18293 result from property and remove "max", min" and "mean" from
18294 required properties based on benchtests/bench-skeleton.c.
18295
b4c645c2
FW
182962017-11-28 Florian Weimer <fweimer@redhat.com>
18297
18298 [BZ #20826]
18299 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
18300 due to Internet requirement.
18301 * posix/Makefile (tests): Remove tst-getaddrinfo4,
18302 tst-getaddrinfo5.
18303 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
18304
88684de7
AZ
183052017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18306
69056564
AZ
18307 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
18308 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
18309 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
18310 (sysdep_routines): Add memset-ultra1.
18311 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
18312 file.
18313 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
18314 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
18315 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
18316 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
18317 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
18318 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
18319 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
18320 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18321
88684de7
AZ
18322 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
18323 file.
18324 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
18325 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
18326 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
18327 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
18328 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
18329 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
18330 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
18331 macro.
18332 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
18333 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
18334 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
18335 (sysdep_routines): Add memcpy-ultra1.
18336 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
18337 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
18338
d8124864
JM
183392017-11-28 Joseph Myers <joseph@codesourcery.com>
18340
f433d0b3
JM
18341 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
18342 (cfloat_versions): Take function argument without trailing 'f'.
18343 Call libm_alias_float_other.
18344 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
18345 * sysdeps/alpha/fpu/cargf.c: Likewise.
18346 * sysdeps/alpha/fpu/cimagf.c: Likewise.
18347 * sysdeps/alpha/fpu/conjf.c: Likewise.
18348 * sysdeps/alpha/fpu/crealf.c: Likewise.
18349 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
18350 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
18351 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
18352 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
18353 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
18354 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
18355 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
18356 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
18357 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
18358 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
18359 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
18360 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
18361 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
18362 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
18363 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
18364 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
18365 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
18366 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
18367 (clog10f): Use libm_alias_float_other.
18368 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
18369 (ceilf): Define using libm_alias_float.
18370 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
18371 (copysignf): Define using libm_alias_float.
18372 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
18373 (fabsf): Define using libm_alias_float.
18374 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
18375 (floorf): Define using libm_alias_float.
18376 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
18377 (fmaxf): Define using libm_alias_float.
18378 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
18379 (fminf): Define using libm_alias_float.
18380 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
18381 (lrintf): Define using libm_alias_float.
18382 (llrintf): Likewise.
18383 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
18384 (lroundf): Define using libm_alias_float.
18385 (llroundf): Likewise.
18386 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
18387 (rintf): Define using libm_alias_float.
18388 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
18389 (truncf): Define using libm_alias_float.
18390
15ff4900
JM
18391 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
18392 (ceilf): Define using libm_alias_float.
18393 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
18394 (floorf): Define using libm_alias_float.
18395 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
18396 (fmaf): Define using libm_alias_float.
18397 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
18398 (fmaxf): Define using libm_alias_float.
18399 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
18400 (fminf): Define using libm_alias_float.
18401 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
18402 (llrintf): Define using libm_alias_float.
18403 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
18404 (llroundf): Define using libm_alias_float.
18405 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
18406 (lrintf): Define using libm_alias_float.
18407 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
18408 (lroundf): Define using libm_alias_float.
18409 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
18410 <libm-alias-float.h>.
18411 (nearbyintf): Define using libm_alias_float.
18412 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
18413 (rintf): Define using libm_alias_float.
18414 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
18415 (roundf): Define using libm_alias_float.
18416 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
18417 (truncf): Define using libm_alias_float.
18418
5de60638
JM
18419 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
18420 (ceil): Define using libm_alias_double.
18421 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
18422 (copysign): Define using libm_alias_double.
18423 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
18424 (fabs): Define using libm_alias_double.
18425 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
18426 (floor): Define using libm_alias_double.
18427 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
18428 (fmax): Define using libm_alias_double.
18429 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
18430 (fmin): Define using libm_alias_double.
18431 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
18432 (lrint): Define using libm_alias_double.
18433 (llrint): Likewise.
18434 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
18435 (lround): Define using libm_alias_double.
18436 (llround): Likewise.
18437 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
18438 (rint): Define using libm_alias_double.
18439 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
18440 (trunc): Define using libm_alias_double.
18441
d8124864
JM
18442 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
18443 (libm_alias_double_r): Add semicolon after weak_alias call.
18444
f07d2ec8
JM
184452017-11-27 Joseph Myers <joseph@codesourcery.com>
18446
18447 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
18448 (ceil): Define using libm_alias_double.
18449 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
18450 (floor): Define using libm_alias_double.
18451 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
18452 (fma): Define using libm_alias_double.
18453 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
18454 (fmax): Define using libm_alias_double.
18455 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
18456 (fmin): Define using libm_alias_double.
18457 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
18458 (llrint): Define using libm_alias_double.
18459 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
18460 (llround): Define using libm_alias_double.
18461 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
18462 (lrint): Define using libm_alias_double.
18463 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
18464 (lround): Define using libm_alias_double.
18465 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
18466 (nearbyint): Define using libm_alias_double.
18467 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
18468 (rint): Define using libm_alias_double.
18469 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
18470 (round): Define using libm_alias_double.
18471 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
18472 (trunc): Define using libm_alias_double.
18473
4bab0224
FW
184742017-11-27 Florian Weimer <fweimer@redhat.com>
18475
18476 * sysdeps/unix/sysv/linux/mlock2.c: New file.
18477 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
18478 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
18479 (tests): Add tst-mlock2.
18480 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
18481 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
18482 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
18483 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
18484 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
18485 for mlock. Document mlock2.
18486
a23aa5b7
JM
184872017-11-27 Joseph Myers <joseph@codesourcery.com>
18488
18489 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
18490 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
18491 Likewise.
18492 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
18493 Likewise.
18494 * sysdeps/x86/Makeconfig: New file.
18495 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
18496 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
18497 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
18498 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
18499 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
18500 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
18501 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
18502 Likewise.
18503 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
18504 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
18505 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
18506 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
18507 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
18508 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
18509 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
18510 * manual/math.texi (Mathematics): Document support for _Float64x.
18511 * math/Versions (GLIBC_2.27): Add _Float64x functions.
18512 * stdlib/Versions (GLIBC_2.27): Likewise.
18513 * wcsmbs/Versions (GLIBC_2.27): Likewise.
18514 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
18515 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18516 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18517 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18518 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18519 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18520 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18521 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18522 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18523 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18524 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
18526 Likewise.
18527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18528 Likewise.
18529 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18530 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18531 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18532 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18533 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18534 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18535 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18536 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18537 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18538 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18539 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18540 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18541 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
18542 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
18543
c2c299fd
AS
185442017-11-27 Andreas Schwab <schwab@suse.de>
18545
18546 * elf/Makefile (dl-routines): Add dl-sort-maps.
18547 * elf/dl-sort-maps.c: New file.
18548 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
18549 (_dl_sort_maps): Declare.
18550 * elf/dl-fini.c (_dl_sort_fini): Remove.
18551 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
18552 * elf/dl-close.c (_dl_close_worker): Likewise.
18553 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
18554 open-coding it.
18555 * elf/dl-open.c (dl_open_worker): Likewise.
18556
9d4b0117
JM
185572017-11-24 Joseph Myers <joseph@codesourcery.com>
18558
de61465c
JM
18559 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
18560 using libm_alias_float128.
18561 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
18562 Likewise.
18563 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
18564 Likewise.
18565 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
18566 (setpayloadsigf128): Likewise.
18567 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
18568 Likewise.
18569 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
18570 Likewise.
18571
9ae6d171
JM
18572 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
18573 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
18574 -mfloat128 to CFLAGS.
18575 ($(foreach
18576 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
18577 Likewise.
18578 (CFLAGS-libm-test-support-float64x.c): New variable.
18579 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
18580 $(f128-loader-link) to gnulib-tests.
18581
6e70d156
JM
18582 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
18583 (libm_alias_float128_other_r): If
18584 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
18585 alias.
18586 (libm_alias_float128_r): Add semicolon after weak_alias call.
18587 * sysdeps/generic/libm-alias-ldouble.h
18588 (libm_alias_ldouble_other_r_f128): New macro.
18589 (libm_alias_ldouble_other_r_f64x): Likewise.
18590 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
18591 and libm_alias_ldouble_other_r_f64x.
18592 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
18593 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
18594 (libm_alias_ldouble_other_r_f128): New macro.
18595 (libm_alias_ldouble_other_r_f64x): Likewise.
18596 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
18597 and libm_alias_ldouble_other_r_f64x.
18598
df2806cd
JM
18599 * stdlib/strfroml.c: Always include <stdlib.h>.
18600 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
18601 undefine as macro and define as weak alias.
18602 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
18603 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
18604 <stdlib.h>.
18605 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
18606 Define and later undefine as macro and define as weak alias.
18607
0df4fe35
JM
18608 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
18609 Define and later undefine as macro. Define as weak alias if
18610 [!USE_WIDE_CHAR].
18611 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
18612 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
18613 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
18614 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
18615 Define and later undefine as macro. Define as weak alias if
18616 [!USE_WIDE_CHAR].
18617 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
18618 Define and later undefine as macro. Define as weak alias if
18619 [USE_WIDE_CHAR].
18620 * sysdeps/ieee754/float128/strtof128_l.c
18621 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
18622 Define and later undefine as macro. Define as weak alias if
18623 [!USE_WIDE_CHAR].
18624 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
18625 Define and later undefine as macro. Define as weak alias if
18626 [USE_WIDE_CHAR].
18627 * sysdeps/ieee754/ldbl-128/strtold_l.c
18628 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
18629 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
18630 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
18631 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
18632 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
18633 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
18634 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
18635 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
18636 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
18637 * sysdeps/ieee754/ldbl-96/strtold_l.c
18638 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
18639 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
18640 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
18641 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
18642
ae7207d0
JM
18643 * math/test-float64x.h: New file.
18644 * math/Makefile (type-float64x-yes): New variable.
18645 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
18646
9596fc69
JM
18647 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
18648 function-like macro.
18649 (min_of_type_): Likewise.
18650 (min_of_type_l): Likewise.
18651 (min_of_type_f128): Likewise.
18652 (min_of_type): Pass () as last argument of __MATH_TG.
18653
46453c3c
JM
18654 * stdlib/tst-strtod-round-skeleton.c
18655 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
18656 headers.
18657
01e659e7
JM
18658 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
18659 for combinations of long double with _Float64 and _Float64x.
18660
5c60afdd
JM
18661 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
18662 (__DECL_SIMD_cosf32): Likewise.
18663 (__DECL_SIMD_cosf64): Likewise.
18664 (__DECL_SIMD_cosf32x): Likewise.
18665 (__DECL_SIMD_cosf64x): Likewise.
18666 (__DECL_SIMD_cosf128x): Likewise.
18667 (__DECL_SIMD_sinf16): Likewise.
18668 (__DECL_SIMD_sinf32): Likewise.
18669 (__DECL_SIMD_sinf64): Likewise.
18670 (__DECL_SIMD_sinf32x): Likewise.
18671 (__DECL_SIMD_sinf64x): Likewise.
18672 (__DECL_SIMD_sinf128x): Likewise.
18673 (__DECL_SIMD_sincosf16): Likewise.
18674 (__DECL_SIMD_sincosf32): Likewise.
18675 (__DECL_SIMD_sincosf64): Likewise.
18676 (__DECL_SIMD_sincosf32x): Likewise.
18677 (__DECL_SIMD_sincosf64x): Likewise.
18678 (__DECL_SIMD_sincosf128x): Likewise.
18679 (__DECL_SIMD_logf16): Likewise.
18680 (__DECL_SIMD_logf32): Likewise.
18681 (__DECL_SIMD_logf64): Likewise.
18682 (__DECL_SIMD_logf32x): Likewise.
18683 (__DECL_SIMD_logf64x): Likewise.
18684 (__DECL_SIMD_logf128x): Likewise.
18685 (__DECL_SIMD_expf16): Likewise.
18686 (__DECL_SIMD_expf32): Likewise.
18687 (__DECL_SIMD_expf64): Likewise.
18688 (__DECL_SIMD_expf32x): Likewise.
18689 (__DECL_SIMD_expf64x): Likewise.
18690 (__DECL_SIMD_expf128x): Likewise.
18691 (__DECL_SIMD_powf16): Likewise.
18692 (__DECL_SIMD_powf32): Likewise.
18693 (__DECL_SIMD_powf64): Likewise.
18694 (__DECL_SIMD_powf32x): Likewise.
18695 (__DECL_SIMD_powf64x): Likewise.
18696 (__DECL_SIMD_powf128x): Likewise.
18697
9d4b0117
JM
18698 * stdlib/Versions (libc): Move entries for wcstof128 and
18699 wcstof128_l to ....
18700 * wcsmbs/Versions (libc): ... here.
18701 Include <float128-abi.h>.
18702
7911dd47
FW
187032017-11-24 Florian Weimer <fweimer@redhat.com>
18704
18705 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18706 bits/mman-shared.h.
18707 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
18708 <bits/mman-shared.h>.
18709 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
18710 to ...
18711 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
18712 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
18713 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
18714 <bits/mman-shared.h>.
18715
c45d78aa
AZ
187162017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18717
18718 [BZ #22457]
18719 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
18720 posix_memalign/free.
18721 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
18722
3ffc4cc1
MF
187232017-11-22 Mike FABIAN <mfabian@redhat.com>
18724
18725 [BZ #22469]
18726 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
18727 and implement the collation rules for pl from CLDR on top of that.
18728 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
18729 of locales to be built for testing.
18730 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
18731
3a327316
JM
187322017-11-23 Joseph Myers <joseph@codesourcery.com>
18733
18734 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
18735 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
18736 libm_alias_ldouble_other.
18737 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
18738 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
18739 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
18740 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
18741 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
18742 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
18743 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
18744 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
18745 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
18746 libm_alias_ldouble_r.
18747 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
18748 libm_alias_ldouble_other.
18749 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
18750 (log10l): Likewise.
18751 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
18752 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
18753 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
18754 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
18755 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
18756 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
18757 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
18758 (atan2l): Likewise.
18759 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
18760 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
18761 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
18762 libm_alias_ldouble.
18763 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
18764 (cosl): Likewise.
18765 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
18766 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
18767 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
18768 (expl): Likewise.
18769 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
18770 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
18771 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
18772 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
18773 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
18774 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
18775 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
18776 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
18777 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
18778 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
18779 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
18780 libm_alias_ldouble.
18781 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
18782 libm_alias_ldouble_other.
18783 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
18784 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
18785 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
18786 libm_alias_ldouble.
18787 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
18788 libm_alias_ldouble_other.
18789 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
18790 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
18791 * sysdeps/ia64/fpu/w_lgammal_main.c
18792 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
18793 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
18794
0a947e06
FW
187952017-11-23 Florian Weimer <fweimer@redhat.com>
18796
18797 * malloc/malloc.c (tcache_thread_shutdown): Rename from
18798 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
18799 alike. Remove freeres marker.
18800 * malloc/arena.c (arena_thread_freeres): Call
18801 tcache_thread_shutdown.
18802
67f36c79
FW
188032017-11-23 Florian Weimer <fweimer@redhat.com>
18804
18805 [BZ #22459]
18806 Export nscd hash function as __nss_hash.
18807 * include/nss.h (__nss_hash): Declare.
18808 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
18809 symbol.
18810 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
18811 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
18812 of __nscd_hash.
18813 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
18814 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
18815 * nss/Makefiles (routines): Add nss_hash.
18816 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
18817 * nss/nss_hash.c: Rename from nis/nis_hash.c.
18818 (__nss_hash): Rename from __nis_hash. Define hidden alias.
18819 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
18820
cccb6d4e
FW
188212017-11-23 Florian Weimer <fweimer@redhat.com>
18822
18823 [BZ #22478]
18824 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
18825 Return error code, not -1.
18826 * signal/tst-sigwait-eintr.c: New file.
18827 * signal/Makefile (tests): Add tst-sigwait-eintr.
18828
59d2cbb1
FW
188292017-11-23 Florian Weimer <fweimer@redhat.com>
18830
18831 Linux: Add memfd_create system call wrapper
18832 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
18833 tst-memfd_create.
18834 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
18835 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
18836 [__USE_GNU] (memfd_create): Declare.
18837 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
18838 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
18839 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
18840 * sysdeps/unix/sysv/linux/**.abilist: Update.
18841 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
18842
a90d1ac2
JM
188432017-11-22 Joseph Myers <joseph@codesourcery.com>
18844
0a9d1d62
JM
18845 * localedata/gen-locale.sh: Fix typo in variable name.
18846
754034c4
JM
18847 * resolv/res_debug.c (p_secstodate): Condition definition on
18848 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
18849 directly as __p_secstodate, and as a compat symbol. Do not use
18850 libresolv_hidden_def.
18851 * resolv/resolv.h (p_secstodate): Remove macro and function
18852 declaration.
18853 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
18854 using p_secstodate.
18855 * include/resolv.h (__p_secstodate): Do not use
18856 libresolv_hidden_proto.
18857 * resolv/Makefile (tests): Move tst-p_secstodate to ....
18858 (tests-internal): ... here.
18859 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
18860 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
18861 and declare and use __p_secstodate and use compat_symbol_reference
18862 in that case.
18863 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
18864 implementation returning 77.
18865
f120cda6
JM
18866 [BZ #22463]
18867 * resolv/res_debug.c: Include <libc-diag.h>.
18868 (p_secstodate): Assert time_t at least as wide as u_long. On
18869 overflow, use integer seconds since the epoch as output, or use
18870 "<overflow>" as output and set errno to EOVERFLOW if integer
18871 seconds since the epoch would be 14 or more characters.
18872 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
18873 for sprintf call.
18874 * resolv/tst-p_secstodate.c: New file.
18875 * resolv/Makefile (tests): Add tst-p_secstodate.
18876 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
18877
a90d1ac2
JM
18878 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
18879 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
18880 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
18881
0285e6bd
PE
188822017-11-22 Paul Eggert <eggert@cs.ucla.edu>
18883
18884 * posix/regcomp.c (init_word_char): Add comments.
18885
4bae6150
JM
188862017-11-22 Joseph Myers <joseph@codesourcery.com>
18887
18888 [BZ #22447]
18889 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
18890 strlen to compute length of ut_user and set trailing NUL byte of
18891 result explicitly.
18892
4b7af5fc
MF
188932017-11-21 Mike FABIAN <mfabian@redhat.com>
18894
18895 [BZ #15537]
18896 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
18897 using “copy "iso14651_t1"” and then implementing the
18898 collation rules for lv from CLDR on top of that.
18899 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
18900 of locales to be built for testing.
18901 * lv_LV.UTF-8.in: New file with test data to test the Latvian
18902 sorting.
18903
922bb78c
JM
189042017-11-21 Joseph Myers <joseph@codesourcery.com>
18905
18906 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
18907 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
18908 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
18909 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
18910 [__USE_MISC] (MADV_HWPOISON): New macro.
18911 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
18912
a3aaa598
AZ
189132017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18914
18915 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
18916 -Wmissing-braces on GCC 4.9.
18917
8beba15d
SL
189182017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
18919
18920 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
18921 * sysdeps/s390/s390-32/start.S (_start): Likewise
18922 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
18923 (thread_start): Likewise.
18924 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
18925 (thread_start): Likewise.
18926 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
18927 (__makecontext_ret): Likewise.
18928 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
18929 (__makecontext_ret): Likewise.
18930
80eb52e3
SL
189312017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
18932
18933 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
18934 __wcschrnul): Remove attribute_hidden.
18935
567d8c1f
PE
189362017-11-20 Paul Eggert <eggert@cs.ucla.edu>
18937
18938 regex: don't assume uint64_t or uint32_t
18939 This avoids -Werror=overflow errors for 32-bit systems in
18940 the 64-bit case. Problem reported by Joseph Myers in:
18941 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
18942 Also, when this code is used in Gnulib it ports to platforms
18943 that lack uint64_t and uint32_t. The C standard doesn't guarantee
18944 them, and on some 32-bit compilers there is no uint64_t.
18945 Problem reported by Gianluigi Tiesi in:
18946 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
18947 * posix/regcomp.c (init_word_char): Don't assume that the types
18948 uint64_t and uint32_t exist. Adapted from Gnulib patch
18949 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
18950 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
18951
4d7632ff
SP
189522017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
18953
5a67c4fa
SP
18954 * sysdeps/aarch64/memset-reg.h: New file.
18955 * sysdeps/aarch64/memset.S: Use it.
18956 (__memset): Rename to MEMSET macro.
18957 [ZVA_MACRO]: Use zva_macro.
18958 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
18959 Add memset_generic and memset_falkor.
18960 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
18961 (__libc_ifunc_impl_list): Add memset ifuncs.
18962 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
18963 local variable zva_size.
18964 * sysdeps/aarch64/multiarch/memset.c: New file.
18965 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
18966 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
18967 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
18968 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
18969 (DCZID_DZP_MASK): New macro.
18970 (DCZID_BS_MASK): Likewise.
18971 (init_cpu_features): Read and set zva_size.
18972 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
18973 (struct cpu_features): New member zva_size.
18974
eb332f9f
SP
18975 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
18976 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
18977 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
18978
4d7632ff
SP
18979 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
18980 backwards. Fix timing computation.
18981 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
18982 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
18983 on memset by N at a time. Fix timing computation.
18984
a465b89e
FW
189852017-11-20 Florian Weimer <fweimer@redhat.com>
18986
18987 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
18988 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
18989
0f74bbf5
FW
189902017-11-19 Florian Weimer <fweimer@redhat.com>
18991
18992 manual: Document mprotect
18993 * manual/memory.texi (Memory Protection): New section.
18994 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
18995 documentation of PROT_* flags and reference the Memory Protection
18996 section instead.
18997
f6e965ee
FW
189982017-11-19 Florian Weimer <fweimer@redhat.com>
18999
19000 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
19001 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
19002 (Scatter-Gather): ... to here. Remove misleading comment.
19003
363e4519 190042017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
ea69a5c8 19005
5f9d1949
CB
19006 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
19007 style.
19008
ea69a5c8
CB
19009 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
19010 when /proc/<pid>/setgroups does not exist.
19011
8db7f48c
FW
190122017-11-18 Florian Weimer <fweimer@redhat.com>
19013
19014 * sysdeps/unix/sysv/linux/tst-ttyname.c
19015 (become_root_in_mount_ns): Remove.
19016 (do_in_chroot_1): Call support_enter_mount_namespace.
19017 (do_in_chroot_2): Likewise.
19018 (do_test): Call support_become_root early.
19019
273a0c49
FW
190202017-11-18 Florian Weimer <fweimer@redhat.com>
19021
19022 * support/namespace.h (support_enter_mount_namespace): Declare.
19023 * support/support_enter_mount_namespace.c: New file.
19024 * support/Makefile (libsupport-routines): Add
19025 support_enter_mount_namespace.
19026
8adfb0ee
FW
190272017-11-18 Florian Weimer <fweimer@redhat.com>
19028
19029 * support/temp_file.c (support_create_temp_directory): Use
19030 test_dir and do not rely on the presence of the XXXXXX suffix.
19031 * support/temp_file.h (support_create_temp_directory): Update
19032 comment.
19033 * support/tst-xreadlink.c (do_test): Adjust.
19034 * support/support_chroot.c (support_chroot_create): Likewise.
19035
df0c40ee
TMQMF
190362017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19037
19038 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
19039 macro.
19040 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
19041 htm-no-suspend.
19042
015c6dc2
JM
190432017-11-17 Joseph Myers <joseph@codesourcery.com>
19044
f58e5f48
JM
19045 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
19046 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
19047 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
19048 (ceill): Define using libm_alias_ldouble.
19049 * sysdeps/x86_64/fpu/s_copysignl.S: Include
19050 <libm-alias-ldouble.h>.
19051 (copysignl): Define using libm_alias_ldouble.
19052 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
19053 (fabsl): Define using libm_alias_ldouble.
19054 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
19055 (floorl): Define using libm_alias_ldouble.
19056 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
19057 (fmaxl): Define using libm_alias_ldouble.
19058 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
19059 (fminl): Define using libm_alias_ldouble.
19060 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
19061 (llrintl): Define using libm_alias_ldouble.
19062 (lrintl): Likewise.
19063 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
19064 <libm-alias-ldouble.h>.
19065 (nearbyintl): Define using libm_alias_ldouble.
19066 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
19067 (truncl): Define using libm_alias_ldouble.
19068 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
19069 <libm-alias-ldouble.h>.
19070 (lrintl): Define using libm_alias_ldouble.
19071
2ce30701
JM
19072 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
19073 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
19074 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
19075 (asinhl): Define using libm_alias_ldouble.
19076 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
19077 (atanl): Define using libm_alias_ldouble.
19078 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
19079 (cbrtl): Define using libm_alias_ldouble.
19080 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
19081 (ceill): Define using libm_alias_ldouble.
19082 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
19083 (copysignl): Define using libm_alias_ldouble.
19084 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
19085 (fabsl): Define using libm_alias_ldouble.
19086 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
19087 (floorl): Define using libm_alias_ldouble.
19088 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
19089 (fmaxl): Define using libm_alias_ldouble.
19090 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
19091 (fminl): Define using libm_alias_ldouble.
19092 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
19093 (frexpl): Define using libm_alias_ldouble.
19094 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
19095 (llrintl): Define using libm_alias_ldouble.
19096 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
19097 (logbl): Define using libm_alias_ldouble.
19098 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
19099 (lrintl): Define using libm_alias_ldouble.
19100 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
19101 (nearbyintl): Define using libm_alias_ldouble.
19102 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
19103 (nextafterl): Define using libm_alias_ldouble.
19104 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
19105 (remquol): Define using libm_alias_ldouble.
19106 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
19107 (rintl): Define using libm_alias_ldouble.
19108 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
19109 (truncl): Define using libm_alias_ldouble.
19110 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
19111 (fmaxl): Define using libm_alias_ldouble.
19112 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
19113 (fminl): Define using libm_alias_ldouble.
19114
015c6dc2
JM
19115 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
19116 to C syntax instead of availability and properties of types.
19117 * bits/floatn.h [!__ASSEMBLER]: Likewise.
19118 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
19119 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
19120 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
19121 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
19122 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
19123
ce003e5d
FW
191242017-11-17 Florian Weimer <fweimer@redhat.com>
19125
19126 support_become_root: Enable file creation in namespaces.
19127 * support/support_become_root.c (setup_mapping): New function.
19128 (support_become_root): Call it.
19129
e7df6c5c
JM
191302017-11-17 Joseph Myers <joseph@codesourcery.com>
19131
19132 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
19133 macro.
19134
58a813bf
AZ
191352017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19136
19137 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
19138 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
19139
f97773d1
JM
191402017-11-16 Joseph Myers <joseph@codesourcery.com>
19141
6a6aa1f3
JM
19142 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
19143
f97773d1
JM
19144 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
19145 version to 4.14.
19146
a306c790
SP
191472017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
19148
7b0fb870
SP
19149 * INSTALL: Fix botched up regeneration.
19150
19151 * NEWS: Update sourceare link to https.
a306c790
SP
19152 * configure.ac: Likewise.
19153 * crypt/md5test-giant.c: Likewise.
19154 * dlfcn/bug-atexit1.c: Likewise.
19155 * dlfcn/bug-atexit2.c: Likewise.
19156 * localedata/README: Likewise.
19157 * malloc/tst-mallocfork.c: Likewise.
19158 * manual/install.texi: Likewise.
19159 * nptl/tst-pthread-getattr.c: Likewise.
19160 * stdio-common/tst-fgets.c: Likewise.
19161 * stdio-common/tst-fwrite.c: Likewise.
19162 * sunrpc/Makefile: Likewise.
19163 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
19164 * wcsmbs/tst-mbrtowc2.c: Likewise.
7b0fb870
SP
19165 * configure: Regenerate.
19166 * INSTALL: Regenerate.
a306c790 19167
7532837d
MS
191682017-11-15 Martin Sebor <msebor@redhat.com>
19169
19170 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
19171 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
19172 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
19173
495a56fd
LS
191742017-11-15 Luke Shumaker <lukeshu@parabola.nu>
19175
d9611e30
LS
19176 [BZ #22145]
19177 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
19178 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
19179
a09dfc19
LS
19180 [BZ #22145]
19181 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
19182 Defer is_pty check until end of the function.
19183 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19184
2fbce9c2
LS
19185 [BZ #22145]
19186 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
19187 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
19188 (ttyname): Likewise.
19189 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
19190 (__ttyname_r): Likewise.
19191
d10d6cab
LS
19192 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
19193 int to bool.
19194
9b5a8750
LS
19195 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
19196
495a56fd
LS
19197 * manual/terminal.texi (Is It a Terminal):
19198 Mention ENODEV for ttyname and ttyname_r.
19199
fa680dc6
JM
192002017-11-15 Joseph Myers <joseph@codesourcery.com>
19201
78cde19f
JM
19202 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
19203 constant and macro.
19204
fa680dc6
JM
19205 * sysdeps/unix/sysv/linux/bits/mman-linux.h
19206 [__USE_MISC] (MADV_WIPEONFORK): New macro.
19207 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
19208 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
19209 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
19210 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
19211
ad4f43a2
AZ
192122017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19213
1ba1d8a4
AZ
19214 * signal/sigrelse.c (sigrelse): Optimize implementation.
19215
ad4f43a2
AZ
19216 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
19217 (__sigpause): Rely on __sigsuspend to implement single thread
19218 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
19219
d0212d42
JM
192202017-11-15 Joseph Myers <joseph@codesourcery.com>
19221
19222 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19223 kernel version to 4.14.
19224
2180fee1
SE
192252017-11-15 Steve Ellcey <sellcey@cavium.com>
19226
19227 [BZ #22442]
19228 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
19229 Check if ifname is too long.
19230
cad7ca39
LS
192312017-11-15 Luke Shumaker <lukeshu@parabola.nu>
19232
19233 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
19234
58c9f659
MF
192352017-11-15 Mike FABIAN <mfabian@redhat.com>
19236
19237 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
19238 was accidentally lost.
19239
0fa87c01
MF
192402017-11-15 Mike FABIAN <mfabian@redhat.com>
19241
19242 * localedata/locales/az_IR: Add standard copyright header.
19243
34eb4157
FW
192442017-11-15 Florian Weimer <fweimer@redhat.com>
19245
19246 [BZ #22439]
19247 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
19248 not just the top one. Output a new "subheaps" statistic.
19249
7a9368a1
FW
192502017-11-15 Florian Weimer <fweimer@redhat.com>
19251
19252 [BZ #22408]
19253 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
19254 under the per-arena lock.
19255 * malloc/Makefile (tests): Add tst-malloc_info.
19256 (tst-malloc_info): Link with libpthread.
19257 * malloc/tst-malloc_info.c: New file.
19258
be3a79a3
JM
192592017-11-15 Joseph Myers <joseph@codesourcery.com>
19260
19261 [BZ #21660]
19262 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
19263 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
19264 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
19265 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
19266 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
19267 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
19268 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
19269 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
19270 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
19271 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
19272 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
19273 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
19274 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
19275 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
19276 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
19277 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
19278 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
19279 (__floating_type): Likewise.
19280 (__real_integer_type): Likewise.
19281 (__complex_integer_type): Likewise.
19282 (__expr_is_real): Likewise.
19283 (__tgmath_real_type_sub): Likewise.
19284 (__tgmath_real_type): Likewise.
19285 (__tgmath_complex_type_sub): Likewise.
19286 (__tgmath_complex_type): Likewise.
19287 (__TGMATH_F128): Likewise.
19288 (__TGMATH_CF128): Likewise.
19289 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
19290 new macros.
19291 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
19292 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
19293 Likewise.
19294 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
19295 Likewise.
19296 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
19297 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
19298 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
19299 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
19300 Likewise.
19301 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
19302 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
19303 Likewise.
19304 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
19305 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
19306 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
19307 Likewise.
19308 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
19309 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
19310 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
19311 (cimag): Likewise.
19312 (creal): Likewise.
19313
ec72135e
JM
193142017-11-14 Joseph Myers <joseph@codesourcery.com>
19315
2e64ec9c
JM
19316 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
19317 for stpncpy calls for GCC 8.
19318 (test_strncat): Disable -Wstringop-truncation warning for strncat
19319 calls for GCC 8. Disable -Wstringop-overflow= warning for one
19320 strncat call for GCC 7.
19321 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
19322 calls for GCC 8.
19323 (test_memcmp): Use memcpy instead of strncpy for calls not copying
19324 trailing NUL.
19325
ec72135e
JM
19326 * string/bug-strncat1.c: Include <libc-diag.h>.
19327 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
19328
363e4519 193292017-11-13 Claude Paroz <claude@2xlibre.net>
a259f5d3
CP
19330
19331 [BZ #22387]
19332 * localedata/locales/aa_DJ: Improved readibility by replacing
19333 <Uxxxx> sequences in the ASCII printable range by their ASCII
19334 character equivalents.
19335 * localedata/locales/aa_ER: Likewise.
19336 * localedata/locales/aa_ER@saaho: Likewise.
19337 * localedata/locales/aa_ET: Likewise.
19338 * localedata/locales/af_ZA: Likewise.
19339 * localedata/locales/agr_PE: Likewise.
19340 * localedata/locales/ak_GH: Likewise.
19341 * localedata/locales/am_ET: Likewise.
19342 * localedata/locales/anp_IN: Likewise.
19343 * localedata/locales/ar_AE: Likewise.
19344 * localedata/locales/ar_BH: Likewise.
19345 * localedata/locales/ar_DZ: Likewise.
19346 * localedata/locales/ar_EG: Likewise.
19347 * localedata/locales/ar_IN: Likewise.
19348 * localedata/locales/ar_IQ: Likewise.
19349 * localedata/locales/ar_JO: Likewise.
19350 * localedata/locales/ar_KW: Likewise.
19351 * localedata/locales/ar_LB: Likewise.
19352 * localedata/locales/ar_LY: Likewise.
19353 * localedata/locales/ar_MA: Likewise.
19354 * localedata/locales/ar_OM: Likewise.
19355 * localedata/locales/ar_QA: Likewise.
19356 * localedata/locales/ar_SA: Likewise.
19357 * localedata/locales/ar_SD: Likewise.
19358 * localedata/locales/ar_SS: Likewise.
19359 * localedata/locales/ar_SY: Likewise.
19360 * localedata/locales/ar_TN: Likewise.
19361 * localedata/locales/ar_YE: Likewise.
19362 * localedata/locales/as_IN: Likewise.
19363 * localedata/locales/ast_ES: Likewise.
19364 * localedata/locales/ayc_PE: Likewise.
19365 * localedata/locales/az_AZ: Likewise.
19366 * localedata/locales/az_IR: Likewise.
19367 * localedata/locales/be_BY: Likewise.
19368 * localedata/locales/be_BY@latin: Likewise.
19369 * localedata/locales/bem_ZM: Likewise.
19370 * localedata/locales/ber_DZ: Likewise.
19371 * localedata/locales/ber_MA: Likewise.
19372 * localedata/locales/bg_BG: Likewise.
19373 * localedata/locales/bhb_IN: Likewise.
19374 * localedata/locales/bho_IN: Likewise.
19375 * localedata/locales/bi_VU: Likewise.
19376 * localedata/locales/bn_BD: Likewise.
19377 * localedata/locales/bn_IN: Likewise.
19378 * localedata/locales/bo_CN: Likewise.
19379 * localedata/locales/bo_IN: Likewise.
19380 * localedata/locales/br_FR: Likewise.
19381 * localedata/locales/brx_IN: Likewise.
19382 * localedata/locales/bs_BA: Likewise.
19383 * localedata/locales/byn_ER: Likewise.
19384 * localedata/locales/ca_AD: Likewise.
19385 * localedata/locales/ca_ES: Likewise.
19386 * localedata/locales/ca_FR: Likewise.
19387 * localedata/locales/ca_IT: Likewise.
19388 * localedata/locales/ce_RU: Likewise.
19389 * localedata/locales/chr_US: Likewise.
19390 * localedata/locales/cmn_TW: Likewise.
19391 * localedata/locales/crh_UA: Likewise.
19392 * localedata/locales/cs_CZ: Likewise.
19393 * localedata/locales/csb_PL: Likewise.
19394 * localedata/locales/cv_RU: Likewise.
19395 * localedata/locales/cy_GB: Likewise.
19396 * localedata/locales/da_DK: Likewise.
19397 * localedata/locales/de_AT: Likewise.
19398 * localedata/locales/de_BE: Likewise.
19399 * localedata/locales/de_CH: Likewise.
19400 * localedata/locales/de_DE: Likewise.
19401 * localedata/locales/de_IT: Likewise.
19402 * localedata/locales/de_LI: Likewise.
19403 * localedata/locales/de_LU: Likewise.
19404 * localedata/locales/doi_IN: Likewise.
19405 * localedata/locales/dv_MV: Likewise.
19406 * localedata/locales/dz_BT: Likewise.
19407 * localedata/locales/el_CY: Likewise.
19408 * localedata/locales/el_GR: Likewise.
19409 * localedata/locales/en_AG: Likewise.
19410 * localedata/locales/en_AU: Likewise.
19411 * localedata/locales/en_BW: Likewise.
19412 * localedata/locales/en_CA: Likewise.
19413 * localedata/locales/en_DK: Likewise.
19414 * localedata/locales/en_GB: Likewise.
19415 * localedata/locales/en_HK: Likewise.
19416 * localedata/locales/en_IE: Likewise.
19417 * localedata/locales/en_IL: Likewise.
19418 * localedata/locales/en_IN: Likewise.
19419 * localedata/locales/en_NG: Likewise.
19420 * localedata/locales/en_NZ: Likewise.
19421 * localedata/locales/en_PH: Likewise.
19422 * localedata/locales/en_SG: Likewise.
19423 * localedata/locales/en_US: Likewise.
19424 * localedata/locales/en_ZA: Likewise.
19425 * localedata/locales/en_ZM: Likewise.
19426 * localedata/locales/en_ZW: Likewise.
19427 * localedata/locales/eo: Likewise.
19428 * localedata/locales/es_AR: Likewise.
19429 * localedata/locales/es_BO: Likewise.
19430 * localedata/locales/es_CL: Likewise.
19431 * localedata/locales/es_CO: Likewise.
19432 * localedata/locales/es_CR: Likewise.
19433 * localedata/locales/es_CU: Likewise.
19434 * localedata/locales/es_DO: Likewise.
19435 * localedata/locales/es_EC: Likewise.
19436 * localedata/locales/es_ES: Likewise.
19437 * localedata/locales/es_GT: Likewise.
19438 * localedata/locales/es_HN: Likewise.
19439 * localedata/locales/es_MX: Likewise.
19440 * localedata/locales/es_NI: Likewise.
19441 * localedata/locales/es_PA: Likewise.
19442 * localedata/locales/es_PE: Likewise.
19443 * localedata/locales/es_PR: Likewise.
19444 * localedata/locales/es_PY: Likewise.
19445 * localedata/locales/es_SV: Likewise.
19446 * localedata/locales/es_US: Likewise.
19447 * localedata/locales/es_UY: Likewise.
19448 * localedata/locales/es_VE: Likewise.
19449 * localedata/locales/et_EE: Likewise.
19450 * localedata/locales/eu_ES: Likewise.
19451 * localedata/locales/eu_ES@euro: Likewise.
19452 * localedata/locales/fa_IR: Likewise.
19453 * localedata/locales/ff_SN: Likewise.
19454 * localedata/locales/fi_FI: Likewise.
19455 * localedata/locales/fil_PH: Likewise.
19456 * localedata/locales/fo_FO: Likewise.
19457 * localedata/locales/fr_BE: Likewise.
19458 * localedata/locales/fr_CA: Likewise.
19459 * localedata/locales/fr_CH: Likewise.
19460 * localedata/locales/fr_FR: Likewise.
19461 * localedata/locales/fr_LU: Likewise.
19462 * localedata/locales/fur_IT: Likewise.
19463 * localedata/locales/fy_DE: Likewise.
19464 * localedata/locales/fy_NL: Likewise.
19465 * localedata/locales/ga_IE: Likewise.
19466 * localedata/locales/gd_GB: Likewise.
19467 * localedata/locales/gez_ER: Likewise.
19468 * localedata/locales/gez_ET: Likewise.
19469 * localedata/locales/gl_ES: Likewise.
19470 * localedata/locales/gu_IN: Likewise.
19471 * localedata/locales/gv_GB: Likewise.
19472 * localedata/locales/ha_NG: Likewise.
19473 * localedata/locales/hak_TW: Likewise.
19474 * localedata/locales/he_IL: Likewise.
19475 * localedata/locales/hi_IN: Likewise.
19476 * localedata/locales/hif_FJ: Likewise.
19477 * localedata/locales/hne_IN: Likewise.
19478 * localedata/locales/hr_HR: Likewise.
19479 * localedata/locales/hsb_DE: Likewise.
19480 * localedata/locales/ht_HT: Likewise.
19481 * localedata/locales/hu_HU: Likewise.
19482 * localedata/locales/hy_AM: Likewise.
19483 * localedata/locales/i18n: Likewise.
19484 * localedata/locales/ia_FR: Likewise.
19485 * localedata/locales/id_ID: Likewise.
19486 * localedata/locales/ig_NG: Likewise.
19487 * localedata/locales/ik_CA: Likewise.
19488 * localedata/locales/is_IS: Likewise.
19489 * localedata/locales/it_CH: Likewise.
19490 * localedata/locales/it_IT: Likewise.
19491 * localedata/locales/iu_CA: Likewise.
19492 * localedata/locales/ja_JP: Likewise.
19493 * localedata/locales/ka_GE: Likewise.
19494 * localedata/locales/kk_KZ: Likewise.
19495 * localedata/locales/kl_GL: Likewise.
19496 * localedata/locales/kn_IN: Likewise.
19497 * localedata/locales/ko_KR: Likewise.
19498 * localedata/locales/kok_IN: Likewise.
19499 * localedata/locales/ks_IN: Likewise.
19500 * localedata/locales/ks_IN@devanagari: Likewise.
19501 * localedata/locales/ku_TR: Likewise.
19502 * localedata/locales/kw_GB: Likewise.
19503 * localedata/locales/ky_KG: Likewise.
19504 * localedata/locales/lb_LU: Likewise.
19505 * localedata/locales/lg_UG: Likewise.
19506 * localedata/locales/li_BE: Likewise.
19507 * localedata/locales/li_NL: Likewise.
19508 * localedata/locales/lij_IT: Likewise.
19509 * localedata/locales/ln_CD: Likewise.
19510 * localedata/locales/lo_LA: Likewise.
19511 * localedata/locales/lt_LT: Likewise.
19512 * localedata/locales/lv_LV: Likewise.
19513 * localedata/locales/lzh_TW: Likewise.
19514 * localedata/locales/mag_IN: Likewise.
19515 * localedata/locales/mai_IN: Likewise.
19516 * localedata/locales/mg_MG: Likewise.
19517 * localedata/locales/mhr_RU: Likewise.
19518 * localedata/locales/mi_NZ: Likewise.
19519 * localedata/locales/mk_MK: Likewise.
19520 * localedata/locales/ml_IN: Likewise.
19521 * localedata/locales/mn_MN: Likewise.
19522 * localedata/locales/mni_IN: Likewise.
19523 * localedata/locales/mr_IN: Likewise.
19524 * localedata/locales/ms_MY: Likewise.
19525 * localedata/locales/mt_MT: Likewise.
19526 * localedata/locales/my_MM: Likewise.
19527 * localedata/locales/nan_TW: Likewise.
19528 * localedata/locales/nan_TW@latin: Likewise.
19529 * localedata/locales/nb_NO: Likewise.
19530 * localedata/locales/nds_DE: Likewise.
19531 * localedata/locales/nds_NL: Likewise.
19532 * localedata/locales/ne_NP: Likewise.
19533 * localedata/locales/nhn_MX: Likewise.
19534 * localedata/locales/niu_NU: Likewise.
19535 * localedata/locales/niu_NZ: Likewise.
19536 * localedata/locales/nl_AW: Likewise.
19537 * localedata/locales/nl_BE: Likewise.
19538 * localedata/locales/nl_NL: Likewise.
19539 * localedata/locales/nn_NO: Likewise.
19540 * localedata/locales/nr_ZA: Likewise.
19541 * localedata/locales/nso_ZA: Likewise.
19542 * localedata/locales/oc_FR: Likewise.
19543 * localedata/locales/om_ET: Likewise.
19544 * localedata/locales/om_KE: Likewise.
19545 * localedata/locales/or_IN: Likewise.
19546 * localedata/locales/os_RU: Likewise.
19547 * localedata/locales/pa_IN: Likewise.
19548 * localedata/locales/pa_PK: Likewise.
19549 * localedata/locales/pap_AW: Likewise.
19550 * localedata/locales/pap_CW: Likewise.
19551 * localedata/locales/pl_PL: Likewise.
19552 * localedata/locales/ps_AF: Likewise.
19553 * localedata/locales/pt_BR: Likewise.
19554 * localedata/locales/pt_PT: Likewise.
19555 * localedata/locales/quz_PE: Likewise.
19556 * localedata/locales/raj_IN: Likewise.
19557 * localedata/locales/ro_RO: Likewise.
19558 * localedata/locales/ru_RU: Likewise.
19559 * localedata/locales/ru_UA: Likewise.
19560 * localedata/locales/rw_RW: Likewise.
19561 * localedata/locales/sa_IN: Likewise.
19562 * localedata/locales/sat_IN: Likewise.
19563 * localedata/locales/sc_IT: Likewise.
19564 * localedata/locales/sd_IN: Likewise.
19565 * localedata/locales/sd_IN@devanagari: Likewise.
19566 * localedata/locales/se_NO: Likewise.
19567 * localedata/locales/sgs_LT: Likewise.
19568 * localedata/locales/shs_CA: Likewise.
19569 * localedata/locales/si_LK: Likewise.
19570 * localedata/locales/sid_ET: Likewise.
19571 * localedata/locales/sk_SK: Likewise.
19572 * localedata/locales/sl_SI: Likewise.
19573 * localedata/locales/sm_WS: Likewise.
19574 * localedata/locales/so_DJ: Likewise.
19575 * localedata/locales/so_ET: Likewise.
19576 * localedata/locales/so_KE: Likewise.
19577 * localedata/locales/so_SO: Likewise.
19578 * localedata/locales/sq_AL: Likewise.
19579 * localedata/locales/sq_MK: Likewise.
19580 * localedata/locales/sr_ME: Likewise.
19581 * localedata/locales/sr_RS: Likewise.
19582 * localedata/locales/sr_RS@latin: Likewise.
19583 * localedata/locales/ss_ZA: Likewise.
19584 * localedata/locales/st_ZA: Likewise.
19585 * localedata/locales/sv_FI: Likewise.
19586 * localedata/locales/sv_SE: Likewise.
19587 * localedata/locales/sw_KE: Likewise.
19588 * localedata/locales/sw_TZ: Likewise.
19589 * localedata/locales/szl_PL: Likewise.
19590 * localedata/locales/ta_IN: Likewise.
19591 * localedata/locales/ta_LK: Likewise.
19592 * localedata/locales/tcy_IN: Likewise.
19593 * localedata/locales/te_IN: Likewise.
19594 * localedata/locales/tg_TJ: Likewise.
19595 * localedata/locales/th_TH: Likewise.
19596 * localedata/locales/the_NP: Likewise.
19597 * localedata/locales/ti_ER: Likewise.
19598 * localedata/locales/ti_ET: Likewise.
19599 * localedata/locales/tig_ER: Likewise.
19600 * localedata/locales/tk_TM: Likewise.
19601 * localedata/locales/tl_PH: Likewise.
19602 * localedata/locales/tn_ZA: Likewise.
19603 * localedata/locales/to_TO: Likewise.
19604 * localedata/locales/tpi_PG: Likewise.
19605 * localedata/locales/tr_CY: Likewise.
19606 * localedata/locales/tr_TR: Likewise.
19607 * localedata/locales/ts_ZA: Likewise.
19608 * localedata/locales/tt_RU: Likewise.
19609 * localedata/locales/tt_RU@iqtelif: Likewise.
19610 * localedata/locales/ug_CN: Likewise.
19611 * localedata/locales/uk_UA: Likewise.
19612 * localedata/locales/unm_US: Likewise.
19613 * localedata/locales/ur_IN: Likewise.
19614 * localedata/locales/ur_PK: Likewise.
19615 * localedata/locales/uz_UZ: Likewise.
19616 * localedata/locales/uz_UZ@cyrillic: Likewise.
19617 * localedata/locales/ve_ZA: Likewise.
19618 * localedata/locales/vi_VN: Likewise.
19619 * localedata/locales/wa_BE: Likewise.
19620 * localedata/locales/wae_CH: Likewise.
19621 * localedata/locales/wal_ET: Likewise.
19622 * localedata/locales/wo_SN: Likewise.
19623 * localedata/locales/xh_ZA: Likewise.
19624 * localedata/locales/yi_US: Likewise.
19625 * localedata/locales/yo_NG: Likewise.
19626 * localedata/locales/yue_HK: Likewise.
19627 * localedata/locales/yuw_PG: Likewise.
19628 * localedata/locales/zh_CN: Likewise.
19629 * localedata/locales/zh_HK: Likewise.
19630 * localedata/locales/zh_SG: Likewise.
19631 * localedata/locales/zh_TW: Likewise.
19632 * localedata/locales/zu_ZA: Likewise.
19633
cae87e64
FW
196342017-11-13 Florian Weimer <fweimer@redhat.com>
19635
19636 * support/next_to_fault.h, support/next_to_fault.c: New files.
19637 * support/Makefile (libsupport-routines): Add next_to_fault.
19638 * resolv/tst-inet_pton.c (struct next_to_fault)
19639 (next_to_fault_allocate, next_to_fault_free): Remove.
19640 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
19641
4a306ef1
L
196422017-11-13 H.J. Lu <hongjiu.lu@intel.com>
19643
19644 * elf/dl-support.c: Include <dl-procruntime.c>.
19645 * include/link.h: Include <link_map.h>.
19646 * sysdeps/generic/dl-procruntime.c: New file.
19647 * sysdeps/generic/link_map.h: Likewise.
19648 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
19649 the writable ld.so namespace.
19650
e69897bf
PE
196512017-11-12 Paul Eggert <eggert@cs.ucla.edu>
19652
19653 timezone: pacify GCC -Wstringop-truncation
19654 Problem reported by Martin Sebor in:
19655 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
19656 * timezone/zic.c (writezone): Use memcpy, not strncpy.
19657
1ffe1ccb
FW
196582017-11-12 Florian Weimer <fweimer@redhat.com>
19659
eceed671
FW
19660 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
19661 tst-xreadlink.
19662 (tests): Add tst-xreadlink.
1ffe1ccb
FW
19663 * support/support.h (xstrndup): Declare.
19664 * support/xunistd.h (xunlink, xreadlink): Declare.
19665 * support/temp_file.h (support_create_temp_directory): Declare.
19666 * support/temp_file.c (support_create_temp_directory): New function.
19667 * support/support_chroot.c (support_chroot_create): Use it.
19668 * support/xreadlink.c: New file.
19669 * support/xstrndup.c: Likewise.
19670 * support/xunlink.c: Likewise.
19671 * support/tst-xreadlink.c: Likewise.
19672
456b40a9
JDA
196732017-11-11 John David Anglin <danglin@gcc.gnu.org>
19674
19675 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
19676
c0a25aa9
FW
196772017-11-11 Florian Weimer <fweimer@redhat.com>
19678
19679 [BZ #22409]
19680 [BZ #22412]
19681 * resolv/res_comp.c (printable_string, binary_hnok)
19682 (binary_leading_dash): New functions.
19683 (res_hnok): Reimplement using these functions and ns_name_pton.
19684 (res_ownok): Likewise.
19685 (res_mailok): Reimplement using printable_string, ns_name_pton and
19686 binary_hnok.
19687 (res_dnok): Reimplement using printable_string and ns_name_pton.
19688 * resolv/tst-res_hnok.c (tests): Add additional tests.
19689 (LETTERDIGITS, PRINTABLE): Define.
19690 (do_test): Adjust one_char results.
19691
9e0ad304
FW
196922017-11-11 Florian Weimer <fweimer@redhat.com>
19693
19694 [BZ #22413]
19695 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
19696 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
19697
e2a9fca8
FW
196982017-11-11 Florian Weimer <fweimer@redhat.com>
19699
19700 * resolv/tst-ns_name_pton.c: New file.
19701 * resolv/Makefile (tests): Add tst-ns_name_pton.
19702 (tst-ns_name_pton): Link against libresolv.
19703
5c1a6923
FW
197042017-11-11 Florian Weimer <fweimer@redhat.com>
19705
19706 * resolv/tst-res_hnok.c: New file.
19707 * resolv/Makefile (tests): Add tst-res_hnok.
19708 (tst-res_hnok): Link against libresolv.
19709
a19c0a1d
FW
197102017-11-11 Florian Weimer <fweimer@redhat.com>
19711
19712 * resolv/tst-resolv-network.c: Use test framework instead explicit
19713 main function.
19714
8cb5295d
L
197152017-11-09 H.J. Lu <hongjiu.lu@intel.com>
19716
19717 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
19718 <jmp_buf-macros.h>.
19719 [!_ISOMAC] (STR_HELPER): New.
19720 [!_ISOMAC] (STR): Likewise.
19721 [!_ISOMAC] (TEST_SIZE): Likewise.
19722 [!_ISOMAC] (TEST_ALIGN): Likewise.
19723 [!_ISOMAC] (TEST_OFFSET): Likewise.
19724 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
19725 field offsets of jmp_buf as well as sigjmp_buf.
19726 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
19727 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
19728 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
19729 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
19730 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
19731 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
19732 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
19733 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
19734 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
19735 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
19736 Likewise.
19737 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
19738 Likewise.
19739 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
19740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
19741 Likewise.
19742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
19743 Likewise.
19744 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
19745 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
19746 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
19747 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
19748 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
19749 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
19750 Likewise.
19751 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
19752 Likewise.
19753 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
19754 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
19755 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
19756
58c4a161
JM
197572017-11-07 Joseph Myers <joseph@codesourcery.com>
19758
3683b423
JM
19759 * include/float.h
19760 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19761 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
19762 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19763 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
19764 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19765 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
19766 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19767 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
19768 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19769 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
19770 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19771 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
19772 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19773 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
19774 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19775 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
19776 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19777 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
19778 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19779 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
19780 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19781 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
19782 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19783 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
19784 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19785 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
19786 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19787 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
19788 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19789 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
19790 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19791 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
19792 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19793 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
19794 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19795 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
19796 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19797 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
19798 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19799 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
19800 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19801 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
19802 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19803 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
19804 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19805 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
19806 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19807 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
19808 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19809 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
19810 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19811 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
19812 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19813 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
19814 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19815 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
19816 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19817 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
19818 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19819 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
19820 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19821 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
19822 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19823 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
19824 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19825 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
19826 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19827 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
19828 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19829 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
19830 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19831 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
19832 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19833 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
19834 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19835 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
19836 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19837 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
19838 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19839 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
19840 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19841 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
19842 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19843 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
19844 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19845 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
19846 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19847 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
19848
58c4a161
JM
19849 * stdlib/tst-strtod.h (F16): New macro.
19850 (F32): Likewise.
19851 (F64): Likewise.
19852 (F32X): Likewise.
19853 (F64X): Likewise.
19854 (F128X): Likewise.
19855 (IF_FLOAT16): Likewise.
19856 (IF_FLOAT32): Likewise.
19857 (IF_FLOAT64): Likewise.
19858 (IF_FLOAT32X): Likewise.
19859 (IF_FLOAT64X): Likewise.
19860 (IF_FLOAT128X): Likewise.
19861 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
19862 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
19863 (STRTOD_TEST_FOREACH): Likewise.
19864 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
19865 (CHOOSE_f64): Likewise.
19866 (CHOOSE_f32x): Likewise.
19867 (CHOOSE_f64x): Likewise.
19868
feda96a1
AS
198692017-11-07 Andreas Schwab <schwab@suse.de>
19870
19871 * nptl/Makefile (tests-internal): Remove tst-typesizes.
19872
1bd0cbb8
MF
198732017-11-07 Mike FABIAN <mfabian@redhat.com>
19874
19875 [BZ #22403]
19876 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
19877 to be escaped.
19878 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
19879 to be escaped.
19880
363e4519 198812017-11-07 Claude Paroz <claude@2xlibre.net>
d8301314
CP
19882
19883 [BZ #22403]
19884 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
19885 to be escaped.
19886 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
19887 to be escaped.
19888 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
19889 to be escaped.
19890
dff91cd4
AZ
198912017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19892
06be6368
AZ
19893 [BZ #22298]
19894 * nptl/allocatestack.c (allocate_stack): Check if
19895 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
19896 __PTHREAD_MUTEX_HAVE_PREV is defined.
19897 * nptl/descr.h (pthread): Likewise.
19898 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
19899 Likewise.
19900 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
19901 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
19902 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
19903 * sysdeps/nptl/bits/thread-shared-types.h
19904 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
19905 defines.
19906 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
19907 of __WORDSIZE for internal layout.
19908 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
19909 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
19910 instead of __WORDSIZE whether to use an union for __spins and __list
19911 fields.
19912 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
19913 case.
19914 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
19915 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
19916 defines.
19917 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
19918 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
19919 Likewise.
19920 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
19921 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
19922 Likewise.
19923 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
19924 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
19925 Likewise.
19926 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
19927 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
19928 Likewise.
19929 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
19930 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
19931 Likewise.
19932 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
19933 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
19934 Likewise.
19935 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
19936 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
19937 Likewise.
19938 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
19939 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
19940 Likewise.
19941 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
19942 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
19943 Likewise.
19944 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
19945 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
19946 Likewise.
19947 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
19948 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
19949 Likewise.
19950 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
19951 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
19952 Likewise.
19953 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
19954 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
19955 Likewise.
19956 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
19957 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
19958 Likewise.
19959
72b3c6ee
AZ
19960 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
19961 New macros.
19962 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
19963 checks for expected input type size.
19964 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
19965 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
19966 Likewise.
19967 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
19968 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
19969 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
19970 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
19971 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
19972 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
19973 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
19974 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
19975 superflous runtime assert check.
19976 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
19977 Likewise.
19978 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
19979 Likewise.
19980 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
19981 Likewise.
19982 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
19983 Likewise.
19984 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
19985 Likewise.
19986 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
19987 Likewise.
19988 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
19989 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
19990 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
19991 Likewise.
19992 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
19993 Likewise.
19994 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
19995 Likewise.
19996 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
19997 Likewise.
19998 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
19999 Likewise.
20000 * nptl/pthread_attr_setinheritsched.c
20001 (__pthread_attr_setinheritsched): Likewise.
20002 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
20003 Likewise.
20004 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
20005 Likewise.
20006 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
20007 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
20008 __old_pthread_attr_setstack): Likewise.
20009 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
20010 Likewise.
20011 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
20012 Likewise.
20013 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
20014 Likewise.
20015 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
20016 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
20017 Likewise.
20018 * nptl/tst-typesizes.c: Remove file.
20019
dff91cd4
AZ
20020 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
20021 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
20022 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
20023 checks for internal pthread_mutex_t offsets.
20024 * sysdeps/aarch64/nptl/pthread-offsets.h
20025 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
20026 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
20027 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
20028 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
20029 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
20030 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
20031 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
20032 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
20033 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
20034 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
20035 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
20036 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
20037 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
20038 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
20039 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
20040 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
20041 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
20042 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
20043
b7fc95f8
FW
200442017-11-07 Florian Weimer <fweimer@redhat.com>
20045
20046 * bits/mman-linux.h: Move ...
20047 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
20048 comment.
20049 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
20050 outdated comment.
20051
6b860364
RS
200522017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20053
20054 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
20055 Redefine STRNLEN as __strnlen_power8.
20056
802c1f16
AZ
200572017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20058
d83da3a4
AZ
20059 * signal/sighold.c (sighold): Optimize implementation.
20060
6a4235f1
AZ
20061 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
20062 __NR_rt_sigqueueinfo.
20063
8b0e795a
AZ
20064 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
20065 __sigtimedwait.
20066 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
20067 assume __NR_rt_sigtimedwait.
20068 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
20069 and add LIBC_CANCEL_HANDLED for cancellation marking.
20070 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
20071
a1a638dd
AZ
20072 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
20073 (sysdeps_routines): Add memchr_noneon.
20074 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
20075 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
20076 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
20077 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
20078 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
20079 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
20080 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
20081
802c1f16
AZ
20082 * sysdeps/arm/arm-ifunc.h: New file.
20083 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
20084 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
20085 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
20086 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
20087 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
20088 (__memcpy_neon): Avoid create hidden alias.
20089 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
20090 (__memcpy_vfp): Likewise.
20091 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
20092 (sysdep_routines): Add memcpy_arm.
20093 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
20094
abcb584d
L
200952017-11-06 H.J. Lu <hongjiu.lu@intel.com>
20096
20097 [BZ #22362]
20098 * Makerules (make-link-multidir): New.
20099 * config.make.in (multidir): New.
20100 * configure.ac (libc_cv_multidir): New. AC_SUBST.
20101 * configure: Regenerated.
20102 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
20103 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
20104 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
20105 New target.
20106
4e2dff67
JM
201072017-11-06 Joseph Myers <joseph@codesourcery.com>
20108
20109 [BZ #22402]
20110 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
20111 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
20112
a1c7cd3c
MF
201132017-11-04 Mike FABIAN <mfabian@redhat.com>
20114
20115 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
20116 to be escaped.
20117
b9af29c0
FW
201182017-11-04 Florian Weimer <fweimer@redhat.com>
20119
20120 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
20121
4ca70e1a
JM
201222017-11-03 Joseph Myers <joseph@codesourcery.com>
20123
20124 * math/math.h [__HAVE_DISTINCT_FLOAT16
20125 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
20126 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
20127 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
20128 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
20129 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
20130 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
20131 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
20132 (__MATH_TG_F32): New macro.
20133 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
20134 (__MATH_TG_F64X): Likewise.
20135 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
20136 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
20137
ba0e6668
DL
201382017-11-03 Dmitry V. Levin <ldv@altlinux.org>
20139
20140 * po/de.po: Update translations.
20141 * po/ru.po: Likewise.
20142
bc18a6d3
FW
201432017-11-03 Florian Weimer <fweimer@redhat.com>
20144
20145 * manual/filesys.texi (Hard Links): Document linkat.
20146
97255170
JM
201472017-11-03 Joseph Myers <joseph@codesourcery.com>
20148
86ec4865
JM
20149 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
20150 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
20151 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
20152 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
20153 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
20154 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
20155 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
20156 the same as _Float128.
20157 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
20158 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
20159 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
20160
97255170
JM
20161 * stdlib/stdlib.h
20162 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
20163 Declare.
20164 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
20165 Likewise.
20166 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
20167 Likewise.
20168 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20169 (strtof32x): Likewise.
20170 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20171 (strtof64x): Likewise.
20172 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20173 (strtof128x): Likewise.
20174 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20175 (strfromf16): Likewise.
20176 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20177 (strfromf32): Likewise.
20178 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20179 (strfromf64): Likewise.
20180 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20181 (strfromf32x): Likewise.
20182 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20183 (strfromf64x): Likewise.
20184 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20185 (strfromf128x): Likewise.
20186 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
20187 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
20188 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
20189 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
20190 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
20191 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
20192
6d58ce5e
RH
201932017-11-03 Richard Henderson <rth@twiddle.net>
20194
20195 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
20196
659ca267
SN
201972017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
20198
20199 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
20200
94d2f0af
SN
202012017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
20202
20203 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
20204 DT_TLSDESC_GOT initialization.
20205 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
20206 (_dl_tlsdesc_resolve_hold): Likewise.
20207 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
20208 (_dl_tlsdesc_resolve_hold): Likewise.
20209 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
20210 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
20211
28e1ddf3
SN
202122017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
20213
20214 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
20215
0ca3d1d6
SN
202162017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
20217
20218 [BZ #18572]
20219 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
20220 non-lazily for R_ARM_TLS_DESC.
20221
2c1d4e5f
SN
202222017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
20223
20224 [BZ #17078]
20225 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
20226 R_ARM_TLS_DESC case.
20227 (elf_machine_lazy_rel): Remove the prelink check.
20228
91c5a366
SN
202292017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
20230
20231 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
20232 DT_TLSDESC_GOT initialization.
20233 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
20234 (_dl_tlsdesc_resolve_rela): Likewise.
20235 (_dl_tlsdesc_resolve_hold): Likewise.
20236 (_dl_tlsdesc_undefweak): Remove ldar.
20237 (_dl_tlsdesc_dynamic): Likewise.
20238 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
20239 (_dl_tlsdesc_resolve_rela): Likewise.
20240 (_dl_tlsdesc_resolve_hold): Likewise.
20241 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
20242 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
20243 (_dl_tlsdesc_resolve_rela): Likewise.
20244 (_dl_tlsdesc_resolve_hold): Likewise.
20245
b7cf203b
SN
202462017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
20247
20248 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
20249 binding and initialization non-lazily for R_AARCH64_TLSDESC.
20250
0cc5b022
SN
202512017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
20252
20253 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
20254 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
20255
43ddff2e
JM
202562017-11-02 Joseph Myers <joseph@codesourcery.com>
20257
20258 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
20259 Declare.
20260 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
20261 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
20262 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
20263 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
20264 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
20265 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
20266 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
20267 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
20268 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
20269 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
20270 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
20271
5baac970
MF
202722017-11-02 Mike FABIAN <mfabian@redhat.com>
20273
20274 [BZ #22382]
20275 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
20276 * localedata/locales/tpi_PG: Add standard header.
20277
ef11081f
FW
202782017-11-02 Florian Weimer <fweimer@redhat.com>
20279
20280 test-errno-linux: quotactl can fail with EPERM in containers.
20281 * sysdeps/unix/sysv/linux/test-errno-linux.c
20282 (LIST, LIST_FORWARD): New macros.
20283 (check_error_in_list): New function.
20284 (test_wrp_rv): Accept list of permitted error codes.
20285 (test_wrp_rv2): Remove.
20286 (test_wrp): Call test_wrp_rv with list of error codes.
20287 (test_wrp2): Accept list of error codes.
20288 (do_test): Adjust. Allow EPERM for quotactl.
20289
d10b132b
FW
202902017-11-02 Florian Weimer <fweimer@redhat.com>
20291
20292 * stdio-common/bug16.c (do_test): Use array_length.
20293 * stdio-common/errlist.c (_sys_nerr): Likewise.
20294 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
20295 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
20296 * stdio-common/psiginfo.c (psiginfo): Use array_length.
20297 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
20298 (do_test): Use array_length.
20299 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
20300 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
20301 * stdio-common/tst-printf-round.c (do_test): Likewise.
20302 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
20303 (CHECK): Use array_length.
20304 * stdio-common/tstdiomisc.c (t3, F): Likewise.
20305 * stdio-common/tstscanf.c (main): Likewise.
20306 * stdio-common/vfprintf.c (process_string_arg): Likewise.
20307
c94a5688
FW
203082017-11-02 Florian Weimer <fweimer@redhat.com>
20309
20310 Add array_length and array_end macros.
20311 * include/array_length.h: New file.
20312
2fac6a6c
FW
203132017-11-02 Florian Weimer <fweimer@redhat.com>
20314
20315 [BZ #22332]
20316 * posix/tst-glob-tilde.c (do_noescape): New variable.
20317 (one_test): Process it.
20318 (do_test): Set do_noescape. Add unescaping test case.
20319
2f1b212e
JM
203202017-11-01 Joseph Myers <joseph@codesourcery.com>
20321
260fbd0a
JM
20322 * math/complex.h
20323 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
20324 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
20325 with appropriate macros defined and undefined.
20326 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
20327 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
20328 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
20329 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
20330 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
20331 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
20332 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
20333 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
20334 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
20335 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
20336
2f1b212e
JM
20337 * math/complex.h
20338 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
20339 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
20340 that for long double. Do not condition define and undefine of
20341 _Mdouble_complex_ on [__CFLOAT128].
20342
95b93c6e
L
203432017-11-01 H.J. Lu <hongjiu.lu@intel.com>
20344
20345 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
20346 of <sysdeps/generic/sysdep.h>.
20347 (ALIGNARG): Removed.
20348 (ASM_SIZE_DIRECTIVE): Likewise.
20349 (ENTRY): Likewise.
20350 (END): Likewise.
20351 (ENTRY_CHK): Likewise.
20352 (END_CHK): Likewise.
20353 (syscall_error): Likewise.
20354 (mcount): Likewise.
20355 (PSEUDO_END): Likewise.
20356 (L): Likewise.
20357 (atom_text_section): Likewise.
20358 * sysdeps/x86/sysdep.h: New file.
20359 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
20360 of <sysdeps/generic/sysdep.h>.
20361 (ALIGNARG): Removed.
20362 (ASM_SIZE_DIRECTIVE): Likewise.
20363 (ENTRY): Likewise.
20364 (END): Likewise.
20365 (ENTRY_CHK): Likewise.
20366 (END_CHK): Likewise.
20367 (syscall_error): Likewise.
20368 (mcount): Likewise.
20369 (PSEUDO_END): Likewise.
20370 (L): Likewise.
20371 (atom_text_section): Likewise.
20372
1bb36539
RL
203732017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
20374
20375 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
20376 category of LC_CTYPE set to "i18n:2012".
20377 * localedata/locales/i18n_ctype: Regenerate.
20378
067f5d97 203792017-10-31 Yury Norov <ynorov@caviumnetworks.com>
e8681faa 20380
87bbc4cf
YN
20381 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
20382 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
20383 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
20384 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
20385
e8681faa
YN
20386 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
20387 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
20388 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
20389 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
20390
540af6e2
JM
203912017-10-31 Joseph Myers <joseph@codesourcery.com>
20392
43e66283
JM
20393 * math/complex.h
20394 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
20395 New macro.
20396 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
20397 Likewise.
20398 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
20399 Likewise.
20400 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20401 (CMPLXF32X): Likewise.
20402 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20403 (CMPLXF64X): Likewise.
20404 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20405 (CMPLXF128X): Likewise.
20406
540af6e2
JM
20407 * math/math.h
20408 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
20409 (__MATH_EVAL_FMT2): Define to add 0.0f.
20410
58af72b4
AM
204112017-10-31 Alan Modra <amodra@gmail.com>
20412
20413 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
20414 include sysdep.h.
20415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
20416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
20417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
20418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
20419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
20420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
20421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
20422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
20423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
20424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
20425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
20426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
20427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
20428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
20429 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
20430 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
20431 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
20432 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
20433 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
20434 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
20435 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
20436 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
20437 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
20438 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
20439 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
20440 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
20441 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
20442 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
20443 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
20444 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
20445 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
20446 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
20447 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
20448 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
20449 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
20450 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
20451 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
20452 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
20453 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
20454 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
20455 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
20456 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
20457 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
20458 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
20459 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
20460 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
20461 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
20462 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
20463 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
20464 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
20465 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
20466 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
20467 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
20468 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
20469 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
20470 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
20471 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
20472 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
20473 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
20474 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
20475 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
20476 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
20477 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
20478 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
20479 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
20480 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
20481 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
20482 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
20483 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
20484
20485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
20486 include sysdep.h and math_ldbl_opt.h.
20487
20488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
20489 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
20490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
20491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
20492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
20493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
20494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
20495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
20496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
20497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
20498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
20499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
20500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
20501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
20502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
20503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
20504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
20505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
20506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
20507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
20508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
20509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
20510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
20511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
20512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
20513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
20514
112f30b3
AM
205152017-10-31 Alan Modra <amodra@gmail.com>
20516
20517 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
20518 string/strncase_l.c, not string/strncase.c.
20519 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
20520 (libc_hidden_def): Redefine.
20521
e9e7eced
AM
205222017-10-31 Alan Modra <amodra@gmail.com>
20523
20524 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
20525 (__STRCMP, STRCMP, __strcasecmp_l): Define.
20526 (__strcasecmp): Don't define.
20527
f7b465cf
AM
205282017-10-31 Alan Modra <amodra@gmail.com>
20529
20530 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
20531 IS_IN (libc).
20532 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
20533 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
20534 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
20535
d46b09f9
AM
205362017-10-31 Alan Modra <amodra@gmail.com>
20537
20538 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
20539 USE_AS_STPNCPY.
20540
e9b8e194
AM
205412017-10-31 Alan Modra <amodra@gmail.com>
20542
20543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
20544 Redefine only when SHARED.
20545
eda162dd
JM
205462017-10-30 Joseph Myers <joseph@codesourcery.com>
20547
b61afe8c
JM
20548 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
20549 Include <bits/math-finite.h> with appropriate macros defined and
20550 undefined.
20551 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
20552 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
20553 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
20554 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
20555 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
20556
eda162dd
JM
20557 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
20558 [!_Mlong_double_] (_Mlong_double_): Likewise.
20559 [!_Mfloat16_] (_Mfloat16_): Likewise.
20560 [!_Mfloat32_] (_Mfloat32_): Likewise.
20561 [!_Mfloat64_] (_Mfloat64_): Likewise.
20562 [!_Mfloat128_] (_Mfloat128_): Likewise.
20563 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
20564 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
20565 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
20566 (_Mdouble_): Define without indirection through those macros.
20567 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
20568 [!_Mfloat128_] (_Mfloat128_): Likewise.
20569 [_Mlong_double_] (_Mlong_double_): Likewise.
20570 (_Mdouble_): Define without indirection through those macros.
20571 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
20572 not add -D_Mlong_double_=double.
20573 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
20574 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
20575
4ad5106e
L
205762017-10-30 H.J. Lu <hongjiu.lu@intel.com>
20577
20578 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
20579
fe326df7
L
205802017-10-30 H.J. Lu <hongjiu.lu@intel.com>
20581
20582 * sysdeps/x86/libc-start.c: Reformat.
20583
c5cc4514
L
205842017-10-30 H.J. Lu <hongjiu.lu@intel.com>
20585
20586 [BZ #22353]
20587 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
20588 (1): Renamed to ...
20589 (L(Src0)): This.
20590 (L(Src1)): New.
20591 (L(Src2)): Likewise.
20592 (L(1)): Renamed to ...
20593 (L(Src3)): This.
20594
ce12269f
JM
205952017-10-30 Joseph Myers <joseph@codesourcery.com>
20596
20597 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
20598 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
20599 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
20600 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
20601 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
20602 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
20603 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
20604 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
20605 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
20606 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
20607 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
20608 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
20609 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
20610 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
20611 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
20612 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
20613 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
20614 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
20615 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
20616 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
20617 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
20618 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
20619 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
20620 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
20621 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
20622 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
20623 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
20624 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
20625 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
20626 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
20627 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
20628 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
20629 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
20630 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
20631 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
20632 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
20633 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
20634 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
20635 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
20636 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
20637 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
20638 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
20639 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
20640 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
20641 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
20642 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
20643 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
20644 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
20645 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
20646 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
20647 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
20648 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
20649 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
20650 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
20651 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
20652 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
20653 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
20654 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
20655 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
20656 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
20657 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
20658 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
20659 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
20660 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
20661 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
20662 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
20663
4484b9e2
FW
206642017-10-30 Florian Weimer <fweimer@redhat.com>
20665
20666 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
20667 always defined.
20668 * io/tst-mkdirat.c (do_test): Likewise.
20669 * io/tst-mkfifoat.c (do_test): Likewise.
20670 * io/tst-mknodat.c (do_test): Likewise.
20671 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
20672 * locale/programs/locale.c (select_dirs): Likewise.
20673 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
20674 * posix/bug-glob2.c (my_readdir): Likewise.
20675 * posix/tst-dir.c (main): Likewise.
20676 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
20677 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
20678
68fe16dd
FW
206792017-10-30 Florian Weimer <fweimer@redhat.com>
20680
20681 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
20682 just __USE_GNU.
20683
dadf23f0
FW
206842017-10-30 Florian Weimer <fweimer@redhat.com>
20685
20686 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
20687 Convert to support/test-driver.c.
20688 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
20689 New macro parameters.
20690 (PRINTF): Remove macro. Use test_verbose conditionals instead.
20691 * posix/tst-gnuglob.c: New file.
20692 * posix/tst-gnuglob64.c: Likewise.
20693 * posix/Makefile (tests): Add tst-gnuglob64.
20694
363e4519 206952017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
fbcecc08
MF
20696
20697 [BZ #19485]
20698 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
20699 and use a better translation for March in “mon”.
20700 * localedata/locales/csb_PL: Use more ASCII to improve the
20701 readability of the source.
20702
b110af82
MF
207032017-10-30 Mike FABIAN <mfabian@redhat.com>
20704
20705 [BZ #13953]
20706 * localedata/locales/km_KH: Use ASCII as much
20707 as possible for better readability of the source and
20708 remove useless comments.
20709 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
20710 was commented out and apparently wrong anyway because it was
20711 using Lao characters. If Buddhist era should be used
20712 for km_KH, a native speaker should write the correct formaat
20713 for Khmer.
20714 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
20715 (According to CLDR, the first weekday for Cambodia is Sunday).
20716 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
20717 (These were using Lao characters which must be wrong. If we get
20718 the correct data from a native speaker, we could add it back, until
20719 then it is better not to have name_mr and name_mrs at all than
20720 having it wrong).
20721
f301e533
RL
207222017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
20723
20724 * locale/loadlocale.c: Correct size of
20725 _nl_value_type_LC_<category> arrays.
20726
7e9d7073
JM
207272017-10-27 Joseph Myers <joseph@codesourcery.com>
20728
20729 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
20730 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
20731 with appropriate macros defined and undefined.
20732 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
20733 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
20734 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
20735 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
20736 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
20737
63d3b468
L
207382017-10-27 H.J. Lu <hongjiu.lu@intel.com>
20739
20740 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
20741 "-O2 -march=i586".
20742
a4cc02c7
MF
207432017-10-27 Mike FABIAN <mfabian@redhat.com>
20744
20745 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
20746 with lowercase letters to make it agree with CLDR.
20747
1e5971ec
MF
207482017-10-27 Mike FABIAN <mfabian@redhat.com>
20749
20750 [BZ #15260]
20751 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
20752 first letters of yesstr and nostr in yesexpr and noexpr,
20753 not for the full words.
20754 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
20755 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
20756 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
20757 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
20758 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
20759 first letters of yesstr and nostr in yesexpr and noexpr,
20760 until now only English was matched in yesexpr and noexpr.
20761 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
20762 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
20763 fil but not for tl. As tl and fil are very similar, using fil
20764 is probably better than using English.
20765
363e4519 207662017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
bc5fc7de
MF
20767
20768 [BZ #21706]
20769 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
20770 in yesstr and nostr.
20771
5d220788
JM
207722017-10-26 Joseph Myers <joseph@codesourcery.com>
20773
ecc7da5b
JM
20774 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
20775 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
20776 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
20777 Likewise.
20778 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
20779 Likewise.
20780 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
20781 Likewise.
20782 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
20783 Likewise.
20784 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20785 (SNANF128X): Likewise.
20786
5d220788
JM
20787 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
20788 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
20789 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20790 (HUGE_VAL_F32): Likewise.
20791 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20792 (HUGE_VAL_F64): Likewise.
20793 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20794 (HUGE_VAL_F32X): Likewise.
20795 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20796 (HUGE_VAL_F64X): Likewise.
20797 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20798 (HUGE_VAL_F128X): Likewise.
20799
363e4519 208002017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
67ad7163
TV
20801
20802 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
20803 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
20804 for the br_FR locale.
20805
363e4519 208062017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
408dff7e
TV
20807
20808 [BZ #21706]
20809 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
20810
337ff3c5
CD
208112017-10-25 Carlos O'Donell <carlos@redhat.com>
20812
02eec681
CD
20813 * locale/programs/record-status.h: Define globals, and function
20814 prototypes. Move function bodies...
20815 * locale/programs/record-status.c: ... to here. New file.
20816 * iconv/Makefile (iconv_prog-modules): Add record-status.
20817 * locale/Makefile (lib-modules): Likewise.
20818 * iconv/iconv_prog.c: Remove verbose.
20819 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
20820 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
20821 record a warning about ASCII compatibility.
20822 * locale/programs/ld-monetary.c (monetary_finish): If
20823 warn_int_curr_symbol is true then record a warning about the symbol
20824 not being in our ISO 4217 list.
20825 * locale/programs/locale.c: Include record-status.h. Remove verbose.
20826 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
20827 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
20828 (OPT_NO_WARN): Define.
20829 (OPT_WARN): Define.
20830 (options): Add entry for --no-warnings, and --warnings.
20831 (set_warnings): New function to enable/disable warnings.
20832 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
20833 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
20834 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
20835 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
20836 Pass flags to generate_locale.
20837 (generate_locale): Accept new flag argument and pass it to localedef
20838 invocation.
20839 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
20840 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
20841
56fa555a
CD
20842 * localedata/Makefile (test-input-data): Use full file name.
20843 * localedata/da_DK.in: Rename to...
20844 * localedata/da_DK.ISO-8859-1.in: ...this.
20845 * localedata/de_DE.in: Rename to...
20846 * localedata/de_DE.ISO-8859-1.in: ...this.
20847 * localedata/en_US.in: Rename to...
20848 * localedata/en_US.ISO-8859-1.in: ...this.
20849 * localedata/fr_FR.in: Rename to...
20850 * localedata/fr_FR.UTF-8.in: ... this.
20851 * localedata/hr_HR.in: Rename to...
20852 * localedata/hr_HR.ISO-8859-2.in: ...this.
20853 * localedata/hu_HU.in: Rename to...
20854 * localedata/hu_HU.UTF-8.in: ...this.
20855 * localedata/si_LK.in: Rename to...
20856 * localedata/si_LK.UTF-8.in: ...this.
20857 * localedata/sv_SE.in: Rename to...
20858 * localedata/sv_SE.ISO-8859-1.in: ...this.
20859 * localedata/tr_TR.in: Rename to...
20860 * localedata/tr_TR.UTF-8.in: ...this.
20861 * localedata/uk_UA.in: Rename to...
20862 * localedata/uk_UA.UTF-8.in: ...this.
20863 * localedata/sort-test.sh: Test file is locale name with the
20864 suffix.
20865
337ff3c5
CD
20866 * localedata/unicode-gen/Makefile (check_i18n): Rename to
20867 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
20868 file.
20869 * localedata/locales/i18n_ctype: Regenerate.
20870 * localedata/locales/tr_TR: Likewise.
20871 * localedata/locales/translit_circle: Likewise.
20872 * localedata/locales/translit_cjk_compat: Likewise.
20873 * localedata/locales/translit_combining: Likewise.
20874 * localedata/locales/translit_compat: Likewise.
20875 * localedata/locales/translit_font: Likewise.
20876 * localedata/locales/translit_fraction: Likewise.
20877
63da5cd4
RS
208782017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20879
20880 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
20881 lxvd2x/stxvd2x with lvx/stvx.
20882 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
20883
a122dbfb
L
208842017-10-25 H.J. Lu <hongjiu.lu@intel.com>
20885
20886 * include/alloc_buffer.h: Replace "if if " with "if " in
20887 comments.
20888 * sysdeps/mips/memcpy.S: Likkewise.
20889 * sysdeps/mips/memset.S: Likewise.
20890 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
20891 Likewise.
20892 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
20893 Likewise.
20894 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
20895 Likewise.
20896
9be7530c
MF
208972017-10-25 Mike FABIAN <mfabian@redhat.com>
20898
20899 [BZ #15261]
20900 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
20901 yesexpr and noexpr.
20902 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
20903 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
20904 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
20905 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
20906 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
20907 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
20908 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
20909
6ccbf6ff
MF
209102017-10-25 Mike FABIAN <mfabian@redhat.com>
20911
20912 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
20913 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
20914 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
20915 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
20916 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
20917 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
20918 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
20919 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
20920 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
20921 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
20922 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
20923 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
20924
58b1a7ea
MF
209252017-10-25 Mike FABIAN <mfabian@redhat.com>
20926
20927 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
20928 as possible for better readability of the source.
20929 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
20930 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
20931 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
20932 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
20933 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
20934 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
20935 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
20936 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
20937 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
20938 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
20939 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
20940 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
20941 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
20942 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
20943 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
20944 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
20945 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
20946 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
20947 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
20948 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
20949 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
20950 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
20951 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
20952 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
20953 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
20954 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
20955 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
20956 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
20957 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
20958 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
20959 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
20960 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
20961 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
20962 * localedata/locales/en_US (LC_MESSAGES): Likewise.
20963 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
20964 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
20965 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
20966 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
20967 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
20968 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
20969 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
20970 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
20971 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
20972 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
20973 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
20974 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
20975 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
20976 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
20977 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
20978 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
20979 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
20980 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
20981 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
20982 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
20983 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
20984 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
20985 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
20986 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
20987 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
20988 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
20989 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
20990 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
20991 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
20992 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
20993 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
20994 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
20995 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
20996 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
20997 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
20998 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
20999 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
21000 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
21001 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
21002 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
21003 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
21004 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
21005 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
21006 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
21007 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
21008 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
21009 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
21010 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
21011 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
21012 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
21013 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
21014 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
21015 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
21016 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
21017 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
21018 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
21019 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
21020 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
21021 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
21022 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
21023 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
21024 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
21025 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
21026 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
21027 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
21028 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
21029 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
21030 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
21031 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
21032 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
21033 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
21034 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
21035 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
21036 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
21037 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
21038 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
21039 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
21040 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
21041 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
21042 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
21043 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
21044 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
21045 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
21046 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
21047 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
21048 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
21049 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
21050 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
21051 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
21052 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
21053 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
21054 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
21055 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
21056 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
21057 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
21058 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
21059 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
21060 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
21061 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
21062 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
21063 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
21064 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
21065 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
21066 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
21067 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
21068 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
21069 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
21070 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
21071 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
21072 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
21073 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
21074 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
21075 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
21076 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
21077 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
21078 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
21079 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
21080 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
21081 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
21082 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
21083 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
21084 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
21085 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
21086 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
21087 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
21088 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
21089 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
21090 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
21091 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
21092 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
21093 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
21094 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
21095 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
21096 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
21097 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
21098 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
21099 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
21100 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
21101 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
21102 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
21103
17e78edb
MF
211042017-10-25 Mike FABIAN <mfabian@redhat.com>
21105
21106 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
21107 (Use first letters of yesstr and nostr correctly instead of using
21108 full words).
21109
74e7284f
MF
211102017-10-25 Mike FABIAN <mfabian@redhat.com>
21111
21112 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
21113 (Use first letters of yesstr and nostr correctly).
21114
b41a0ff1
MF
211152017-10-25 Mike FABIAN <mfabian@redhat.com>
21116
21117 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
21118 also check for the first characters of yesstr and nostr.
21119 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
21120 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
21121
d971f380
MF
211222017-10-25 Mike FABIAN <mfabian@redhat.com>
21123
21124 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
21125 also check for Chinese characters.
21126
effc9e1d
MF
211272017-10-25 Mike FABIAN <mfabian@redhat.com>
21128
21129 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
21130 match also for the contents of yesstr and nostr. As the first letter
21131 of yesstr and nostr is equal, checking only for the first letter
21132 is not enough.
21133
10320881
MF
211342017-10-25 Mike FABIAN <mfabian@redhat.com>
21135
21136 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
21137 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
21138
d8682a15
MF
211392017-10-25 Mike FABIAN <mfabian@redhat.com>
21140
21141 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
21142 of main contributor.
21143
1bfb86ae
MF
211442017-10-25 Mike FABIAN <mfabian@redhat.com>
21145
21146 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
21147 instead of using English.
21148
da33d60b
MF
211492017-10-25 Mike FABIAN <mfabian@redhat.com>
21150
21151 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
21152 by including the first letters of nostr and yesexpr in the regexp.
21153 Also make it more readable by using ASCII where possible.
21154
725bbb3e
MF
211552017-10-25 Mike FABIAN <mfabian@redhat.com>
21156
21157 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
21158 the first letter of nostr in the regexp. It agrees with CLDR now.
21159 Also make it more readable by using ASCII where possible.
21160
fe043d8a
MF
211612017-10-24 Mike FABIAN <mfabian@redhat.com>
21162
21163 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
21164 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
21165 these strings contain a U+17D6 (which somewhat looks like a colon)
21166 instead of a real colon to separate the full words for “yes”
21167 and “no” from the single letter responses.
21168
360a8df3
MF
211692017-10-24 Mike FABIAN <mfabian@redhat.com>
21170
21171 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
21172 it agree with CLDR (include the first letter of yesstr).
21173 Also make it more readable by using ASCII where possible.
21174
bab7b6b0
MF
211752017-10-24 Mike FABIAN <mfabian@redhat.com>
21176
21177 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
21178 and improve yesexpr and noexpr. The yesstr and nostr apparently
21179 came from CLDR. And CLDR has a bug there: these strings contain
21180 a U+0903 (which looks like a colon) instead of a real colon
21181 to separate the full words for “yes” and “no” from the single
21182 letter responses.
21183
3e79f758
MF
211842017-10-24 Mike FABIAN <mfabian@redhat.com>
21185
21186 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
21187 letters of the full yesstr and nostr in yesexpr and noexpr.
21188
4960c879
MF
211892017-10-24 Mike FABIAN <mfabian@redhat.com>
21190
21191 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
21192 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
21193 * localedata/locales/an_ES: Make source more readable by using ASCII
21194 where possible.
21195
b06a054f
MF
211962017-10-24 Mike FABIAN <mfabian@redhat.com>
21197
21198 [BZ #20952]
21199 * localedata/locales/yuw_PG: New file.
21200 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
21201 * locale/iso-639.def: Add Yau (Uruwa).
21202
905a7725
WD
212032017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
21204
21205 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
21206
3f6bb8a3
WD
212072017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
21208
21209 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
21210 (__libc_realloc): Likewise.
21211 (_mid_memalign): Likewise.
21212 (__libc_calloc): Likewise.
21213
1d479c8c
MF
212142017-10-23 Mike FABIAN <mfabian@redhat.com>
21215
21216 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
21217 by adding the generic +1 and -0 as in all other locales.
21218 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
21219 day names and make it more readable by using ASCII where possible.
21220
91c3985c
JM
212212017-10-24 Joseph Myers <joseph@codesourcery.com>
21222
21223 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
21224 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
21225
aa95a241
AZ
212262017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21227
21228 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
21229 WNOHANG in waitpid call.
21230
db9bab09
SP
212312017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
21232
a2e0a7f1
SP
21233 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
21234 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
21235
db9bab09
SP
21236 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
21237 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
21238 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
21239 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
21240 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
21241 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
21242 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
21243 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
21244 variables.
21245
5062680c
MC
212462017-10-23 Michael Collison <michael.collison@arm.com>
21247
21248 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
21249 with __builtin_sqrt.
21250 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
21251 with __builtin_sqrtf.
21252 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
21253 with __builtin_ceil.
21254 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
21255 with __builtin_ceilf.
21256 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
21257 with __builtin_floor.
21258 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
21259 with __builtin_floorf.
21260 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
21261 with __builtin_fma.
21262 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
21263 with __builtin_fmaf.
21264 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
21265 with __builtin_fmax.
21266 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
21267 with __builtin_fmaxf.
21268 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
21269 with __builtin_fmin.
21270 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
21271 with __builtin_fminf.
21272 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
21273 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
21274 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
21275 with builtin_rint and conversion to int.
21276 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
21277 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
21278 with builtin_llround.
21279 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
21280 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
21281 with builtin_rint and conversion to long int.
21282 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
21283 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
21284 with builtin_lround.
21285 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
21286 with builtin_lroundf.
21287 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
21288 statements with __builtin_nearbyint.
21289 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
21290 statements with __builtin_nearbyintf.
21291 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
21292 with __builtin_rint.
21293 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
21294 with __builtin_rintf.
21295 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
21296 with __builtin_round.
21297 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
21298 with __builtin_roundf.
21299 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
21300 with __builtin_trunc.
21301 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
21302 with __builtin_truncf.
be080b6c
SN
21303 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
21304 and s_l[l]round[f].c too.
5062680c 21305
174935af
AM
213062017-10-23 Alan Modra <amodra@gmail.com>
21307
21308 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
21309 Adjust stack after restoring regs. Add missing LR cfi_restore.
21310
750a0e49
AM
213112017-10-23 Alan Modra <amodra@gmail.com>
21312
21313 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
21314 Move LR save and frame setup/teardown and LR restore to
21315 immediately around memset call. Provide cfi.
21316
5313581c
L
213172017-10-22 H.J. Lu <hongjiu.lu@intel.com>
21318
21319 * sysdeps/i386/fpu/e_powf.S: Removed.
21320 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
21321 * sysdeps/i386/fpu/w_powf.c: Likewise.
21322 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
21323 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21324 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
21325 Add e_powf-sse2.
21326 (CFLAGS-e_powf-sse2.c): New.
21327 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
21328 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
21329
6089a3ee
L
213302017-10-22 H.J. Lu <hongjiu.lu@intel.com>
21331
21332 * sysdeps/i386/fpu/e_log2f.S: Removed.
21333 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
21334 * sysdeps/i386/fpu/w_log2f.c: Likewise.
21335 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
21336 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21337 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
21338 Add e_log2f-sse2.
21339 (CFLAGS-e_log2f-sse2.c): New.
21340 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
21341 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
21342
80bb5935
L
213432017-10-22 H.J. Lu <hongjiu.lu@intel.com>
21344
21345 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21346 Add e_powf-fma.
21347 (CFLAGS-e_powf-fma.c): New.
21348 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
21349 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
21350
5c7adbd8
L
213512017-10-22 H.J. Lu <hongjiu.lu@intel.com>
21352
21353 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21354 Add e_log2f-fma.
21355 (CFLAGS-e_log2f-fma.c): New.
21356 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
21357 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
21358
0ccc7153
L
213592017-10-22 H.J. Lu <hongjiu.lu@intel.com>
21360
21361 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21362 Add e_logf-fma.
21363 (CFLAGS-e_logf-fma.c): New.
21364 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
21365 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
21366
fe596486
L
213672017-10-22 H.J. Lu <hongjiu.lu@intel.com>
21368
21369 * sysdeps/i386/fpu/e_logf.S: Removed.
21370 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
21371 * sysdeps/i386/fpu/w_logf.c: Likewise.
21372 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
21373 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
21374 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21375 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
21376 Add e_logf-sse2.
21377 (CFLAGS-e_logf-sse2.c): New.
21378 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
21379 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
21380
7eda65f6
L
213812017-10-22 H.J. Lu <hongjiu.lu@intel.com>
21382
21383 * sysdeps/i386/fpu/e_exp2f.S: Removed.
21384 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
21385 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
21386 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21387 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
21388 Add e_exp2f-sse2.
21389 (CFLAGS-e_exp2f-sse2.c): New.
21390 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
21391 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
21392
5d15c969
L
213932017-10-22 H.J. Lu <hongjiu.lu@intel.com>
21394
21395 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21396 Add e_exp2f-fma.
21397 (CFLAGS-e_exp2f-fma.c): New.
21398 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
21399 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
21400
b2f6137e
L
214012017-10-22 H.J. Lu <hongjiu.lu@intel.com>
21402
21403 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
21404 * sysdeps/i386/fpu/e_expf.S: Likewise.
21405 * sysdeps/i386/fpu/math_errf.c: Likewise.
21406 * sysdeps/i386/fpu/w_expf.c: Likewise.
21407 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
21408 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
21409 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
21410 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
21411 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21412 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
21413 Remove e_expf-ia32.
21414 (CFLAGS-e_expf-sse2.c): New.
21415 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
21416 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
21417
e1f59beb
L
214182017-10-22 H.J. Lu <hongjiu.lu@intel.com>
21419
21420 * sysdeps/x86_64/fpu/e_expf.S: Removed.
21421 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
21422 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
21423 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
21424 e_expf.c.
21425 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
21426 New.
21427 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
21428 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
21429 Renamed to ...
21430 (__redirect_expf): This.
21431 (SYMBOL_NAME): Changed to expf.
21432 (__ieee754_expf): Renamed to ...
21433 (__expf): This.
21434 (__GI___expf): This.
21435 (__ieee754_expf): Add strong_alias.
21436 (__expf_finite): Likewise.
21437 (__expf): New.
21438 Include <sysdeps/ieee754/flt-32/e_expf.c>.
21439
363e4519 214402017-10-22 Paul Eggert <eggert@cs.ucla.edu>
a159b53f
PE
21441
21442 [BZ #22332]
21443 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
21444 unescaping.
21445
e80fc1fc
FW
214462017-10-21 Florian Weimer <fweimer@redhat.com>
21447
21448 * posix/Makefile (tests): Add tst-glob-tilde.
21449 (tests-special): Add tst-glob-tilde-mem.out
21450 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
21451 (tst-glob-tilde-mem.out): Add mtrace check.
21452 * posix/tst-glob-tilde.c: New file.
21453
797ba44b
JM
214542017-10-20 Joseph Myers <joseph@codesourcery.com>
21455
21456 * bits/floatn-common.h: New file.
21457 * math/Makefile (headers): Add bits/floatn-common.h.
21458 * bits/floatn.h: Include <bits/floatn-common.h>.
21459 * sysdeps/ia64/bits/floatn.h: Likewise.
21460 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
21461 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
21462 * sysdeps/powerpc/bits/floatn.h: Likewise.
21463 * sysdeps/x86/bits/floatn.h: Likewise.
21464
fe05e1cb
AZ
214652017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21466
8f6f5362
AZ
21467 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
21468 indicates whether compiler emits an warning for alias for
21469 functions with incompatible types.
21470
fe05e1cb
AZ
21471 [BZ #22273]
21472 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
21473 the auxiliary process is terminated by a signal before calling _exit
21474 or execve.
21475
b52b0d79
L
214762017-10-20 H.J. Lu <hongjiu.lu@intel.com>
21477
21478 [BZ #21265]
21479 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
21480 New.
21481 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
21482 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
21483 and bit_arch_XSAVEC_Usable if needed.
21484 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
21485 and bit_arch_Use_dl_runtime_resolve_opt.
21486 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
21487 Removed.
21488 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
21489 (bit_arch_Prefer_No_AVX512): Updated.
21490 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
21491 (bit_arch_XSAVEC_Usable): New.
21492 (STATE_SAVE_OFFSET): Likewise.
21493 (STATE_SAVE_MASK): Likewise.
21494 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
21495 (cpu_features): Add xsave_state_size and xsave_state_full_size.
21496 (index_arch_Use_dl_runtime_resolve_opt): Removed.
21497 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
21498 (index_arch_XSAVEC_Usable): New.
21499 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
21500 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
21501 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
21502 is enabled.
21503 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
21504 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
21505 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
21506 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
21507 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
21508 _dl_runtime_resolve_xsavec.
21509 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
21510 Removed.
21511 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
21512 instead of VEC_SIZE.
21513 (REGISTER_SAVE_BND0): Removed.
21514 (REGISTER_SAVE_BND1): Likewise.
21515 (REGISTER_SAVE_BND3): Likewise.
21516 (REGISTER_SAVE_RAX): Always defined to 0.
21517 (VMOV): Removed.
21518 (_dl_runtime_resolve_avx): Likewise.
21519 (_dl_runtime_resolve_avx_slow): Likewise.
21520 (_dl_runtime_resolve_avx_opt): Likewise.
21521 (_dl_runtime_resolve_avx512): Likewise.
21522 (_dl_runtime_resolve_avx512_opt): Likewise.
21523 (_dl_runtime_resolve_sse): Likewise.
21524 (_dl_runtime_resolve_sse_vex): Likewise.
21525 (USE_FXSAVE): New.
21526 (_dl_runtime_resolve_fxsave): Likewise.
21527 (USE_XSAVE): Likewise.
21528 (_dl_runtime_resolve_xsave): Likewise.
21529 (USE_XSAVEC): Likewise.
21530 (_dl_runtime_resolve_xsavec): Likewise.
21531 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
21532 Removed.
21533 (_dl_runtime_resolve_avx512_opt): Likewise.
21534 (_dl_runtime_resolve_avx): Likewise.
21535 (_dl_runtime_resolve_avx_opt): Likewise.
21536 (_dl_runtime_resolve_sse): Likewise.
21537 (_dl_runtime_resolve_sse_vex): Likewise.
21538 (_dl_runtime_resolve_fxsave): New.
21539 (_dl_runtime_resolve_xsave): Likewise.
21540 (_dl_runtime_resolve_xsavec): Likewise.
21541
363e4519 215422017-10-20 Paul Eggert <eggert@cs.ucla.edu>
c369d66e
PE
21543
21544 [BZ #22320]
21545 CVE-2017-15670
21546 * posix/glob.c (__glob): Fix one-byte overflow.
21547
6d43de4b
WD
215482017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
21549
21550 * malloc/malloc.c (sysdep-cancel.h): Add include.
21551
a15d53e2
WD
215522017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
21553
21554 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
21555
b9a558e7
WH
215562017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
21557
21558 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
21559 (tests): Remove $(objpfx)ga_test depdendency.
21560 * resolv/ga_test.c: Remove file.
21561
b6b08b8e
MF
215622017-10-20 Mike FABIAN <mfabian@redhat.com>
21563
21564 [BZ #18812]
21565 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
21566 * localedata/locales/kab_DZ: New file.
21567
9ba7e810
L
215682017-10-20 H.J. Lu <hongjiu.lu@intel.com>
21569
21570 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
21571 _dl_relocate_static_pie instead of _dl_start to compute load
21572 address in static PIE.
21573
4027a4fd
L
215742017-10-20 H.J. Lu <hongjiu.lu@intel.com>
21575
21576 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
21577
2f9314b4
MF
215782017-10-20 Mike FABIAN <mfabian@redhat.com>
21579
21580 [BZ #13605]
21581 * localedata/SUPPORTED: Add shn_MM/UTF-8.
21582 * localedata/locales/shn_MM: New file.
21583
63b4baa4
FW
215842017-10-20 Florian Weimer <fweimer@redhat.com>
21585
21586 [BZ #22321]
21587 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
21588 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
21589 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
21590 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
21591 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
21592 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
21593
95ccb619
L
215942017-10-19 H.J. Lu <hongjiu.lu@intel.com>
21595
21596 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
21597
37bb78cb
JM
215982017-10-19 Joseph Myers <joseph@codesourcery.com>
21599
76f2ed92
JM
21600 * sysdeps/mips/ieee754/bits/floatn.h: New file.
21601
37bb78cb
JM
21602 [BZ #22322]
21603 * sysdeps/mips/bits/long-double.h: Move to ....
21604 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
21605
d74e6f6c
WD
216062017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
21607
21608 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
21609
363e4519 216102017-10-19 Valery Reznic <valery_reznic@yahoo.com>
4d916f0f
L
21611 H.J. Lu <hongjiu.lu@intel.com>
21612
21613 [BZ #22299]
21614 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
21615 GLRO(dl_platform) to NULL.
21616 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
21617 (modules-names): Add tst-platformmod-1 and
21618 x86_64/tst-platformmod-2.
21619 (CFLAGS-tst-platform-1.c): New.
21620 (CFLAGS-tst-platformmod-1.c): Likewise.
21621 (CFLAGS-tst-platformmod-2.c): Likewise.
21622 (LDFLAGS-tst-platformmod-2.so): Likewise.
21623 ($(objpfx)tst-platform-1): Likewise.
21624 ($(objpfx)tst-platform-1.out): Likewise.
21625 (tst-platform-1-ENV): Likewise.
21626 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
21627 * sysdeps/x86_64/tst-platform-1.c: New file.
21628 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
21629 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
21630
4b0fa403
MF
216312017-10-19 Mike FABIAN <mfabian@redhat.com>
21632
21633 [BZ #13994]
21634 * locale/iso-639.def: Add Karbi.
21635 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
21636 * localedata/locales/mjw_IN: New file.
21637
81325b12
JM
216382017-10-18 Joseph Myers <joseph@codesourcery.com>
21639
21640 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
21641 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
21642 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
21643 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
21644 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
21645 (libm_alias_ldouble_other_r): Also create _Float128 alias.
21646 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
21647 <bits/floatn.h>.
21648 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
21649 (libm_alias_ldouble_other_r): Also create _Float128 alias.
21650 * manual/math.texi (Mathematics): Document additional architecture
21651 support for _Float128.
21652 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21653 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21654 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21655 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21656 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21657 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21658 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21659 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21660 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21661 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21662 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21663 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21664 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21665 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21666 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21667
a68ba2f3
SN
216682017-10-18 Renlin Li <renlin.li@arm.com>
21669
21670 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
21671 _DYNAMIC symbol to calculate load address.
21672
346729f6
PC
216732017-10-18 Paul A. Clarke <pc@us.ibm.com>
21674
21675 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
21676 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
21677 summary bits.
21678 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
21679 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
21680
508b1e71
MF
216812017-10-18 Mike FABIAN <mfabian@redhat.com>
21682
21683 [BZ #16777]
21684 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
21685 and improve readability by using more ASCII.
21686 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
21687 and improve readability by using more ASCII.
21688
2c2245b9
WD
216892017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
21690
21691 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
21692 not all targets support atomics on bool.
21693
13c92696
JM
216942017-10-17 Joseph Myers <joseph@codesourcery.com>
21695
21696 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
21697 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
21698 __f128.
21699 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
21700 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
21701 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
21702 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
21703 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
21704 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
21705
71d85045
AZ
217062017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21707
21708 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
21709 defines.
21710
3381be5c
WD
217112017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
21712
21713 [BZ #22159]
21714 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
21715 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
21716 (do_check_remalloced_chunk): Fix build bug.
21717 (do_check_malloc_state): Add assert that checks arena->top.
21718 (malloc_consolidate): Remove initialization.
21719 (int_mallinfo): Remove call to malloc_consolidate.
21720 (__libc_mallopt): Clarify why malloc_consolidate is needed.
21721
e956075a
WD
217222017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
21723
21724 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
21725 (have_fastchunks): Remove.
21726 (clear_fastchunks): Remove.
21727 (set_fastchunks): Remove.
21728 (malloc_state): Add have_fastchunks.
21729 (malloc_init_state): Use have_fastchunks.
21730 (do_check_malloc_state): Remove incorrect invariant checks.
21731 (_int_malloc): Use have_fastchunks.
21732 (_int_free): Likewise.
21733 (malloc_consolidate): Likewise.
21734
e4dd4ace
WD
217352017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
21736
21737 * malloc/malloc.c (tcache_put): Inline.
21738 (tcache_get): Inline.
21739
5bf58bc7
AJ
217402017-10-17 Jordi Mallach <jordi@gnu.org>
21741
21742 Aurelien Jarno <aurelien@aurel32.net>
21743 [BZ #2522]
21744 * localedata/locales/ca_ES@valencia: New file.
21745 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
21746
386e1c26
RN
217472017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
21748
21749 [BZ #22296]
21750 * math/math.h: Let signbit use the builtin in C++ mode with gcc
21751 < 6.x
21752
4e17c78e
AZ
217532017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21754
3d265601
AZ
21755 * scripts/build-many-glibcs.py (Context.add_all_configs):
21756 Add arm-linux-gnueabihf multiarch extra_glibcs.
21757
4e17c78e
AZ
21758 * sysdeps/generic/ifunc-init.h: New file.
21759 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
21760
56a752ab
MF
217612017-10-17 Mike FABIAN <mfabian@redhat.com>
21762
21763 [BZ #22019]
21764 * localedata/locales/el_GR: Set n_cs_precedes to 0.
21765 * localedata/locales/el_CY: copy "el_GR" because it is identical.
21766 * stdlib/tst-strfmon_l.c: adapt test case.
21767
c38a4bfd
JM
217682017-10-16 Joseph Myers <joseph@codesourcery.com>
21769
21770 * sysdeps/generic/float128-abi.h: New file.
21771 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
21772 non-__prefixed symbols to ....
21773 * math/Versions: ... here. Include <float128-abi.h>.
21774 * stdlib/Versions ... and here. Include <float128-abi.h>
21775
76009b26
FW
217762017-10-16 Florian Weimer <fweimer@redhat.com>
21777
21778 * version.h (VERSION): Switch to ".9000" as the development
21779 version suffix.
21780
7ece6cd5
FW
217812017-10-16 Florian Weimer <fweimer@redhat.com>
21782
21783 [BZ #22050]
21784 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
21785 compat_symbol_reference to access non-default version.
21786
d8287b36
FW
217872017-10-16 Florian Weimer <fweimer@redhat.com>
21788
21789 * malloc/Makefile (others-extras): Set to mcheck-init.o.
21790
3480ddc4
CD
217912017-10-16 Carlos O'Donell <carlos@redhat.com>
21792
21793 * include/shlib-compat.h (compat_symbol_reference): Update
21794 comment.
21795
02010e79
JM
217962017-10-16 Joseph Myers <joseph@codesourcery.com>
21797
596f7013
JM
21798 * math/Makefile (test-types): Add
21799 $(type-float128-$(float128-alias-fcts)).
21800 * math/test-float128.h (TYPE_STR): Define conditional on
21801 [FLT128_MANT_DIG == LDBL_MANT_DIG].
21802 (ULP_IDX): Likewise.
21803 (ULP_I_IDX): Likewise.
21804
02010e79
JM
21805 * stdlib/strtold.c: Include <bits/floatn.h>
21806 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
21807 and later undefine as macro. Define as weak alias if
21808 [!USE_WIDE_CHAR].
21809 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
21810 and later undefine as macro. Define as weak alias if
21811 [USE_WIDE_CHAR].
21812 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
21813 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
21814 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
21815 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
21816 Define and later undefine as macro. Define as weak alias if
21817 [USE_WIDE_CHAR].
21818 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
21819 <bits/floatn.h>.
21820 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
21821 Define and later undefine as macro. Define as weak alias if
21822 [!USE_WIDE_CHAR].
21823 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
21824 Define and later undefine as macro. Define as weak alias if
21825 [USE_WIDE_CHAR].
21826
ea91c315
CD
218272017-10-15 Carlos O'Donell <carlos@redhat.com>
21828
21829 * localedata/collate-test.c (allocate_arrays): Don't use \n in
21830 record_verbose messages.
21831
8e57c943
L
218322017-10-15 H.J. Lu <hongjiu.lu@intel.com>
21833
21834 [BZ #22052]
21835 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
21836 to silence -O3 -Wall warning with GCC 7.
21837
a4777c46
L
218382017-10-14 H.J. Lu <hongjiu.lu@intel.com>
21839
21840 * Makeconfig (+link-static-before-libc): Use the first of
21841 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
21842 * gmon/Makefile (tests): Add tst-gmon-static.
21843 (tests-static): Likewise.
21844 (CFLAGS-tst-gmon-static.c): New.
21845 (CRT-tst-gmon-static): Likewise.
21846 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
21847 (tst-gmon-static-ENV): Likewise.
21848 (tests-special): Likewise.
21849 ($(objpfx)tst-gmon-static.out): Likewise.
21850 (clean-tst-gmon-static-data): Likewise.
21851 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
21852 * gmon/tst-gmon-static-gprof.sh: New file.
21853 * gmon/tst-gmon-static.c: Likewise.
21854
bc3821bb
CD
218552017-10-13 Carlos O'Donell <carlos@redhat.com>
21856
21857 [BZ #22295]
21858 * locale/programs/linereader.c (get_string): Don't warn on
21859 non-symbolic character.
21860
a3e23a2c
CD
21861 [BZ #22294]
21862 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
21863 int_curr_symbol.
21864
f16491eb
CD
21865 [BZ #22292]
21866 * locale/programs/record-status.h: New file
21867 * locale/programs/locale.c: Add comment.
21868 * locale/programs/charmap-dir.c: Don't include error.h.
21869 (charmap_opendir): Use record_error.
21870 * locale/programs/charmap.c: Don't include error.h.
21871 (charmap_read): Use record_error, and record_warning.
21872 (parse_charmap): Likewise.
21873 * locale/programs/ld-address.c: Don't include error.h.
21874 (address_finish): Use record_error, and record_warning.
21875 * locale/programs/ld-collate.c: Don't include error.h.
21876 (collate_finish): Use record_error, and record_error_at_line.
21877 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
21878 (ctype_class_new): Likewise.
21879 (ctype_map_new): Likewise.
21880 (set_one_default): Likewise.
21881 (set_class_defaults): Likewise.
21882 (translit_flatten): Likewise.
21883 (allocate_arrays): Use record_error, and record_verbose.
21884 * locale/programs/ld-identification.c: Don't include error.h.
21885 (indentation_finish): Use record_error and record_warning.
21886 * locale/programs/ld-measurement.c: Don't include error.h.
21887 (measurement_finish): Use record_error.
21888 * locale/programs/ld-messages.c
21889 (message_finish): Likewise.
21890 * locale/programs/ld-monetary.c
21891 (monetary_finish): Likewise.
21892 * locale/programs/ld-name.c (name_finish): Use record_error
21893 and record_warning.
21894 * locale/programs/ld-numeric.c
21895 (numeric_finish): Use record_error.
21896 * locale/programs/ld-paper.c: Don't include error.h.
21897 (paper_finish): Use record_error.
21898 * locale/programs/ld-telephone.c: Don't include error.h.
21899 (telephone_finish): Use record_error.
21900 * locale/programs/ld-time.c (time_finish): Likewise.
21901 * locale/programs/linereader.h (lr_error): Make inline func.
21902 * locale/programs/localedef.c: Define recorded_warning_count,
21903 and recorded_error_count.
21904 (main): Use record_error. Use recorded_error_count and
21905 recorded_warning_count to issue correct error returns.
21906 (add_to_readlist): Use record_error.
21907 (find_locale): Likewise.
21908 (load_locale): Likewise.
21909 * locale/programs/localedef.h: Remove be_quiet
21910 and WITH_CUR_LOCALE.
21911 * locale/programs/locarchive.c (compare_from_file): Use
21912 record_error.
21913 * locale/programs/locfile.c (write_locale_data): Use
21914 record_error.
21915 * locale/programs/repertoire.c: Dont include error.h.
21916 (repertoire_complain): Use record_error.
21917 * localedata/tst-fmon.sh: Expect failures from localedef.
21918 * localedata/tst-locale.sh: Likewise.
21919 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
21920
8dc8be75
CD
21921 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
21922 (REPORTS): Likewise.
21923 (check): Likewise.
21924 (i18n): Rename to...
21925 (i18n_ctype): ...this.
21926 (i18n-report): Rename to...
21927 (i18n_ctype-report): ...this.
21928 * localedata/locales/i18n_ctype: Regenerate.
21929 * localedata/locales/i18n: copy i18n_ctype.
21930
f8718a9e
JM
219312017-10-13 Joseph Myers <joseph@codesourcery.com>
21932
18c08b96
JM
21933 * stdlib/strfroml.c: Include <bits/floatn.h>.
21934 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
21935 Define before include of <stdlib.h> and undefine afterwards, then
21936 define as weak alias.
21937
f8718a9e
JM
21938 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
21939 Undefine and restore default definition. Use
21940 libm_alias_ldouble_other.
21941
e4f530da
PZ
219422017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
21943
21944 [BZ #22153]
21945 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
21946 in coredumps.
21947
86445888
JC
219482017-10-13 James Clarke <jrtc27@jrtc27.com>
21949
21950 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
21951 Assign sym_map to be map for local symbols, as TLS relocations
21952 use sym_map to determine whether the symbol is defined and to
21953 extract the TLS information.
21954 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
21955 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
21956
179dcdb7
TMQMF
219572017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21958
e8dbd6a3
TMQMF
21959 [BZ #22189]
21960 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
21961 (math_force_eval): Add powerpc version.
21962
179dcdb7
TMQMF
21963 [BZ #22142]
21964 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
21965 -DBL_MAX.
21966 (do_test): Likewise.
21967 * stdio-common/tst-printf.sh: Likewise.
21968 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
21969 ifdef clause in order to set the carry bit right. Replace r0 by
21970 0 without changing the behavior.
21971
7d25d410
JM
219722017-10-13 Joseph Myers <joseph@codesourcery.com>
21973
006e7664
JM
21974 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
21975 <libm-alias-ldouble.h>.
21976 (fabsl): Define using libm_alias_ldouble.
21977 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
21978 <libm-alias-ldouble.h>.
21979 (fabsl): Define using libm_alias_ldouble.
21980
1def91b3
JM
21981 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
21982 Remove conditional code.
21983
7d25d410
JM
21984 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
21985 Rename to __clog10_internal_l.
21986 (__clog10_internal_l): Define aliases using
21987 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
21988 with __clog10.
21989
077ee129
RS
219902017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21991
21992 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
21993 * benchtests/sincosf-inputs: New file.
21994 * benchtests/cosf-inputs: New file.
21995 * benchtests/sinf-inputs: New file.
21996
5ba41de9
SN
219972017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
21998
21999 * posix/tst-spawn.c (do_test): Wait for both children.
22000
d165ca64
L
220012017-10-12 H.J. Lu <hongjiu.lu@intel.com>
22002
22003 [BZ #22284]
22004 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
22005 tests-pie): Add tst-gmon-pie.
22006 (CFLAGS-tst-gmon-pie.c): New.
22007 (CRT-tst-gmon-pie): Likewise.
22008 (tst-gmon-pie-ENV): Likewise.
22009 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
22010 ($(objpfx)tst-gmon-pie.out): Likewise.
22011 (clean-tst-gmon-pie-data): Likewise.
22012 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
22013 * gmon/gmon.c [PIC]: Include <link.h>.
22014 [PIC] (callback): New function.
22015 (write_hist): Add an argument for load address. Subtract load
22016 address from PCs.
22017 (write_call_graph): Likewise.
22018 (write_gmon): Call __dl_iterate_phdr to get load address, pass
22019 it to write_hist and write_call_graph.
7bacdcfc 22020 * gmon/tst-gmon-pie.c: New file.
d165ca64 22021
bc9620d0
JM
220222017-10-11 Joseph Myers <joseph@codesourcery.com>
22023
22024 * math/Makefile (test-types-basic): New variable.
22025 (test-types): Likewise.
22026 (libm-test-support): Use $(test-types) instead of $(types).
22027 (libm-tests-base-normal): Likewise.
22028 (libm-tests-base-finite): Likewise.
22029 (libm-tests-base-inline): Likewise.
22030 (generated): Likewise.
22031 ($(objpfx)libm-test-support-$(t).c): Likewise.
22032 (libm-tests-for-type iterator): Likewise.
22033 (libm-test-support iterator): Likewise.
22034 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
22035 (ulp_idx): Use ULP_IDX.
22036 * math/test-ldouble.h: Include <float.h>.
22037 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
22038 (ULP_IDX): New macro.
22039 (ULP_I_IDX): Likewise.
22040 * math/test-double.h (ULP_IDX): Likewise.
22041 (ULP_I_IDX): Likewise.
22042 * math/test-float.h (ULP_IDX): Likewise.
22043 (ULP_I_IDX): Likewise.
22044 * math/test-float128.h (ULP_IDX): Likewise.
22045 (ULP_I_IDX): Likewise.
22046
09c76a74
AZ
220472017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22048
22049 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
22050 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
22051 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
22052 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
22053 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
22054 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
22055 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
22056 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
22057 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
22058 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
22059 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
22060 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
22061 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
22062 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22063 (SINGLE_THREAD_BY_GLOBAL): Define.
22064 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
22065 Likewise.
22066 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
22067 Likewise.
22068 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
22069 Likewise.
22070 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
22071 Likewise.
22072 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
22073 (SINGLE_THREAD_BY_GLOBAL): Likewise.
22074 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
22075 Likewise.
22076
2faa42da
AS
220772017-10-11 Andreas Schwab <schwab@suse.de>
22078
22079 * nis/Makefile (aux): Remove.
22080 * nscd/Makefile (aux): Add nscd_hash.
22081 (nscd-modules): Likewise.
22082 ($(objpfx)nscd): Don't depend on libnsl.
22083 * nscd/nscd_hash.c: New file.
22084 * nscd/nscd_hash.h: Likewise.
22085 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
22086 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
22087 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
22088 instead of <nis/rpcsvc/nis.h>.
22089 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
22090
d8425e11
FW
220912017-10-11 Florian Weimer <fweimer@redhat.com>
22092
22093 [BZ #22078]
22094 Avoid large NSS buffers with many addresses, aliases.
22095 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
22096 using dynarrays and struct alloc_buffer.
22097 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
22098 (tst-nss-files-hosts-multi): Link with -ldl.
22099 * nss/tst-nss-files-hosts-multi.c: New file.
22100
78e806fd
FW
221012017-10-11 Florian Weimer <fweimer@redhat.com>
22102
22103 [BZ #18023]
22104 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
22105 scratch_buffer. Eliminate gotos.
22106
541f19ba
JM
221072017-10-11 Joseph Myers <joseph@codesourcery.com>
22108
0ff64d3a
JM
22109 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
22110 libm_alias_ldouble_other.
22111 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
22112 undefine and redefine.
22113 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
22114 (exp10l): Do not define here.
22115 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
22116 (weak_alias): Undefine and redefine.
22117 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
22118 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
22119 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
22120 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
22121
541f19ba
JM
22122 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
22123 [!__fma] (fma): Define using libm_alias_double.
22124 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
22125 [!__fmaf] (fmaf): Define using libm_alias_float.
22126 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
22127 (fmal): Define using libm_alias_ldouble.
22128
24b6515d
JM
221292017-10-10 Joseph Myers <joseph@codesourcery.com>
22130
22131 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
22132 New macro.
22133 (libm_alias_double_other): Likewise.
22134 (libm_alias_double_r): Use libm_alias_double_other_r.
22135 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
22136 New macro.
22137 (libm_alias_float_other): Likewise.
22138 (libm_alias_float_r): Use libm_alias_float_other_r.
22139 * sysdeps/generic/libm-alias-float128.h
22140 (libm_alias_float128_other_r): New macro.
22141 (libm_alias_float128_other): Likewise.
22142 (libm_alias_float128_r): Use libm_alias_float128_other_r.
22143 * sysdeps/generic/libm-alias-ldouble.h
22144 (libm_alias_ldouble_other_r): New macro.
22145 (libm_alias_ldouble_other): Likewise.
22146 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
22147 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
22148 (libm_alias_double_other_r): New macro.
22149 (libm_alias_double_other): Likewise.
22150 (libm_alias_double_r): Use libm_alias_double_other_r.
22151 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
22152 (libm_alias_ldouble_other_r): New macro.
22153 (libm_alias_ldouble_other): Likewise.
22154 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
22155 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
22156 [!USE_AS_COMPAT]: Use libm_alias_double_other.
22157 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
22158 [!USE_AS_COMPAT]: Use libm_alias_float_other.
22159 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
22160 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
22161 * math/w_exp2f.c: Use libm_alias_float_other.
22162 * math/w_expf.c: Likewise.
22163 * math/w_log2f.c: Likewise.
22164 * math/w_logf.c: Likewise.
22165 * math/w_powf.c: Likewise.
22166 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
22167 [!__exp2f]: Use libm_alias_float_other.
22168 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
22169 [!__expf]: Use libm_alias_float_other.
22170 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
22171 [!__log2f]: Use libm_alias_float_other.
22172 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
22173 [!__logf]: Use libm_alias_float_other.
22174 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
22175 [!__powf]: Use libm_alias_float_other.
22176
8ed70de2
FW
221772017-10-10 Florian Weimer <fweimer@redhat.com>
22178
22179 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
22180 function.
22181 (_nss_files_gethostbyname3_r): Call it.
22182
a8dce619
JM
221832017-10-09 Joseph Myers <joseph@codesourcery.com>
22184
22185 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
22186 error. Remove default definition of declare_mgen_alias.
22187 [!declare_mgen_alias_r]: Likewise.
22188 * sysdeps/generic/math-type-macros-double.h
22189 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
22190 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
22191 (declare_mgen_alias_r): Likewise.
22192 * sysdeps/generic/math-type-macros-float128.h
22193 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
22194 * sysdeps/generic/math-type-macros-ldouble.h
22195 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
22196 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
22197 macro.
22198 (declare_mgen_alias_r_s): Likewise.
22199 (declare_mgen_alias_r): Likewise.
22200 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
22201 (lgamma_r): Define using libm_alias_double_r.
22202 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
22203 (lgammaf_r): Define using libm_alias_float_r.
22204 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
22205 (lgammal_r): Define using libm_alias_ldouble_r.
22206 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
22207 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
22208
bedac136
AZ
222092017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22210
22211 * lib/glob.c (__glob_pattern_type): Remove now-spurious
22212 extern declaration.
22213
c7509db2
JM
222142017-10-09 Joseph Myers <joseph@codesourcery.com>
22215
22216 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
22217
d6c064e9
JW
222182017-10-09 Jonathan Wakely <jwakely@redhat.com>
22219
22220 [BZ #21326]
22221 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
22222 [__cplusplus >= 201103] (__USE_ISOC99): Define.
22223 * math/Makefile (test-math-cxx11): New test.
22224 * math/test-math-cxx11.cc: New file.
22225
98e07420
CB
222262017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
22227
22228 * login/openpty.c (openpty): Close slave pty file descriptor on error.
22229
645ac9aa
CB
22230 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
22231 call to allocate the slave pty file descriptor.
22232
fd3b4e7c
JM
222332017-10-06 Joseph Myers <joseph@codesourcery.com>
22234
f85a176f
JM
22235 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
22236 [!__fma] (fma): Define using libm_alias_double.
22237 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
22238 [!__fma] (fma): Define using libm_alias_double.
22239
fd3b4e7c
JM
22240 * sysdeps/ieee754/float128/float128_private.h: Include
22241 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
22242 (libm_alias_ldouble_r): Undefine and redefine.
22243 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
22244 <libm-alias-ldouble.h>.
22245 (asinhl): Define using libm_alias_ldouble.
22246 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
22247 <libm-alias-ldouble.h>.
22248 (atanl): Define using libm_alias_ldouble.
22249 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
22250 <libm-alias-ldouble.h>.
22251 (cbrtl): Define using libm_alias_ldouble.
22252 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
22253 <libm-alias-ldouble.h>.
22254 (ceill): Define using libm_alias_ldouble.
22255 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
22256 <libm-alias-ldouble.h>.
22257 (copysignl): Define using libm_alias_ldouble.
22258 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
22259 <libm-alias-ldouble.h>.
22260 (cosl): Define using libm_alias_ldouble.
22261 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
22262 <libm-alias-ldouble.h>.
22263 (erfl): Define using libm_alias_ldouble.
22264 (erfcl): Likewise.
22265 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
22266 <libm-alias-ldouble.h>.
22267 (expm1l): Define using libm_alias_ldouble.
22268 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
22269 <libm-alias-ldouble.h>.
22270 (fabsl): Define using libm_alias_ldouble.
22271 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
22272 <libm-alias-ldouble.h>.
22273 (floorl): Define using libm_alias_ldouble.
22274 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
22275 <libm-alias-ldouble.h>.
22276 (fmal): Define using libm_alias_ldouble.
22277 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
22278 <libm-alias-ldouble.h>.
22279 (frexpl): Define using libm_alias_ldouble.
22280 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
22281 libm_alias_ldouble.
22282 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
22283 <libm-alias-ldouble.h>.
22284 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
22285 libm_alias_ldouble.
22286 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
22287 <libm-alias-ldouble.h>.
22288 (getpayloadl): Define using libm_alias_ldouble.
22289 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
22290 <libm-alias-ldouble.h>.
22291 (llrintl): Define using libm_alias_ldouble.
22292 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
22293 <libm-alias-ldouble.h>.
22294 (llroundl): Define using libm_alias_ldouble.
22295 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
22296 <libm-alias-ldouble.h>.
22297 (logbl): Define using libm_alias_ldouble.
22298 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
22299 <libm-alias-ldouble.h>.
22300 (lrintl): Define using libm_alias_ldouble.
22301 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
22302 <libm-alias-ldouble.h>.
22303 (lroundl): Define using libm_alias_ldouble.
22304 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
22305 <libm-alias-ldouble.h>.
22306 (modfl): Define using libm_alias_ldouble.
22307 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
22308 <libm-alias-ldouble.h>.
22309 (nearbyintl): Define using libm_alias_ldouble.
22310 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
22311 <libm-alias-ldouble.h>.
22312 (nextafterl): Define using libm_alias_ldouble.
22313 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
22314 <libm-alias-ldouble.h>.
22315 (nextupl): Define using libm_alias_ldouble.
22316 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
22317 <libm-alias-ldouble.h>.
22318 (remquol): Define using libm_alias_ldouble.
22319 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
22320 <libm-alias-ldouble.h>.
22321 (rintl): Define using libm_alias_ldouble.
22322 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
22323 <libm-alias-ldouble.h>.
22324 (roundevenl): Define using libm_alias_ldouble.
22325 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
22326 <libm-alias-ldouble.h>.
22327 (roundl): Define using libm_alias_ldouble.
22328 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
22329 using libm_alias_ldouble.
22330 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
22331 <libm-alias-ldouble.h>.
22332 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
22333 Define using libm_alias_ldouble.
22334 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
22335 <libm-alias-ldouble.h>.
22336 (sincosl): Define using libm_alias_ldouble.
22337 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
22338 <libm-alias-ldouble.h>.
22339 (sinl): Define using libm_alias_ldouble.
22340 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
22341 <libm-alias-ldouble.h>.
22342 (tanhl): Define using libm_alias_ldouble.
22343 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
22344 <libm-alias-ldouble.h>.
22345 (tanl): Define using libm_alias_ldouble.
22346 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
22347 <libm-alias-ldouble.h>.
22348 (totalorderl): Define using libm_alias_ldouble.
22349 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
22350 <libm-alias-ldouble.h>.
22351 (totalordermagl): Define using libm_alias_ldouble.
22352 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
22353 <libm-alias-ldouble.h>.
22354 (truncl): Define using libm_alias_ldouble.
22355 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
22356 libm_alias_ldouble.
22357 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
22358 libm_alias_ldouble.
22359 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
22360 <libm-alias-ldouble.h>.
22361 (weak_alias): Do not undefine and redefine.
22362 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
22363 (copysignl): Define with long_double_symbol only if [IS_IN
22364 (libc)].
22365 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
22366 <libm-alias-ldouble.h>.
22367 (weak_alias): Do not undefine and redefine.
22368 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
22369 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
22370 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
22371 <libm-alias-ldouble.h>.
22372 (weak_alias): Do not undefine and redefine.
22373 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
22374 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
22375 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
22376 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
22377 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
22378 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
22379 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
22380 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
22381 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
22382 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
22383 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
22384 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
22385 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
22386 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
22387 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
22388 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
22389 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
22390 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
22391 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
22392 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
22393 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
22394 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
22395 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
22396 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
22397 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
22398 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
22399
1e26d351
CD
224002017-10-06 Carlos O'Donell <carlos@redhat.com>
22401
22402 [BZ #22111]
22403 * malloc/malloc.c (tcache_shutting_down): Use bool type.
22404 (tcache_thread_freeres): Set tcache_shutting_down before
22405 freeing the tcache.
22406 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
22407 * malloc/tst-malloc-tcache-leak.c: New file.
22408
d1386762
RS
224092017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22410
22411 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
22412 back to powerpc32 file.
22413 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
22414 (memrchr): Add __memrchr_power8 to ifunc list.
22415 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
22416 extra bytes for unaligned inputs.
22417
6dff1983
JM
224182017-10-06 Joseph Myers <joseph@codesourcery.com>
22419
22420 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
22421 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
22422 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
22423 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
22424 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
22425
86f9568a
JM
224262017-10-05 Joseph Myers <joseph@codesourcery.com>
22427
0db0b931
JM
22428 * sysdeps/arm/libm-test-ulps: Update.
22429
86f9568a
JM
22430 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
22431 <libm-alias-ldouble.h>.
22432 (asinhl): Define using libm_alias_ldouble.
22433 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
22434 <libm-alias-ldouble.h>.
22435 (cbrtl): Define using libm_alias_ldouble.
22436 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
22437 <libm-alias-ldouble.h>.
22438 (copysignl): Define using libm_alias_ldouble.
22439 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
22440 <libm-alias-ldouble.h>.
22441 (cosl): Define using libm_alias_ldouble.
22442 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
22443 <libm-alias-ldouble.h>.
22444 (erfl): Define using libm_alias_ldouble.
22445 (erfcl): Likewise.
22446 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
22447 <libm-alias-ldouble.h>.
22448 (fmal): Define using libm_alias_ldouble.
22449 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
22450 <libm-alias-ldouble.h>.
22451 (frexpl): Define using libm_alias_ldouble.
22452 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
22453 libm_alias_ldouble.
22454 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
22455 <libm-alias-ldouble.h>.
22456 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
22457 libm_alias_ldouble.
22458 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
22459 <libm-alias-ldouble.h>.
22460 (getpayloadl): Define using libm_alias_ldouble.
22461 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
22462 <libm-alias-ldouble.h>.
22463 (llrintl): Define using libm_alias_ldouble.
22464 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
22465 <libm-alias-ldouble.h>.
22466 (llroundl): Define using libm_alias_ldouble.
22467 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
22468 <libm-alias-ldouble.h>.
22469 (lrintl): Define using libm_alias_ldouble.
22470 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
22471 <libm-alias-ldouble.h>.
22472 (lroundl): Define using libm_alias_ldouble.
22473 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
22474 <libm-alias-ldouble.h>.
22475 (modfl): Define using libm_alias_ldouble.
22476 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
22477 <libm-alias-ldouble.h>.
22478 (nextupl): Define using libm_alias_ldouble.
22479 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
22480 <libm-alias-ldouble.h>.
22481 (remquol): Define using libm_alias_ldouble.
22482 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
22483 <libm-alias-ldouble.h>.
22484 (roundevenl): Define using libm_alias_ldouble.
22485 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
22486 <libm-alias-ldouble.h>.
22487 (roundl): Define using libm_alias_ldouble.
22488 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
22489 using libm_alias_ldouble.
22490 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
22491 <libm-alias-ldouble.h>.
22492 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
22493 <libm-alias-ldouble.h>.
22494 (setpayloadsigl): Define using libm_alias_ldouble.
22495 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
22496 <libm-alias-ldouble.h>.
22497 (sincosl): Define using libm_alias_ldouble.
22498 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
22499 <libm-alias-ldouble.h>.
22500 (sinl): Define using libm_alias_ldouble.
22501 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
22502 <libm-alias-ldouble.h>.
22503 (tanhl): Define using libm_alias_ldouble.
22504 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
22505 <libm-alias-ldouble.h>.
22506 (tanl): Define using libm_alias_ldouble.
22507 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
22508 <libm-alias-ldouble.h>.
22509 (totalorderl): Define using libm_alias_ldouble.
22510 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
22511 <libm-alias-ldouble.h>.
22512 (totalordermagl): Define using libm_alias_ldouble.
22513 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
22514 libm_alias_ldouble.
22515 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
22516 libm_alias_ldouble.
22517
9ec87fd2
SP
225182017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
22519
dd5bc7f1
SP
22520 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
22521 memmove_falkor.
22522 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
22523 (__libc_ifunc_impl_list): Likewise.
22524 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
22525 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
22526
5bfb0404
SP
22527 * benchtests/bench-memmove-walk.c: New file.
22528 * benchtests/Makefile (string-benchset): Add it.
22529
36bb8edf
SP
22530 * benchtests/bench-memset-walk.c: New file.
22531 * benchtests/Makefile (string-benchset): Add it.
22532
9ec87fd2
SP
22533 * benchtests/bench-memcpy-walk.c: New file.
22534 * benchtests/Makefile (string-benchset): Add it.
22535
1e9522c6
FW
225362017-10-05 Florian Weimer <fweimer@redhat.com>
22537
22538 nscd: Eliminate compilation time dependency in the build output.
22539 * nscd/nscd_stat.c (STATDATA_VERSION)
22540 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
22541 (STATDATA_VERSION_FULL): New macro definitions.
22542 (compilation): Remove.
22543 (struct statdata): Adjust version member.
22544 (send_stats): Set version from STATDATA_VERSION_FULL.
22545 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
22546
644d3857
JM
225472017-10-05 Joseph Myers <joseph@codesourcery.com>
22548
22549 * configure.ac (--enable-add-ons): Remove option.
22550 (machine): Do not mention add-ons in comment.
22551 (LIBC_PRECONFIGURE): Likewise.
22552 (add_ons): Remove variable and sanity checks and logic to locate
22553 add-ons.
22554 (add_ons_automatic): Remove variable.
22555 (configured_add_ons): Likewise.
22556 (add_ons_sfx): Likewise.
22557 (add_ons_pfx): Likewise.
22558 (add_on_subdirs): Likewise.
22559 (sysnames_add_ons): Likewise. Remove loop over add-ons and
22560 consideration of add-ons in Implies handling.
22561 (sysdeps_add_ons): Likewise.
22562 * configure: Regenerated.
22563 * libidn/configure.ac: Remove.
22564 * libidn/configure: Likewise.
22565 * sysdeps/unix/inet/configure.ac: New file.
22566 * sysdeps/unix/inet/configure: New generated file.
22567 * sysdeps/unix/inet/Subdirs: Add libidn.
22568 * Makeconfig (sysdeps-srcdirs): Remove variable.
22569 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
22570 ($(common-objpfx)config.status): Do not depend on add-on files.
22571 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
22572 comment.
22573 (all-subdirs): Do not include $(add-on-subdirs).
22574 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
22575 * config.make.in (add-ons): Remove variable.
22576 (add-on-subdirs): Likewise.
22577 (sysdeps-add-ons): Likewise.
22578 * manual/Makefile (add-chapters): Remove.
22579 ($(objpfx)texis): Do not depend on $(add-chapters).
22580 (nonexamples): Do not handle $(add-chapters).
22581 (examples): Do not handle $(add-ons).
22582 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
22583 libc-texinfo.sh.
22584 * manual/install.texi (Installation): Do not mention add-ons.
22585 (--enable-add-ons): Do not document configure option.
22586 * INSTALL: Regenerated.
22587 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
22588 * manual/maint.texi (Hierarchy Conventions): Do not mention
22589 add-ons.
22590 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
22591 --enable-add-ons.
22592 * scripts/gen-sorted.awk: Do not handle Subdirs files from
22593 add-ons.
22594 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
22595 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
22596
19f82f35
AS
225972017-10-05 Andreas Schwab <schwab@suse.de>
22598
22599 [BZ #15142]
22600 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
22601 (_IO_flush_all_lockp): Always lock list_all_lock.
22602 (_IO_flush_all_linebuffered): Likewise.
22603 (_IO_unbuffer_all): Likewise.
22604
91e7cf98
FW
226052017-10-05 Florian Weimer <fweimer@redhat.com>
22606
22607 [BZ #15436]
22608 Do not flush stdio streams on abort.
22609 * stdlib/abort.c (fflush): Remove macro definition.
22610 (abort): Remove stages related to stdio flushing.
22611
0c251257
FW
226122017-10-05 Florian Weimer <fweimer@redhat.com>
22613
22614 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
22615
7ea59e3e
SL
226162017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
22617
22618 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
22619
84d0e6f0
FW
226202017-10-05 Florian Weimer <fweimer@redhat.com>
22621
22622 * support/support_format_hostent.c (support_format_hostent): Add
22623 more error information for NETDB_INTERNAL.
22624
ee417882
L
226252017-10-04 H.J. Lu <hongjiu.lu@intel.com>
22626
22627 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
22628 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
22629 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
22630 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
22631 AC_DEFINE if multi-arch is enabled.
22632 * sysdeps/i386/configure: Regenerated.
22633
a67029ff
L
226342017-10-04 H.J. Lu <hongjiu.lu@intel.com>
22635
22636 * Makeconfig (+link-static-before-libc): Use
22637 $(DEFAULT-LDFLAGS-$(@F)).
22638 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
22639 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
22640 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
22641
5dba84b3
L
226422017-10-04 H.J. Lu <hongjiu.lu@intel.com>
22643
22644 * elf/Makefile (tests): Add tst-main1.
22645 (modules-names): Add tst-main1mod.
22646 ($(objpfx)tst-main1): New.
22647 (CRT-tst-main1): Likewise.
22648 (LDFLAGS-tst-main1): Likewise.
22649 (LDLIBS-tst-main1): Likewise.
22650 (tst-main1mod.so-no-z-defs): Likewise.
22651 * elf/tst-main1.c: New file.
22652 * elf/tst-main1mod.c: Likewise.
22653
758f1bfa
L
226542017-10-04 H.J. Lu <hongjiu.lu@intel.com>
22655
22656 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
22657
7e16a5d1
JM
226582017-10-04 Joseph Myers <joseph@codesourcery.com>
22659
22660 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
22661 (fma): Define using libm_alias_double.
22662 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
22663 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
22664 <math_ldbl_opt.h>.
22665 (fmal): Do not define as compat symbol here.
22666 * sysdeps/alpha/fpu/s_fma.c: New file.
22667
db4f87ba
SN
226682017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
22669
22670 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
22671
72d13ed1
JM
226722017-10-04 Joseph Myers <joseph@codesourcery.com>
22673
32d372d5
JM
22674 [BZ #22229]
22675 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
22676 <math_ldbl_opt.h>
22677 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
22678 and libc.
22679 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
22680 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
22681 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
22682 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
22683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22684 Include <math_ldbl_opt.h>
22685 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
22686 and libc.
22687 (compat_symbol): Undefine and redefine.
22688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
22689 <math_ldbl_opt.h>
22690 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
22691 (compat_symbol): Undefine and redefine.
22692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
22693 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
22694 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
22695 GLIBC_2_1 for libm.
22696 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
22697 GLIBC_2.0 copysignl symbol.
22698 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
22699 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
22700
72d13ed1
JM
22701 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
22702
11c4f501
FW
227032017-10-04 Florian Weimer <fweimer@redhat.com>
22704
22705 * scripts/check-local-headers.sh: Ignore nspr4 header file
22706 directory in addition to nspr.
22707
57b4af19
GT
227082017-10-04 Guido Trentalancia <guido@trentalancia.net>
22709
22710 [BZ #17956]
22711 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
22712 * configure: Regenerate.
22713 * crypt/Makefile (nss-cpp-flags): New variable.
22714 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
22715 (CPPFLAGS-md5-crypt.c): Use it.
22716 * scripts/check-local-headers.sh: Ignore nspr header file
22717 directory.
22718
64d1e08e
AS
227192017-10-04 Andreas Schwab <schwab@suse.de>
22720
22721 * nis/Makefile (services): Remove compat.
22722 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
22723 ($(objpfx)libnss_compat.so): Remove rule.
22724 * nis/Versions (libnss_compat): Remove.
22725 * nss/Makefile (services): Add compat.
22726 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
22727 * nss/Versions (libnss_compat): Define.
22728 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
22729 Don't include <rpc/types.h>. Replace bool_t by bool.
22730 * nss/nss_compat/compat-initgroups.c: Likewise.
22731 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
22732 instead of <rpcsrv/ypclnt.h>.
22733 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
22734 yp_get_default_domain.
22735 * nss/nss_compat/compat-pwd.c: Likewise.
22736 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
22737 yp_get_default_domain.
22738 * nss/nss_compat/nisdomain.c: New file.
22739 * nss/nss_compat/nisdomain.h: Likewise.
22740
86c27ade
SN
227412017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
22742
22743 [BZ #22244]
22744 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
22745 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
22746
8f8f8ef7
SN
227472017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
22748
22749 [BZ #22243]
22750 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
22751 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
22752
95577475
L
227532017-10-03 H.J. Lu <hongjiu.lu@intel.com>
22754
22755 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
22756 "movl main@GOTOFF(%ebx), %eax".
22757
02d2d892
L
227582017-10-03 H.J. Lu <hongjiu.lu@intel.com>
22759
22760 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
22761 allow undefined _DYNAMIC in PIE libc.a.
22762 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
22763 Likewse.
22764
0c609d19
L
227652017-10-03 H.J. Lu <hongjiu.lu@intel.com>
22766
22767 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
22768 check _DYNAMIC.
22769
c34a19ed
L
227702017-10-03 H.J. Lu <hongjiu.lu@intel.com>
22771
22772 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
22773 check _DYNAMIC.
22774
cdd4155d
L
227752017-10-03 H.J. Lu <hongjiu.lu@intel.com>
22776
22777 * math/test-math-iscanonical.cc (error): Replace bool with int.
22778
4699cb8b
JM
227792017-10-03 Joseph Myers <joseph@codesourcery.com>
22780
d8f619b3
JM
22781 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
22782 (modf): Define using libm_alias_double, only if [!__modf].
22783 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
22784 <libm-alias-double.h>.
22785 (modf): Define using libm_alias_double, only if [!__modf].
22786 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
22787 compat symbol here.
22788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
22789 (weak_alias): Do not undefine and redefine.
22790 (strong_alias): Likewise.
22791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
22792 (weak_alias): Likewise.
22793 (strong_alias): Likewise.
22794
4699cb8b
JM
22795 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
22796 (logb): Define using libm_alias_double, only if [!__logb].
22797 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
22798 <libm-alias-double.h>.
22799 (logb): Define using libm_alias_double, only if [!__logb].
22800 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
22801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
22802 (weak_alias): Do not undefine and redefine.
22803 (strong_alias): Likewise.
22804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
22805 (weak_alias): Likewise.
22806 (strong_alias): Likewise.
22807
bcc4e4bb
L
228082017-10-03 H.J. Lu <hongjiu.lu@intel.com>
22809
22810 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
22811 Check SHARED instead PIC.
22812
39793865
JM
228132017-10-03 Joseph Myers <joseph@codesourcery.com>
22814
7f1cbdf8
JM
22815 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
22816 [!__fmaf] (fmaf): Define using libm_alias_float.
22817
39793865
JM
22818 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
22819 (frexp): Define using libm_alias_double.
22820 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
22821 <libm-alias-double.h>.
22822 (frexp): Define using libm_alias_double.
22823 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
22824 compat symbol here.
22825
aa0235df
GG
228262017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
22827
22828 [BZ #22235]
22829 * math/math.h: Trivial fix for unbalanced parentheses in comment.
22830 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
22831 (CFLAGS-test-math-iscanonical.cc): New variable.
22832 * math/test-math-iscanonical.cc: New file.
22833 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
22834 Provide a C++ implementation based on function overloading,
22835 rather than using __MATH_TG, which uses C-only builtins.
22836 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
22837 Likewise.
22838 * sysdeps/powerpc/powerpc64le/Makefile
22839 (CFLAGS-test-math-iscanonical.cc): New variable.
22840
a1132b5e
JM
228412017-10-03 Joseph Myers <joseph@codesourcery.com>
22842
22843 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
22844 (ceil): Define using libm_alias_double.
22845 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
22846 (floor): Define using libm_alias_double.
22847 * sysdeps/ieee754/dbl-64/s_llround.c: Include
22848 <libm-alias-double.h>.
22849 (llround): Define using libm_alias_double.
22850 * sysdeps/ieee754/dbl-64/s_lround.c: Include
22851 <libm-alias-double.h>.
22852 (lround): Define using libm_alias_double.
22853 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
22854 <libm-alias-double.h>.
22855 (nearbyint): Define using libm_alias_double.
22856 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
22857 <libm-alias-double.h>.
22858 (remquo): Define using libm_alias_double.
22859 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
22860 (rint): Define using libm_alias_double.
22861 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
22862 (round): Define using libm_alias_double.
22863 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
22864 (trunc): Define using libm_alias_double.
22865 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
22866 <libm-alias-double.h>.
22867 (ceil): Define using libm_alias_double.
22868 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
22869 <libm-alias-double.h>.
22870 (floor): Define using libm_alias_double.
22871 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
22872 <libm-alias-double.h>.
22873 (llround): Define using libm_alias_double.
22874 [_LP64] (lround): Likewise.
22875 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
22876 <libm-alias-double.h>.
22877 [!_LP64] (lround): Define using libm_alias_double.
22878 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
22879 <libm-alias-double.h>.
22880 (nearbyint): Define using libm_alias_double.
22881 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
22882 <libm-alias-double.h>.
22883 (remquo): Define using libm_alias_double.
22884 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
22885 <libm-alias-double.h>.
22886 (rint): Define using libm_alias_double.
22887 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
22888 <libm-alias-double.h>.
22889 (round): Define using libm_alias_double.
22890 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
22891 <libm-alias-double.h>.
22892 (trunc): Define using libm_alias_double.
22893 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
22894 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
22895 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
22896 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
22897 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
22898 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
22899 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
22900 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
22901 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
22902
f275f64e
SN
229032017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22904
22905 * math/w_remainder.c: New file.
22906 * math/w_remainderf.c: New file.
22907 * math/w_remainderl.c: New file.
22908
b8818ab5
L
229092017-10-03 H.J. Lu <hongjiu.lu@intel.com>
22910
22911 * elf/rtld.c (BOOTSTRAP_MAP): New.
22912 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
22913 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
22914 Likewise.
22915 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
22916 Likewise.
22917 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
22918 Likewise.
22919
3d1870fa
ST
229202017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
22921
22922 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
22923 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
22924 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
22925 rtld_hidden_data_ver): Define to empty.
22926 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
22927 __assert_perror_fail): Likewise.
22928 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
22929 (__rewinddir): Likewise.
22930 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
22931 (__profile_frequency): Likewise.
22932 * include/setjmp.h (__sigsetjmp): Likewise.
22933 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
22934 __libc_sigaction): Likewise.
22935 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
22936 not set hidden attribute.
22937 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
22938 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
22939 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
22940 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
22941 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
22942 __fxstatat64): Likewise.
22943 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
22944 (__uname): Likewise.
22945 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
22946 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
22947 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
22948 (NO_RTLD_HIDDEN): Set.
22949 * sysdeps/mach/hurd/configure: Refresh.
22950 * config.h.in: Refresh.
22951
527cd19c
JM
229522017-10-02 Joseph Myers <joseph@codesourcery.com>
22953
38722448
JM
22954 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
22955 (atan): Define using libm_alias_double.
22956 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
22957 (tan): Define using libm_alias_double.
22958 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
22959 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
22960
527cd19c
JM
22961 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
22962 define as weak alias of __atan. Do not define any aliases if
22963 [__atan].
22964 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
22965 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
22966 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
22967 as weak alias of __tan. Do not define any aliases if [__tan].
22968 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
22969 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
22970 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
22971 __atan.
22972 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
22973 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
22974 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
22975 and define as weak alias of __atan.
22976 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
22977 __atan.
22978 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
22979 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
22980 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
22981 define as weak alias of __tan.
22982
bdc5c592
SN
229832017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
22984
22985 * math/w_lgamma.c: New file.
22986 * math/w_lgammaf.c: New file.
22987 * math/w_lgammal.c: New file.
22988
bd4430c2
SN
229892017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
22990
22991 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
22992 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
22993 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
22994 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
22995 * sysdeps/ieee754/flt-32/w_logf.c: New file.
22996 * sysdeps/ieee754/flt-32/w_powf.c: New file.
22997 * sysdeps/i386/fpu/w_log2f.c: New file.
22998 * sysdeps/i386/fpu/w_logf.c: New file.
22999 * sysdeps/i386/fpu/w_powf.c: New file.
23000 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
23001 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
23002 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
23003
f7a0b063
SN
230042017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
23005 H.J. Lu <hongjiu.lu@intel.com>
23006
23007 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
23008 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
23009 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
23010 * sysdeps/ieee754/flt-32/w_expf.c: New file.
23011 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
23012 the new expf code.
23013 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
23014 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
23015 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
23016 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
23017 * sysdeps/i386/fpu/w_exp2f.c: New file.
23018 * sysdeps/i386/fpu/w_expf.c: New file.
23019 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
23020 * sysdeps/x86_64/fpu/w_expf.c: New file.
23021
72d3d281
SN
230222017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
23023
23024 * math/Versions (logf): New libm symbol at GLIBC_2.27.
23025 (log2f): Likewise.
23026 (powf): Likewise.
23027 * math/w_log2f.c: New file.
23028 * math/w_logf.c: New file.
23029 * math/w_powf.c: New file.
23030 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
23031 * math/w_logf_compat.c (__logf_compat): Likewise.
23032 * math/w_powf_compat.c (__powf_compat): Likewise.
23033 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
23034 * sysdeps/ia64/fpu/e_logf.S: Likewise.
23035 * sysdeps/ia64/fpu/e_powf.S: Likewise.
23036 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
23037 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23038 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
23039 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
23040 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23041 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23042 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
23043 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
23044 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
23045 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
23046 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23047 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
23048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
23049 Likewise.
23050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
23051 Likewise.
23052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23053 Likewise.
23054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
23055 Likewise.
23056 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23057 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23058 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
23059 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23060 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23061 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
23062 Likewise.
23063 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
23064 Likewise.
23065 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23066 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23067 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23068
59ba2d2b
RS
230692017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23070
23071 * sysdeps/powerpc/powerpc64/multiarch/Makefile
23072 (sysdep_routines): Add memrchr_power8.
23073 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23074 (memrchr): Add __memrchr_power8 to list of memrchr functions.
23075 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
23076 New file.
23077 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
23078 (memrchr): Add __memrchr_power8 to ifunc list.
23079 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
23080
397286ea
L
230812017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23082
23083 [BZ #18822]
23084 * sysdeps/unix/sysv/linux/posix_fadvise64.c
23085 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
23086 libc_hidden_def.
23087 * sysdeps/unix/sysv/linux/posix_fallocate64.c
23088 (__posix_fallocate64_l64): Likewise.
23089
d0a4512b
L
230902017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23091
23092 [BZ #18822]
23093 * sysdeps/unix/sysv/linux/sched_setaffinity.c
23094 (__sched_setaffinity_new): Add libc_hidden_proto and
23095 libc_hidden_def.
23096
c0769f70
L
230972017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23098
23099 [BZ #18822]
23100 * include/glob.h (__glob64): Add libc_hidden_proto.
23101 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
23102 libc_hidden_def.
23103
0e7d5b6e
L
231042017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23105
23106 [BZ #18822]
23107 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
23108 attribute_hidden.
23109
bde06c87
L
231102017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23111
23112 [BZ #18822]
23113 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
23114
fa426590
L
231152017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23116
23117 [BZ #18822]
23118 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
23119 libc_hidden_def.
23120
2f8a05d8
L
231212017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23122
23123 [BZ #18822]
23124 * csu/version.c (__libc_print_version): Add attribute_hidden.
23125
7bfd08ac
L
231262017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23127
23128 [BZ #18822]
23129 * include/libc-internal.h (__init_misc): Add attribute_hidden.
23130
0e1fd06c
L
231312017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23132
23133 [BZ #18822]
23134 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
23135
36e7ae1e
L
231362017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23137
23138 [BZ #18822]
23139 * nscd/nscd_helper.c (__nis_hash): New prototype.
23140
87078544
L
231412017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23142
23143 [BZ #18822]
23144 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
23145 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
23146 libc_hidden_def.
23147 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
23148 * termios/tcgetattr.c (__tcgetattr): Likewise.
23149
dd3121df
L
231502017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23151
23152 [BZ #18822]
23153 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
23154 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
23155 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
23156 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
23157 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
23158
047d1a81
L
231592017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23160
23161 [BZ #18822]
23162 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
23163
fd331b11
L
231642017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23165
23166 [BZ #18822]
23167 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
23168 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
23169
57f859bd
L
231702017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23171
23172 [BZ #18822]
23173 * intl/hash-string.h (__hash_string): Add attribute_hidden.
23174
d1903329
L
231752017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23176
23177 [BZ #18822]
23178 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
23179 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
23180
b4744101
L
231812017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23182
23183 [BZ #18822]
23184 * include/ifreq.h: New file.
23185 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
23186 (__ifreq): Likewise.
23187 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
23188 (__ifreq): Likewise.
23189
43b7dfd1
L
231902017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23191
23192 [BZ #18822]
23193 * include/idna.h: New file.
23194 * inet/getnameinfo.c: Include <idna.h> instead of
23195 <libidn/idna.h>.
23196 (__idna_to_unicode_lzlz): Removed.
23197 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
23198 <libidn/idna.h>.
23199 (__idna_to_ascii_lz): Removed.
23200 (__idna_to_unicode_lzlz): Likewise.
23201
2c0cd8f8
L
232022017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23203
23204 [BZ #18822]
23205 * include/plural-exp.h: New file.
23206 * intl/plural-exp.c: Include <plural-exp.h> instead of
23207 "plural-exp.h".
23208
8369d216
L
232092017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23210
23211 [BZ #18822]
23212 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
23213 "getsourcefilter.h".
23214 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
23215 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
23216 "getsourcefilter.h".
23217 (__get_sol): Removed.
23218
a0aef783
L
232192017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23220
23221 [BZ #18822]
23222 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
23223 to ...
23224 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
23225
3ee8209b
L
232262017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23227
23228 [BZ #18822]
23229 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
23230 attribute_hidden.
23231
6036fc38
L
232322017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23233
23234 [BZ #18822]
23235 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
23236
fe84fed0
L
232372017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23238
23239 [BZ #18822]
23240 * include/search.h (__tdestroy): Add libc_hidden_proto.
23241 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
23242
048dd681
L
232432017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23244
23245 [BZ #18822]
23246 * include/assert.h (__assert_fail_base): Add attribute_hidden.
23247
6e342af6
L
232482017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23249
23250 [BZ #18822]
23251 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
23252 attribute_hidden.
23253
6a088436
L
232542017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23255
23256 [BZ #18822]
23257 * include/signal.h (__kill): Add libc_hidden_proto.
23258 (__sigblock): Likewise.
23259 (__sigprocmask): Likewise.
23260 (__sigaltstack): Likewise.
23261 * signal/kill.c (__kill): Add libc_hidden_def.
23262 * signal/sigblock.c (__sigblock): Likewise.
23263 * signal/sigprocmask.c (__sigprocmask): Likewise.
23264 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
23265 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
23266 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
23267 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
23268 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
23269 Likewise.
23270 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
23271 Likewise.
23272 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
23273 (__sigprocmask): Likewise.
23274 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
23275 Likewise.
23276 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
23277 (__sigprocmask): Likewise.
23278 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
23279 Likewise.
23280
78cf1d74
L
232812017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23282
23283 [BZ #18822]
23284 * include/string.h (__strsep): Add libc_hidden_proto.
23285 * string/strsep.c (__strsep): Add libc_hidden_def.
23286
85b35894
L
232872017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23288
23289 [BZ #18822]
23290 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
23291 attribute_hidden.
23292 (__spawni): Likewise.
23293
225f7eec
L
232942017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23295
23296 [BZ #18822]
23297 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
23298 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
23299 libc_hidden_def.
23300
372fe247
L
233012017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23302
23303 [BZ #18822]
23304 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
23305
9e5ee8b8
L
233062017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23307
23308 [BZ #18822]
23309 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
23310 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
23311 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
23312 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
23313 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
23314 Likewise.
23315 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
23316 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
23317
2ff16592
L
233182017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23319
23320 [BZ #18822]
23321 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
23322 (__dcigettext): Likewise.
23323
b5648377
L
233242017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23325
23326 [BZ #18822]
23327 * include/sys/sysinfo.h (__get_nprocs_conf): Add
23328 libc_hidden_proto.
23329 (__get_nprocs): Likewise.
23330 (__get_phys_pages): Likewise.
23331 (__get_avphys_pages): Likewise.
23332 (__get_child_max): Add attribute_hidden.
23333 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
23334 (__get_nprocs): Likewise.
23335 (__get_phys_pages): Likewise.
23336 (__get_avphys_pages): Likewise.
23337 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
23338 libc_hidden_def.
23339 (__get_nprocs): Likewise.
23340 (__get_phys_pages): Likewise.
23341 (__get_avphys_pages): Likewise.
23342 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
23343 libc_hidden_def.
23344 (__get_nprocs_conf): Likewise.
23345 (__get_phys_pages): Likewise.
23346 (__get_avphys_pages): Likewise.
23347
0389a6aa
L
233482017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23349
23350 [BZ #18822]
23351 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
23352 attribute_hidden.
23353 (__netlink_close): Likewise.
23354 (__netlink_free_handle): Likewise.
23355 (__netlink_request): Likewise.
23356
d48354d8
L
233572017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23358
23359 [BZ #18822]
23360 * include/rpc/rpc.h (__rpc_thread_variables): Add
23361 attribute_hidden.
23362 (__rpc_thread_svc_cleanup): Likewise.
23363 (__rpc_thread_clnt_cleanup): Likewise.
23364 (__rpc_thread_key_cleanup): Likewise.
23365
d6daff12
L
233662017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23367
23368 [BZ #18822]
23369 * include/sys/uio.h (__readv): Add libc_hidden_proto.
23370 (__writev): Likewise.
23371 * misc/readv.c (__readv): Add libc_hidden_def.
23372 * misc/writev.c (__writev): Likewise.
23373 * sysdeps/posix/readv.c (__readv): Likewise.
23374 * sysdeps/posix/writev.c (__writev): Likewise.
23375 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
23376 (__readv): Likewise.
23377 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
23378 (__writev): Likewise.
23379
b68f8620
L
233802017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23381
23382 [BZ #18822]
23383 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
23384 (__regcomp): Add libc_hidden_proto.
23385 (__regexec): Likewise.
23386 (__regfree): Likewise.
23387 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
23388 (__regfree): Likewise.
23389 * posix/regexec.c (__regexec): Likewise.
23390
59c04e67
L
233912017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23392
23393 [BZ #18822]
23394 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
23395 (__getutent): Likewise.
23396 (__getutid): Likewise.
23397 (__getutline): Likewise.
23398 (__pututline): Likewise.
23399 (__getutent_r): Likewise.
23400 (__getutid_r): Likewise.
23401 (__getutline_r): Likewise.
23402 (__utmpname): Add attribute_hidden.
23403 (__setutent): Likewise.
23404 (__endutent): Likewise.
23405 * login/getutent.c (__getutent): Add libc_hidden_def.
23406 * login/getutent_r.c (__getutent_r): Likewise.
23407 (__pututline): Likewise.
23408 * login/getutid.c (__getutid): Likewise.
23409 * login/getutid_r.c (__getutid_r): Likewise.
23410 * login/getutline.c (__getutline): Likewise.
23411 * login/getutline_r.c (__getutline_r): Likewise.
23412 * login/updwtmp.c (__updwtmp): Likewise.
23413
4587a421
L
234142017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23415
23416 [BZ #18822]
23417 * include/dirent.h (__opendir): Always add attribute_hidden.
23418 (__fdopendir): Likewise.
23419 (__closedir): Likewise.
23420 (__readdir): Likewise.
23421 (__readdir64): Add libc_hidden_proto.
23422 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
23423 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
23424 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
23425 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
23426 New alias.
23427
9635ce69
L
234282017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23429
23430 [BZ #18822]
23431 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
23432 * include/netdb.h (__gethostbyaddr_r): Likewise.
23433 (__gethostbyname_r): Likewise.
23434 (__gethostbyname2_r): Likewise.
23435 (__getnetbyaddr_r): Likewise.
23436 (__getnetbyname_r): Likewise.
23437 (__getservbyname_r): Likewise.
23438 (__getservbyport_r): Likewise.
23439 (__getprotobyname_r): Likewise.
23440 (__getprotobynumber_r): Likewise.
23441 (__getnetgrent_r): Likewise.
23442 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
23443 (__getrpcbynumber_r): Likewise.
23444 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
23445
2e0a6909
L
234462017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23447
23448 [BZ #18822]
23449 * include/stdio.h (__fcloseall): Add attribute_hidden.
23450 (__getline): Likewise.
23451 (__path_search): Likewise.
23452 (__gen_tempname): Likewise.
23453 (__libc_message): Likewise.
23454 (__flockfile): Likewise.
23455 (__funlockfile): Likewise.
23456 (__fxprintf): Likewise.
23457 (__fxprintf_nocancel): Likewise.
23458
94fd682c
L
234592017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23460
23461 [BZ #18822]
23462 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
23463 (__sgetsgent_r): Likewise.
23464
e1b33bba
L
234652017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23466
23467 [BZ #18822]
23468 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
23469 (__statfs64): Likewise.
23470 (__fstatfs64): Likewise.
23471 * include/sys/statvfs.h (__statvfs64): Likewise.
23472 (__fstatvfs64): Likewise.
23473 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
23474 (__statfs_filesize_max): Likewise.
23475 (__statfs_symlinks): Likewise.
23476 (__statfs_chown_restricted): Likewise.
23477
b0f56784
L
234782017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23479
23480 [BZ #18822]
23481 * include/time.h (__tzstring): Add attribute_hidden.
23482 (__tzfile_read): Likewise.
23483 (__tzfile_compute): Likewise.
23484 (__tzfile_default): Likewise.
23485 (__tzset_parse_tz): Likewise.
23486 (__offtime): Likewise.
23487 (__asctime_r): Likewise.
23488 (__tzset): Likewise.
23489 (__tz_convert): Likewise.
23490 (__getdate_r): Likewise.
23491 (__getclktck): Likewise.
23492
a4338d99
L
234932017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23494
23495 [BZ #18822]
23496 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
23497 (__nscd_unmap): Likewise.
23498 (__nscd_cache_search): Likewise.
23499 (__nscd_get_nl_timestamp): Likewise.
23500 (__nscd_getpwnam_r): Likewise.
23501 (__nscd_getpwuid_r): Likewise.
23502 (__nscd_getgrnam_r): Likewise.
23503 (__nscd_getgrgid_r): Likewise.
23504 (__nscd_gethostbyname_r): Likewise.
23505 (__nscd_gethostbyname2_r): Likewise.
23506 (__nscd_gethostbyaddr_r): Likewise.
23507 (__nscd_getai): Likewise.
23508 (__nscd_getgrouplist): Likewise.
23509 (__nscd_getservbyname_r): Likewise.
23510 (__nscd_getservbyport_r): Likewise.
23511 (__nscd_innetgr): Likewise.
23512 (__nscd_setnetgrent): Likewise.
23513
a2ca1652
L
235142017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23515
23516 [BZ #18822]
23517 * include/gmp.h: Declare internal functions only if _ISOMAC is
23518 undefined.
23519 (__mpn_extract_double): Add attribute_hidden.
23520 (__mpn_extract_long_double): Likewise.
23521 (__mpn_extract_float128): Likewise.
23522 (__mpn_construct_float): Likewise.
23523 (__mpn_construct_double): Likewise.
23524 (__mpn_construct_long_double): Likewise.
23525 (__mpn_construct_float128): Likewise.
23526 (mpn_add_1): Likewise.
23527 (mpn_addmul_1): Likewise.
23528 (mpn_add_n): Likewise.
23529 (mpn_cmp): Likewise.
23530 (mpn_divrem): Likewise.
23531 (mpn_lshift): Likewise.
23532 (mpn_mul): Likewise.
23533 (mpn_mul_1): Likewise.
23534 (mpn_rshift): Likewise.
23535 (mpn_sub_1): Likewise.
23536 (mpn_submul_1): Likewise.
23537 (mpn_sub_n): Likewise.
23538
44af8a32
L
235392017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23540
23541 [BZ #18822]
23542 * include/wchar.h (__wcsnlen): Add attribute_hidden.
23543 (__wcscat): Likewise.
23544 (__btowc): Likewise.
23545 (__wcrtomb): Likewise.
23546 (__mbsrtowcs): Likewise.
23547 (__wcsrtombs): Likewise.
23548 (__mbsnrtowcs): Likewise.
23549 (__wcsnrtombs): Likewise.
23550 (__wcsncpy): Likewise.
23551 (__wcpncpy): Likewise.
23552 (__wmemcpy): Likewise.
23553 (__wmempcpy): Likewise.
23554 (__wmemmove): Likewise.
23555 (__wcschrnul): Likewise.
23556 (__vfwscanf): Likewise.
23557 (__vswprintf): Likewise.
23558 (__fwprintf): Likewise.
23559 (__vfwprintf): Likewise.
23560
783cd767
L
235612017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23562
23563 [BZ #18822]
23564 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
23565 (__getgrgid_r): Likewise.
23566 (__getgrnam_r): Likewise.
23567 * include/pwd.h (__getpwuid_r): Likewise.
23568 (__getpwnam_r): Likewise.
23569 (__fgetpwent_r): Likewise.
23570 * include/shadow.h (__getspnam_r): Likewise.
23571 (__sgetspent_r): Likewise.
23572 (__fgetspent_r): Likewise.
23573
7ec4b39a
L
235742017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23575
23576 [BZ #18822]
23577 * include/unistd.h (__access): Add attribute_hidden.
23578 (__lseek64): Likewise.
23579 (__libc_pread64): Likewise.
23580 (__pipe2): Likewise.
23581 (__sleep): Likewise.
23582 (__chdir): Likewise.
23583 (__fchdir): Likewise.
23584 (__getcwd): Likewise.
23585 (__rmdir): Likewise.
23586 (__execvpe): Likewise.
23587 (__execve): Likewise.
23588 (__setsid): Likewise.
23589 (__getuid): Likewise.
23590 (__geteuid): Likewise.
23591 (__getgid): Likewise.
23592 (__getegid): Likewise.
23593 (__getgroups): Likewise.
23594 (__group_member): Likewise.
23595 (__ttyname_r): Likewise.
23596 (__isatty): Likewise.
23597 (__readlink): Likewise.
23598 (__unlink): Likewise.
23599 (__gethostname): Likewise.
23600 (__profil): Likewise.
23601 (__getdtablesize): Likewise.
23602 (__brk): Likewise.
23603 (__ftruncate): Likewise.
23604 (__ftruncate64): Likewise.
23605
8345a760
L
236062017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23607
23608 [BZ #18822]
23609 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
23610 * argp/argp-fs-xinl.c: Likewise.
23611 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
23612 * argp/argp-parse.c: Include <argp.h>.
23613 * argp/argp-xinl.c: Likewise.
23614 * include/argp-fmtstream.h: New file.
23615 * include/argp.h (__argp_error): Add attribute_hidden.
23616 (__argp_failure): Likewise.
23617 (__argp_input): Likewise.
23618 (__argp_state_help): Likewise.
23619
c26dd7c6
L
236202017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23621
23622 [BZ #18822]
23623 * include/wchar.h (____wcstof_l_internal): New prototype.
23624 (____wcstod_l_internal): Likewise.
23625 (____wcstold_l_internal): Likewise.
23626 (____wcstol_l_internal): Likewise.
23627 (____wcstoul_l_internal): Likewise.
23628 (____wcstoll_l_internal): Likewise.
23629 (____wcstoull_l_internal): Likewise.
23630 (____wcstof128_l_internal): Likewise.
23631 * sysdeps/ieee754/float128/wcstof128.c
23632 (____wcstof128_l_internal): Removed.
23633 * sysdeps/ieee754/float128/wcstof128_l.c
23634 (____wcstof128_l_internal): Likewise.
23635 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
23636 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
23637 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
23638 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
23639 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
23640 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
23641 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
23642 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
23643 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
23644 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
23645
3aff5644
L
236462017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23647
23648 [BZ #18822]
23649 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
23650 instead of <sys/statvfs.h>.
23651 (__internal_statvfs): Removed.
23652 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
23653 instead of <sys/statvfs.h>.
23654 (__internal_statvfs64): Removed.
23655 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
23656 "internal_statvfs.h" instead of <sys/statvfs.h>.
23657 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
23658 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
23659 instead of <sys/statvfs.h>.
23660 (__internal_statvfs): Removed.
23661 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
23662 instead of <sys/statvfs.h>.
23663 (__internal_statvfs64): Removed.
23664
8bcdb7e0
L
236652017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23666
23667 [BZ #18822]
23668 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
23669 (__gconv_close): Likewise.
23670 (__gconv): Likewise.
23671 (__gconv_find_transform): Likewise.
23672 (__gconv_lookup_cache): Likewise.
23673 (__gconv_compare_alias_cache): Likewise.
23674 (__gconv_load_cache): Likewise.
23675 (__gconv_get_path): Likewise.
23676 (__gconv_close_transform): Likewise.
23677 (__gconv_release_cache): Likewise.
23678 (__gconv_find_shlib): Likewise.
23679 (__gconv_release_shlib): Likewise.
23680 (__gconv_get_builtin_trans): Likewise.
23681 (__gconv_compare_alias): Likewise.
23682 * include/dlfcn.h (_dlerror_run): Likewise.
23683 * include/stdio.h (__fortify_fail_abort): Likewise.
23684 * include/time.h (__tz_compute): Likewise.
23685 (__strptime_internal): Likewise.
23686 * intl/gettextP.h (_nl_find_domain): Likewise.
23687 (_nl_load_domain): Likewise.
23688 (_nl_find_msg): Likewise.
23689 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
23690 (EXTRACT_PLURAL_EXPRESSION): Likewise.
23691 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
23692 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
23693 (__gai_find_request): Likewise.
23694 (__gai_remove_request): Likewise.
23695 (__gai_notify): Likewise.
23696 (__gai_notify_only): Likewise.
23697 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
23698 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
23699 (_dl_non_dynamic_init): Likewise.
23700 (_dl_aux_init): Likewise.
23701 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
23702 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
23703 Likewise.
23704 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
23705 (__wcsmbs_clone_conv): Likewise.
23706 (__wcsmbs_named_conv): Likewise.
23707
8ed3b643
L
237082017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23709
23710 [BZ #18822]
23711 * include/stdlib.h (__random): Add attribute_hidden.
23712 (__random_r): Likewise.
23713 (__srandom_r): Likewise.
23714 (__initstate_r): Likewise.
23715 (__setstate_r): Likewise.
23716 (__erand48_r): Likewise.
23717 (__nrand48_r): Likewise.
23718 (__jrand48_r): Likewise.
23719 (__srand48_r): Likewise.
23720 (__seed48_r): Likewise.
23721 (__lcong48_r): Likewise.
23722 (__drand48_iterate): Likewise.
23723 (__setenv): Likewise.
23724 (__unsetenv): Likewise.
23725 (__clearenv): Likewise.
23726 (__ptsname_r): Likewise.
23727 (__posix_openpt): Likewise.
23728 (__add_to_environ): Likewise.
23729 (__realpath): Add libc_hidden_proto.
23730 (__ecvt_r): Likewise.
23731 (__fcvt_r): Likewise.
23732 (__qecvt_r): Likewise.
23733 (__qfcvt_r): Likewise.
23734 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
23735 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
23736
ef9b6f73
L
237372017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23738
23739 [BZ #18822]
23740 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
23741 * include/time.h (__mktime_internal): Likewise.
23742 * libio/iolibio.h (__fopen_internal): Likewise.
23743
8da92e72
JDA
237442017-10-01 John David Anglin <danglin@gcc.gnu.org>
23745
23746 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
23747 pointer in frame.
23748 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
23749 Correct offset used to restore PIC register.
23750
388784cf
JDA
237512017-09-30 John David Anglin <danglin@gcc.gnu.org>
23752
23753 [BZ libc/22165]
23754 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
23755 code to load address of __getcontext_ret when generating PIC code.
23756
2000067a
L
237572017-09-30 H.J. Lu <hongjiu.lu@intel.com>
23758
23759 * elf/Makefile (tests-static-internal): Add
23760 tst-tls1-static-non-pie.
23761 (LDFLAGS-tst-tls1-static-non-pie): New.
23762 * elf/tst-tls1-static-non-pie.c: New file.
23763
1e2bffd0
JM
237642017-09-29 Joseph Myers <joseph@codesourcery.com>
23765
23766 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
23767 (asinh): Define using libm_alias_double.
23768 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
23769 (cbrt): Define using libm_alias_double.
23770 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
23771 <libm-alias-double.h>.
23772 (copysign): Define using libm_alias_double.
23773 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
23774 (erf): Define using libm_alias_double.
23775 (erfc): Likewise.
23776 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
23777 (expm1): Define using libm_alias_double.
23778 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
23779 (fabs): Define using libm_alias_double.
23780 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
23781 libm_alias_double.
23782 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
23783 <libm-alias-double.h>.
23784 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
23785 libm_alias_double.
23786 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
23787 <libm-alias-double.h>.
23788 (getpayload): Define using libm_alias_double.
23789 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
23790 <libm-alias-double.h>.
23791 (llrint): Define using libm_alias_double.
23792 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
23793 (lrint): Define using libm_alias_double.
23794 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
23795 <libm-alias-double.h>.
23796 (nextup): Define using libm_alias_double.
23797 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
23798 <libm-alias-double.h>.
23799 (roundeven): Define using libm_alias_double.
23800 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
23801 libm_alias_double.
23802 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
23803 <libm-alias-double.h>.
23804 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
23805 using libm_alias_double.
23806 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
23807 (cos): Define using libm_alias_double.
23808 (sin): Likewise.
23809 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
23810 <libm-alias-double.h>.
23811 (sincos): Define using libm_alias_double.
23812 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
23813 (tanh): Define using libm_alias_double.
23814 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
23815 <libm-alias-double.h>.
23816 (totalorder): Define using libm_alias_double.
23817 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
23818 <libm-alias-double.h>.
23819 (totalordermag): Define using libm_alias_double.
23820 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
23821 libm_alias_double.
23822 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
23823 libm_alias_double.
23824 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
23825 <libm-alias-double.h>.
23826 (getpayload): Define using libm_alias_double.
23827 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
23828 <libm-alias-double.h>.
23829 (roundeven): Define using libm_alias_double.
23830 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
23831 <libm-alias-double.h>.
23832 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
23833 <libm-alias-double.h>.
23834 (totalorder): Define using libm_alias_double.
23835 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
23836 <libm-alias-double.h>.
23837 (totalordermag): Define using libm_alias_double.
23838 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
23839 libc compat symbol here.
23840 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
23841 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
23842 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
23843 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
23844 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
23845 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
23846 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
23847 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
23848 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
23849 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
23850
8172aad9
L
238512017-09-29 H.J. Lu <hongjiu.lu@intel.com>
23852
23853 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
23854 _dl_relocate_static_pie instead of _dl_start to compute load
23855 address in static PIE. Return 0 if _DYNAMIC is undefined for
23856 static executable.
23857
54464e74
L
238582017-09-29 H.J. Lu <hongjiu.lu@intel.com>
23859
23860 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
23861 _DYNAMIC is undefined for static executable.
23862
f6c5e5bc
L
238632017-09-29 H.J. Lu <hongjiu.lu@intel.com>
23864
23865 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
23866
2f92505d
JM
238672017-09-29 Joseph Myers <joseph@codesourcery.com>
23868
23869 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23870
bd8d53bb
WD
238712017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
23872
23873 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
23874 (__ieee754_lgamma_r): Use fabs rather than __fabs.
23875 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
23876 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
23877 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
23878 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
23879 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
23880 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
23881 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
23882 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
23883 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
23884 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
23885 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
23886 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
23887 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
23888 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
23889 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
23890
fffb1507
WD
238912017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
23892
23893 * math/bits/cmathcalls.h (cimag): Remove inline.
23894 (creal): Remove inline.
23895 (conj): Remove inline.
23896
4ea49f4c
SN
238972017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
23898
23899 * math/Makefile (type-float-routines): Add e_powf_log2_data.
23900 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
23901 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
23902 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
23903 (issignalingf_inline): Likewise.
23904 (POWF_LOG2_TABLE_BITS): Likewise.
23905 (POWF_LOG2_POLY_ORDER): Likewise.
23906 (POWF_SCALE_BITS): Likewise.
23907 (POWF_SCALE): Likewise.
23908 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
23909 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
23910 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
23911
875c76c7
SN
239122017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
23913
23914 * math/Makefile (type-float-routines): Add e_log2f_data.
23915 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
23916 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
23917 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
23918 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
23919 * sysdeps/i386/fpu/e_log2f_data.c: New file.
23920 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
23921 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
23922
90c42e40
SN
239232017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
23924
23925 * math/Makefile (type-float-routines): Add e_logf_data.
23926 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
23927 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
23928 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
23929 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
23930 * sysdeps/i386/fpu/e_logf_data.c: New file.
23931 * sysdeps/ia64/fpu/e_logf_data.c: New file.
23932 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
23933
4088d8dd
L
239342017-09-28 H.J. Lu <hongjiu.lu@intel.com>
23935
23936 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
23937 undefined _DYNAMIC in PIE libc.a.
23938 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
23939 Likewse.
23940
4d3693ec
WD
239412017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
23942
23943 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
23944 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
23945 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
23946 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
23947 (__signbit): Remove.
23948 (__signbitl): Remove.
23949 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
23950 (__signbit): Remove.
23951 (__signbitl): Remove.
23952 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
23953 (__signbit): Remove.
23954 (__signbitl): Remove.
23955 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
23956 (__signbit): Remove.
23957 (__signbitl): Remove.
23958 * sysdeps/tile/bits/mathinline.h: Delete file.
23959 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
23960 (__signbit): Remove.
23961 (__signbitl): Remove.
23962
1e6d0723
WD
239632017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
23964
23965 * math/math.h: Improve handling of C99 isgreater macros.
23966 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
23967 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
23968 * sysdeps/powerpc/bits/mathinline.h: Likewise.
23969 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
23970 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
23971
b2f03cf3
SN
239722017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
23973
23974 * sysdeps/aarch64/libm-test-ulps: Update.
23975
f124cb38
JM
239762017-09-28 Joseph Myers <joseph@codesourcery.com>
23977
23978 [BZ #22225]
23979 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23980 math_opt_barrier on argument when doing arithmetic on it.
23981 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
23982 Likewise. Use math_force_eval not math_opt_barrier after
23983 arithmetic.
23984 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
23985 math_opt_barrier on argument when doing arithmetic on it.
23986 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
23987 Likewise.
23988
7edd0691
L
239892017-09-27 H.J. Lu <hongjiu.lu@intel.com>
23990
23991 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
23992 libc_hidden_def.
23993 (__freeifaddrs): Likewise.
23994
2c7bbfaf
ST
239952017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
23996
23997 * include/dirent.h (__dirfd): New declaration.
23998 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
23999 alias.
24000 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
24001 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
24002 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
52a1f181
ST
24003 * include/unistd.h (__revoke): New declaration.
24004 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
24005 alias.
24006 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
24007 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
24008 revoke.
64a4af28
ST
24009 * include/dirent.h (__seekdir): New declaration.
24010 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
24011 redefine as weak alias.
24012 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
24013 of seekdir.
4009ddc6
ST
24014 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
24015 and use libc_hidden_def on them.
24016 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
24017 them.
24018 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
24019 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
24020 instead of getifaddrs and freeifaddrs.
2c7bbfaf 24021
825adeee
L
240222017-09-26 H.J. Lu <hongjiu.lu@intel.com>
24023
24024 [BZ #18822]
24025 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
24026 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
24027 (__dso_handle): Remove declaration.
24028 * dlfcn/tstatexit.c (__dso_handle): Removed.
24029 (main): Don't check __dso_handle.
24030 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
24031 (main): Don't check __dso_handle.
24032 * include/dso_handle.h: New file.
24033 * malloc/mtrace.c: Include <dso_handle.h>.
24034 (mtrace): Pass __dso_handle directly.
24035 * nptl/pthread_atfork.c: Include <dso_handle.h>.
24036 (__dso_handle): Remove declaration.
24037 (__pthread_atfork): Pass __dso_handle directly.
24038 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
24039 (__dso_handle): Removed.
24040 * posix/wordexp-test.c: Include <dso_handle.h>.
24041 (__dso_handle): Remove declaration.
24042 (__app_register_atfork): Pass __dso_handle directly.
24043 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
24044 (__dso_handle): Remove declaration.
24045 (at_quick_exit): Pass __dso_handle directly.
24046 * stdlib/atexit.c: Include <dso_handle.h>.
24047 (__dso_handle): Remove declaration.
24048 (atexit): Pass __dso_handle directly.
24049 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
24050 (__dso_handle): Removed.
24051
bfb0deb3
JM
240522017-09-26 Joseph Myers <joseph@codesourcery.com>
24053
24054 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
24055 using VDSO.
24056
cebcb9f8
AM
240572017-09-26 Alexey Makhalov <amakhalov@vmware.com>
24058
24059 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
24060 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
24061 values to correct default value for given type.
24062
592d5c75
L
240632017-09-26 H.J. Lu <hongjiu.lu@intel.com>
24064
24065 [BZ #22101]
24066 * elf/Makefile (tests): Add tst-debug1.
24067 ($(objpfx)tst-debug1): New.
24068 ($(objpfx)tst-debug1.out): Likewise.
24069 ($(objpfx)tst-debug1mod1.so): Likewise.
24070 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
24071 with p_filesz == 0.
24072 * elf/tst-debug1.c: New file.
24073
2d9193f2
JM
240742017-09-26 Joseph Myers <joseph@codesourcery.com>
24075
24076 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
24077 Define using __ifunc.
24078
4c5a7a02
TMQMF
240792017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24080
24081 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
24082 exp2f() values.
24083
12ef66c4
JM
240842017-09-26 Joseph Myers <joseph@codesourcery.com>
24085
24086 [BZ #22156]
24087 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
24088
44dade71
FW
240892017-09-26 Florian Weimer <fweimer@redhat.com>
24090
24091 * resolv/Makefile (tests-internal): Fix typo in comment.
24092
eaca16f1
FW
240932017-09-26 Florian Weimer <fweimer@redhat.com>
24094
24095 * resolv/nss_dns/dns-host.c: Fix typo in comment.
24096
ccf970c7
AZ
240972017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24098
5f9f31ad
AZ
24099 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
24100 Use an union instead of a max_align_t array for __space,
24101 so that __space is the same size on all platforms.
24102 * malloc/scratch_buffer_grow_preserve.c
24103 (__libc_scratch_buffer_grow_preserve): Likewise.
24104
ccf970c7
AZ
24105 [BZ #22183]
24106 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
24107 version to 2.
24108 * posix/Makefile (routines): Add glob-lstat-compat and
24109 glob64-lstat-compat.
24110 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
24111 * posix/glob-lstat-compat.c: New file.
24112 * posix/glob64-lstat-compat.c: Likewise.
24113 * posix/tst-glob_lstat_compat.c: Likewise.
24114 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
24115 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
24116 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
24117 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
24118 Likewise.
24119 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
24120 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
24121 * posix/glob.c (glob_lstat): New function.
24122 (glob): Rename to __glob and add versioned symbol to 2.27.
24123 (glob_in_dir): Use glob_lstat.
24124 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
24125 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
24126 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
24127 2.27.
24128 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
24129 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
24130 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
24131 gl_lstat on glob call.
24132 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
24133 and glob64 symbols.
24134 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24135 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
24136 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
24137 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
24138 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
24139 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
24140 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
24141 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
24142 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
24143 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24144 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24145 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
24146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
24147 Likewise.
24148 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
24149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
24150 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24151 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24152 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
24153 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24154 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24155 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
24156 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
24157 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
24158 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
24159 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
24160
b4396163
L
241612017-09-25 H.J. Lu <hongjiu.lu@intel.com>
24162
24163 * configure.ac (AS): Require binutils 2.25 or later.
24164 * configure: Regenerated.
24165
8f834987
PP
241662017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
24167
24168 [BZ #22207]
24169 * stdlib/test-atexit-race-common.c (do_test): Minimize required
24170 VM size.
24171
3de93d19
DD
241722017-09-25 DJ Delorie <dj@redhat.com>
24173
24174 [BZ #22161]
24175 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
24176 resetting timeout.
24177
9947638d
SL
241782017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
24179
24180 * sysdeps/ieee754/dbl-64/sincos32.h
24181 [SINCCOS32_H]: Remove define.
24182 [SINCOS32_H]: Define.
24183
f5f0f526
SN
241842017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
24185
24186 * math/Versions (expf): New libm symbol at GLIBC_2.27.
24187 (exp2f): Likewise.
24188 * math/w_exp2f.c: New file.
24189 * math/w_expf.c: New file.
24190 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
24191 * math/w_expf_compat.c (__expf_compat): Likewise.
24192 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
24193 * sysdeps/ia64/fpu/e_expf.S: Likewise.
24194 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
24195 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24196 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
24197 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
24198 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24199 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24200 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
24201 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
24202 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
24203 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
24204 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24205 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
24206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
24207 Likewise.
24208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
24209 Likewise.
24210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24211 Likewise.
24212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
24213 Likewise.
24214 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24215 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24216 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
24217 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24218 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24219 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
24220 Likewise.
24221 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24222 Likewise.
24223 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24224 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
24225 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
24226
72aa6233
SN
242272017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
24228
24229 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
24230 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
24231 (roundtoint, converttoint): Likewise.
24232 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
24233 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
24234 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
24235 * sysdeps/ieee754/flt-32/math_config.h: New file.
24236 * sysdeps/ieee754/flt-32/math_errf.c: New file.
24237 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
24238 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
24239 * sysdeps/i386/fpu/math_errf.c: New file.
24240 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
24241 * sysdeps/ia64/fpu/math_errf.c: New file.
24242 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
24243 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
24244
5e6f3253
ST
242452017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
24246
24247 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
24248 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
24249 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
24250 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
24251 to make sure that these symbols are defined.
b38a42a0
ST
24252 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
24253 of <limits.h>
24254 (__need_NULL): Do not define.
24255 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
24256 alignment.
24257 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
24258 CMGROUP_MAX, cmsgcred): Do not define.
24259 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
24260 NULL.
24261 * bits/socket.h: Likewise.
fcafcd16
ST
24262 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
24263 __gettimeofday instead of gettimeofday.
24264 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
24265 instead of settimeofday.
5e6f3253 24266
2f49ce7d
JM
242672017-09-22 Joseph Myers <joseph@codesourcery.com>
24268
24269 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
24270 (asinhf): Define using libm_alias_float.
24271 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
24272 (atanf): Define using libm_alias_float.
24273 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
24274 (cbrtf): Define using libm_alias_float.
24275 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
24276 (ceilf): Define using libm_alias_float.
24277 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
24278 <libm-alias-float.h>.
24279 (copysignf): Define using libm_alias_float.
24280 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
24281 (cosf): Define using libm_alias_float.
24282 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
24283 (erff): Define using libm_alias_float.
24284 (erfcf): Likewise.
24285 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
24286 (expm1f): Define using libm_alias_float.
24287 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
24288 (fabsf): Define using libm_alias_float.
24289 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
24290 (floorf): Define using libm_alias_float.
24291 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
24292 (frexpf): Define using libm_alias_float.
24293 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
24294 libm_alias_float.
24295 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
24296 <libm-alias-float.h>.
24297 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
24298 libm_alias_float.
24299 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
24300 <libm-alias-float.h>.
24301 (getpayloadf): Define using libm_alias_float.
24302 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
24303 <libm-alias-float.h>.
24304 (llrintf): Define using libm_alias_float.
24305 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
24306 <libm-alias-float.h>.
24307 (llroundf): Define using libm_alias_float.
24308 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
24309 (logbf): Define using libm_alias_float.
24310 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
24311 (lrintf): Define using libm_alias_float.
24312 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
24313 (lroundf): Define using libm_alias_float.
24314 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
24315 (modff): Define using libm_alias_float.
24316 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
24317 <libm-alias-float.h>.
24318 (nearbyintf): Define using libm_alias_float.
24319 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
24320 <libm-alias-float.h>.
24321 (nextafterf): Define using libm_alias_float.
24322 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
24323 <libm-alias-float.h>.
24324 (nextupf): Define using libm_alias_float.
24325 * sysdeps/ieee754/flt-32/s_remquof.c: Include
24326 <libm-alias-float.h>.
24327 (remquof): Define using libm_alias_float.
24328 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
24329 (rintf): Define using libm_alias_float.
24330 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
24331 <libm-alias-float.h>.
24332 (roundevenf): Define using libm_alias_float.
24333 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
24334 (roundf): Define using libm_alias_float.
24335 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
24336 using libm_alias_float.
24337 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
24338 <libm-alias-float.h>.
24339 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
24340 Define using libm_alias_float.
24341 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
24342 <libm-alias-float.h>.
24343 (sincosf): Define using libm_alias_float.
24344 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
24345 (sinf): Define using libm_alias_float.
24346 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
24347 (tanf): Define using libm_alias_float.
24348 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
24349 (tanhf): Define using libm_alias_float.
24350 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
24351 <libm-alias-float.h>.
24352 (totalorderf): Define using libm_alias_float.
24353 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
24354 <libm-alias-float.h>.
24355 (totalordermagf): Define using libm_alias_float.
24356 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
24357 (truncf): Define using libm_alias_float.
24358 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
24359 libm_alias_float.
24360 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
24361 libm_alias_float.
24362
c5c4a626
GG
243632017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
24364
24365 [BZ #22146]
24366 math/math.h: Let fpclassify use the builtin in C++ mode, even
24367 when optimazing for size.
24368
23947846
JM
243692017-09-22 Joseph Myers <joseph@codesourcery.com>
24370
24371 * csu/Makefile (generated): Do not add version-info.h.
24372 (before-compile): Likewise.
24373 (all-Banner-files): Remove variable.
24374 ($(objpfx)version-info.h): Remove rule.
24375 * csu/version.c (banner): Do not include "version-info.h".
24376 * libidn/Banner: Remove.
24377 * manual/contrib.texi (Simon Josefsson): New entry.
24378
9ac3c682
GG
243792017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
24380
24381 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24382 Remove conditionals on LDBL_MANT_DIG.
24383 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
24384 (__ieee754_lgammal_r): Likewise.
24385
d2f0ed09
GG
243862017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
24387
24388 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
24389 _Float128 and L().
24390 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
24391 _Float128 and L(). Replace _Float128 with long double and L(x)
24392 with xL, throughout the file.
24393 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
24394 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
24395 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
24396 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
24397
c5c2e667
GG
243982017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
24399
24400 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
24401 sysdeps/ieee754/ldbl-128ibm.
24402 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
24403 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
24404 of including it. Keep _Float128 and L() intact. These will be
24405 reviewed by a separate patch.
24406 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
24407 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
24408 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
24409 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
24410
e010deb2
GG
244112017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
24412
24413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
24414 (__finitef128): Define to __redirect___finitef128.
24415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
24416 (__isinff128): Define to __redirect___isinff128.
24417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
24418 (__isnanf128): Define to __redirect___isnanf128.
24419
ffa44804
GG
244202017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
24421
24422 * sysdeps/powerpc/powerpc64le/Makefile
24423 (CFLAGS-tst-strtod-nan-locale.c): New variable.
24424 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
24425
e5e4d7cc
PP
244262017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
24427 Carlos O'Donell <carlos@redhat.com>
24428
24429 [BZ #22180]
24430 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
24431 * stdlib/test-dlclose-exit-race.c: New file.
24432 * stdlib/test-dlclose-exit-race-helper.c: New file.
24433 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
24434
c10c5267
JM
244352017-09-21 Joseph Myers <joseph@codesourcery.com>
24436
24437 * crypt/Banner: Remove file.
24438 * nptl/Banner: Likewise.
24439 * resolv/Banner: Likewise.
24440 * soft-fp/Banner: Likewise.
24441 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
24442 ($(objpfx)version.d): Remove dependency on banner.h.
24443 ($(objpfx)version.os): Likewise.
24444 * nptl/version.c (banner): Do not include banner.h.
24445 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
24446 Jelinek and BIND code.
24447
1cc9e59a
PP
244482017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
24449 Carlos O'Donell <carlos@redhat.com>
24450
24451 * support/xdlfcn.h: New file.
24452 * support/xdlfcn.c: New file.
24453 * support/Makefile (libsupport-routines): Add xdlfcn.
24454 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
24455
ae8372d7
JM
244562017-09-20 Joseph Myers <joseph@codesourcery.com>
24457
24458 [BZ #20142]
24459 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24460 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
24461 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
24462 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
24463 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
24464 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
24465 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
24466 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
24467
26e70aec
PP
244682017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
24469 Ricky Zhou <rickyz@google.com>
24470 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
24471
24472 [BZ #14333]
24473 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
24474 Remove atomics.
24475 (__new_exitfn): Fail registration when we finished at_exit processing.
24476 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
24477 * stdlib/on_exit.c (__on_exit): Likewise.
24478 * stdlib/exit.c (__exit_funcs_done): New variable.
24479 (__run_exit_handlers): Use __exit_funcs_lock.
24480 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
24481 declarations.
24482 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
24483 (test-cxa_atexit-race, test-on_exit-race): New tests.
24484 * stdlib/test-atexit-race-common.c: New file.
24485 * stdlib/test-atexit-race.c: New file.
24486 * stdlib/test-at_quick_exit-race.c: New file.
24487 * stdlib/test-cxa_atexit-race.c: New file.
24488 * stdlib/test-on_exit-race.c: New file.
24489
0525ce48
SN
244902017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
24491
24492 * benchtests/Makefile: Add exp2f and log2f benchmarks.
24493 * benchtests/exp2f-inputs: Copy of expf-inputs.
24494 * benchtests/log2f-inputs: Copy of logf-inputs.
24495
d82468d1
JM
244962017-09-19 Joseph Myers <joseph@codesourcery.com>
24497
24498 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
24499 Explicitly take address of first element of array arguments in
24500 call to INLINE_SYSCALL.
24501
43ffc53a
AS
245022017-09-19 Andreas Schwab <schwab@suse.de>
24503
24504 [BZ #22134]
24505 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
24506 execveat first.
24507 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
24508 unimplemented.
24509 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
24510 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
24511 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24512 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
24513 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
24514 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
24515 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24516 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
24517 * posix/Makefile (tests): Add tst-fexecve.
24518 * posix/tst-fexecve.c: New file.
24519
a5dcc87e
WD
245202017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
24521
24522 * benchtests/Makefile: Add logf benchmark.
24523 * benchtests/logf-inputs: Add reduced trace from wrf_r.
24524
7024d544
WD
245252017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
24526
24527 * benchtests/Makefile: Add expf benchmark.
24528 * benchtests/expf-inputs: Add reduced trace from wrf_r.
24529
ca3a382e
WD
245302017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
24531
24532 * csu/Makefile: Add -funwind-tables to libc-start.c.
24533 * debug/Makefile: Add -funwind-tables to backtrace.c.
24534 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
24535 * sysdeps/arm/Makefile: Likewise.
24536 * sysdeps/i386/Makefile: Likewise.
24537 * sysdeps/m68k/Makefile: Likewise.
24538 * sysdeps/mips/Makefile: Likewise.
24539 * sysdeps/nios2/Makefile: Likewise.
24540 * sysdeps/sh/Makefile: Likewise.
24541 * sysdeps/sparc/Makefile: Likewise.
24542
eb375def
JM
245432017-09-19 Joseph Myers <joseph@codesourcery.com>
24544
24545 * benchtests/Makefile (bench-math): Add trunc and truncf.
24546 (CFLAGS-bench-trunc.c): New variable.
24547 (CFLAGS-bench-truncf.c): Likewise.
24548 * benchtests/trunc-inputs: New file.
24549 * benchtests/truncf-inputs: Likewise.
24550
bd17ba29
RS
245512017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24552
24553 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
24554
92892fdb
JM
245552017-09-18 Joseph Myers <joseph@codesourcery.com>
24556
6d9b0b5a
JM
24557 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
24558 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
24559 redefine.
24560 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
24561 (exp10l): Define as weak alias.
24562 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
24563 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
24564 and redefine.
24565 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
24566 (remainderl): Define as weak alias.
24567
92892fdb
JM
24568 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
24569 (fmal): Define using libm_alias_ldouble.
24570 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
24571 (acoshl): Define using libm_alias_ldouble.
24572 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
24573 (acosl): Define using libm_alias_ldouble.
24574 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
24575 (asinl): Define using libm_alias_ldouble.
24576 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
24577 (atan2l): Define using libm_alias_ldouble.
24578 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
24579 (atanhl): Define using libm_alias_ldouble.
24580 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
24581 (coshl): Define using libm_alias_ldouble.
24582 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
24583 (exp10l): Define using libm_alias_ldouble.
24584 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
24585 (exp2l): Define using libm_alias_ldouble.
24586 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
24587 (expl): Define using libm_alias_ldouble.
24588 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
24589 (fmodl): Define using libm_alias_ldouble.
24590 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
24591 (hypotl): Define using libm_alias_ldouble.
24592 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
24593 (j0l): Define using libm_alias_ldouble.
24594 (y0l): Likewise.
24595 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
24596 (j1l): Define using libm_alias_ldouble.
24597 (y1l): Likewise.
24598 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
24599 (jnl): Define using libm_alias_ldouble.
24600 (ynl): Likewise.
24601 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
24602 (log10l): Define using libm_alias_ldouble.
24603 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
24604 (log2l): Define using libm_alias_ldouble.
24605 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
24606 (logl): Define using libm_alias_ldouble.
24607 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
24608 (powl): Define using libm_alias_ldouble.
24609 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
24610 (remainderl): Define using libm_alias_ldouble.
24611 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
24612 (sinhl): Define using libm_alias_ldouble.
24613 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
24614 (sqrtl): Define using libm_alias_ldouble.
24615 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
24616 (tgammal): Define using libm_alias_ldouble.
24617 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
24618 (exp10l): Do not use long_double_symbol here.
24619 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
24620 [LIBM_SVID_COMPAT] (remainderl): Likewise.
24621 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
24622 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
24623 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
24624 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
24625 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
24626 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
24627 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
24628 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
24629 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
24630 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
24631 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
24632 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
24633 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
24634 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
24635 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
24636 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
24637 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
24638 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
24639 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
24640 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
24641
6cd380dd
WB
246422017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
24643
24644 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
24645 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
24646
1c6d89e9
ST
246472017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
24648
24649 * io/read.c (read): Add libc_hidden_weak.
24650 * sysdeps/mach/hurd/read.c (read): Likewise.
24651 * io/write.c (write): Likewise.
24652 * sysdeps/mach/hurd/write.c (write): Likewise.
24653 * io/pread64.c (__pread64): Likewise.
24654 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
24655 * posix/pread64.c (__pread64): Add libc_hidden_def.
24656
06b1de23
SP
246572017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
24658
140647ea
SP
24659 * benchtests/scripts/compare_strings.py: New option -g.
24660 (draw_graph): Print a message that a graph is being generated.
24661 (process_results): Generate graph only if -g is passed.
24662 (main): Process option -g.
24663
5a6547b7
SP
24664 * benchtests/scripts/compare_strings.py (process_results):
24665 Better spacing for output.
24666
06b1de23
SP
24667 * benchtests/scripts/compare_strings.py: Use argparse.
24668 * benchtests/README: Document existence of compare_strings.py.
24669
c67a2328
JM
246702017-09-15 Joseph Myers <joseph@codesourcery.com>
24671
9ac44708
JM
24672 * math/s_fma.c: Include <libm-alias-double.h>.
24673 (fma): Define using libm_alias_double.
24674 * math/s_nextafter.c: Include <libm-alias-double.h>.
24675 (nextafter): Define using libm_alias_double.
24676 * math/w_acos_compat.c: Include <libm-alias-double.h>.
24677 (acos): Define using libm_alias_double.
24678 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
24679 (aocsh): Define using libm_alias_double.
24680 * math/w_asin_compat.c: Include <libm-alias-double.h>.
24681 (asin): Define using libm_alias_double.
24682 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
24683 (atan2): Define using libm_alias_double.
24684 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
24685 (atanh): Define using libm_alias_double.
24686 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
24687 (cosh): Define using libm_alias_double.
24688 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
24689 (exp10): Define using libm_alias_double.
24690 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
24691 (exp2): Define using libm_alias_double.
24692 * math/w_exp_compat.c: Include <libm-alias-double.h>.
24693 (exp): Define using libm_alias_double.
24694 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
24695 (fmod): Define using libm_alias_double.
24696 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
24697 (hypot): Define using libm_alias_double.
24698 * math/w_j0_compat.c: Include <libm-alias-double.h>.
24699 (j0): Define using libm_alias_double.
24700 (y0): Likewise.
24701 * math/w_j1_compat.c: Include <libm-alias-double.h>.
24702 (j1): Define using libm_alias_double.
24703 (y1): Likewise.
24704 * math/w_jn_compat.c: Include <libm-alias-double.h>.
24705 (jn): Define using libm_alias_double.
24706 (yn): Likewise.
24707 * math/w_log10_compat.c: Include <libm-alias-double.h>.
24708 (log10): Define using libm_alias_double.
24709 * math/w_log2_compat.c: Include <libm-alias-double.h>.
24710 (log2): Define using libm_alias_double.
24711 * math/w_log_compat.c: Include <libm-alias-double.h>.
24712 (log): Define using libm_alias_double.
24713 * math/w_pow_compat.c: Include <libm-alias-double.h>.
24714 (pow): Define using libm_alias_double.
24715 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
24716 (remainder): Define using libm_alias_double.
24717 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
24718 (sinh): Define using libm_alias_double.
24719 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
24720 (sqrt): Define using libm_alias_double.
24721 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
24722 (tgamma): Define using libm_alias_double.
24723 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
24724 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
24725 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
24726 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
24727 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
24728 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
24729 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
24730 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
24731 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
24732 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
24733 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
24734 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
24735 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
24736 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
24737 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
24738 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
24739 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
24740 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
24741 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
24742 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
24743 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
24744 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
24745 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
24746 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
24747 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
24748
c67a2328
JM
24749 * math/e_acoshl.c: Remove.
24750 * math/e_acosl.c: Likewise.
24751 * math/e_asinl.c: Likewise.
24752 * math/e_atan2l.c: Likewise.
24753 * math/e_atanhl.c: Likewise.
24754 * math/e_coshl.c: Likewise.
24755 * math/e_expl.c: Likewise.
24756 * math/e_fmodl.c: Likewise.
24757 * math/e_gammal_r.c: Likewise.
24758 * math/e_hypotl.c: Likewise.
24759 * math/e_j0l.c: Likewise.
24760 * math/e_j1l.c: Likewise.
24761 * math/e_jnl.c: Likewise.
24762 * math/e_lgammal_r.c: Likewise.
24763 * math/e_log10l.c: Likewise.
24764 * math/e_log2l.c: Likewise.
24765 * math/e_logl.c: Likewise.
24766 * math/e_powl.c: Likewise.
24767 * math/e_rem_pio2l.c: Likewise.
24768 * math/e_sinhl.c: Likewise.
24769 * math/e_sqrtf128.c: Likewise.
24770 * math/e_sqrtl.c: Likewise.
24771 * math/k_cosl.c: Likewise.
24772 * math/k_sinl.c: Likewise.
24773 * math/k_tanl.c: Likewise.
24774 * math/s_asinhl.c: Likewise.
24775 * math/s_atanl.c: Likewise.
24776 * math/s_cbrtl.c: Likewise.
24777 * math/s_erfl.c: Likewise.
24778 * math/s_expm1l.c: Likewise.
24779 * math/s_log1pl.c: Likewise.
24780 * math/s_tanhl.c: Likewise.
24781
61c45f25
TMQMF
247822017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24783
24784 [BZ #21745]
24785 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
24786 [$(subdir) = math] (sysdep_calls): New variable. Has the
24787 previous contents of sysdep_routines, but re-sorted..
24788 [$(subdir) = math] (sysdep_routines): Re-use the contents from
24789 sysdep_calls.
24790 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
24791 defined in sysdep_calls and replace by the respective m_* names.
24792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
24793 (compat_symbol): Undefine to avoid duplicated compat symbols in
24794 libc.
24795
5bcdb315
JM
247962017-09-15 Joseph Myers <joseph@codesourcery.com>
24797
24798 * math/s_fmaf.c: Include <libm-alias-float.h>.
24799 (fmaf): Define using libm_alias_float.
24800 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
24801 (acosf): Define using libm_alias_float.
24802 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
24803 (acoshf): Define using libm_alias_float.
24804 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
24805 (asinf): Define using libm_alias_float.
24806 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
24807 (atan2f): Define using libm_alias_float.
24808 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
24809 (atanhf): Define using libm_alias_float.
24810 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
24811 (coshf): Define using libm_alias_float.
24812 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
24813 (exp10f): Define using libm_alias_float.
24814 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
24815 (fmodf): Define using libm_alias_float.
24816 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
24817 (hypotf): Define using libm_alias_float.
24818 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
24819 (j0f): Define using libm_alias_float.
24820 (y0f): Likewise.
24821 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
24822 (j1f): Define using libm_alias_float.
24823 (y1f): Likewise.
24824 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
24825 (jnf): Define using libm_alias_float.
24826 (ynf): Likewise.
24827 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
24828 (log10f): Define using libm_alias_float.
24829 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
24830 (log2f): Define using libm_alias_float.
24831 * math/w_logf_compat.c: Include <libm-alias-float.h>.
24832 (logf): Define using libm_alias_float.
24833 * math/w_powf_compat.c: Include <libm-alias-float.h>.
24834 (powf): Define using libm_alias_float.
24835 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
24836 (remainderf): Define using libm_alias_float.
24837 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
24838 (sinhf): Define using libm_alias_float.
24839 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
24840 (sqrtf): Define using libm_alias_float.
24841 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
24842 (tgammaf): Define using libm_alias_float.
24843
01f28812
JM
248442017-09-14 Joseph Myers <joseph@codesourcery.com>
24845
24846 * include/math.h (roundeven): Change hidden_proto call to
24847 __roundeven.
24848 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
24849 alias.
24850 [NO_LONG_DOUBLE] (__j0l): New strong alias.
24851 (y0): Rename to __y0 and define as weak alias.
24852 [NO_LONG_DOUBLE] (__y0l): New strong alias.
24853 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
24854 alias.
24855 (y0f): Rename to __y0f and define as weak alias.
24856 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
24857 alias.
24858 [NO_LONG_DOUBLE] (__j1l): New strong alias.
24859 (y1): Rename to __y1 and define as weak alias.
24860 [NO_LONG_DOUBLE] (__y1l): New strong alias.
24861 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
24862 alias.
24863 (y1f): Rename to __y1f and define as weak alias.
24864 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
24865 alias.
24866 [NO_LONG_DOUBLE] (__jnl): New strong alias.
24867 (yn): Rename to __yn and define as weak alias.
24868 [NO_LONG_DOUBLE] (__ynl): New strong alias.
24869 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
24870 alias.
24871 (ynf): Rename to __ynf and define as weak alias.
24872 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
24873 (fromfp): Define as weak alias.
24874 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
24875 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
24876 (fromfpx): Define as weak alias.
24877 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
24878 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
24879 __getpayload and define as weak alias.
24880 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
24881 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
24882 __roundeven and define as weak alias.
24883 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
24884 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
24885 __setpayload.
24886 (setpayload): Define as weak alias.
24887 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
24888 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
24889 __setpayloadsig.
24890 (setpayloadsig): Define as weak alias.
24891 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
24892 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
24893 __totalorder and define as weak alias.
24894 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
24895 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
24896 to __totalordermag and define as weak alias.
24897 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
24898 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
24899 (ufromfp): Define as weak alias.
24900 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
24901 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
24902 __ufromfpx.
24903 (ufromfpx): Define as weak alias.
24904 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
24905 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
24906 Rename to __getpayload and define as weak alias.
24907 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
24908 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
24909 Rename to __roundeven and define as weak alias.
24910 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
24911 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
24912 Rename to __totalorder and define as weak alias.
24913 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
24914 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
24915 (totalordermag): Rename to __totalordermag and define as weak
24916 alias.
24917 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
24918 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
24919 macro.
24920 (__roundevenl): Likewise.
24921 (__totalorderl): Likewise.
24922 (__totalordermagl): Likewise
24923 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
24924 __fromfpf128.
24925 (fromfpf128): Define as weak alias.
24926 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
24927 __fromfpxf128.
24928 (fromfpxf128): Define as weak alias.
24929 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
24930 __setpayloadf128.
24931 (setpayloadf128): Define as weak alias.
24932 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
24933 __setpayloadsigf128.
24934 (setpayloadsigf128): Define as weak alias.
24935 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
24936 __ufromfpf128.
24937 (ufromfpf128): Define as weak alias.
24938 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
24939 __ufromfpxf128.
24940 (ufromfpxf128): Define as weak alias.
24941 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
24942 (fromfpf): Define as weak alias.
24943 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
24944 __fromfpxf.
24945 (fromfpxf): Define as weak alias.
24946 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
24947 __getpayloadf and define as weak alias.
24948 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
24949 __roundevenf and define as weak alias.
24950 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
24951 __setpayloadf.
24952 (setpayloadf): Define as weak alias.
24953 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
24954 __setpayloadsigf.
24955 (setpayloadsigf): Define as weak alias.
24956 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
24957 __totalorderf and define as weak alias.
24958 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
24959 Rename to __totalordermagf and define as weak alias.
24960 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
24961 __ufromfpf.
24962 (ufromfpf): Define as weak alias.
24963 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
24964 __ufromfpxf.
24965 (ufromfpxf): Define as weak alias.
24966 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
24967 __fromfpl.
24968 (fromfpl): Define as weak alias.
24969 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
24970 __fromfpxl.
24971 (fromfpxl): Define as weak alias.
24972 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
24973 to __getpayloadl and define as weak alias.
24974 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
24975 __roundevenl and define as weak alias.
24976 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
24977 __setpayloadl.
24978 (setpayloadl): Define as weak alias.
24979 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
24980 __setpayloadsigl.
24981 (setpayloadsigl): Define as weak alias.
24982 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
24983 to __totalorderl and define as weak alias.
24984 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
24985 Rename to __totalordermagl and define as weak alias.
24986 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
24987 __ufromfpl.
24988 (ufromfpl): Define as weak alias.
24989 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
24990 __ufromfpxl.
24991 (ufromfpxl): Define as weak alias.
24992 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
24993 __fromfpl.
24994 (fromfpl): Define as weak alias.
24995 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
24996 __fromfpxl.
24997 (fromfpxl): Define as weak alias.
24998 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
24999 Rename to __getpayloadl and define as weak alias.
25000 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
25001 to __roundevenl and define as weak alias. Call __roundeven
25002 instead of roundeven.
25003 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
25004 __setpayloadl.
25005 (setpayloadl): Define as weak alias.
25006 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
25007 __setpayloadsigl.
25008 (setpayloadsigl): Define as weak alias.
25009 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
25010 Rename to __totalorderl and define as weak alias.
25011 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
25012 Rename to __totalordermagl and define as weak alias.
25013 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
25014 __ufromfpl.
25015 (ufromfpl): Define as weak alias.
25016 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
25017 __ufromfpxl.
25018 (ufromfpxl): Define as weak alias.
25019 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
25020 __fromfpl.
25021 (fromfpl): Define as weak alias.
25022 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
25023 __fromfpxl.
25024 (fromfpxl): Define as weak alias.
25025 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
25026 __getpayloadl and define as weak alias.
25027 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
25028 __roundevenl and define as weak alias.
25029 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
25030 __setpayloadl.
25031 (setpayloadl): Define as weak alias.
25032 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
25033 __setpayloadsigl.
25034 (setpayloadsigl): Define as weak alias.
25035 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
25036 __totalorderl and define as weak alias.
25037 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
25038 Rename to __totalordermagl and define as weak alias.
25039 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
25040 __ufromfpl.
25041 (ufromfpl): Define as weak alias.
25042 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
25043 __ufromfpxl.
25044 (ufromfpxl): Define as weak alias.
25045
29c933fb
SP
250462017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
25047
503c92c3
SP
25048 * benchtests/bench-string.h (realloc_bufs): New function.
25049 (test_init): Call it.
25050 * benchtests/bench-memset-large.c (do_test): Likewise.
25051 * benchtests/bench-memset.c (do_test): Likewise.
25052
29c933fb
SP
25053 * benchtests/bench-memset-large.c: Print output in JSON
25054 format.
25055 * benchtests/bench-memset.c: Likewise.
25056
799c8d69
MF
250572017-09-14 Mike FABIAN <mfabian@redhat.com>
25058
25059 [BZ #21084]
25060 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
25061 * iconvdata/Makefile: Add IBM858.
25062 * iconvdata/gconv-modules: Likewise.
25063 * iconvdata/tst-tables.sh: Likewise.
25064 * iconvdata/ibm858.c: New file.
25065 * localedata/charmaps/IBM858: Likewise.
25066
c207f7ce 250672017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
fcc82c06
AK
25068
25069 [BZ #22023]
25070 * locales/niu_NZ (LC_TIME): copy "niu_NU".
25071 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
25072
f28a0926
AK
250732017-09-14 Mike FABIAN <mfabian@redhat.com>
25074
25075 [BZ #22112]
25076 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
25077 and add tel_int_fmt.
25078
02093e62
JM
250792017-09-14 Joseph Myers <joseph@codesourcery.com>
25080
25081 * sysdeps/generic/libm-alias-float128.h: New file.
25082 * sysdeps/generic/math-type-macros-float128.h: Include
25083 <libm-alias-float128.h>.
25084 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
25085
1aae75ef
JM
250862017-09-13 Joseph Myers <joseph@codesourcery.com>
25087
25088 * sysdeps/generic/libm-alias-ldouble.h: New file.
25089 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
25090 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
25091 * sysdeps/generic/math-type-macros-ldouble.h: Include
25092 <libm-alias-ldouble.h>.
25093 [!declare_mgen_alias] (declare_mgen_alias): Define to use
25094 libm_alias_ldouble.
25095
bcea7ad6
SN
250962017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
25097
25098 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
25099 * math/w_exp_compat.c: ... here.
25100 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
25101 * math/w_expf_compat.c: ... here.
25102 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
25103 * math/w_expl_compat.c: ... here.
25104 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
25105 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
25106 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
25107 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
25108
0fc56478
JM
251092017-09-13 Joseph Myers <joseph@codesourcery.com>
25110
25111 * math/w_scalbln_template.c (strong_alias): Do not undefine and
25112 redefine.
25113 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
25114 macro.
25115 (ldexpl): Only define as compat symbol for libc, not libm.
25116 (scalbnl): Define as compat symbol for libc here.
25117 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
25118 define for [IS_IN (libc)].
25119 (__ldexpl_2): Remove alias.
25120 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
25121 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
25122 name in long_double_symbol call.
25123 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
25124 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
25125 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
25126 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
25127 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
25128 Remove macro.
25129 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
25130 Define as compat symbol.
25131
3ca622e4
AZ
251322017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25133
25134 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
25135 * sysdeps/unix/sysv/linux/alpha/Makefile
25136 [$(subdir) = csu] (sysdep_routines): Remove rule.
25137
620ff9ee
JM
251382017-09-13 Joseph Myers <joseph@codesourcery.com>
25139
25140 * sysdeps/generic/libm-alias-double.h: New file.
25141 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
25142 * sysdeps/generic/math-type-macros-double.h: Include
25143 <libm-alias-double.h>.
25144 [declare_mgen_alias] (declare_mgen_alias): Define to use
25145 libm_alias_double.
25146 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
25147 (M_LIBM_NEED_COMPAT): Remove macro.
25148 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
25149 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
25150 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
25151 code.
25152 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25153 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25154 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25155 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25156 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25157 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25158 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25159 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25160 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25161 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25162 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25163 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25164 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25165 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25166 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25167 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25168 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25169 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25170 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25171 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25172 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25173 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25174 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25175 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25176 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25177 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25178 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25179 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
25180 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
25181 macro.
25182 (declare_mgen_alias): New macro.
25183 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
25184 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
25185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
25186 (M_LIBM_NEED_COMPAT): Remove macro.
25187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
25188 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
25189 <first-versions.h>.
25190 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
25191 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
25192
a891caff
JM
251932017-09-12 Joseph Myers <joseph@codesourcery.com>
25194
25195 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
25196 (declare_mgen_alias_2): Remove.
25197 * sysdeps/generic/math-type-macros-double.h
25198 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
25199 Likewise.
25200 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
25201 alias.
25202 (ldexp): Define with declare_mgen_alias.
25203 (scalbn): Likewise.
25204
a1a78204
SE
252052017-09-12 Steve Ellcey <sellcey@cavium.com>
25206
25207 * grp/initgroups.c: Include config.h.
25208 (DEFAULT_CONFIG): New macro.
25209 (internal_getgrouplist): Use DEFAULT_CONFIG.
25210 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25211 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
25212 (DEFAULT_DEFCONFIG): New macro.
25213 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
25214 * nss/grp-lookup.c: Include config.h
25215 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
25216 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
25217 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
25218 * manual/nss.texi: Update default values section.
25219
ef8adeb0
L
252202017-09-12 H.J. Lu <hongjiu.lu@intel.com>
25221
25222 [BZ #21967]
25223 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
25224 New.
25225 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
25226 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
25227 Handle MathVec_Prefer_No_AVX512.
25228 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
25229 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
25230 is set.
25231
a166531f
ST
252322017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
25233
25234 * posix/sched_primax.c (__sched_get_priority_max): Add
25235 libc_hidden_def.
25236 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
25237 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
25238 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
25239 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
25240 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
25241 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
25242 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
25243 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
25244 Add aliases.
25245
4b7d1efb
JM
252462017-09-11 Joseph Myers <joseph@codesourcery.com>
25247
25248 * sysdeps/generic/libm-alias-float.h: New file.
25249 * sysdeps/generic/math-type-macros-float.h: Include
25250 <libm-alias-float.h>.
25251 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
25252
45ff3463
L
252532017-09-11 H.J. Lu <hongjiu.lu@intel.com>
25254
25255 [BZ #22093]
25256 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
25257 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
25258 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
25259 (HWCAP_IMPORTANT): Likewise.
25260 (HWCAP_X86_64): New enum.
25261 (HWCAP_X86_AVX512_1): Updated.
25262 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
25263 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
25264 (modules-names): Add x86_64/tst-x86_64mod-1.
25265 (LDFLAGS-tst-x86_64mod-1.so): New.
25266 ($(objpfx)tst-x86_64-1): Likewise.
25267 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
25268 (tst-x86_64-1-clean): Likewise.
25269 * sysdeps/x86_64/tst-x86_64-1.c: New file.
25270 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
25271
891abfd3
SP
252722017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
25273
25274 * po/sv.po: Update translations.
25275 * po/fr.po: Likewise.
25276
00c3da43
ST
252772017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25278
25279 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
25280 seconds.
3bdfd9fb
ST
25281 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
25282 seconds.
65b22ebc 25283 * elf/rtld-Rules: Fix $(error) use.
00c3da43 25284
96480903
MF
252852017-09-09 Mike FABIAN <mfabian@redhat.com>
25286
25287 [BZ #14925]
25288 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
25289 * locale/iso-639.def: Change “Bengali” to “Bangla”.
25290 * localedata/locales/bn_BD: “Bengali” was still used in some
25291 comments. Change it to “Bangla”.
25292
4c03a696
MT
252932017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
25294
25295 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
25296
9c9ec581
SE
252972017-09-08 Steve Ellcey <sellcey@cavium.com>
25298
25299 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
25300 thunderx2t99p1 to list of cpu names.
25301 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
25302 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
25303
f00bce74
SE
253042017-09-08 Steve Ellcey <sellcey@cavium.com>
25305
25306 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
25307 Use strcmp instead of tunable_is_name.
25308
27342d17
JM
253092017-09-08 Joseph Myers <joseph@codesourcery.com>
25310
af1b7c8c
JM
25311 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
25312 (F_GET_RW_HINT): New macro.
25313 [__USE_GNU] (F_SET_RW_HINT): Likewise.
25314 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
25315 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
25316 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
25317 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
25318 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
25319 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
25320 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
25321 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
25322
27342d17
JM
25323 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
25324 (F_ADD_SEALS): New macro.
25325 [__USE_GNU] (F_GET_SEALS): Likewise.
25326 [__USE_GNU] (F_SEAL_SEAL): Likewise.
25327 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
25328 [__USE_GNU] (F_SEAL_GROW): Likewise.
25329 [__USE_GNU] (F_SEAL_WRITE): Likewise.
25330
c66c9082
AZ
253312017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25332
07b4f49d
AZ
25333 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
25334 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
25335 * posix/glob_internal.h (__glob_pattern_type):
25336 * posix/glob.c (glob):
25337 * posix/glob_pattern_p.c (__glob_pattern_p):
25338 Use them.
25339
116f1c64
AZ
25340 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
25341 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
25342 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
25343 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
25344 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
25345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
25346 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
25347 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
25348 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
25349 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
25350 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
25351 * sysdeps/wordsize-64/glob.c: Likewise.
25352 * sysdeps/wordsize-64/glob64.c: Likewise.
25353 * sysdeps/wordsize-64/globfree.c: Likewise.
25354 * sysdeps/wordsize-64/globfree64.c: Likewise.
25355 * sysdeps/unix/sysv/linux/glob.c: New file.
25356 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
25357 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
25358 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
25359 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
25360 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
25361 adds !GLOB_NO_OLD_VERSION as an extra condition.
25362 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
25363 using relative path instead of absolute one.
25364 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
25365 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25366 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25367 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
25368 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
25369 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
25370
ffca8901
AZ
25371 [BZ #1062]
25372 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
25373 (glob): Use the same scratch buffer for both getlogin_r and
25374 getpwnam_r. Don’t require preallocation of the login name. This
25375 simplifies storage allocation, and corrects the handling of
25376 long login names.
25377
5a79f975
AZ
25378 [BZ #1062]
25379 * posix/glob.c (glob): Port recent patches to platforms
25380 lacking getpwnam_r.
25381 (glob): Fix longstanding misuse of errno after getpwnam_r, which
25382 returns an error number rather than setting errno.
25383
e00f2425
AZ
25384 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
25385 instead of GCC extension.
25386 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
25387 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
25388 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
25389
5554304f
AZ
25390 [BZ #866]
25391 [BZ #1062]
25392 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
25393 * posix/bug-glob1.c: Remove file.
25394 * posix/tst-glob_symlinks.c: New file.
25395 * posix/glob.c (__lstat64): New macro.
25396 (is_dir): New function.
25397 (glob, glob_in_dir): Match symlinks even if they are dangling.
25398 (link_stat, link_exists_p): Remove. All uses removed.
25399
686f2ea1
AZ
25400 [BZ #1062]
25401 [BZ #19971]
25402 * posix/glob.c (struct readdir_result): Remove skip_entry member.
25403 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
25404 All uses removed.
25405
c66c9082 25406 [BZ #1062]
914c9994 25407 CVE-2017-15671
c66c9082
AZ
25408 * posix/Makefile (routines): Add globfree, globfree64, and
25409 glob_pattern_p.
25410 * posix/flexmember.h: New file.
25411 * posix/glob_internal.h: Likewise.
25412 * posix/glob_pattern_p.c: Likewise.
25413 * posix/globfree.c: Likewise.
25414 * posix/globfree64.c: Likewise.
25415 * sysdeps/gnu/globfree64.c: Likewise.
25416 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
25417 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
25418 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
25419 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
25420 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
25421 * sysdeps/wordsize-64/globfree.c: Likewise.
25422 * sysdeps/wordsize-64/globfree64.c: Likewise.
25423 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
25424 [NDEBUG): Remove comments.
25425 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
25426 (dirent_type): New type. Use uint_fast8_t not
25427 uint8_t, as C99 does not require uint8_t.
25428 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
25429 (struct readdir_result): Use dirent_type. Do not define skip_entry
25430 unless it is needed; this saves a byte on platforms lacking d_ino.
25431 (readdir_result_type, readdir_result_skip_entry):
25432 New functions, replacing ...
25433 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
25434 these functions, which were removed. This makes the callers
25435 easier to read. All callers changed.
25436 (D_INO_TO_RESULT): Now empty if there is no d_ino.
25437 (size_add_wrapv, glob_use_alloca): New static functions.
25438 (glob, glob_in_dir): Check for size_t overflow in several places,
25439 and fix some size_t checks that were not quite right.
25440 Remove old code using SHELL since Bash no longer
25441 uses this.
25442 (glob, prefix_array): Separate MS code better.
25443 (glob_in_dir): Remove old Amiga and VMS code.
25444 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
25445 separate files.
25446 (glob_in_dir): Do not rely on undefined behavior in accessing
25447 struct members beyond their bounds. Use a flexible array member
25448 instead
25449 (link_stat): Rename from link_exists2_p and return -1/0 instead of
25450 0/1. Caller changed.
25451 (glob): Fix memory leaks.
25452 * posix/glob64 (globfree64): Move to separate file.
25453 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
25454 (globfree64): Remove hidden alias.
25455 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
25456 oldglob.
25457 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
25458 separate file.
25459 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
25460 define.
25461 Move compat code to separate file.
25462 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
25463 separate file.
25464
78bfa877
L
254652017-09-07 H.J. Lu <hongjiu.lu@intel.com>
25466
25467 * resolv/tst-resolv-qtypes.c (domain): Changed to
25468 "const char domain[] =".
25469
05f0011f
JM
254702017-09-07 Joseph Myers <joseph@codesourcery.com>
25471
85bec0f2
JM
25472 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
25473 version to 3.1.6.
25474
5c23ee6e
JM
25475 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
25476 (TCP_MD5SIG_EXT): Likewise.
25477 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
25478 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
25479 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
25480
05f0011f
JM
25481 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
25482
7c9c5be9
MF
254832017-09-07 Mike FABIAN <mfabian@redhat.com>
25484
25485 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
25486
c207f7ce 254872017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
ae214523
AK
25488
25489 [BZ #22100]
25490 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
25491
507fe027
ST
254922017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
25493
25494 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
25495 before assuming that the file is empty. Avoid testing buffer content
25496 when nread == 0.
25497
65687ac7
AZ
254982017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25499
7bbbb4b9 25500 [BZ #18858]
65687ac7
AZ
25501 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
25502 Remove define.
25503 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
25504 Likewise.
25505 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
25506 Likewise.
25507 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
25508 Likewise.
25509 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
25510 Likewise.
25511 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
25512 Likewise.
25513 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
25514 Likewise.
25515
ab5ac271
FW
255162017-09-06 Florian Weimer <fweimer@redhat.com>
25517
25518 * malloc/dynarray_emplace_enlarge.c
25519 (__libc_dynarray_emplace_enlarge): Add missing else.
25520
a8304730
FW
255212017-09-06 Florian Weimer <fweimer@redhat.com>
25522
25523 [BZ #22096]
25524 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
25525 case of failure to obtain the global conf object.
25526
5670c4ab
FW
255272017-09-06 Florian Weimer <fweimer@redhat.com>
25528
25529 [BZ #22095]
25530 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
25531 dynarray allocation failure.
25532
c77eb969
FW
255332017-09-06 Florian Weimer <fweimer@redhat.com>
25534
25535 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
25536 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
25537 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
25538 New functions.
25539 (response): Call them. Add 'p', '6' flag processing.
25540 (test_reverse): New function.
25541 (test_get2_any): Call it.
25542 (test_no_inet6): Add 'p' test.
25543 (test_inet6): Likewise.
25544
5e9c4d17
FW
255452017-09-06 Florian Weimer <fweimer@redhat.com>
25546
25547 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
25548 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
25549 the QNAME.
25550 (test_gai): Adjust query names. Add additional tests.
25551 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
25552 test_get2. Adjust query names. Add additional tests.
25553 (test_no_inet6): New function, extracted from threadfunc.
25554 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
25555 Add additional tests.
25556
2ae5be04
MF
255572017-09-06 Mike FABIAN <mfabian@redhat.com>
25558
25559 [BZ #22070]
25560 * localedata/unicode-gen/utf8_gen.py: Set the width for
25561 characters with Prepended_Concatenation_Mark property to 1
25562 * localedata/charmaps/UTF-8: Updated using the improved script.
25563
af83ed5c
MF
255642017-09-06 Mike FABIAN <mfabian@redhat.com>
25565
25566 [BZ #21750]
25567 * localedata/unicode-gen/utf8_gen.py: Improve the script to
25568 use the range notation for all ranges of neighbouring characters
25569 with the same width.
25570
4f3647e4
JM
255712017-09-05 Joseph Myers <joseph@codesourcery.com>
25572
25573 * sysdeps/generic/math-type-macros-double.h: Include
25574 <math-svid-compat.h>.
25575 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
25576 * sysdeps/generic/math-type-macros-float.h: Include
25577 <math-svid-compat.h>.
25578 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
25579 * sysdeps/generic/math-type-macros-ldouble.h: Include
25580 <math-svid-compat.h>.
25581 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
25582 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
25583 condition.
25584 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
25585 * math/w_acosf_compat.c: Likewise.
25586 * math/w_acosh_compat.c: Likewise.
25587 * math/w_acoshf_compat.c: Likewise.
25588 * math/w_acoshl_compat.c: Likewise.
25589 * math/w_acosl_compat.c: Likewise.
25590 * math/w_asin_compat.c: Likewise.
25591 * math/w_asinf_compat.c: Likewise.
25592 * math/w_asinl_compat.c: Likewise.
25593 * math/w_atan2_compat.c: Likewise.
25594 * math/w_atan2f_compat.c: Likewise.
25595 * math/w_atan2l_compat.c: Likewise.
25596 * math/w_atanh_compat.c: Likewise.
25597 * math/w_atanhf_compat.c: Likewise.
25598 * math/w_atanhl_compat.c: Likewise.
25599 * math/w_cosh_compat.c: Likewise.
25600 * math/w_coshf_compat.c: Likewise.
25601 * math/w_coshl_compat.c: Likewise.
25602 * math/w_exp10_compat.c: Likewise.
25603 * math/w_exp10f_compat.c: Likewise.
25604 * math/w_exp10l_compat.c: Likewise.
25605 * math/w_exp2_compat.c: Likewise.
25606 * math/w_exp2f_compat.c: Likewise.
25607 * math/w_exp2l_compat.c: Likewise.
25608 * math/w_fmod_compat.c: Likewise.
25609 * math/w_fmodf_compat.c: Likewise.
25610 * math/w_fmodl_compat.c: Likewise.
25611 * math/w_hypot_compat.c: Likewise.
25612 * math/w_hypotf_compat.c: Likewise.
25613 * math/w_hypotl_compat.c: Likewise.
25614 * math/w_j0_compat.c: Likewise.
25615 * math/w_j0f_compat.c: Likewise.
25616 * math/w_j0l_compat.c: Likewise.
25617 * math/w_j1_compat.c: Likewise.
25618 * math/w_j1f_compat.c: Likewise.
25619 * math/w_j1l_compat.c: Likewise.
25620 * math/w_jn_compat.c: Likewise.
25621 * math/w_jnf_compat.c: Likewise.
25622 * math/w_jnl_compat.c: Likewise.
25623 * math/w_lgamma_r_compat.c: Likewise.
25624 * math/w_lgammaf_r_compat.c: Likewise.
25625 * math/w_lgammal_r_compat.c: Likewise.
25626 * math/w_log10_compat.c: Likewise.
25627 * math/w_log10f_compat.c: Likewise.
25628 * math/w_log10l_compat.c: Likewise.
25629 * math/w_log2_compat.c: Likewise.
25630 * math/w_log2f_compat.c: Likewise.
25631 * math/w_log2l_compat.c: Likewise.
25632 * math/w_log_compat.c: Likewise.
25633 * math/w_logf_compat.c: Likewise.
25634 * math/w_logl_compat.c: Likewise.
25635 * math/w_pow_compat.c: Likewise.
25636 * math/w_powf_compat.c: Likewise.
25637 * math/w_powl_compat.c: Likewise.
25638 * math/w_remainder_compat.c: Likewise.
25639 * math/w_remainderf_compat.c: Likewise.
25640 * math/w_remainderl_compat.c: Likewise.
25641 * math/w_sinh_compat.c: Likewise.
25642 * math/w_sinhf_compat.c: Likewise.
25643 * math/w_sinhl_compat.c: Likewise.
25644 * math/w_sqrt_compat.c: Likewise.
25645 * math/w_sqrtf_compat.c: Likewise.
25646 * math/w_sqrtl_compat.c: Likewise.
25647 * math/w_tgamma_compat.c: Likewise.
25648 * math/w_tgammaf_compat.c: Likewise.
25649 * math/w_tgammal_compat.c: Likewise.
25650 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
25651 [LIBM_SVID_COMPAT].
25652 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
25653 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
25654 [LIBM_SVID_COMPAT].
25655 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
25656 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
25657 [LIBM_SVID_COMPAT].
25658 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
25659 * sysdeps/i386/fpu/w_sqrt.c: New file.
25660 * sysdeps/ia64/fpu/w_acos.c: Likewise.
25661 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
25662 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
25663 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
25664 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
25665 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
25666 * sysdeps/ia64/fpu/w_asin.c: Likewise.
25667 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
25668 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
25669 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
25670 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
25671 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
25672 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
25673 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
25674 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
25675 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
25676 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
25677 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
25678 * sysdeps/ia64/fpu/w_exp.c: Likewise.
25679 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
25680 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
25681 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
25682 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
25683 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
25684 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
25685 * sysdeps/ia64/fpu/w_expf.c: Likewise.
25686 * sysdeps/ia64/fpu/w_expl.c: Likewise.
25687 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
25688 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
25689 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
25690 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
25691 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
25692 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
25693 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
25694 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
25695 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
25696 * sysdeps/ia64/fpu/w_log.c: Likewise.
25697 * sysdeps/ia64/fpu/w_log10.c: Likewise.
25698 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
25699 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
25700 * sysdeps/ia64/fpu/w_log2.c: Likewise.
25701 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
25702 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
25703 * sysdeps/ia64/fpu/w_logf.c: Likewise.
25704 * sysdeps/ia64/fpu/w_logl.c: Likewise.
25705 * sysdeps/ia64/fpu/w_pow.c: Likewise.
25706 * sysdeps/ia64/fpu/w_powf.c: Likewise.
25707 * sysdeps/ia64/fpu/w_powl.c: Likewise.
25708 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
25709 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
25710 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
25711 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
25712 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
25713 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
25714 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
25715 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
25716 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
25717 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
25718 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
25719 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
25720 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
25721 [LIBM_SVID_COMPAT].
25722 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
25723 * sysdeps/ieee754/k_standard.c: Likewise.
25724 * sysdeps/ieee754/k_standardf.c: Likewise.
25725 * sysdeps/ieee754/k_standardl.c: Likewise.
25726 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
25727 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
25728 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
25729 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
25730 long_double_symbol call on [LIBM_SVID_COMPAT].
25731 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
25732 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
25733 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
25734 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
25735 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
25736 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
25737 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
25738 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
25739 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
25740 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
25741 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
25742 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
25743 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
25744 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
25745 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
25746 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
25747 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
25748 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
25749 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
25750 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
25751 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
25752 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
25753
05b38d64
SE
257542017-09-05 Steve Ellcey <sellcey@cavium.com>
25755
25756 * include/shlib-compat.h (TEST_COMPAT): New Macro.
25757 * malloc/tst-mallocstate.c: Convert from test-skeleton
25758 to test-driver. Ifdef code using TEST_COMPAT macro.
25759 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
25760 * math/test-matherr.c: Likewise.
25761
99d67918
JM
257622017-09-05 Joseph Myers <joseph@codesourcery.com>
25763
25764 [BZ #22086]
25765 * debug/pcprofiledump.c (main): Use byte-swapped mask when
25766 comparing word with byte-swapped constant.
25767
c207f7ce 257682017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
3f802aeb
MF
25769
25770 [BZ #20498]
25771 * locale/iso-639.def: add Miskito.
25772 * localedata/SUPPORTED: Add miq_NI/UTF-8.
25773 * localedata/locales/miq_NI: New file.
25774
0a587a8a
L
257752017-09-04 H.J. Lu <hongjiu.lu@intel.com>
25776
25777 [BZ #18822]
25778 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
25779 (__mkdir): Likewise.
25780 * io/chmod.c (__chmod): Add libc_hidden_def.
25781 * io/mkdir.c (__mkdir): Likewise.
25782 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
25783 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
25784 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
25785 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
25786
f3a129b8
JM
257872017-09-04 Joseph Myers <joseph@codesourcery.com>
25788
1650e192
JM
25789 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
25790 version to 4.13.
25791
f3a129b8
JM
25792 [BZ #22082]
25793 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
25794 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
25795
b38042f5
FW
257962017-09-04 Florian Weimer <fweimer@redhat.com>
25797
25798 * math/math.h: Issue warning if log is defined.
25799
059b6404
JM
258002017-09-04 Joseph Myers <joseph@codesourcery.com>
25801
25802 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
25803 kernel version to 4.13.
25804
b794e16b
ST
258052017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
25806
25807 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
06cf9d31
ST
25808 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
25809 parameter.
01969395
ST
25810 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
25811 just <bits/types.h>.
dd2b31de 25812 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
ed95bf56 25813 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
dd2b31de 25814 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
ed95bf56 25815 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
2263ca7c
ST
25816 * misc/preadv2.c: Include <errno.h>.
25817 * misc/preadv64v2.c: Include <errno.h>.
25818 * misc/pwritev2.c: Include <errno.h>.
25819 * misc/pwritev64v2.c: Include <errno.h>.
25820 * sysdeps/posix/preadv2.c: Include <errno.h>.
25821 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
25822 Fix <unistd.h> inclusion.
25823 * sysdeps/posix/pwritev2.c: Include <errno.h>.
25824 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
cae3d712
ST
25825 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
25826 __strtoul_internal): New functions.
127e7773
ST
25827 * sysdeps/posix/pause.c: Include <sigsetops.h>.
25828 * sysdeps/posix/system.c: Include <sigsetops.h>.
f85958a7
ST
25829 * sysdeps/mach/hurd/i386/Makefile
25830 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
25831 [$(subdir) = csu] (sysdep-only-routines): Likewise.
25832 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1946d950
ST
25833 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
25834 __feraiseexcept_renamed to feraiseexcept instead of
25835 __GI_feraiseexcept.
56bf5497 25836 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
2ce1f9ef 25837 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
492cbbed
ST
25838 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
25839 RWF_NOWAIT): Define to 0 if undefined already.
25840 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
25841 boils down to 0.
6547ec0a
ST
25842 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
25843 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
b794e16b 25844
5a80d39d
JM
258452017-09-01 Joseph Myers <joseph@codesourcery.com>
25846
25847 * manual/math.texi (pow10): Do not document.
25848 (pow10f): Likewise.
25849 (pow10l): Likewise.
25850 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
25851 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
25852 * math/libm-test-exp10.inc (pow10_test): Remove.
25853 (do_test): Do not call pow10.
25854 * math/w_exp10_compat.c (pow10): Make into compat symbol.
25855 [NO_LONG_DOUBLE] (pow10l): Likewise.
25856 * math/w_exp10f_compat.c (pow10f): Likewise.
25857 * math/w_exp10l_compat.c (pow10l): Likewise.
25858 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
25859 (pow10): Make into compat symbol.
25860 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
25861 (pow10f): Make into compat symbol.
25862 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
25863 (pow10l): Make into compat symbol.
25864 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
25865 pow10.
25866 (CFLAGS-nldbl-pow10.c): Remove variable..
25867 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
25868 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
25869 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
25870 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
25871 Undefine and redefine.
25872 (pow10l): Make into compat symbol.
25873 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
25874 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
25875 * sysdeps/arm/libm-test-ulps: Likewise.
25876 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
25877 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25878 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25879 * sysdeps/microblaze/libm-test-ulps: Likewise.
25880 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
25881 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25882 * sysdeps/nios2/libm-test-ulps: Likewise.
25883 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25884 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
25885 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25886 * sysdeps/sh/libm-test-ulps: Likewise.
25887 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25888 * sysdeps/tile/libm-test-ulps: Likewise.
25889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25890
3824fc38
PP
258912017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
25892
25893 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
25894
b3008279
L
258952017-09-01 H.J. Lu <hongjiu.lu@intel.com>
25896
25897 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
25898 "../ChangeLog.old/ChangeLog.8".
25899 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
25900 "../ChangeLog.old/ChangeLog.14".
25901
136fa185
L
259022017-09-01 H.J. Lu <hongjiu.lu@intel.com>
25903
25904 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
25905 Threads Library.
25906
c18d50a2
JM
259072017-09-01 Joseph Myers <joseph@codesourcery.com>
25908
25909 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
25910
bedbd859
L
259112017-09-01 H.J. Lu <hongjiu.lu@intel.com>
25912
25913 * csu/version.c (banner): Remove "by Roland McGrath et al.".
25914 * nptl/Banner: Remove "by Ulrich Drepper et al.".
25915
50c66c7a
PP
259162017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
25917
25918 * stdlib/tst-atexit-common.c (do_test): Test support for at least
25919 32 atexit handlers.
25920
a617bd11
ZW
259212017-09-01 Zack Weinberg <zackw@panix.com>
25922
25923 * math/math.h (HUGE_VAL): Improve commentary.
25924
e0d2eb5a
AZ
259252017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25926 Andreas Schwab <schwab@suse.de>
25927
25928 [BZ #21530]
25929 * include/stdio.h (__gen_tempfd): New function.
25930 * stdio-common/Makefile (routines): Add gentempfd.
25931 * stdio-common/gentempfd.c: New file.
25932 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
25933 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
25934 unnamed file first.
25935
f4a6be25
FW
259362017-09-01 Florian Weimer <fweimer@redhat.com>
25937
25938 [BZ #21915]
25939 [BZ #21922]
25940 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
25941 result to determine success or failure, not the errno value.
25942 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
25943 (tst-nss-files-hosts-erange): Link with -ldl.
25944 * nss/tst-nss-files-hosts-erange.c: New file.
25945 * nss/tst-resolv-basic.c (response): Handle nodata.example.
25946 (do_test): Add NO_DATA tests.
25947 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
25948 (do_test): Call it.
25949
5f8340f5
FW
259502017-09-01 Florian Weimer <fweimer@redhat.com>
25951
25952 [BZ #21922]
25953 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
25954 coming from gethostbyname2_r.
25955
65329bd2
FW
259562017-09-01 Florian Weimer <fweimer@redhat.com>
25957
25958 * support/namespace.h (struct support_chroot_configuration): Add
25959 hosts, host_conf.
25960 (struct support_chroot): Add path_hosts, path_host_conf.
25961 * support/support_chroot.c (write_file): New function.
25962 (support_chroot_create): Call it to process /etc/resolv.conf,
25963 /etc/hosts, /etc/host.conf.
25964 (support_chroot_free): Update.
25965
a2881ef0
FW
259662017-09-01 Florian Weimer <fweimer@redhat.com>
25967
25968 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
25969 status indicates it is set.
25970
ad816a5e
FW
259712017-09-01 Florian Weimer <fweimer@redhat.com>
25972
63b52889 25973 [BZ #20532]
ad816a5e
FW
25974 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
25975 function lookup failures more reliable.
25976
53250a21
FW
259772017-09-01 Florian Weimer <fweimer@redhat.com>
25978
25979 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
25980 (getcanonname): Likewise.
25981 (gaih_inet): Likewise.
25982
924b121c
FW
259832017-09-01 Florian Weimer <fweimer@redhat.com>
25984
25985 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
25986 (getcanonname): Likewise.
25987 (gaih_inet): Likewise.
25988
d9ff799a
SE
259892017-08-31 Steve Ellcey <sellcey@cavium.com>
25990 Richard Henderson <rth@twiddle.net>
25991
25992 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
25993 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
25994 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
25995 (IREG_SIZE, OREG_SIZE): New macros.
25996 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
25997 (IREG_SIZE, OREG_SIZE): New macros.
25998 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
25999 (IREG_SIZE): New macro.
26000 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
26001 (IREG_SIZE): New macro.
26002 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
26003 New includes.
26004 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
26005 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
26006 (__CONCATX): Handle exceptions correctly on large values that may
26007 set FE_INVALID.
26008 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
26009 Initialize if not already set.
26010 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
26011
102dde84
AZ
260122017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26013
26014 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
26015 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
26016 Likewise.
26017 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
26018 Likewise.
26019 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
26020 Likewise.
26021 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
26022 Likewise.
26023 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
26024 Likewise.
26025 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
26026 Likewise.
26027 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
26028 Likewise.
26029 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
26030 (NO_CANCELLATION): Likewise.
26031 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
26032 Likewise.
26033 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
26034 Likewise.
26035 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
26036 Likewise.
26037 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
26038 (NO_CANCELLATION): Likewise.
26039 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
26040 (NO_CANCELLATION): Likewise.
26041 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
26042 Likewise
26043 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
26044 Likewise.
26045 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
26046 Likewise.
26047 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
26048 Likewise.
26049 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
26050 hidden prototype.
26051 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
26052 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
26053
9eee633b
SE
260542017-08-31 Steve Ellcey <sellcey@cavium.com>
26055
26056 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
26057 in resolver call.
26058
65284eb7
FW
260592017-08-31 Florian Weimer <fweimer@redhat.com>
26060
26061 * include/libc-symbols.h (internal_function): Remove.
26062
41ad5ca6
FW
260632017-08-31 Florian Weimer <fweimer@redhat.com>
26064
26065 * stdlib/fmtmsg.c (internal_addseverity): Remove
26066 internal_function.
26067
2fa6d086
FW
260682017-08-31 Florian Weimer <fweimer@redhat.com>
26069
26070 * stdio-common/printf_fp.c (group_number): Remove
26071 internal_function.
26072 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
26073
b41bd5bc
FW
260742017-08-31 Florian Weimer <fweimer@redhat.com>
26075
26076 * posix/fnmatch.c (internal_function): Remove definition.
26077 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
26078 * posix/regcomp.c (peek_token, init_word_char)
26079 (duplicate_node_closure, fetch_token, peek_token)
26080 (peek_token_bracket, build_range_exp, build_collating_symbol):
26081 Likewise.
26082 * posix/regex_internal.c (re_string_construct_common)
26083 (create_ci_newstate, create_cd_newstate, re_string_allocate)
26084 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
26085 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
26086 (re_string_translate_buffer, re_string_reconstruct)
26087 (re_string_peek_byte_case, re_string_fetch_byte_case)
26088 (re_string_destruct, re_string_context_at, re_node_set_alloc)
26089 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
26090 (re_node_set_add_intersect, re_node_set_init_union)
26091 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
26092 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
26093 (re_dfa_add_node, calc_state_hash, re_acquire_state)
26094 (re_acquire_state_context): Likewise.
26095 * posix/regex_internal.h (internal_function): Remove definition.
26096 (re_string_realloc_buffers, build_wcs_buffer)
26097 (build_wcs_upper_buffer, build_upper_buffer)
26098 (re_string_translate_buffer, re_string_context_at)
26099 (re_string_char_size_at, re_string_wchar_at)
26100 (re_string_elem_size_at): Likewise.
26101 * posix/regexec.c (match_ctx_init, match_ctx_clean)
26102 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
26103 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
26104 (re_search_internal, re_search_2_stub, re_search_stub)
26105 (re_copy_regs, prune_impossible_nodes, check_matching)
26106 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
26107 (free_fail_stack_return, sift_states_iter_mb)
26108 (sift_states_backward, build_sifted_states)
26109 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
26110 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
26111 (check_subexp_limits, sift_states_bkref, merge_state_array)
26112 (find_recover_state, transit_state, merge_state_with_log)
26113 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
26114 (transit_state_mb, transit_state_bkref, get_subexp)
26115 (get_subexp_sub, find_subexp_node, check_arrival)
26116 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
26117 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
26118 (check_node_accept_bytes, find_collation_sequence_value)
26119 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
26120 (acquire_init_state_context, check_halt_node_context)
26121 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
26122 (sub_epsilon_src_nodes): Likewise.
26123 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
26124 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
26125 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
26126 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
26127 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
26128 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
26129 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
26130 * sysdeps/posix/ttyname.c (getttyname): Likewise.
26131 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
26132 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
26133 (PREADV): Likewise.
26134 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
26135 (PREADV): Likewise.
26136 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
26137 (PWRITEV): Likewise.
26138 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
26139 (PWRITEV): Likewise.
26140 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
26141 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
26142
83b09837
FW
261432017-08-31 Florian Weimer <fweimer@redhat.com>
26144
26145 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
26146 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
26147 Remove internal_function.
26148 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
26149 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
26150 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
26151 (__deallocate_stack, __libc_pthread_init)
26152 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
26153 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
26154 (__libc_disable_asynccancel, __librt_disable_asynccancel):
26155 Likewise.
26156 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
26157 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
26158 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
26159 Likewise.
26160 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
26161 (__pthread_mutex_unlock_usercnt): Likewise.
26162
116ac301
FW
261632017-08-31 Florian Weimer <fweimer@redhat.com>
26164
26165 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
26166 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
26167 (fts_safe_changedir): Remove internal_function.
26168 * io/ftw.c (internal_function): Remove definition.
26169 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
26170
9da93bd7
FW
261712017-08-31 Florian Weimer <fweimer@redhat.com>
26172
26173 * inet/deadline.c (__deadline_current_time)
26174 (__deadline_from_timeval, __deadline_to_ms): Remove
26175 internal_function.
26176 * inet/getnameinfo.c (nrl_domainname): Likewise.
26177 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
26178 * inet/inet6_option.c (add_pad): Likewise.
26179 * inet/net-internal.h (__deadline_current_time)
26180 (__deadline_from_timeval, __deadline_to_ms): Likewise.
26181 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
26182 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
26183 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
26184
a60eca2e
JM
261852017-08-31 Joseph Myers <joseph@codesourcery.com>
26186
c0c49d60
JM
26187 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
26188 include <bits/nan.h>.
26189 * math/Makefile (headers): Remove bits/nan.h.
26190 * bits/nan.h: Remove.
26191 * sysdeps/ieee754/bits/nan.h: Likewise.
26192 * sysdeps/mips/bits/nan.h: Likewise.
26193
5ef1b213
JM
26194 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
26195 not include <bits/inf.h>.
26196 * math/Makefile (headers): Remove bits/inf.h.
26197 * bits/inf.h: Remove.
26198 * sysdeps/ieee754/bits/inf.h: Likewise.
26199
a60eca2e
JM
26200 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
26201 bits/huge_vall.h or bits/huge_val_flt128.h.
26202 (HUGE_VAL): Define directly here.
26203 [__USE_ISOC99] (HUGE_VALF): Likewise.
26204 [__USE_ISOC99] (HUGE_VALL): Likewise.
26205 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26206 (HUGE_VAL_F128): Likewise.
26207 * math/Makefile (headers): Remove bits/huge_val.h,
26208 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
26209 * bits/huge_val.h: Remove.
26210 * bits/huge_val_flt128.h: Likewise.
26211 * bits/huge_valf.h: Likewise.
26212 * bits/huge_vall.h: Likewise.
26213 * sysdeps/ia64/bits/huge_vall.h: Likewise.
26214 * sysdeps/ieee754/bits/huge_val.h: Likewise.
26215 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
26216 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
26217 * sysdeps/sh/bits/huge_val.h: Likewise.
26218 * sysdeps/sparc/bits/huge_vall.h: Likewise.
26219 * sysdeps/x86/bits/huge_vall.h: Likewise.
26220
17e00cc6
FW
262212017-08-31 Florian Weimer <fweimer@redhat.com>
26222
26223 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
26224 internal_function.
26225 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
26226 Likewise.
26227 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
26228 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
26229 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
26230 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
26231 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26232 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
26233 * elf/dl-libc.c (dlerror_run): Likewise.
26234 * elf/dl-load.c (add_name_to_object, decompose_rpath)
26235 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
26236 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
26237 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
26238 Likewise.
26239 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
26240 (_dl_higher_prime_number, _dl_strtoul): Likewise.
26241 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
26242 * elf/dl-profile.c (_dl_start_profile): Likewise.
26243 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
26244 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
26245 Likewise.
26246 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
26247 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
26248 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
26249 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
26250 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
26251 (_dl_allocate_tls_storage): Likewise.
26252 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
26253 (_dl_check_all_versions): Likewise.
26254 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
26255 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
26256 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
26257 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
26258 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
26259 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
26260 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
26261 internal_function from __dl_start.
26262 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
26263 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
26264 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
26265 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
26266 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
26267 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
26268 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
26269 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
26270 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
26271 (_dl_next_ld_env_entry, _dl_important_hwcaps)
26272 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
26273 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
26274 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
26275 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
26276 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
26277 Likewise.
26278 (struct rtld_global_ro): Remove internal_function from the
26279 _dl_lookup_symbol_x member.
26280 (_dl_symbol_value): Remove. No longer defined anywhere.
26281 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
26282 internal_function.
26283 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
26284 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
26285 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
26286 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
26287 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
26288 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
26289 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
26290 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
26291 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
26292 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
26293 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
26294 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
26295
8d2f9410
FW
262962017-08-31 Florian Weimer <fweimer@redhat.com>
26297
26298 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
26299 Remove internal_function.
26300 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
26301 Likewise.
26302 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
26303 Likewise.
26304
86e4919f
FW
263052017-08-31 Florian Weimer <fweimer@redhat.com>
26306
26307 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
26308 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
26309 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
26310
59bd52b0
FW
263112017-08-31 Florian Weimer <fweimer@redhat.com>
26312
26313 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
26314 (__gai_enqueue_request): Remove internal_function.
26315 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
26316 (__gai_remove_request, __gai_notify, __gai_notify_only)
26317 (__gai_sigqueue): Likewise.
26318 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
26319 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
26320 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
26321 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
26322 Likewise.
26323
fc3d9497
FW
263242017-08-31 Florian Weimer <fweimer@redhat.com>
26325
26326 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
26327 * include/dirent.h (__opendirat, __getdents, __getdents64)
26328 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
26329 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
26330 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
26331 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
26332 Likewise.
26333 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
26334
18c54fac
FW
263352017-08-31 Florian Weimer <fweimer@redhat.com>
26336
26337 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
26338 internal_function.
26339 (GETCWD_RETURN_TYPE): Likewise.
26340
7e01f080
FW
263412017-08-31 Florian Weimer <fweimer@redhat.com>
26342
26343 * include/time.h (__tz_compute, __strptime_internal): Remove
26344 internal_function.
26345 * time/strptime_l.c (__strptime_internal): Likewise.
26346 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
26347
d7ccc6c9
FW
263482017-08-31 Florian Weimer <fweimer@redhat.com>
26349
26350 * iconv/gconv.c (__gconv): Remove internal_function.
26351 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
26352 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
26353 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
26354 (__gconv_release_cache): Likewise.
26355 * iconv/gconv_close.c (__gconv_close): Likewise.
26356 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
26357 (read_conf_file, __gconv_get_path): Likewise.
26358 * iconv/gconv_db.c (derivation_lookup, add_derivation)
26359 (__gconv_release_step, gen_steps, increment_counter)
26360 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
26361 (__gconv_close_transform, free_modules_db): Likewise.
26362 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
26363 Likewise.
26364 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
26365 (__gconv_find_transform, __gconv_lookup_cache)
26366 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
26367 (__gconv_close_transform, __gconv_release_cache)
26368 (__gconv_loaded_object, __gconv_release_shlib)
26369 (__gconv_compare_alias): Likewise.
26370 * iconv/gconv_open.c (__gconv_open): Likewise.
26371 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
26372 * iconv/iconvconfig.c (add_module): Likewise.
26373 * intl/dcigettext.c (plural_lookup, guess_category_value)
26374 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
26375 * intl/eval-plural.h (plural_eval): Likewise.
26376 * intl/finddomain.c (_nl_find_domain): Likewise.
26377 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
26378 (_nl_load_domain, _nl_find_msg): Likewise.
26379 (internal_function): Remove definition.
26380 * intl/loadinfo.h (internal_function): Likewise.
26381 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
26382 internal_function.
26383 * intl/localealias.c (internal_function): Remove definition.
26384 (read_alias_file): Remove internal_function.
26385 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
26386 * intl/plural-exp.h (internal_function): Remove definition.
26387 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
26388 internal_function.
26389 * intl/plural.c: Regenerate.
26390 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
26391 * locale/coll-lookup.c (__collidx_table_lookup)
26392 (__collseq_table_lookup): Likewise.
26393 * locale/coll-lookup.h (__collidx_table_lookup)
26394 (__collseq_table_lookup): Likewise.
26395 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
26396 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
26397 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
26398 (_nl_unload_locale): Likewise.
26399 * locale/localeinfo.h (struct __locale_data): Remove
26400 internal_function from cleanup member.
26401 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
26402 (_nl_remove_locale, _nl_load_locale_from_archive)
26403 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
26404 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
26405 (_nl_cleanup_time): Remove internal_function.
26406 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
26407 (_nl_parse_alt_digit): Likewise.
26408 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
26409 (_nl_select_era_entry): Likewise.
26410 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
26411 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
26412 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
7e01f080
FW
26413 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
26414 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
d7ccc6c9 26415
dab0eece
FW
264162017-08-31 Florian Weimer <fweimer@redhat.com>
26417
26418 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
26419 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
26420 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
26421 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
26422 Likewise.
26423 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
26424 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
26425 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
26426 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
26427 Likewise.
26428 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
26429
ab5bf7cf
FW
264302017-08-31 Florian Weimer <fweimer@redhat.com>
26431
26432 * misc/getttyent.c (skip, value): Remove internal_function.
26433 * misc/syslog.c (openlog_internal): Likewise.
26434 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
26435
75b3047e
FW
264362017-08-31 Florian Weimer <fweimer@redhat.com>
26437
26438 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
26439 (__nss_rewrite_field): Remove internal_function.
26440 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
26441 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
26442 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
26443 * nss/nsswitch.c (nss_parse_file, nss_getline)
26444 (nss_parse_service_list, nss_new_service): Likewise.
26445 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
26446 * nss/valid_field.c (__nss_valid_field): Likewise.
26447 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
26448
0c71122c
FW
264492017-08-31 Florian Weimer <fweimer@redhat.com>
26450
26451 * malloc/arena.c (__malloc_fork_lock_parent)
26452 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
26453 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
26454 internal_function from defintions.
26455 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
26456 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
26457 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
26458 internal_function from declarations.
26459 * malloc/malloc.c (internal_function): Do not define.
26460 (mem2mem_check): Remove internal_function from declaration.
26461 (munmap_chunk, mremap_chunk): Remove internal_function.
26462 * malloc/mtrace.c (tr_where): Likewise.
26463
ca4ec803
FW
264642017-08-31 Florian Weimer <fweimer@redhat.com>
26465
26466 * include/rpc/pmap_clnt.h (__get_socket): Remove
26467 internal_function.
26468 * sunrpc/auth_des.c (synchronize): Likewise.
26469 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
26470 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
26471 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
26472 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
26473 (key_call): Likewise.
26474 * sunrpc/pm_getport.c (__get_socket): Likewise.
26475 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
26476 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
26477 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
26478 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
26479 (invalidate): Likewise.
26480 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
26481 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
26482 (set_input_fragment, get_input_bytes): Likewise.
26483
24cffce7
FW
264842017-08-31 Florian Weimer <fweimer@redhat.com>
26485
26486 * malloc/malloc.c (_int_free): Remove locked variable and related
26487 asserts.
26488
ecd0747d
L
264892017-08-31 H.J. Lu <hongjiu.lu@intel.com>
26490
26491 [BZ #22051]
26492 * Makerules (build-module-helper-objlist): Filter out
26493 $(elf-objpfx)sofini.os.
26494 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
26495 needed.
26496
5f0704b6
FW
264972017-08-31 Florian Weimer <fweimer@redhat.com>
26498
26499 * libio/fcloseall.c: Assume weak_alias is defined.
26500 * libio/feof.c: Likewise.
26501 * libio/fileno.c: Likewise.
26502 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
26503 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
26504 definitions.
26505 (_IO_file_open): Call __open directly.
26506 (_IO_new_file_sync): Assume ESPIPE is defined.
26507 (_IO_file_seekoff_maybe_mmap): Call __read directly.
26508 (_IO_new_file_write): Call __write directly.
26509 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
26510 * libio/ftello64.c (__ftello64): Assume EIO is defined.
26511 * libio/genops.c: Assume _LIBC is defined.
26512 (save_for_backup): Remove internal_function.
26513 * libio/getc.c: Assume weak_alias is defined.
26514 * libio/getwc.c: Likewise.
26515 * libio/iofclose.c: Assume _LIBC is defined.
26516 * libio/iofdopen.c: Likewise.
26517 (_IO_fcntl): Remove macro definition.
26518 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
26519 Call __fcntl directly.
26520 * libio/iofflush.c: Assume weak_alias is defined.
26521 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
26522 defined.
26523 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
26524 * libio/iofgets.c: Likewise.
26525 * libio/iofopen.c: Assume _LIBC is defined.
26526 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
26527 * libio/iofputs.c: Assume weak_alias is defined.
26528 * libio/iofread.c: Likewise.
26529 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
26530 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
26531 * libio/ioftell.c: Assume weak_alias is defined.
26532 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
26533 * libio/iofwide.c: Assume _LIBC is defined.
26534 (_IO_fwide): Drop SHARED conditional because it is implied by
26535 SHLIB_COMPAT.
26536 * libio/iofwrite.c: Assume weak_alias is defined.
26537 * libio/iogetdelim.c: Likewise.
26538 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
26539 * libio/iogetwline.c (wmemcpy): Remove macro definition.
26540 (_IO_getwline): Call __wmemcpy directly.
26541 * libio/iopopen.c: Assume _LIBC is defined.
26542 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
26543 (_IO_close): Remove macro definitions.
26544 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
26545 _exit directly.
26546 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
26547 directly.
26548 * libio/ioputs.c: Assume weak_alias is defined.
26549 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
26550 * libio/iosetbuffer.c: Assume weak_alias is defined.
26551 * libio/iosetvbuf.c: Likewise.
26552 * libio/ioungetc.c: Likewise.
26553 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
26554 libc_hidden_def, libc_hidden_weak, NULL are defined.
26555 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
26556 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
26557 defined.
26558 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
26559 definitions.
26560 (_IO_old_file_init_internal): Drop SHARED conditional because it
26561 is implied by SHLIB_COMPAT.
26562 (_IO_old_file_fopen): Call __open directly.
26563 (_IO_old_file_sync): Assume ESPIPE is defined.
26564 (_IO_old_file_write): Call __write directly.
26565 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
26566 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
26567 Call __fcntl directly.
26568 * libio/oldiofgetpos.c: Assume weak_alias is defined.
26569 (_IO_old_fgetpos): Assume EIO is defined.
26570 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
26571 (_IO_old_fgetpos64): Assume EIO is defined.
26572 * libio/oldiofsetpos.c: Assume weak_alias is defined.
26573 (_IO_old_fsetpos): Assume EIO is defined.
26574 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
26575 (_IO_old_fsetpos64): Assume EIO is defined.
26576 * libio/oldiopopen.c: Assume _LIBC is defined.
26577 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
26578 (_IO_close): Remove macro definitions.
26579 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
26580 directly.
26581 (_IO_old_proc_close): Call __close, __waitpid directly.
26582 * libio/put.c: Assume weak_alias is defined.
26583 * libio/stdfiles.c: Assume _LIBC is defined.
26584 * libio/stdio.c: Likewise.
26585 * libio/wfileops.c: Likewise.
26586 (_IO_wfile_sync): Assume ESPIPE is defined.
26587 * libio/wgenops.c: Assume _LIBC is defined.
26588 (save_for_wbackup): Remove internal_function.
26589
5129873a
FW
265902017-08-31 Florian Weimer <fweimer@redhat.com>
26591
26592 * malloc/malloc.c (top_check): Change return type to void. Remove
26593 internal_function.
26594 * malloc/hooks.c (top_check): Likewise.
26595 (malloc_check, realloc_check, memalign_check): Adjust.
26596
4fa9b3bf
JM
265972017-08-30 Joseph Myers <joseph@codesourcery.com>
26598
26599 [BZ #21457]
26600 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
26601 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
26602 sigcontext and namespace requirements.
26603 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
26604 * sysdeps/m68k/sys/ucontext.h: Likewise.
26605 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
26606 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
26607 <bits/sigcontext.h>.
26608 (__ctx): Define earlier.
26609 (mcontext_t): Define structure contents rather than using struct
26610 sigcontext.
26611 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
26612 __glibc_reserved1 instead of __reserved.
26613 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
26614 <bits/sigcontext.h>.
26615 (__ctx): Define earlier.
26616 (mcontext_t): Define structure contents rather than using struct
26617 sigcontext.
26618 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
26619 mcontext_t instead of struct sigcontext.
26620 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
26621 <bits/sigcontext.h>.
26622 (__ctx): Define earlier.
26623 (mcontext_t): Define structure contents rather than using struct
26624 sigcontext.
26625 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
26626 <bits/sigcontext.h>.
26627 (__ctx): Define earlier.
26628 (mcontext_t): Define structure contents rather than using struct
26629 sigcontext.
26630 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
26631 mcontext_t instead of struct sigcontext.
26632 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
26633 mcontext_t instead of struct sigcontext.
26634 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
26635 <bits/sigcontext.h>.
26636 (__ctx): New macro.
26637 (struct __ia64_fpreg_mcontext): New type.
26638 (mcontext_t): Define structure contents rather than using struct
26639 sigcontext.
26640 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
26641 (uc_sigmask): Define using __ctx.
26642 (uc_stack): Likewise.
26643 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
26644 <bits/sigcontext.h>.
26645 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
26646 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
26647 <bits/sigcontext.h>.
26648 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
26649 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
26650 <bits/sigcontext.h>.
26651 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
26652 <bits/sigcontext.h>.
26653 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
26654 <bits/sigcontext.h>.
26655 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
26656 <bits/sigcontext.h>.
26657 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
26658 <bits/sigcontext.h>.
26659 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
26660 <bits/sigcontext.h>.
26661 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
26662 <bits/sigcontext.h>.
26663 (__ctx): Define earlier.
26664 (mcontext_t): Define structure contents rather than using struct
26665 sigcontext.
26666 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
26667 <bits/sigcontext.h>. Include <bits/types.h>.
26668 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
26669 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
26670 (test-xfail-XPG42/ucontext.h/conform): Likewise.
26671 (test-xfail-UNIX98/signal.h/conform): Likewise.
26672 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
26673 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
26674 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
26675 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
26676 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
26677 (test-xfail-POSIX2008/signal.h/conform): Likewise.
26678 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
26679 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
26680 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
26681
5898f454
FW
266822017-08-30 Florian Weimer <fweimer@redhat.com>
26683
26684 * malloc/dynarray_emplace_enlarge.c
26685 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
26686 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
26687 * malloc/tst-dynarray.c (test_long_overflow): New function.
26688 (do_test): Call it.
26689
a9da0bb2
FW
266902017-08-30 Florian Weimer <fweimer@redhat.com>
26691
26692 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
26693 (set_arena_corrupt): Remove definitions.
26694 (mtrim): Do not check for corrupt arena.
26695 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
26696 Likewise.
26697
ac3ed168
FW
266982017-08-30 Florian Weimer <fweimer@redhat.com>
26699
26700 [BZ #21754]
26701 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
26702 check_action.
26703 (ptmalloc_init): Do not set or use check_action.
26704 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
26705 call to malloc_printerr. Remove return statement.
26706 (free_check): Likewise. Remove arena unlock.
26707 (top_check): Update comment. Adjust call to malloc_printerr.
26708 Remove heap repair code.
26709 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
26710 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
26711 (sysmalloc): Adjust call to malloc_printerr.
26712 (munmap_chunk, __libc_realloc): Likewise. Remove return
26713 statement.
26714 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
26715 Remove errout label and corresponding gotos.
26716 (_int_free): Likewise. Remove arena unlock.
26717 (do_set_mallopt_check): Do not set check_action.
26718 (malloc_printerr): Adjust parameter list. Do not mark arena as
26719 corrupt.
26720 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
26721 comment.
26722 * manual/probes.texi (Memory Allocation Probes): Remove
26723 memory_mallopt_check_action.
26724
44bcba80
SE
267252017-08-30 Steve Ellcey <sellcey@cavium.com>
26726
26727 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
26728 Use pointer to uint64_t instead of long int for sp.
26729
ec2c1fce
FW
267302017-08-30 Florian Weimer <fweimer@redhat.com>
26731
26732 [BZ #21754]
26733 * malloc/malloc.c (malloc_printerr): Always terminate the process,
26734 without printing a backtrace. Do not leak any information in the
26735 error message.
26736 * manual/memory.texi (Heap Consistency Checking): Update.
26737 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
26738
9ce673b6
FW
267392017-08-30 Florian Weimer <fweimer@redhat.com>
26740
26741 Do not scale NPTL tests with available number of CPUs.
26742 * nptl/tst-cond16.c (count): Set to constant value of 8.
26743 * nptl/tst-cond18.c (count): Likewise.
26744
2f1aef19
JM
267452017-08-29 Joseph Myers <joseph@codesourcery.com>
26746
26747 [BZ #22035]
26748 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
26749 Define to take a second argument that is a macro that
26750 concatentates a suffix, not the suffix itself.
26751 (__CONCAT_d): New macro.
26752 (__CONCAT_f): Likewise.
26753 (__CONCAT_l): Likewise.
26754
8325b477
PP
267552017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
26756
26757 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
26758 by child.
26759
319cbbf6
AZ
267602017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26761 Aurelien Jarno <aurelien@aurel32.net>
26762 Maciej W. Rozycki <macro@imgtec.com>
26763
26764 [BZ #21956]
26765 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
26766 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
26767 `mips16-syscall6' and `mips16-syscall7'.
26768 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
26769 (CFLAGS-mips16-syscall7.c): Remove.
26770 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
26771 Remove `__mips16_syscall5', `__mips16_syscall6' and
26772 `__mips16_syscall7'.
26773 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
26774 (__mips16_syscall0): Rename `__mips16_syscall_return' to
26775 `__mips_syscall_return'.
26776 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
26777 (__mips16_syscall1): Likewise.
26778 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
26779 (__mips16_syscall2): Likewise.
26780 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
26781 (__mips16_syscall3): Likewise.
26782 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
26783 (__mips16_syscall4): Likewise.
26784 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
26785 Remove.
26786 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
26787 Remove.
26788 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
26789 Remove.
26790 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
26791 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
26792 `__mips16_syscall5'. Remove prototype.
26793 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
26794 `__mips16_syscall6'. Remove prototype.
26795 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
26796 `__mips16_syscall7'. Remove prototype.
26797 (__nomips16, __mips16_syscall_return): Move to...
26798 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
26799 (__nomips16, __mips_syscall_return): ... here.
26800 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
26801 `__mips16_syscall_return' to `__mips_syscall_return'.
26802 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
26803 `internal_syscall##nr'.
26804 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
26805 `internal_syscall##nr'.
26806 (FORCE_FRAME_POINTER): Remove.
26807 (__mips_syscall5): New prototype.
26808 (internal_syscall5): Rewrite to call `__mips_syscall5'.
26809 (__mips_syscall6): New prototype.
26810 (internal_syscall6): Rewrite to call `__mips_syscall6'.
26811 (__mips_syscall7): New prototype.
26812 (internal_syscall7): Rewrite to call `__mips_syscall7'.
26813 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
26814 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
26815 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
26816 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
26817 (sysdep_routines): Add libc-do-syscall.
26818 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
26819 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
26820
01b87c65
AZ
268212017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26822
26823 [BZ #21672]
26824 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
26825 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
26826 (advise_stack_range): New function.
26827 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
26828 stack non required to advise_stack_range at allocatestack.c
26829
16f138a4
SN
268302017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
26831
26832 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
26833
251bccfa
FW
268342017-08-29 Florian Weimer <fweimer@redhat.com>
26835
26836 [BZ #22026]
26837 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
26838 __end_fct. Mangle __end_fct after setting it to NULL.
26839 * iconv/Makefile (tests): Add tst-gconv-init-failure.
26840 (modules-names, modules-names-tests): Add
26841 tst-gconv-init-failure-mod.
26842 (gconv-modules): New target.
26843 (tst-gconv-init-failure-mod.so): Link against libsupport.
26844 (tst-gconv-init-failure): Depend on gconv-modules,
26845 tst-gconv-init-failure-mod.so.
26846 * iconv/tst-gconv-init-failure-mod.c: New file.
26847 * iconv/tst-gconv-init-failure.c: Likewise.
26848 * iconv/test-gconv-modules: Likewise.
26849
e7c18b9d
FW
268502017-08-29 Florian Weimer <fweimer@redhat.com>
26851
26852 [BZ #22025]
26853 * iconv/gconv_db.c (free_derivation): Remove redundant
26854 parentheses.
26855 (gen_steps): Unconditionally mangle __btowc_fct after
26856 initialization.
26857 (increment_counter): Likewise. Do not call init_fct for internal
26858 modules.
26859
7daada03
JM
268602017-08-29 Joseph Myers <joseph@codesourcery.com>
26861
26862 [BZ #22028]
26863 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
26864 (_MSUF_): Remove macro.
26865 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
26866 Likewise.
26867 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
26868 (__REDIRFROM_X): New macro.
26869 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
26870 Likewise.
26871 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
26872 (__REDIRTO_X): Likewise.
26873 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
26874 arguments.
26875 (__MATH_REDIRCALL_2): Likewise.
26876 (__MATH_REDIRCALL_INTERNAL): Likewise.
26877 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
26878 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
26879 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
26880 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
26881 * math/test-finite-macros.c: New file.
26882 * math/Makefile (tests): Add test-finite-macros.
26883 (CFLAGS-test-finite-macros.c): New variable.
26884
1cf1232c
PF
268852017-08-29 Patsy Franklin <pfrankli@redhat.com>
26886 Jeff Law <law@redhat.com>
26887
26888 [BZ #22025]
26889 Mangle NULL pointers in iconv/gconv.
26890 * iconv/gconv_cache.c (find_module): Demangle init_fct before
26891 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
26892 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
26893 is non-NULL before demangling the end_fct. Check for NULL
26894 end_fct after demangling.
26895 (__gconv_release_step): Demangle the end_fct before checking
26896 it for NULL. Remove assert on __shlibc_handle != NULL.
26897 (gen_steps): Don't check btowc_fct for NULL before mangling.
26898 Demangle init_fct before checking for NULL.
26899 (increment_counter): Likewise.
26900 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
26901 end_fct for NULL before mangling.
26902 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
26903 for NULL.
26904
c207f7ce 269052017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
f8de9568
AK
26906
26907 [BZ #21971]
26908 * locale/iso-639.def: add Morisyen.
26909
42496114
GG
269102017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
26911
26912 [BZ #21930]
26913 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
26914 (iszero): New C++ implementation that does not use
26915 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
26916 signaling nans are enabled, since __builtin_types_compatible_p
26917 is a C-only feature.
26918 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
26919 defined, include ieee754_float128.h for access to the union and
26920 member ieee854_float128.ieee.
26921 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
26922 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
26923 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
26924 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
26925 options of test-math-zero on powerpc64le.
26926
5e2bc4ff
L
269272017-08-28 H.J. Lu <hongjiu.lu@intel.com>
26928
26929 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
26930 Change double to float.
26931
a48c0fb4
JM
269322017-08-28 Joseph Myers <joseph@codesourcery.com>
26933
26934 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
26935 unconditional.
26936 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
26937 conditional code; define contents only for [LIBM_SVID_COMPAT].
26938
ee17d4e9
FW
269392017-08-28 Florian Weimer <fweimer@redhat.com>
26940
26941 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
26942 (abi-lp64_be-options): Remove.
26943 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
26944 (abi-hard-options): Likewise.
26945 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
26946 (abi-o32_hard-options, abi-o32_soft_2008-options)
26947 (abi-o32_hard_2008-options, abi-n32_soft-options)
26948 (abi-n32_hard-options, abi-n32_soft_2008-options)
26949 (abi-n32_hard_2008-options, abi-n64_soft-options)
26950 (abi-n64_hard-options, abi-n64_soft_2008-options)
26951 (abi-n64_hard_2008-options): Likewise.
26952 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
26953 (abi-64-v1-options, abi-64-v2-options): Likewise.
26954 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
26955 (abi-64-options): Likewise.
26956 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
26957 (abi-64-options): Likewise.
26958 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
26959 (abi-64-options): Likewise.
26960 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
26961 (abi-64-options, abi-x32-options): Likewise.
26962
2dba5ce7
FW
269632017-08-28 Florian Weimer <fweimer@redhat.com>
26964
26965 Store supported list of SYS_* system calls in the source tree.
26966 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
26967 (bits/syscall.h): Generate from list file.
26968 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
26969 [$(subdir) = misc] (tests): Add tst-syscall-list.
26970 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
26971 [$(subdir) = misc] (tst-syscall-list-macros.list)
26972 [$(subdir) = misc] (tst-syscall-list-nr.list)
26973 (tst-syscall-list-sys.list): Helper targets for new
26974 tst-syscall-list test.
26975 [$(subdir) = misc] (tst-syscall-list.out): Run test script
26976 tst-syscall-list.sh.
26977 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
26978 target. Do not include bits/syscall.d.
26979 [$(subdir) = misc] (generated): Do not update.
26980 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
26981 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
26982 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
26983 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
26984
5f3b183d
PP
269852017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
26986
26987 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
26988 (tst-cxa_atexit, tst-on_exit): Likewise.
26989 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
26990 tst-cxa_atexit, and tst-on_exit.
26991 * stdlib/tst-atexit-common.c: New file.
26992 * stdlib/tst-atexit.c: New file.
26993 * stdlib/tst-at_quick_exit.c: New file.
26994 * stdlib/tst-cxa_atexit.c: New file.
26995 * stdlib/tst-on_exit.c: New file.
26996
2ef8d469
ST
269972017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
26998
26999 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
97e02ad2
ST
27000 * mach/stack_chk_fail_local.c: New file.
27001 * hurd/stack_chk_fail_local.c: New file.
27002 * mach/Machrules ($(interface-library)-routines): Add
27003 stack_chk_fail_local.
99ee4d26
ST
27004 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
27005 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
27006 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
27007 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
27008 * hurd/Makefile (CFLAGS-hurdstartup.o,
27009 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
2ef8d469 27010
7ab70c98
L
270112017-08-25 H.J. Lu <hongjiu.lu@intel.com>
27012
27013 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
27014 (index_cpu_*, index_arch_*): Removed.
27015
39e7a5a6
SN
270162017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
27017
27018 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
27019 Use uint64_t instead of unsigned long.
27020
bba5c930
JM
270212017-08-25 Joseph Myers <joseph@codesourcery.com>
27022
a6ccdb08
JM
27023 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
27024 [__HAVE_DISTINCT_FLOAT128].
27025
23761119
JM
27026 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
27027 of <bits/math-finite.h>.
27028 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
27029 inclusion of <bits/math-finite.h>.
27030 * math/bits/math-finite.h (__REDIRTO_X): Do not define
27031 conditionally on [__MATH_DECLARING_LDOUBLE && defined
27032 __NO_LONG_DOUBLE_MATH].
27033 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
27034 (__MATH_REDIRCALL_2): Likewise.
27035 (__MATH_REDIRCALL_INTERNAL): Likewise.
27036 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
27037 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
27038 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
27039
bba5c930
JM
27040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
27041 Remove file.
27042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
27043 Likewise.
27044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
27045 Likewise.
27046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
27047 Likewise.
27048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
27049 Likewise.
27050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
27051 Likewise.
27052 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
27053 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
27054 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
27055 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
27056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
27057 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
27058 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
27059 w_sqrtf_compat-ppc32.
27060
3d7b66f6
GG
270612017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
27062
27063 * math/math.h [defined __cplusplus] (issignaling): In the long
27064 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
27065 is not defined. Call __issignaling, otherwise.
27066
ebd6f007
AZ
270672017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27068
27069 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
27070 syscall definitions and replace __builtin_expect with __glibc_likely.
27071 * sysdeps/unix/syscall-template.S: Update comment about cancellable
27072 syscall.
27073 (SYSCALL_CANCELLABLE): Removedefinition
27074 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
27075 definition.
27076 (PSEUDO_END): Likewise.
27077 [IS_IN (libpthread)] (CENABLE): Likewise.
27078 [IS_IN (libpthread)] (CDISABLE): Likewise.
27079 [IS_IN (libc)] (CENABLE): Likewise.
27080 [IS_IN (libc)] (CENABLE): Likewise.
27081 [IS_IN (librt)] (CDISABLE): Likewise.
27082 [IS_IN (librt)] (CDISABLE): Likewise.
27083 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
27084 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
27085 definition.
27086 (PSEUDO_END): Likewise.
27087 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
27088 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
27089 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
27090 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
27091 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
27092 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
27093 (CENABLE): Likewise.
27094 (CDISABLE): Likewise.
27095 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
27096 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
27097 defintion.
27098 (PSEUDO_END): Likewise.
27099 [IS_IN (libpthread)] (CENABLE): Likewise.
27100 [IS_IN (libpthread)] (CDISABLE): Likewise.
27101 [IS_IN (libc)] (CENABLE): Likewise.
27102 [IS_IN (libc)] (CENABLE): Likewise.
27103 [IS_IN (librt)] (CDISABLE): Likewise.
27104 [IS_IN (librt)] (CDISABLE): Likewise.
27105 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
27106 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
27107 definition.
27108 (PSEUDO_END): Likewise.
27109 [IS_IN (libpthread)] (CENABLE): Likewise.
27110 [IS_IN (libpthread)] (CDISABLE): Likewise.
27111 [IS_IN (libc)] (CENABLE): Likewise.
27112 [IS_IN (libc)] (CENABLE): Likewise.
27113 [IS_IN (librt)] (CDISABLE): Likewise.
27114 [IS_IN (librt)] (CDISABLE): Likewise.
27115 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
27116 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
27117 definition.
27118 (PSEUDO_END): Likewise.
27119 [IS_IN (libpthread)] (CENABLE): Likewise.
27120 [IS_IN (libpthread)] (CDISABLE): Likewise.
27121 [IS_IN (libc)] (CENABLE): Likewise.
27122 [IS_IN (libc)] (CENABLE): Likewise.
27123 [IS_IN (librt)] (CDISABLE): Likewise.
27124 [IS_IN (librt)] (CDISABLE): Likewise.
27125 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
27126 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
27127 definition.
27128 (PSEUDO_END): Likewise.
27129 [IS_IN (libpthread)] (CENABLE): Likewise.
27130 [IS_IN (libpthread)] (CDISABLE): Likewise.
27131 [IS_IN (libc)] (CENABLE): Likewise.
27132 [IS_IN (libc)] (CENABLE): Likewise.
27133 [IS_IN (librt)] (CDISABLE): Likewise.
27134 [IS_IN (librt)] (CDISABLE): Likewise.
27135 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
27136 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
27137 definition.
27138 (PSEUDO_END): Likewise.
27139 [IS_IN (libpthread)] (CENABLE): Likewise.
27140 [IS_IN (libpthread)] (CDISABLE): Likewise.
27141 [IS_IN (libc)] (CENABLE): Likewise.
27142 [IS_IN (libc)] (CENABLE): Likewise.
27143 [IS_IN (librt)] (CDISABLE): Likewise.
27144 [IS_IN (librt)] (CDISABLE): Likewise.
27145 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
27146 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
27147 definition.
27148 (PSEUDO_END): Likewise.
27149 [IS_IN (libpthread)] (CENABLE): Likewise.
27150 [IS_IN (libpthread)] (CDISABLE): Likewise.
27151 [IS_IN (libc)] (CENABLE): Likewise.
27152 [IS_IN (libc)] (CENABLE): Likewise.
27153 [IS_IN (librt)] (CDISABLE): Likewise.
27154 [IS_IN (librt)] (CDISABLE): Likewise.
27155 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
27156 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
27157 Remove definition.
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 (SINGLE_THREAD_P): Likewise.
27166 * sysdeps/unix/sysv/linux/mips/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/nios2/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/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
27187 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
27188 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
27189 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
27190 definition.
27191 (PSEUDO_END): Likewise.
27192 [IS_IN (libpthread)] (CENABLE): Likewise.
27193 [IS_IN (libpthread)] (CDISABLE): Likewise.
27194 [IS_IN (libc)] (CENABLE): Likewise.
27195 [IS_IN (libc)] (CENABLE): Likewise.
27196 [IS_IN (librt)] (CDISABLE): Likewise.
27197 [IS_IN (librt)] (CDISABLE): Likewise.
27198 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
27199 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
27200 definition.
27201 (PSEUDO_END): Likewise.
27202 [IS_IN (libpthread)] (CENABLE): Likewise.
27203 [IS_IN (libpthread)] (CDISABLE): Likewise.
27204 [IS_IN (libc)] (CENABLE): Likewise.
27205 [IS_IN (libc)] (CENABLE): Likewise.
27206 [IS_IN (librt)] (CDISABLE): Likewise.
27207 [IS_IN (librt)] (CDISABLE): Likewise.
27208 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
27209 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
27210 definition.
27211 (PSEUDO_END): Likewise.
27212 [IS_IN (libpthread)] (CENABLE): Likewise.
27213 [IS_IN (libpthread)] (CDISABLE): Likewise.
27214 [IS_IN (libc)] (CENABLE): Likewise.
27215 [IS_IN (libc)] (CENABLE): Likewise.
27216 [IS_IN (librt)] (CDISABLE): Likewise.
27217 [IS_IN (librt)] (CDISABLE): Likewise.
27218 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
27219 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
27220 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27221 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
27222 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
27223 definition.
27224 (PSEUDO_END): Likewise.
27225 [IS_IN (libpthread)] (CENABLE): Likewise.
27226 [IS_IN (libpthread)] (CDISABLE): Likewise.
27227 [IS_IN (libc)] (CENABLE): Likewise.
27228 [IS_IN (libc)] (CENABLE): Likewise.
27229 [IS_IN (librt)] (CDISABLE): Likewise.
27230 [IS_IN (librt)] (CDISABLE): Likewise.
27231 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
27232 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
27233 definition.
27234 (PSEUDO_END): Likewise.
27235 [IS_IN (libpthread)] (CENABLE): Likewise.
27236 [IS_IN (libpthread)] (CDISABLE): Likewise.
27237 [IS_IN (libc)] (CENABLE): Likewise.
27238 [IS_IN (libc)] (CENABLE): Likewise.
27239 [IS_IN (librt)] (CDISABLE): Likewise.
27240 [IS_IN (librt)] (CDISABLE): Likewise.
27241 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
27242
8aa48656
SN
272432017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
27244
27245 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
27246
fcaaca41
L
272472017-08-23 H.J. Lu <hongjiu.lu@intel.com>
27248
27249 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27250
376b40a2
L
272512017-08-23 H.J. Lu <hongjiu.lu@intel.com>
27252
27253 [BZ #21982]
27254 * string/stratcliff.c (do_test): Declare size, nchars, inner,
27255 middle and outer with size_t instead of int. Repleace %d and
27256 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
27257 "MAX (outer, nchars - 64)" to support unsigned outer and
27258 nchars. Also exit loop when outer == 0.
27259
2b0b9a1c
AZ
272602017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27261
27262 * include/fcntl.h (__fcntl_nocancel): Remove definition.
27263 * include/signal.h (__sigsuspend_nocancel): Likewise.
27264 * include/time.h (__nanosleep_nocancel): Likewise.
27265 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
27266 * login/utmp_file.c: Include non cancellable syscall header.
27267 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
27268 prototype.
27269
b9eaca8f
L
272702017-08-23 H.J. Lu <hongjiu.lu@intel.com>
27271
27272 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
27273 .byte sequences with AVX512F instructions.
27274 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
27275 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
27276 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
27277 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
27278 Likewise.
27279 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
27280 Likewise.
27281
5a706f64
SE
272822017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
27283 Steve Ellcey <sellcey@cavium.com>
27284
27285 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
27286 Use PTR_REG macro in cmp instruction.
27287
b513da7e
GG
272882017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
27289
27290 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
27291 Change the return type of the ifunc resolver to match the return
27292 type of the target function.
27293
78ca091c
AZ
272942017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27295
b70b6026
AZ
27296 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
27297 (preadv64): Likewise.
27298 (pwrite64(: Likewise.
27299 (pwritev64): Likewise.
27300
78ca091c
AZ
27301 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
27302 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
27303 (LOAD_ARGS_0): Likewise.
27304 (LOAD_ARGS_1): Likewise.
27305 (LOAD_ARGS_2): Likewise.
27306 (LOAD_ARGS_3): Likewise.
27307 (LOAD_ARGS_4): Likewise.
27308 (LOAD_ARGS_5): Likewise.
27309 (LOAD_ARGS_6): Likewise.
27310 (LOAD_REGS_0): Likewise.
27311 (LOAD_REGS_1): Likewise.
27312 (LOAD_REGS_2): Likewise.
27313 (LOAD_REGS_3): Likewise.
27314 (LOAD_REGS_4): Likewise.
27315 (LOAD_REGS_5): Likewise.
27316 (LOAD_REGS_6): Likewise.
27317 (ASM_ARGS_0): Likewise.
27318 (ASM_ARGS_1): Likewise.
27319 (ASM_ARGS_2): Likewise.
27320 (ASM_ARGS_3): Likewise.
27321 (ASM_ARGS_4): Likewise.
27322 (ASM_ARGS_5): Likewise.
27323 (ASM_ARGS_6): Likewise.
27324 (LOAD_ARGS_TYPES_1): Likewise.
27325 (LOAD_ARGS_TYPES_2): Likewise.
27326 (LOAD_ARGS_TYPES_3): Likewise.
27327 (LOAD_ARGS_TYPES_4): Likewise.
27328 (LOAD_ARGS_TYPES_5): Likewise.
27329 (LOAD_ARGS_TYPES_6): Likewise.
27330 (LOAD_REGS_TYPES_1): Likewise.
27331 (LOAD_REGS_TYPES_2): Likewise.
27332 (LOAD_REGS_TYPES_3): Likewise.
27333 (LOAD_REGS_TYPES_4): Likewise.
27334 (LOAD_REGS_TYPES_5): Likewise.
27335 (LOAD_REGS_TYPES_6): Likewise.
27336 (TYPEFY): New define.
27337 (ARGIFY): Likewise.
27338 (internal_syscall0): Likewise.
27339 (internal_syscall1): Likewise.
27340 (internal_syscall2): Likewise.
27341 (internal_syscall3): Likewise.
27342 (internal_syscall4): Likewise.
27343 (internal_syscall5): Likewise.
27344 (internal_syscall6): Likewise.
27345 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
27346 (INTERNAL_SYSCALL_NCS): Remove define.
27347 (internal_syscall1): Add define.
27348
453a493d
GG
273492017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
27350
27351 * math/w_remainder_compat.c: Remove duplicate inclusion of
27352 math-svid-compat.h.
27353 * math/w_remainderf_compat.c: Likewise.
27354 * math/w_remainderl_compat.c: Likewise.
27355
f2f048a5
GG
273562017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
27357
27358 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27359
d9bef9c0
JM
273602017-08-22 Joseph Myers <joseph@codesourcery.com>
27361
27362 [BZ #21684]
27363 * math/tgmath.h (__floating_type): Simplify definitions.
27364 (__real_integer_type): New macro.
27365 (__complex_integer_type): Likewise.
27366 (__expr_is_real): Likewise.
27367 (__tgmath_real_type_sub): Update comment to describe handling of
27368 complex types.
27369 (__tgmath_complex_type_sub): New macro.
27370 (__tgmath_complex_type): Likewise.
27371 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27372 (__TGMATH_CF128): Use __expr_is_real.
27373 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
27374 __expr_is_real.
27375 (__TGMATH_BINARY_REAL_IMAG): Likewise.
27376 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
27377 * math/gen-tgmath-tests.py (Type.create_type): Create complex
27378 integer types.
27379
08d6eb46
AZ
273802017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27381
988f991b
AZ
27382 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
27383 macro.
27384 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
27385 alias.
27386 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
27387 Likewise.
27388
6f33fd04
AZ
27389 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
27390 nanosleep_not_cancel with __nanosleep_nocancel.
27391 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
27392 (__nanosleep_nocancel): New macro.
27393 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
27394 function.
27395 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
27396 macro.
27397 (__nanosleep_nocancel): New prototype.
27398
08d6eb46
AZ
27399 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
27400 pause_not_cancel with __pause_nocancel.
27401 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
27402 (__pause_nocancel): New macro.
27403 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
27404 macro.
27405 (__pause_nocancel): New prototype.
27406 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
27407
ee4e992e
MS
274082017-08-22 Martin Sebor <msebor@redhat.com>
27409
27410 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
27411 to return a pointer to the same type as the target function.
27412
20962acb
L
274132017-08-22 H.J. Lu <hongjiu.lu@intel.com>
27414
27415 [BZ #18822]
27416 [BZ #21986]
27417 * include/printf.h (__printf_fphex): Add attribute_hidden.
27418 (__guess_grouping): New prototype.
27419 * stdio-common/printf_fp.c (__guess_grouping): Removed.
27420 * stdio-common/reg-printf.c (__register_printf_specifier): Add
27421 libc_hidden_proto and libc_hidden_def.
27422 * stdlib/strfmon_l.c (__guess_grouping): Removed.
27423 (__vstrfmon_l): Remove the third argument passed to
27424 __guess_grouping.
27425
a16e8bc0
GG
274262017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
27427
27428 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
27429 definition for issignaling that does not rely on __MATH_TG,
27430 since __MATH_TG uses __builtin_types_compatible_p, which is only
27431 available in C mode.
27432 (CFLAGS-test-math-issignaling.cc): New variable.
27433 * math/Makefile [CXX] (tests): Add test-math-issignaling.
27434 * math/test-math-issignaling.cc: New test for C++ implementation
27435 of type-generic issignaling.
27436 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
27437 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
27438 options of test-math-issignaling on powerpc64le.
27439
8d2ec553
L
274402017-08-22 H.J. Lu <hongjiu.lu@intel.com>
27441
27442 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
27443 building libc.a.
27444 (hidden_proto): Likewise.
27445 (hidden_tls_proto): Likewise.
27446 (__hidden_proto): Likewise.
27447
a4d57b79
FW
274482017-08-22 Florian Weimer <fweimer@redhat.com>
27449
27450 math: Statically link tests of internal functionality.
27451 * math/Makefile (tests): Remove atest-exp, atest-sincos,
27452 atest-exp2.
27453 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
27454 (gmp-objs): Remove assignment.
27455 (atest-exp, atest-sincos, atest-exp2): Remove targets.
27456
75dfe623
JM
274572017-08-22 Joseph Myers <joseph@codesourcery.com>
27458
80f91666
JM
27459 [BZ #21987]
27460 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
27461 and copy to ...
27462 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
27463 ... here.
27464 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
27465 ... and here.
27466
75dfe623
JM
27467 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
27468 variable definitions above inclusion of ../Rules.
27469
ea99fcd0
JM
274702017-08-21 Joseph Myers <joseph@codesourcery.com>
27471
27472 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
27473 case calling __builtin_unreachable.
27474
19926de9
AZ
274752017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27476
a8410a5f
AZ
27477 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
27478 __waitpid_nocancel.
27479 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
27480 (__waitpid_nocancel): New macro.
27481 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
27482 macro.
27483 (__waitpid_nocancel): Replace macro with a function.
27484 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
27485 function.
27486
7369800c
AZ
27487 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
27488 __fcntl_nocancel.
27489 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
27490 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
27491
19926de9
AZ
27492 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
27493 __writev_nocancel_nostatus.
27494 (write_call_graph): Likewise.
27495 (write_bb_counts): Likewise.
27496 * resolv/herror.c (herror): Likewise.
27497 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
27498 macro.
27499 (__writev_nocancel_nostatus): New macro.
27500 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
27501 Remove macro.
27502 (__writev_nocancel_nostatus): New function.
27503
813378e9
JM
275042017-08-21 Joseph Myers <joseph@codesourcery.com>
27505
df1deda6
JM
27506 Revert:
27507 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
27508
27509 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
27510 building libc.a.
27511 (hidden_proto): Likewise.
27512 (hidden_tls_proto): Likewise.
27513 (__hidden_proto): Likewise.
27514
831bbd55
JM
27515 [BZ #21973]
27516 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
27517 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
27518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
27519 Likewise.
27520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
27521 Likewise.
27522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
27523 Likewise.
27524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
27525 Likewise.
27526 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
27527 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
27528 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
27529 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
27530 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
27531 GLIBC_2.0 sqrtl symbol.
27532
813378e9
JM
27533 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
27534 [__USE_MISC] (_LIB_VERSION): Likewise.
27535 [__USE_MISC] (struct exception): Likewise.
27536 [__USE_MISC] (matherr): Likewise.
27537 [__USE_MISC] (DOMAIN): Likewise.
27538 [__USE_MISC] (SING): Likewise.
27539 [__USE_MISC] (OVERFLOW): Likewise.
27540 [__USE_MISC] (UNDERFLOW): Likewise.
27541 [__USE_MISC] (TLOSS): Likewise.
27542 [__USE_MISC] (PLOSS): Likewise.
27543 [__USE_MISC] (HUGE): Likewise.
27544 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
27545 * math/math-svid-compat.h: New file.
27546 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
27547 and matherrl.
27548 * include/math.h [!_ISOMAC] (__matherr): Remove.
27549 * manual/arith.texi (FP Exceptions): Do not document matherr.
27550 * math/Makefile (tests): Change test-matherr to test-matherr-3.
27551 (tests-internal): New variable.
27552 (install-lib): Do not add libieee.a.
27553 (non-lib.a): Likewise.
27554 (extra-objs): Do not add libieee.a and ieee-math.o.
27555 (CPPFLAGS-s_lib_version.c): Remove variable.
27556 ($(objpfx)libieee.a): Remove rule.
27557 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
27558 * math/ieee-math.c: Remove.
27559 * math/libm-test-support.c (matherr): Remove.
27560 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
27561 and license notices. Include <math-svid-compat.h> and
27562 <shlib-compat.h>.
27563 (matherr): Undefine as macro. Use compat_symbol_reference.
27564 (_LIB_VERSION): Likewise.
27565 * math/test-matherr-2.c: New file.
27566 * math/test-matherr-3.c: Likewise.
27567 * sysdeps/generic/math_private.h (__kernel_standard): Remove
27568 declaration.
27569 (__kernel_standard_f): Likewise.
27570 (__kernel_standard_l): Likewise.
27571 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
27572 <math_private.h>. Include <math-svid-compat.h>.
27573 (_LIB_VERSION): Undefine as macro.
27574 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
27575 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
27576 [LIBM_SVID_COMPAT], use compat_symbol.
27577 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
27578 <math_private.h>. Include <math-svid-compat.h>.
27579 (matherr): Undefine as macro.
27580 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
27581 compat_symbol.
27582 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
27583 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
27584 compat_symbol_reference.
27585 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
27586 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
27587 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
27588 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
27589 (MATHERR_D): Remove declaration.
27590 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
27591 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
27592 [LIBM_BUILD] (pmatherrf): Likewise.
27593 [LIBM_BUILD] (pmatherr): Likewise.
27594 [LIBM_BUILD] (pmatherrl): Likewise.
27595 (DOMAIN): Likewise.
27596 (SING): Likewise.
27597 (OVERFLOW): Likewise.
27598 (UNDERFLOW): Likewise.
27599 (TLOSS): Likewise.
27600 (PLOSS): Likewise.
27601 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
27602 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
27603 compat_symbol.
27604 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
27605 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
27606 compat_symbol.
27607 * math/lgamma-compat.h: Include <math-svid-compat.h>.
27608 * math/w_acos_compat.c: Likewise.
27609 * math/w_acosf_compat.c: Likewise.
27610 * math/w_acosh_compat.c: Likewise.
27611 * math/w_acoshf_compat.c: Likewise.
27612 * math/w_acoshl_compat.c: Likewise.
27613 * math/w_acosl_compat.c: Likewise.
27614 * math/w_asin_compat.c: Likewise.
27615 * math/w_asinf_compat.c: Likewise.
27616 * math/w_asinl_compat.c: Likewise.
27617 * math/w_atan2_compat.c: Likewise.
27618 * math/w_atan2f_compat.c: Likewise.
27619 * math/w_atan2l_compat.c: Likewise.
27620 * math/w_atanh_compat.c: Likewise.
27621 * math/w_atanhf_compat.c: Likewise.
27622 * math/w_atanhl_compat.c: Likewise.
27623 * math/w_cosh_compat.c: Likewise.
27624 * math/w_coshf_compat.c: Likewise.
27625 * math/w_coshl_compat.c: Likewise.
27626 * math/w_exp10_compat.c: Likewise.
27627 * math/w_exp10f_compat.c: Likewise.
27628 * math/w_exp10l_compat.c: Likewise.
27629 * math/w_exp2_compat.c: Likewise.
27630 * math/w_exp2f_compat.c: Likewise.
27631 * math/w_exp2l_compat.c: Likewise.
27632 * math/w_fmod_compat.c: Likewise.
27633 * math/w_fmodf_compat.c: Likewise.
27634 * math/w_fmodl_compat.c: Likewise.
27635 * math/w_hypot_compat.c: Likewise.
27636 * math/w_hypotf_compat.c: Likewise.
27637 * math/w_hypotl_compat.c: Likewise.
27638 * math/w_j0_compat.c: Likewise.
27639 * math/w_j0f_compat.c: Likewise.
27640 * math/w_j0l_compat.c: Likewise.
27641 * math/w_j1_compat.c: Likewise.
27642 * math/w_j1f_compat.c: Likewise.
27643 * math/w_j1l_compat.c: Likewise.
27644 * math/w_jn_compat.c: Likewise.
27645 * math/w_jnf_compat.c: Likewise.
27646 * math/w_jnl_compat.c: Likewise.
27647 * math/w_lgamma_main.c: Likewise.
27648 * math/w_lgamma_r_compat.c: Likewise.
27649 * math/w_lgammaf_main.c: Likewise.
27650 * math/w_lgammaf_r_compat.c: Likewise.
27651 * math/w_lgammal_main.c: Likewise.
27652 * math/w_lgammal_r_compat.c: Likewise.
27653 * math/w_log10_compat.c: Likewise.
27654 * math/w_log10f_compat.c: Likewise.
27655 * math/w_log10l_compat.c: Likewise.
27656 * math/w_log2_compat.c: Likewise.
27657 * math/w_log2f_compat.c: Likewise.
27658 * math/w_log2l_compat.c: Likewise.
27659 * math/w_log_compat.c: Likewise.
27660 * math/w_logf_compat.c: Likewise.
27661 * math/w_logl_compat.c: Likewise.
27662 * math/w_pow_compat.c: Likewise.
27663 * math/w_powf_compat.c: Likewise.
27664 * math/w_powl_compat.c: Likewise.
27665 * math/w_remainder_compat.c: Likewise.
27666 * math/w_remainderf_compat.c: Likewise.
27667 * math/w_remainderl_compat.c: Likewise.
27668 * math/w_scalb_compat.c: Likewise.
27669 * math/w_scalbf_compat.c: Likewise.
27670 * math/w_scalbl_compat.c: Likewise.
27671 * math/w_sinh_compat.c: Likewise.
27672 * math/w_sinhf_compat.c: Likewise.
27673 * math/w_sinhl_compat.c: Likewise.
27674 * math/w_sqrt_compat.c: Likewise.
27675 * math/w_sqrtf_compat.c: Likewise.
27676 * math/w_sqrtl_compat.c: Likewise.
27677 * math/w_tgamma_compat.c: Likewise.
27678 * math/w_tgammaf_compat.c: Likewise.
27679 * math/w_tgammal_compat.c: Likewise.
27680 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
27681 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
27682 * sysdeps/ieee754/k_standard.c: Likewise.
27683 * sysdeps/ieee754/k_standardf.c: Likewise.
27684 * sysdeps/ieee754/k_standardl.c: Likewise.
27685 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
27686 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
27687 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
27688 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
27689 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
27690 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
27691 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
27692 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
27693 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
27694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
27695 Likewise.
27696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
27697 Likewise.
27698 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
27699 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
27700 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
27701 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
27702
4504783c
FW
277032017-08-21 Florian Weimer <fweimer@redhat.com>
27704
27705 [BZ #21864]
27706 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
27707 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
27708 Move before inclusion of ../Rules.
27709
b5889d25
FW
277102017-08-21 Florian Weimer <fweimer@redhat.com>
27711
27712 [BZ #21972]
27713 * assert/assert.h (assert): Use static_cast (bool) for C++.
27714 Use the ternary operator in the warning branch for GNU C.
27715 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
27716 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
27717 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
27718 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
27719 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
27720
41e673c1
L
277212017-08-21 H.J. Lu <hongjiu.lu@intel.com>
27722
27723 [BZ #18822]
27724 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27725 (__syscall_clock_gettime): Add attribute_hidden.
27726 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
27727 (__start_context): Likewise.
27728
568ff429
L
277292017-08-21 H.J. Lu <hongjiu.lu@intel.com>
27730
27731 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
27732 building libc.a.
27733 (hidden_proto): Likewise.
27734 (hidden_tls_proto): Likewise.
27735 (__hidden_proto): Likewise.
27736
7c41b4a1
L
277372017-08-21 H.J. Lu <hongjiu.lu@intel.com>
27738
27739 * include/libc-symbols.h (attribute_hidden): Enable hidden
27740 visibility in libc.a compiled with PIE.
27741
483d7068
L
277422017-08-21 H.J. Lu <hongjiu.lu@intel.com>
27743
27744 [BZ #18822]
27745 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
27746 Add attribute_hidden.
27747
277482017-08-21 H.J. Lu <hongjiu.lu@intel.com>
27749
27750 [BZ #21864]
27751 * Makerules (all-nonlib): Add $(others-extras).
27752 * catgets/Makefile (others-extras): New.
27753 * elf/Makefile (others-extras): Likewise.
27754 * nss/Makefile (others-extras): Likewise.
27755
54e4b8f2
L
277562017-08-21 H.J. Lu <hongjiu.lu@intel.com>
27757
27758 [BZ #18822]
27759 * csu/libc-start.c (__libc_multiple_libcs): Removed.
27760 * elf/dl-open.c: Include <libc-internal.h>.
27761 (__libc_multiple_libcs): Removed.
27762 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
27763 <hp-timing.h>.
27764 * include/libc-internal.h (__libc_multiple_libcs): New.
27765 * misc/sbrk.c: Include <libc-internal.h>.
27766 (__libc_multiple_libcs): Removed.
27767
1dbbb1ec
L
277682017-08-21 H.J. Lu <hongjiu.lu@intel.com>
27769
27770 [BZ #18822]
27771 * grp/initgroups.c (__nss_group_database): Removed.
27772 (__nss_initgroups_database): Likewise.
27773 * nscd/gai.c (__nss_hosts_database): Likewise.
27774 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
27775 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
27776 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
27777 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
27778 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
27779 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
27780 attribute_hidden.
27781 * nss/nsswitch.c (__nss_database_custom): Define only if
27782 USE_NSCD is defined.
27783 (__nss_configure_lookup): Use __nss_database_custom only if
27784 USE_NSCD is defined.
27785 * nss/nsswitch.h (__nss_database_custom): Declare only if
27786 USE_NSCD is defined. Add attribute_hidden.
27787 (__nss_setent): Add attribute_hidden.
27788 (__nss_endent): Likewise.
27789 (__nss_getent_r): Likewise.
27790 (__nss_getent): Likewise.
27791 (DEFINE_DATABASE): Declare __nss_##arg##_database.
27792
2585d7b8
L
277932017-08-20 H.J. Lu <hongjiu.lu@intel.com>
27794
27795 [BZ #18822]
27796 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
27797 libc_hidden_proto and libc_hidden_def.
27798
c8dfa99c
L
277992017-08-20 H.J. Lu <hongjiu.lu@intel.com>
27800
27801 [BZ #18822]
27802 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
27803 Add libc_hidden_proto.
27804 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
27805 Add libc_hidden_def.
27806
7ed87317
L
278072017-08-20 H.J. Lu <hongjiu.lu@intel.com>
27808
27809 [BZ #21974]
27810 * gmon/Makefile (routines): Remove bb_init_func and
27811 bb_exit_func.
27812 (elide-routines.os): Removed.
9476b904
L
27813 * gmon/bb_exit_func.c: Likewise.
27814 * gmon/bb_init_func.c: Likewise.
7ed87317
L
27815 * include/sys/gmon.h (__bb): Likewise.
27816 (__bb_init_func): Likewise.
27817 (__bb_exit_func): Likewise.
91695eb1 27818 * sysdeps/alpha/bb_init_func.S: Likewise.
7ed87317 27819
94e6ba15
L
278202017-08-20 H.J. Lu <hongjiu.lu@intel.com>
27821
27822 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
27823 * include/setjmp.h (____longjmp_chk): Here. Add
27824 attribute_hidden.
27825
7550717e
L
278262017-08-19 H.J. Lu <hongjiu.lu@intel.com>
27827
27828 [BZ #18822]
27829 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
27830 attribute_hidden.
27831 (__strspn_sse2): Likewise.
27832
0bb2fabc
AZ
278332017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27834
c181840c
AZ
27835 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
27836 (close_not_cancel_no_status): Likewise.
27837 (__close_nocancel): New macro.
27838 (__close_nocancel_nostatus): Likewise.
27839 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
27840 macro.
27841 (close_not_cancel): Likewise.
27842 (close_not_cancel_no_status): Likewise.
27843 (__close_nocancel): New prototype.
27844 (__close_nocancel_nostatus): New function.
27845 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
27846 * catgets/open_catalog.c (__open_catalog): Replace
27847 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
27848 * gmon/gmon.c (write_gmon): Likewise.
27849 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
27850 * intl/loadmsgcat.c (close): Likewise.
27851 * io/ftw.c (open_dir_stream): Likewise.
27852 (ftw_startup): Likewise.
27853 * libio/fileops.c (_IO_file_open): Likewise.
27854 (_IO_file_close_mmap): Likewise.
27855 (_IO_file_close): Likewise.
27856 * libio/iopopen.c (_IO_dup2): Likewise.
27857 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
27858 * locale/loadlocale.c (_nl_load_locale): Likewise.
27859 * login/utmp_file.c (pututline_file): Likewise.
27860 (endutent_file): Likewise.
27861 * misc/daemon.c (daemon): Likewise.
27862 * nscd/nscd_getai.c (__nscd_getai): Likewise.
27863 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
27864 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
27865 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
27866 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
27867 * nscd/nscd_helper.c (open_socket): Likewise.
27868 (__nscd_open_socket): Likewise.
27869 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
27870 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
27871 (__nscd_innetgr): Likewise.
27872 * nss/nss_db/db-open.c (internal_setent): Likewise.
27873 * resolv/res-close.c (__res_iclose): Likewise.
27874 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
27875 * sysdeps/posix/closedir.c (__closedir): Likewise.
27876 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
27877 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
27878 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
27879 (opendir_tail): Likewise.
27880 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
27881 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
27882 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
27883 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
27884 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
27885 (gethostid): Likewise.
27886 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
27887 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27888 Likewise.
27889 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
27890 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
27891 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
27892 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
27893 Likewise.
27894 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
27895 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
27896 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
27897 Likewise.
27898 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
27899 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
27900 Likewise.
27901 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
27902 Likewise.
27903 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
27904 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
27905 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
27906 __close_nocancel.
27907
0bb2fabc
AZ
27908 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
27909 (openat_not_cancel_3): Likewise.
27910 (openat64_not_cancel_3): Likewise).
27911 (openat_not_cancel_3): Likewise).
27912 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
27913 macro.
27914 (openat_not_cancel_3): Likewise.
27915 (openat64_not_cancel): Likewise.
27916 (openat64_not_cancel_3): Likewise.
27917 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
27918 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
27919 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
27920 __open{64}_nocancel.
27921 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
27922 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
27923 * sysdeps/posix/opendir.c (__opendirat): Likewise.
27924
65a086db
L
279252017-08-18 H.J. Lu <hongjiu.lu@intel.com>
27926
27927 [BZ #18822]
27928 * include/argz.h (__argz_create_sep): New function prototype.
27929 (__argz_append): Likewise.
27930 (__argz_add): Likewise.
27931 (__argz_add_sep): Likewise.
27932 (__argz_delete): Likewise.
27933 (__argz_insert): Likewise.
27934 (__argz_replace): Likewise.
27935 * string/argz.h (__argz_create_sep): Removed.
27936 (__argz_append): Likewise.
27937 (__argz_add): Likewise.
27938 (__argz_add_sep): Likewise.
27939 (__argz_delete): Likewise.
27940 (__argz_insert): Likewise.
27941 (__argz_replace): Likewise.
27942
62753d2c
L
279432017-08-18 H.J. Lu <hongjiu.lu@intel.com>
27944
27945 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
27946 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
27947 (GNU_PROPERTY_STACK_SIZE): Likewie.
27948 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
27949 (GNU_PROPERTY_LOPROC): Likewise.
27950 (GNU_PROPERTY_HIPROC): Likewise.
27951 (GNU_PROPERTY_LOUSER): Likewise.
27952 (GNU_PROPERTY_HIUSER): Likewise.
27953 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
27954 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
27955 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
27956 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
27957 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
27958 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
27959 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
27960 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
27961 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
27962 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
27963 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
27964 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
27965 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
27966 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
27967 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
27968 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
27969 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
27970 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
27971 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
27972 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
27973 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
27974 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
27975 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
27976
6913ad65
GG
279772017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
27978
27979 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
27980 in C++ mode.
27981
47a67213
GG
279822017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
27983
27984 [BZ #21930]
27985 * math/math.h (isinf): Check if in C or C++ mode before using
27986 __builtin_types_compatible_p, since this is a C mode feature.
27987
a748eb31
AZ
279882017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27989
c647fb88
AZ
27990 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
27991 (__write_nocancel): New macro.
27992 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
27993 Rewrite as a function prototype.
27994 (write_not_cancel): Remove macro.
27995 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
27996 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
27997 (write_gmon): Likewise.
27998 * libio/fileops.c (_IO_new_file_write): Likewise.
27999 * login/utmp_file.c (pututline_file): Likewise.
28000 (updwtmp_file): Likewise.
28001 * stdio-common/psiginfo.c (psiginfo): Likewise.
28002 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
28003 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
28004 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
28005 Likewise.
28006 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
28007 Likewise.
28008
a748eb31
AZ
28009 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
28010 (__read_nocancel): New macro.
28011 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
28012 __read_nocancel.
28013 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
28014 macro.
28015 (__read_nocancel): New prototype.
28016 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
28017 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
28018 with __read_nocancel.
28019 * intl/loadmsgcat.c (read): Likewise.
28020 * libio/fileops.c (_IO_file_read): Likewise.
28021 * locale/loadlocale.c (_nl_load_locale): Likewise.
28022 * login/utmp_file.c (getutent_r_file): Likewise.
28023 (internal_getut_r): Likewise.
28024 (getutline_r_file): Likewise.
28025 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
28026 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
28027 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
28028 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28029 Likewise.
28030 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
28031 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
28032 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
28033 Likewise.
28034 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
28035 Likewise.
28036 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
28037 Likewise.
28038 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
28039 Likewise.
28040 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
28041
098b9dd4
L
280422017-08-18 H.J. Lu <hongjiu.lu@intel.com>
28043
28044 [BZ #21966]
28045 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
28046 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
28047 usable.
28048
a3fe6a20
DD
280492017-08-17 DJ Delorie <dj@redhat.com>
28050
28051 * bug17079.c: Update to new test harness.
28052 * test-digits-dots.c: Likewise.
28053 * test-netdb.c: Likewise.
28054 * tst-field.c: Likewise.
28055 * tst-nss-getpwent.c: Likewise.
28056 * tst-nss-static.c: Likewise.
28057 * tst-nss-test1.c: Likewise.
28058 * tst-nss-test2.c: Likewise.
28059 * tst-nss-test3.c: Likewise.
28060 * tst-nss-test4.c: Likewise.
28061 * tst-nss-test5.c: Likewise.
28062
c2284574
AZ
280632017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28064
28065 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
28066 (open_not_cancel_2): Likewise.
28067 (open_nocancel): New macro.
28068 (open64_nocancel): Likewise.
28069 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
28070 (open_not_cancel_2): Likewise.
28071 (__open_nocancel): New prototype.
28072 (__open64_nocancel): Likewise.
28073 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
28074 __open_nocancel.
28075 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
28076 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
28077 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
28078 with __open_nocancel.
28079 * csu/check_fds.c (check_one_fd): Likewise.
28080 * gmon/gmon.c (write_gmon): Likewise.
28081 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
28082 * intl/loadmsgcat.c (open): Likewise.
28083 * libio/fileops.c (_IO_file_open): Likewise.
28084 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
28085 * locale/loadlocale.c (_nl_load_locale): Likewise.
28086 * login/utmp_file.c (setutent_file): Likewise.
28087 * misc/daemon.c (daemon): Likewise.
28088 * nss/nss_db/db-open.c (internal_setent): Likewise.
28089 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
28090 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
28091 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
28092 (__opendir): Likewise.
28093 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
28094 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
28095 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
28096 (gethostid): Likewise.
28097 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
28098 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28099 Likewise.
28100 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
28101 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
28102 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
28103 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
28104 Likewise.
28105 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
28106 Likewise.
28107 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
28108 Likewise.
28109 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
28110 Likewise.
28111 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
28112 Likewise.
28113 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
28114 Likewise.
28115 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
28116 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
28117
d4505b89
WD
281182017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
28119
28120 * benchtests/bench-skeleton.c (main): Add support for
28121 latency benchmarking.
28122 * benchtests/scripts/bench.py: Add support for latency benchmarking.
28123
34d6a3cb
L
281242017-08-17 H.J. Lu <hongjiu.lu@intel.com>
28125
28126 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
28127 the startup object.
28128
038d1caf
FW
281292017-08-17 Florian Weimer <fweimer@redhat.com>
28130
28131 * include/sys/socket.h (__opensock): Remove internal_function.
28132 * socket/opensock.c (__opensock): Likewise.
28133 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
28134
67f0aff0
JM
281352017-08-16 Joseph Myers <joseph@codesourcery.com>
28136
28137 [BZ #21944]
28138 * signal/bits/types/__sigval_t.h: New file.
28139 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
28140 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
28141 and define sigval_t using __sigval_t.
28142 * include/bits/types/__sigval_t.h: New file.
28143 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
28144 instead of <bits/types/__sigval_t.h>.
28145 (struct sigevent): Use __sigval_t instead of sigval_t.
28146 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
28147 instead of <bits/types/__sigval_t.h>.
28148 (siginfo_t): Use __sigval_t instead of sigval_t.
28149 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
28150 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
28151 (struct sigevent): Use __sigval_t instead of sigval_t.
28152 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
28153 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
28154 (siginfo_t): Use __sigval_t instead of sigval_t.
28155 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
28156
87e7bf4d
L
281572017-08-16 H.J. Lu <hongjiu.lu@intel.com>
28158
28159 * NEWS: Remove "[Add new features here]" for 2.27.
28160
5047057f
JM
281612017-08-16 Joseph Myers <joseph@codesourcery.com>
28162
28163 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
28164 libc.so.
28165
20c7b195
L
281662017-08-16 H.J. Lu <hongjiu.lu@intel.com>
28167
28168 * NEWS: Mention x86-64 FMA optimization.
28169
24a2e658
L
281702017-08-16 H.J. Lu <hongjiu.lu@intel.com>
28171
28172 [BZ #21912]
28173 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28174 Add e_expf-fma.
28175 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
28176 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
28177 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
28178
eedca977
AS
281792017-08-16 Andreas Schwab <schwab@suse.de>
28180
403143e1
FW
28181 [BZ #16750]
28182 CVE-2009-5064
eedca977
AS
28183 * elf/ldd.bash.in: Never run file directly.
28184
f59f7adb
L
281852017-08-15 H.J. Lu <hongjiu.lu@intel.com>
28186
28187 [BZ #21955]
28188 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
28189 (L(SP_INF_0)): Likewise.
28190
6b11a6ad
FW
281912017-08-15 Florian Weimer <fweimer@redhat.com>
28192
28193 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
28194 run-built-tests.
28195
bbf5c438
FW
281962017-08-15 Florian Weimer <fweimer@redhat.com>
28197
28198 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
28199 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
28200 BROKEN_THREAD_SIGNALS code.
28201 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
28202 request_list): Remove caller_pid member used for
28203 BROKEN_THREAD_SIGNALS.
28204 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
28205 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
28206 Remove BROKEN_THREAD_SIGNALS support.
28207 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
28208 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
28209
6014c65d
FW
282102017-08-15 Florian Weimer <fweimer@redhat.com>
28211
28212 * gmon/Makefile (tests): Add tst-gmon.
28213 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
28214 Set.
28215 (tests-special): Add tst-gmon-prof.out.
28216 (tst-gmon.out): Depend on clean-tst-gmon-data.
28217 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
28218 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
28219 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
28220 startup object.
28221 * aclocal.m4 (GPROF): Set and substitute.
28222 * config.amke.in (GPROF): Set.
28223 * configure: Regenerate.
28224
ee72219a
GR
282252017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
28226
28227 * elf/elf.h A (NT_PPC_TAR): New macro.
28228 (NT_PPC_PPR): Likewise.
28229 (NT_PPC_DSCR): Likewise.
28230 (NT_PPC_EBB): Likewise.
28231 (NT_PPC_PMU): Likewise.
28232 (NT_PPC_TM_CGPR): Likewise.
28233 (NT_PPC_TM_CFPR): Likewise.
28234 (NT_PPC_TM_CVMX): Likewise.
28235 (NT_PPC_TM_CVSX): Likewise.
28236 (NT_PPC_TM_SPR): Likewise.
28237 (NT_PPC_TM_CTAR): Likewise.
28238 (NT_PPC_TM_CPPR): Likewise.
28239 (NT_PPC_TM_CDSCR): Likewise.
28240
4ebf934e
FW
282412017-08-15 Florian Weimer <fweimer@redhat.com>
28242
28243 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
28244 regparm (2) instead of internal_function.
28245 (_MCOUNT_DECL): Adjust.
28246
e9f57484
SL
282472017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
28248
28249 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
28250 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
28251
88ff4d55
JM
282522017-08-14 Joseph Myers <joseph@codesourcery.com>
28253
28254 * conform/data/sys/wait.h-data (si_value): Do not expect for
28255 XPG42.
28256
c88ffc23
FW
282572017-08-14 Florian Weimer <fweimer@redhat.com>
28258
28259 [BZ #21962]
28260 NSS: Create stubs for accidentally exported lookup functions.
28261 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
28262 Remove declaration.
28263 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
28264 (ether_hostton): Call __nss_ethers_lookup2 instead.
28265 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
28266 (ether_ntohost): Call __nss_ethers_lookup2 instead.
28267 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
28268 (setup): Call __nss_netgroup_lookup2 instead.
28269 * nss/Makefile (routines): Add compat-lookup.
28270 * nss/Versions (GLIBC_2.27): Add symbol version.
28271 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
28272 (DB_COMPAT_FCT): Remove.
28273 * nss/compat-lookup.c: New file.
28274 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
28275 from databases.def.
28276 * nss/service-lookup.c (NO_COMPAT): Remove definition.
28277 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
28278 (netname2user): Call __nss_publickey_lookup2 instead.
28279 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
28280 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
28281 instead.
28282
35a29136 282832017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1f14d0c3
AZ
28284 Sergei Trofimovich <slyfox@inbox.ru>
28285
28286 [BZ #21908]
28287 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
28288 Rename to MMAP2_PAGE_UNIT.
28289 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
28290 __OFF_T_MATCHES_OFF64_T is not defined.
28291 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
28292 uint64_t.
28293 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
28294 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
28295
fbdc1e3e
FW
282962017-08-14 Florian Weimer <fweimer@redhat.com>
28297
28298 i386: Do not set internal_function.
28299 * config.h.in (USE_REGPARMS, internal_function): Remove.
28300 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
28301 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
28302
b3f85fd2
FW
283032017-08-14 Florian Weimer <fweimer@redhat.com>
28304
28305 * elf/dl-init.c (_dl_init): Remove internal_function.
28306 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
28307 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
28308
630bf491
FW
283092017-08-14 Florian Weimer <fweimer@redhat.com>
28310
28311 * elf/rtld.c (_dl_start): Remove internal_function.
28312 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
28313 _dl_start.
28314
9fa7449b
FW
283152017-08-14 Florian Weimer <fweimer@redhat.com>
28316
28317 * elf/dl-fini.c (_dl_fini): Remove internal_function
28318 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
28319
73322d5f
L
283202017-08-14 H.J. Lu <hongjiu.lu@intel.com>
28321
d863cd71 28322 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
73322d5f
L
28323 (bit_cpu_SHSTK): Likewise.
28324 (index_cpu_IBT): Likewise.
28325 (index_cpu_SHSTK): Likewise.
28326 (reg_IBT): Likewise.
28327 (reg_SHSTK): Likewise.
28328 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
28329 Handle index_cpu_IBT and index_cpu_SHSTK.
28330
dbc303ef
MF
283312017-08-14 Mike FABIAN <mfabian@redhat.com>
28332
28333 [BZ #19982]
28334 * po/fr.po: Fix spelling mistake.
28335
3012cfb0
FW
283362017-08-13 Florian Weimer <fweimer@redhat.com>
28337
28338 * elf/dl-addr.c (_dl_addr): Remove internal_function.
28339 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
28340 (_dl_catch_error, _dl_receive_error): Likewise.
28341 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
28342 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
28343 (_dl_deallocate_tls): Likewise.
28344 * include/dlfcn.h (_dl_addr): Likewise.
28345 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
28346 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
28347 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
28348 Likewise.
28349
52bcdf26
FW
283502017-08-13 Florian Weimer <fweimer@redhat.com>
28351
28352 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
28353 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
28354 internal_function.
28355 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
28356
e1d2ae8d
FW
283572017-08-13 Florian Weimer <fweimer@redhat.com>
28358
28359 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
28360 internal_function.
28361 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
28362 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
28363 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
28364 internal_function from _dl_make_stack_executable_hook member.
28365 (_dl_make_stack_executable): Remove internal_function.
28366 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
28367 Likewise.
28368 * sysdeps/unix/sysv/linux/dl-execstack.c
28369 (_dl_make_stack_executable): Likewise.
28370
c4ce0382
FW
283712017-08-13 Florian Weimer <fweimer@redhat.com>
28372
28373 * sysdeps/unix/sysv/linux/netlinkaccess.h
28374 (__netlink_assert_response): Remove internal_function.
28375 * sysdeps/unix/sysv/linux/netlink_assert_response.c
28376 (__netlink_assert_response): Likewise.
28377
c4d767f7
FW
283782017-08-13 Florian Weimer <fweimer@redhat.com>
28379
28380 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
28381 internal_function.
28382 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
28383
b2297409
FW
283842017-08-13 Florian Weimer <fweimer@redhat.com>
28385
28386 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
28387 internal_function.
28388 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
28389 * inet/netgroup.h (__internal_setnetgrent)
28390 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
28391 * inet/getnetgrent_r.c (__internal_setnetgrent)
28392 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
28393 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
28394 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
28395 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
28396 * nss/nsswitch.h (db_lookup_function): Likewise.
28397
1b0bfc69
FW
283982017-08-13 Florian Weimer <fweimer@redhat.com>
28399
28400 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
28401 Remove internal_function.
28402 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
28403 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
28404 message argument on the stack.
28405 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
28406 Likeweise.
28407
a6bd8722
MF
284082017-08-12 Mike FABIAN <mfabian@redhat.com>
28409
28410 Adapt test case data to the changes in the thousands
28411 separators.
28412
28413 [BZ #20756]
28414 * localedata/tst-langinfo.sh: Adapt test case data.
28415 * stdlib/tst-strfmon_l.c: Likewise.
28416 * stdlib/tst-strtod4.c: Likewise.
28417 * stdlib/tst-strtod5i.c: Likewise.
28418
8b2c63e4
FW
284192017-08-11 Florian Weimer <fweimer@redhat.com>
28420
28421 [BZ #21242]
28422 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
28423 Suppress pedantic warning resulting from statement expression.
28424 (__ASSERT_FUNCTION): Add missing __extension__.
28425
61c98291
SP
284262017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
28427
86c6519e
SP
28428 * benchtests/bench-memmove-large.c: Print output in JSON
28429 format.
28430 * benchtests/bench-memmove.c: Likewise.
28431
61c98291
SP
28432 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
28433 * benchtests/bench-memchr.c (do_one_test): Likewise.
28434 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
28435 * benchtests/bench-memcpy.c (do_one_test): Likewise.
28436 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
28437 * benchtests/bench-memmove.c (do_one_test): Likewise.
28438 * benchtests/bench-memset-large.c (do_one_test): Likewise.
28439 * benchtests/bench-memset.c (do_one_test): Likewise.
28440 * benchtests/bench-string.h (test_init): Remove memsets.
28441
925733a9
RJ
284422017-08-10 Rical Jasan <ricaljasan@pacific.net>
28443
28444 * manual/lang.texi
28445 (Computing the Width of an Integer Data Type): Rename section to
28446 "Width of an Integer Type". Remove inaccurate statement regarding
28447 lack of C language facilities for determining width of integer
28448 types, and reorder content to improve flow and context of
28449 discussion.
28450
4fcdfbfc
RJ
284512017-08-10 Rical Jasan <ricaljasan@pacific.net>
28452
28453 * lang.texi (va_copy): Change standard from ISO to C99.
28454 (__va_copy): Add standard and header annotation.
28455 Update description for clarity of origins and current use.
28456
4d98ace9
GG
284572017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28458
28459 [BZ #21941]
28460 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
28461 xssqrtqp requires operands to be in Vector Registers
28462 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
28463 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
28464 (__ieee754_sqrtf128): Likewise.
28465
92236903
WD
284662017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
28467
28468 * sysdeps/aarch64/memcmp.S (memcmp):
28469 Rewrite of optimized memcmp.
28470
2449ae7b
FW
284712017-08-10 Florian Weimer <fweimer@redhat.com>
28472
28473 Introduce ld.so exceptions.
28474 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
28475 (_dl_exception_create, _dl_exception_create_format)
28476 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
28477 (_dl_catch_exception): Declare.
28478 (_dl_catch_error): Update comment.
28479 * elf/dl-error-skeleton.c (struct catch): Replace objname,
28480 errstring, malloced members with exception member.
28481 (_dl_out_of_memory): Remove.
28482 (fatal_error): New function, extracted from _dl_signal_error.
28483 (_dl_signal_exception, _dl_signal_cexception): New functions.
28484 (_dl_signal_error): Call _dl_exception_create to allocate an
28485 exception object.
28486 (_dl_catch_exception): New function, based on _dl_catch_error.
28487 (_dl_catch_error): Implement using _dl_catch_exception.
28488 * elf/dl-exception.c: New file.
28489 * elf/Makefile (dl-routines): Add dl-exception.
28490 (elide-routines.os): Likewise.
28491 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
28492 _dl_exception_create_format, _dl_exception_free.
28493 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
28494 _dl_signal_exception.
28495 * elf/dl-lookup.c (make_string): Remove.
28496 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
28497 _dl_signal_cexception, _dl_exception_free.
28498 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
28499 _dl_signal_exception.
28500 * elf/dl-sym.c (do_sym): Likewise.
28501 * elf/dl-version.c (make_string): Remove.
28502 (match_symbol): Use _dl_exception_create_format,
28503 _dl_signal_cexception, _dl_exception_free.
28504 (_dl_check_map_versions): Likewise.
28505 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
28506 _dl_catch_exception.
28507 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
28508 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
28509 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
28510 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
28511 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
28512 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
28513 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
28514 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
28515 Likewise.
28516 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
28517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
28518 (ld.so): Likewise.
28519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
28520 (ld.so): Likewise.
28521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
28522 Likewise.
28523 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
28524 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
28525 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
28526 Likewise.
28527 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
28528 Likewise.
28529 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
28530
f87cc2bf
FW
285312017-08-10 Florian Weimer <fweimer@redhat.com>
28532
28533 * inet/net-internal.h (__inet6_scopeid_pton): Remove
28534 attribute_hidden, internal_function.
28535 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
28536 internal_function.
28537
eac43cbb
FW
285382017-08-10 Florian Weimer <fweimer@redhat.com>
28539
28540 * malloc/malloc.c (get_max_fast): Reimplement as an inline
28541 function which calls __builtin_unreachable.
28542
bd80111e
MF
285432017-08-10 Mike FABIAN <mfabian@redhat.com>
28544
28545 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
28546 Indian monetary formatting
28547 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
28548 test cases.
28549
60e2846e
DL
285502017-08-09 Dmitry V. Levin <ldv@altlinux.org>
28551
68dc02d1
DL
28552 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
28553 Fix typo in comment.
28554
60e2846e
DL
28555 [BZ #21928]
28556 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
28557 PTRACE_SEIZE_DEVEL): Remove.
28558 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
28559 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28560 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28561 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28562 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28563
3d452dab
JM
285642017-08-09 Joseph Myers <joseph@codesourcery.com>
28565
24d9f53a
JM
28566 * posix/bits/types.h (__qaddr_t): Remove.
28567
3d452dab
JM
28568 [BZ #21457]
28569 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
28570 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
28571 __glibc_reserved1.
28572 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
28573 (ucontext_t): Use __ctx with uc_flags.
28574 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
28575 (__ctxt): Likewise.
28576 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
28577 __glibc_reserved1.
28578 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
28579 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
28580 __glibc_reserved1.
28581 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
28582 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
28583 __glibc_reserved1.
28584 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
28585 macro.
28586 (ucontext_t): Use __ctx with uc_flags.
28587 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
28588 (ucontext_t): Use __ctx with uc_flags.
28589 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
28590 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
28591 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
28592 (ucontext_t): Use __ctx with uc_flags.
28593 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
28594 undefine further down.
28595 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
28596 __glibc_reserved1.
28597 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
28598 undefine further down.
28599 (ucontext_t): Use __ctx with uc_flags.
28600 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
28601 undefine further down.
28602 (ucontext_t): Use __ctx with uc_flags.
28603 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
28604 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
28605 Rename uc_pad to __glibc_reserved1.
28606 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
28607 undefine further down.
28608 (ucontext_t): Use __ctx with uc_flags.
28609 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
28610 further down.
28611 (ucontext_t): Use __ctx with uc_flags.
28612 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
28613 __ctx with uc_flags.
28614 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
28615 (ucontext_t): Use __ctx with uc_flags.
28616 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
28617 __ctx with uc_flags.
28618
30161498
FW
286192017-08-09 Florian Weimer <fweimer@redhat.com>
28620
28621 [BZ #21932]
28622 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
28623 before early return.
28624
5797b410
AS
286252017-08-09 Andreas Schwab <schwab@suse.de>
28626
139237a4 28627 [BZ #21041]
5797b410
AS
28628 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
28629 renamed alias.
28630
139237a4 28631 [BZ #21041]
40c06a3d
AS
28632 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
28633 tst-compat-forwarder.
28634 (modules-names): Add tst-compat-forwarder-mod.
28635 ($(objpfx)tst-compat-forwarder): Depend on
28636 $(objpfx)tst-compat-forwarder-mod.so.
28637 * nptl/tst-compat-forwarder.c: New file.
28638 * nptl/tst-compat-forwarder-mod.c: New file.
28639
36ada5f6
SP
286402017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
28641
0e02b510
SP
28642 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
28643 comments.
28644
36ada5f6
SP
28645 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
28646 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
28647 memcpy_falkor.
28648 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
28649 Bump.
28650 (__libc_ifunc_impl_list): Add __memcpy_falkor.
28651 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
28652 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
28653 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
28654 Add falkor.
28655 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
28656 New macro.
28657
9995c839
AZ
286582017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28659
28660 [BZ #759]
28661 * manual/setjmp.texi (getcontex): Document uc_stack value
28662 compatibility differences.
28663
f17a4233
JM
286642017-08-08 Joseph Myers <joseph@codesourcery.com>
28665
28666 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
28667 (old_malloc_hook): Likewise.
28668 (old_memalign_hook): Likewise.
28669 (old_realloc_hook): Likewise.
28670 (struct hdr): Likewise.
28671 (flood): Likewise.
28672 (freehook): Likewise.
28673 (mallochook): Likewise.
28674 (memalignhook): Likewise.
28675 (reallochook): Likewise.
28676 (mprobe): Likewise.
28677 * malloc/mtrace.c (mallwatch): Likewise.
28678 (tr_old_free_hook): Likewise.
28679 (tr_old_malloc_hook): Likewise.
28680 (tr_old_realloc_hook): Likewise.
28681 (tr_old_memalign_hook): Likewise.
28682 (tr_where): Likewise.
28683 (lock_and_info): Likewise.
28684 (tr_freehook): Likewise.
28685 (tr_mallochook): Likewise.
28686 (tr_reallochook): Likewise.
28687 (tr_memalignhook): Likewise.
28688 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
28689 * misc/mmap.c (__mmap): Likewise.
28690 * misc/mmap64.c (__mmap64): Likewise.
28691 * misc/mprotect.c (__mprotect): Likewise.
28692 * misc/msync.c (msync): Likewise.
28693 * misc/munmap.c (__munmap): Likewise.
28694 * posix/posix_madvise.c (posix_madvise): Likewise.
28695 * socket/send.c (__send): Likewise.
28696 * socket/sendto.c (__sendto): Likewise.
28697 * socket/setsockopt.c (__setsockopt): Likewise.
28698 * string/memcmp.c (__ptr_t): Remove macro.
28699 (MEMCMP): Use void * instead of ptr_t.
28700 * string/memrchr.c (__ptr_t): Remove macro.
28701 (__memrchr): Use void * instead of ptr_t.
28702 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
28703 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
28704 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
28705 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
28706 * sysdeps/mach/msync.c (msync): Likewise.
28707 * sysdeps/mach/munmap.c (__munmap): Likewise.
28708 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
28709 Likewise.
28710 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
28711 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
28712 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
28713 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
28714 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
28715 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
28716 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
28717 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
28718 Likewise.
28719 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
28720 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
28721 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
28722 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
28723 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
28724 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
28725 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
28726 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
28727 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
28728 Likewise.
28729 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
28730 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
28731 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
28732 (MEMCMP): Use void * instead of ptr_t.
28733 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
28734 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
28735
0df595b2
FW
287362017-08-08 Florian Weimer <fweimer@redhat.com>
28737
28738 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
28739 return statement.
28740
086df229
L
287412017-08-08 H.J. Lu <hongjiu.lu@intel.com>
28742
28743 [BZ #21913]
28744 * csu/libc-tls.c: Include <startup.h> first.
28745 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
28746 * elf/dl-tunables.c: Include <startup.h> first.
28747 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
28748 * sysdeps/generic/startup.h: New file.
28749 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
28750 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
28751 (I386_USE_SYSENTER): New. Defined to 0.
28752
fc5ad702
AS
287532017-08-08 Andreas Schwab <schwab@suse.de>
28754
28755 [BZ #21041]
28756 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
28757 * nptl/pt-system.c (system): Likewise.
28758
852d6312
AZ
287592017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28760
28761 [BZ #21780]
28762 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
28763 EOPNOTSUPP.
28764 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
28765 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
28766 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
28767 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
28768 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
28769 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
28770 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
28771
8b164787
JM
287722017-08-07 Joseph Myers <joseph@codesourcery.com>
28773
cd65836b
JM
28774 [BZ #21899]
28775 * bits/sigaction.h (struct sigaction): Define sa_handler and
28776 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
28777 (SA_ONSTACK): Change [__USE_UNIX98] condition to
28778 [__USE_XOPEN_EXTENDED].
28779 (SA_RESTART): Likewise.
28780 (SA_NODEFER): Likewise.
28781 (SA_RESETHAND): Likewise.
28782 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
28783 (struct sigaction): Define sa_handler and sa_sigaction using union
28784 also for [__USE_XOPEN_EXTENDED].
28785 (SA_ONSTACK): Change [__USE_UNIX98] condition to
28786 [__USE_XOPEN_EXTENDED].
28787 (SA_RESTART): Likewise.
28788 (SA_NODEFER): Likewise.
28789 (SA_RESETHAND): Likewise.
28790 * sysdeps/unix/sysv/linux/bits/sigaction.h
28791 (struct sigaction): Define sa_handler and sa_sigaction using union
28792 also for [__USE_XOPEN_EXTENDED].
28793 (SA_ONSTACK): Change [__USE_UNIX98] condition to
28794 [__USE_XOPEN_EXTENDED].
28795 (SA_RESTART): Likewise.
28796 (SA_NODEFER): Likewise.
28797 (SA_RESETHAND): Likewise.
28798 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
28799 (struct sigaction): Define sa_handler and sa_sigaction using union
28800 also for [__USE_XOPEN_EXTENDED].
28801 (SA_ONSTACK): Change [__USE_UNIX98] condition to
28802 [__USE_XOPEN_EXTENDED].
28803 (SA_RESTART): Likewise.
28804 (SA_NODEFER): Likewise.
28805 (SA_RESETHAND): Likewise.
28806 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
28807 (struct sigaction): Define sa_handler and sa_sigaction using union
28808 also for [__USE_XOPEN_EXTENDED].
28809 (SA_ONSTACK): Change [__USE_UNIX98] condition to
28810 [__USE_XOPEN_EXTENDED].
28811 (SA_RESTART): Likewise.
28812 (SA_NODEFER): Likewise.
28813 (SA_RESETHAND): Likewise.
28814 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
28815 (struct sigaction): Define sa_handler and sa_sigaction using union
28816 also for [__USE_XOPEN_EXTENDED].
28817 (SA_ONSTACK): Change [__USE_UNIX98] condition to
28818 [__USE_XOPEN_EXTENDED].
28819 (SA_RESTART): Likewise.
28820 (SA_NODEFER): Likewise.
28821 (SA_RESETHAND): Likewise.
28822 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
28823 (struct sigaction): Define sa_handler and sa_sigaction using union
28824 also for [__USE_XOPEN_EXTENDED].
28825 (SA_ONSTACK): Change [__USE_UNIX98] condition to
28826 [__USE_XOPEN_EXTENDED].
28827 (SA_RESTART): Likewise.
28828 (SA_NODEFER): Likewise.
28829 (SA_RESETHAND): Likewise.
28830 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
28831 (struct sigaction): Define sa_handler and sa_sigaction using union
28832 also for [__USE_XOPEN_EXTENDED].
28833 (SA_ONSTACK): Change [__USE_UNIX98] condition to
28834 [__USE_XOPEN_EXTENDED].
28835 (SA_RESTART): Likewise.
28836 (SA_NODEFER): Likewise. Define directly rather than as alias.
28837 (SA_RESETHAND): Likewise.
28838 (SA_INTERRUPT): Define only for [__USE_MISC].
28839 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
28840 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
28841 [__USE_MISC].
28842 (SA_STACK): Define only for [__USE_MISC].
28843 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
28844 (struct sigaction): Define sa_handler and sa_sigaction using union
28845 also for [__USE_XOPEN_EXTENDED].
28846 (SA_ONSTACK): Change [__USE_UNIX98] condition to
28847 [__USE_XOPEN_EXTENDED].
28848 (SA_RESTART): Likewise.
28849 (SA_NODEFER): Likewise.
28850 (SA_RESETHAND): Likewise.
28851 (SA_NOPTRACE): Define only for [__USE_MISC].
28852
d9fee042
JM
28853 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
28854 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
28855 (struct catalog_info): Likewise.
28856 * inet/htontest.c (lo): Likewise.
28857 (foo): Likewise.
28858 * inet/inet_lnaof.c (inet_lnaof): Likewise.
28859 * inet/inet_net.c (inet_network): Likewise.
28860 * inet/inet_netof.c (inet_netof): Likewise.
28861 * inet/rcmd.c (__ivaliduser): Likewise.
28862 (iruserok): Likewise.
28863 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
28864 * locale/programs/locale-spec.c (locale_special): Likewise.
28865 * nis/nis_findserv.c (struct findserv_req): Likewise.
28866 (__nis_findfastest_with_timeout): Likewise.
28867 * nss/test-netdb.c (test_network): Likewise.
28868 * resolv/inet_neta.c (inet_neta): Likewise.
28869 * resolv/ns_date.c (ns_datetosecs): Likewise.
28870 (SECS_PER_DAY): Likewise.
28871 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
28872 Likewise.
28873 * resolv/res_comp.c (__putlong): Likewise.
28874 (__putshort): Likewise.
28875 (_getlong): Likewise.
28876 (_getshort): Likewise.
28877 * resolv/res_debug.c (p_time): Likewise.
28878 (precsize_ntoa): Likewise.
28879 (precsize_aton): Likewise.
28880 (latlon2ul): Likewise.
28881 (loc_aton): Likewise.
28882 (loc_ntoa): Likewise.
28883 * resolv/res_hconf.c (struct netaddr): Likewise.
28884 (_res_hconf_reorder_addrs): Likewise.
28885 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
28886 (clnttcp_control): Likewise.
28887 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
28888 (clntudp_control): Likewise.
28889 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
28890 (clntunix_control): Likewise.
28891 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
28892 * sunrpc/rpc/auth.h (union des_block): Likewise.
28893 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
28894 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
28895 (xdrrec_create): Likewise.
28896 (xdrrec_endofrecord): Likewise.
28897 (flush_out): Likewise.
28898 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
28899 (xdrstdio_putlong): Likewise.
28900 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
28901 Likewise.
28902
8b164787
JM
28903 * misc/sys/cdefs.h (__long_double_t): Remove.
28904 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
28905 instead of __long_double_t,
28906 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
28907
7ee38e60
SP
289082017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
28909
dd3e86ad
SP
28910 * benchtests/scripts/compare_strings.py: Avoid display error when
28911 running on a text terminal.
28912
b115e819
SP
28913 * benchtests/scripts/compare_strings.py (main): Add an
28914 optional -base option.
28915 (process_results): New argument base_func.
28916
7ee38e60
SP
28917 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
28918 hardcoding memcpy.
28919 * benchtests/bench-memcpy-large.c (test_name): Likewise.
28920 * benchtests/bench-memcpy-random.c (test_name): Likewise.
28921
d5afb385
AS
289222017-08-07 Andreas Schwab <schwab@suse.de>
28923
28924 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
28925 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
28926 * intl/Makefile ($(objpfx)tst-gettext.out)
28927 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
28928 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
28929 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
28930 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
28931 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
28932 * posix/Makefile ($(objpfx)globtest.out)
28933 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
28934 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
28935 ($(objpfx)tst-printf.out): Likewise.
28936 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
28937 ($(objpfx)tst-setcontext3.out): Likewise.
28938
57a72fa3
L
289392017-08-07 H.J. Lu <hongjiu.lu@intel.com>
28940
28941 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28942 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
28943 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
28944 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
28945 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
28946 and mptan-fma.
28947 (CFLAGS-doasin-fma.c): New.
28948 (CFLAGS-dosincos-fma.c): Likewise.
28949 (CFLAGS-e_asin-fma.c): Likewise.
28950 (CFLAGS-e_atan2-fma.c): Likewise.
28951 (CFLAGS-e_exp-fma.c): Likewise.
28952 (CFLAGS-e_log-fma.c): Likewise.
28953 (CFLAGS-e_pow-fma.c): Likewise.
28954 (CFLAGS-halfulp-fma.c): Likewise.
28955 (CFLAGS-mpa-fma.c): Likewise.
28956 (CFLAGS-mpatan-fma.c): Likewise.
28957 (CFLAGS-mpatan2-fma.c): Likewise.
28958 (CFLAGS-mpexp-fma.c): Likewise.
28959 (CFLAGS-mplog-fma.c): Likewise.
28960 (CFLAGS-mpsqrt-fma.c): Likewise.
28961 (CFLAGS-mptan-fma.c): Likewise.
28962 (CFLAGS-s_atan-fma.c): Likewise.
28963 (CFLAGS-sincos32-fma.c): Likewise.
28964 (CFLAGS-slowexp-fma.c): Likewise.
28965 (CFLAGS-slowpow-fma.c): Likewise.
28966 (CFLAGS-s_sin-fma.c): Likewise.
28967 (CFLAGS-s_tan-fma.c): Likewise.
28968 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
28969 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
28970 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
28971 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
28972 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
28973 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
28974 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
28975 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
28976 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
28977 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
28978 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
28979 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
28980 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
28981 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
28982 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
28983 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
28984 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
28985 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
28986 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
28987 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
28988 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
28989 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
28990 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
28991 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
28992 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
28993 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28994 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28995 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
28996 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28997 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28998 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28999
219dd320
JM
290002017-08-04 Joseph Myers <joseph@codesourcery.com>
29001
29002 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
29003 (min_of_type_f): New macro.
29004 (min_of_type_): Likewise.
29005 (min_of_type_l): Likewise.
29006 (min_of_type_f128): Likewise.
29007 (min_of_type): Define using __MATH_TG and taking an expression
29008 argument.
29009 (math_check_force_underflow): Pass expression instead of type to
29010 min_of_type.
29011 (math_check_force_underflow_nonneg): Likewise.
29012
64d4dea6
L
290132017-08-04 H.J. Lu <hongjiu.lu@intel.com>
29014
29015 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
29016 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
29017 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
29018
973da22a
L
290192017-08-04 H.J. Lu <hongjiu.lu@intel.com>
29020
29021 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29022 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
29023 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
29024 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
29025 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
29026 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
29027 memcpy_chk-nonshared, mempcpy_chk-nonshared,
29028 memmove_chk-nonshared and memset_chk-nonshared
29029 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
29030 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
29031 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
29032 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
29033 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
29034 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
29035 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
29036 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
29037 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
29038 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
29039 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
29040 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
29041 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
29042 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
29043 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
29044 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
29045 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
29046 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
29047 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
29048 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
29049 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
29050 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
29051 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
29052 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
29053 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
29054 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
29055 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
29056 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
29057 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
29058 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
29059 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
29060 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
29061 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
29062 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
29063 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
29064 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
29065 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
29066 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
29067 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
29068 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
29069 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
29070 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
29071 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
29072 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
29073 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
29074 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
29075 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
29076 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
29077 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
29078 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
29079 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
29080 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
29081 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
29082 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
29083 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
29084 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
29085 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
29086 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
29087 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
29088 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
29089 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
29090 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
29091 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
29092 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
29093 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
29094 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
29095 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
29096 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
29097 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
29098 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
29099 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
29100 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29101 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29102 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29103 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29104 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29105 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29106 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29107 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29108 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29109 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29110 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29111 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29112 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29113 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
29114 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
29115 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29116 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
29117 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29118 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29119 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29120 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29121 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29122 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29123 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
29124 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
29125 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
29126 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
29127 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29128 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
29129 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29130 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29131 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29132 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29133 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29134 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29135 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29136 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29137
8537e0f6
L
291382017-08-04 H.J. Lu <hongjiu.lu@intel.com>
29139
29140 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
29141 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
29142 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
29143 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
29144 svml_d_log2_core-sse2, svml_d_log4_core-sse,
29145 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
29146 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
29147 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
29148 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
29149 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
29150 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
29151 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
29152 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
29153 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
29154 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
29155 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
29156 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
29157 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
29158 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
29159 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
29160 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
29161 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
29162 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
29163 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
29164 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
29165 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
29166 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
29167 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
29168 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
29169 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
29170 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
29171 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
29172 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
29173 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
29174 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
29175 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
29176 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
29177 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
29178 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
29179 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
29180 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
29181 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
29182 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
29183 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
29184 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
29185 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
29186 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
29187 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
29188 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
29189 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
29190 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
29191 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
29192 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
29193 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
29194 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
29195 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
29196 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
29197 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
29198 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
29199 ...
29200 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
29201 Don't include <sysdep.h> nor <init-arch.h>.
29202 (_ZGVbN2v_cos): Removed.
29203 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
29204 ...
29205 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
29206 Don't include <sysdep.h> nor <init-arch.h>.
29207 (_ZGVdN4v_cos): Removed.
29208 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
29209 ...
29210 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
29211 Don't include <sysdep.h> nor <init-arch.h>.
29212 (_ZGVeN8v_cos): Removed.
29213 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
29214 ...
29215 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
29216 Don't include <sysdep.h> nor <init-arch.h>.
29217 (_ZGVbN2v_exp): Removed.
29218 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
29219 ...
29220 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
29221 Don't include <sysdep.h> nor <init-arch.h>.
29222 (_ZGVdN4v_exp): Removed.
29223 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
29224 ...
29225 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
29226 Don't include <sysdep.h> nor <init-arch.h>.
29227 (_ZGVeN8v_exp): Removed.
29228 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
29229 ...
29230 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
29231 Don't include <sysdep.h> nor <init-arch.h>.
29232 (_ZGVbN2v_log): Removed.
29233 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
29234 ...
29235 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
29236 Don't include <sysdep.h> nor <init-arch.h>.
29237 (_ZGVdN4v_log): Removed.
29238 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
29239 ...
29240 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
29241 Don't include <sysdep.h> nor <init-arch.h>.
29242 (_ZGVeN8v_log): Removed.
29243 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
29244 ...
29245 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
29246 Don't include <sysdep.h> nor <init-arch.h>.
29247 (_ZGVbN2vv_pow): Removed.
29248 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
29249 ...
29250 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
29251 Don't include <sysdep.h> nor <init-arch.h>.
29252 (_ZGVdN4vv_pow): Removed.
29253 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
29254 ...
29255 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
29256 Don't include <sysdep.h> nor <init-arch.h>.
29257 (_ZGVeN8vv_pow): Removed.
29258 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
29259 ...
29260 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
29261 Don't include <sysdep.h> nor <init-arch.h>.
29262 (_ZGVbN2v_sin): Removed.
29263 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
29264 ...
29265 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
29266 Don't include <sysdep.h> nor <init-arch.h>.
29267 (_ZGVbN4v_sin): Removed.
29268 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
29269 ...
29270 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
29271 Don't include <sysdep.h> nor <init-arch.h>.
29272 (_ZGVbN8v_sin): Removed.
29273 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
29274 ...
29275 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
29276 Don't include <sysdep.h> nor <init-arch.h>.
29277 (_ZGVbN2vvv_sincos): Removed.
29278 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
29279 ...
29280 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
29281 Don't include <sysdep.h> nor <init-arch.h>.
29282 (_ZGVdN4vvv_sincos): Removed.
29283 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
29284 ...
29285 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
29286 Don't include <sysdep.h> nor <init-arch.h>.
29287 (_ZGVeN8vvv_sincos): Removed.
29288 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
29289 ...
29290 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
29291 Don't include <sysdep.h> nor <init-arch.h>.
29292 (_ZGVeN16v_cosf): Removed.
29293 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
29294 ...
29295 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
29296 Don't include <sysdep.h> nor <init-arch.h>.
29297 (_ZGVbN4v_cosf): Removed.
29298 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
29299 ...
29300 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
29301 Don't include <sysdep.h> nor <init-arch.h>.
29302 (_ZGVdN8v_cosf): Removed.
29303 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
29304 ...
29305 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
29306 Don't include <sysdep.h> nor <init-arch.h>.
29307 (_ZGVeN16v_expf): Removed.
29308 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
29309 ...
29310 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
29311 Don't include <sysdep.h> nor <init-arch.h>.
29312 (_ZGVbN4v_expf): Removed.
29313 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
29314 ...
29315 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
29316 Don't include <sysdep.h> nor <init-arch.h>.
29317 (_ZGVdN8v_expf): Removed.
29318 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
29319 ...
29320 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
29321 Don't include <sysdep.h> nor <init-arch.h>.
29322 (_ZGVeN16v_logf): Removed.
29323 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
29324 ...
29325 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
29326 Don't include <sysdep.h> nor <init-arch.h>.
29327 (_ZGVbN4v_logf): Removed.
29328 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
29329 ...
29330 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
29331 Don't include <sysdep.h> nor <init-arch.h>.
29332 (_ZGVdN8v_logf): Removed.
29333 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
29334 ...
29335 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
29336 Don't include <sysdep.h> nor <init-arch.h>.
29337 (_ZGVeN16vv_powf): Removed.
29338 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
29339 ...
29340 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
29341 Don't include <sysdep.h> nor <init-arch.h>.
29342 (_ZGVbN4vv_powf): Removed.
29343 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
29344 ...
29345 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
29346 Don't include <sysdep.h> nor <init-arch.h>.
29347 (_ZGVdN8vv_powf): Removed.
29348 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
29349 ...
29350 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
29351 Don't include <sysdep.h> nor <init-arch.h>.
29352 (_ZGVeN16vvv_sincosf): Removed.
29353 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
29354 ...
29355 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
29356 Don't include <sysdep.h> nor <init-arch.h>.
29357 (_ZGVbN4vvv_sincosf): Removed.
29358 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
29359 ...
29360 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
29361 Don't include <sysdep.h> nor <init-arch.h>.
29362 (_ZGVdN8vvv_sincosf): Removed.
29363 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
29364 ...
29365 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
29366 Don't include <sysdep.h> nor <init-arch.h>.
29367 (_ZGVeN16v_sinf): Removed.
29368 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
29369 ...
29370 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
29371 Don't include <sysdep.h> nor <init-arch.h>.
29372 (_ZGVbN4v_sinf): Removed.
29373 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
29374 ...
29375 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
29376 Don't include <sysdep.h> nor <init-arch.h>.
29377 (_ZGVdN8v_sinf): Removed.
29378
10a87ca4
L
293792017-08-04 H.J. Lu <hongjiu.lu@intel.com>
29380
29381 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29382 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
29383 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
29384 s_rint-sse4_1 and s_rintf-sse4_1.
29385 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
29386 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
29387 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
29388 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
29389 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
29390 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
29391 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
29392 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
29393 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
29394 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
29395 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
29396 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
29397 (__ceil): Removed.
29398 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
29399 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
29400 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
29401 (__ceilf): Removed.
29402 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
29403 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
29404 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
29405 (__floor): Removed.
29406 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
29407 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
29408 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
29409 (__floorf): Removed.
29410 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
29411 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
29412 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
29413 (__nearbyint): Removed.
29414 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
29415 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
29416 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
29417 (__nearbyintf): Removed.
29418 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
29419 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
29420 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
29421 (__rint): Removed.
29422 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
29423 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
29424 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
29425 (__rintf): Removed.
29426
1e8e527d
L
294272017-08-04 H.J. Lu <hongjiu.lu@intel.com>
29428
29429 * sysdeps/i386/start.S (_start): Check Check PIC instead of
29430 SHARED. Avoid dynamic relocation against main in static PIE.
29431
e13daad7
L
294322017-08-04 H.J. Lu <hongjiu.lu@intel.com>
29433
29434 [BZ #21815]
29435 * elf/Makefile (CFLAGS-tst-prelink.c): New.
29436 (LDFLAGS-tst-prelink): Likewise.
29437
627c69c8
L
294382017-08-04 H.J. Lu <hongjiu.lu@intel.com>
29439
29440 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
29441 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
29442 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
29443 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
29444 (INTERNAL_SYSCALL_NCS): Likewise.
29445 (LOADARGS_1): Likewise.
29446 (LOADARGS_5): Likewise.
29447 (RESTOREARGS_1): Likewise.
29448 (RESTOREARGS_5): Likewise.
29449
fc11ff8d
L
294502017-08-04 H.J. Lu <hongjiu.lu@intel.com>
29451
29452 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
29453 (MEMPCPY_SYMBOL): Likewise.
29454 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
29455 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
29456 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
29457 in libc.a.
29458 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29459 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
29460 Likewise.
29461 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
29462 (__hidden_ver1): Don't use in libc.a.
29463 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
29464 (__mempcpy): Don't create a weak alias in libc.a.
29465 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
29466 libc.a.
29467 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
29468 (__hidden_ver1): Don't use in libc.a.
29469
19f1a11e
L
294702017-08-04 H.J. Lu <hongjiu.lu@intel.com>
29471
29472 * config.make.in (have-insert): New.
29473 * configure.ac (libc_cv_insert): New. Set to yes if linker
29474 supports INSERT in linker script.
29475 (AC_SUBST(libc_cv_insert): New.
29476 * configure: Regenerated.
29477 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
29478 if $(have-insert) == yes.
29479
3093fd5e
L
294802017-08-04 H.J. Lu <hongjiu.lu@intel.com>
29481
29482 * elf/Makefile (tests): Add vismain only if
29483 $(have-protected-data) == yes.
29484 (tests-pie): Likewise.
29485
d2cf37c0
L
294862017-08-04 H.J. Lu <hongjiu.lu@intel.com>
29487
29488 [BZ #21871]
29489 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
29490 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
29491
c8a0e6ec
L
294922017-08-04 H.J. Lu <hongjiu.lu@intel.com>
29493
29494 [BZ #21790]
29495 * sysdeps/i386/i586/memset.S
29496 (__memset_zero_constant_len_parameter): Removed.
29497 * sysdeps/i386/i686/memset.S
29498 (__memset_zero_constant_len_parameter): Likewise.
29499 * sysdeps/i386/i686/multiarch/memset_chk.S
29500 (__memset_zero_constant_len_parameter): Likewise.
29501 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
29502 Likewise.
29503
2b34e271
AJ
295042017-08-03 Aurelien Jarno <aurelien@aurel32.net>
29505
29506 * stdlib/getentropy.c (getentropy): Change return type to int.
29507
144bdab0
AJ
295082017-08-03 Aurelien Jarno <aurelien@aurel32.net>
29509
29510 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
29511
24ab7723
JM
295122017-08-03 Joseph Myers <joseph@codesourcery.com>
29513
29514 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
29515 u_intN_t.
29516 * math/s_nexttowardf.c (__nexttowardf): Likewise.
29517 * sysdeps/generic/math_private.h (ieee_double_shape_type):
29518 Likewise.
29519 (ieee_float_shape_type): Likewise.
29520 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
29521 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
29522 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
29523 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
29524 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
29525 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
29526 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
29527 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
29528 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
29529 Likewise.
29530 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
29531 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
29532 (__ieee754_yn): Likewise.
29533 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
29534 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
29535 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
29536 Likewise.
29537 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
29538 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
29539 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
29540 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
29541 (__erfc): Likewise.
29542 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
29543 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
29544 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
29545 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
29546 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
29547 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
29548 Likewise.
29549 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
29550 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
29551 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
29552 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
29553 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
29554 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
29555 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
29556 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
29557 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
29558 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
29559 (__issignaling): Likewise.
29560 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
29561 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
29562 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
29563 Likewise.
29564 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
29565 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
29566 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
29567 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
29568 Likewise.
29569 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
29570 Likewise.
29571 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
29572 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
29573 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
29574 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
29575 (__erfcf): Likewise.
29576 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
29577 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
29578 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
29579 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
29580 Likewise.
29581 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
29582 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
29583 Likewise.
29584 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
29585 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
29586 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
29587 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
29588 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
29589 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
29590 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
29591 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
29592 Likewise.
29593 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
29594 Likewise.
29595 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
29596 Likewise.
29597 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
29598 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
29599 Likewise.
29600 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
29601 Likewise.
29602 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
29603 (__ieee754_ynl): Likewise.
29604 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
29605 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
29606 Likewise.
29607 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
29608 Likewise.
29609 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
29610 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
29611 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
29612 Likewise.
29613 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
29614 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
29615 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
29616 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
29617 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
29618 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
29619 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
29620 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
29621 Likewise.
29622 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
29623 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
29624 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
29625 Likewise.
29626 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
29627 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
29628 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
29629 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
29630 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
29631 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
29632 Likewise.
29633 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
29634 Likewise.
29635 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
29636 Likewise.
29637 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
29638 Likewise.
29639 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
29640 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
29641 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29642 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
29643 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
29644 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
29645 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
29646 Likewise.
29647 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
29648 Likewise.
29649 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
29650 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
29651 Likewise.
29652 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
29653 (__ieee754_remainderl): Likewise.
29654 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
29655 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
29656 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
29657 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
29658 Likewise.
29659 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
29660 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29661 Likewise.
29662 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
29663 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
29664 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
29665 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
29666 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
29667 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
29668 Likewise.
29669 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
29670 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
29671 (__ieee754_y0l): Likewise.
29672 (pzero): Likewise.
29673 (qzero): Likewise.
29674 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
29675 (__ieee754_y1l): Likewise.
29676 (pone): Likewise.
29677 (qone): Likewise.
29678 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
29679 (__ieee754_ynl): Likewise.
29680 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
29681 (__ieee754_lgammal_r): Likewise.
29682 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
29683 Likewise.
29684 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
29685 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
29686 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
29687 (__erfcl): Likewise.
29688 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
29689 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
29690 Likewise.
29691 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
29692 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
29693 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
29694 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
29695 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
29696 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
29697 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
29698 Likewise.
29699 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
29700 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
29701 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
29702 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
29703 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
29704 Likewise.
29705 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
29706 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
29707 Likewise.
29708 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
29709 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
29710 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
29711 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
29712 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
29713
964263bb
FW
297142017-08-03 Florian Weimer <fweimer@redhat.com>
29715
29716 [BZ #21885]
29717 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
29718 on memory allocation failure.
29719
e98c925f
AM
297202017-08-03 Alan Modra <amodra@gmail.com>
29721
29722 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
29723 tst-tlsopt-powerpc.c with function name change and no test harness.
29724 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
29725 Call tls_get_addr_opt_test.
29726 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
29727 (modules-names): Add mod-tlsopt-powerpc.
29728 (mod-tlsopt-powerpc.so-no-z-defs): Define.
29729 (tst-tlsopt-powerpc): Depend on .so.
29730 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
29731 define. Expand use in TLS_GD and TLS_LD.
29732
8ee1abdb
ST
297332017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
29734
29735 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
29736 function.
3da5756e 29737 * sysdeps/posix/shm_open.c: Include <pthread.h>.
8ee1abdb 29738
42df8d59
JM
297392017-08-02 Joseph Myers <joseph@codesourcery.com>
29740
29741 [BZ #21686]
29742 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
29743 comparing size with that of double.
29744 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
29745 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
29746 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
29747 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
29748 (__TGMATH_BINARY_REAL_IMAG): Likewise.
29749 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
29750 unsigned __int128 types.
29751
b7f95f49
SE
297522017-08-02 Steve Ellcey <sellcey@cavium.com>
29753
29754 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
29755 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
29756 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
29757 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
29758 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
29759
5b736bc9
L
297602017-08-02 H.J. Lu <hongjiu.lu@intel.com>
29761
29762 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
29763
dfc93c41
L
297642017-08-02 H.J. Lu <hongjiu.lu@intel.com>
29765
29766 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
29767 of SHARED.
29768 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
29769 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
29770 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29771 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29772 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29773 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29774 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29775
2fee621d
JM
297762017-08-02 Joseph Myers <joseph@codesourcery.com>
29777
29778 [BZ #21685]
29779 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
29780 bit-field expressions passed to sizeof or typeof.
29781 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29782 (__TGMATH_F128): Likewise.
29783 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29784 (__TGMATH_CF128): Likewise.
29785 (__TGMATH_UNARY_REAL_ONLY): Likewise.
29786 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
29787 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
29788 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
29789 (__TGMATH_BINARY_REAL_ONLY): Likewise.
29790 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
29791 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
29792 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
29793 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
29794 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
29795 (__TGMATH_UNARY_REAL_IMAG): Likewise.
29796 (__TGMATH_UNARY_IMAG): Likewise.
29797 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
29798 (__TGMATH_BINARY_REAL_IMAG): Likewise.
29799 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
29800 type.
29801 (define_vars_for_type): Handle bit_field type specially.
29802 (Tests.__init__): Declare structure with bit-field element.
29803
b358255f
L
298042017-08-02 H.J. Lu <hongjiu.lu@intel.com>
29805
29806 [BZ #21791]
29807 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
29808 (MEMCPY_CHK): Define only if SHARED is defined.
29809 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
29810 Likewise.
29811 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
29812 Likewise.
edf66db1
SP
29813
29814See ChangeLog.18 for earlier changes.