1 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
3 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
4 (CFLAGS-argp-parse.c): Likewise.
5 (CFLAGS-argp-fmtstream.c): Likewise.
6 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
7 (CPPFLAGS-sha512-crypt.c): Likewise.
8 (CPPFLAGS-md5-crypt.c): Likewise.
9 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
10 (CFLAGS-stack_chk_fail_local.c): Likewise.
11 (CFLAGS-backtrace.c): Likewise.
12 (CFLAGS-sprintf_chk.c): Likewise.
13 (CFLAGS-snprintf_chk.c): Likewise.
14 (CFLAGS-vsprintf_chk.c): Likewise.
15 (CFLAGS-vsnprintf_chk.c): Likewise.
16 (CFLAGS-asprintf_chk.c): Likewise.
17 (CFLAGS-vasprintf_chk.c): Likewise.
18 (CFLAGS-obprintf_chk.c): Likewise.
19 (CFLAGS-dprintf_chk.c): Likewise.
20 (CFLAGS-vdprintf_chk.c): Likewise.
21 (CFLAGS-printf_chk.c): Likewise.
22 (CFLAGS-fprintf_chk.c): Likewise.
23 (CFLAGS-vprintf_chk.c): Likewise.
24 (CFLAGS-vfprintf_chk.c): Likewise.
25 (CFLAGS-gets_chk.c): Likewise.
26 (CFLAGS-fgets_chk.c): Likewise.
27 (CFLAGS-fgets_u_chk.c): Likewise.
28 (CFLAGS-fread_chk.c): Likewise.
29 (CFLAGS-fread_u_chk.c): Likewise.
30 (CFLAGS-swprintf_chk.c): Likewise.
31 (CFLAGS-vswprintf_chk.c): Likewise.
32 (CFLAGS-wprintf_chk.c): Likewise.
33 (CFLAGS-fwprintf_chk.c): Likewise.
34 (CFLAGS-vwprintf_chk.c): Likewise.
35 (CFLAGS-vfwprintf_chk.c): Likewise.
36 (CFLAGS-fgetws_chk.c): Likewise.
37 (CFLAGS-fgetws_u_chk.c): Likewise.
38 (CFLAGS-read_chk.c): Likewise.
39 (CFLAGS-pread_chk.c): Likewise.
40 (CFLAGS-pread64_chk.c): Likewise.
41 (CFLAGS-recv_chk.c): Likewise.
42 (CFLAGS-recvfrom_chk.c): Likewise.
43 (CFLAGS-tst-longjmp_chk.c): Likewise.
44 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
45 (CFLAGS-tst-longjmp_chk2.c): Likewise.
46 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
47 (CFLAGS-tst-longjmp_chk3.c): Likewise.
48 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
49 (CFLAGS-tst-chk1.c): Likewise.
50 (CFLAGS-tst-chk2.c): Likewise.
51 (CFLAGS-tst-chk3.c): Likewise.
52 (CFLAGS-tst-chk4.cc): Likewise.
53 (CFLAGS-tst-chk5.cc): Likewise.
54 (CFLAGS-tst-chk6.cc): Likewise.
55 (CFLAGS-tst-lfschk1.c): Likewise.
56 (CFLAGS-tst-lfschk2.c): Likewise.
57 (CFLAGS-tst-lfschk3.c): Likewise.
58 (CFLAGS-tst-lfschk4.cc): Likewise.
59 (CFLAGS-tst-lfschk5.cc): Likewise.
60 (CFLAGS-tst-lfschk6.cc): Likewise.
61 (CFLAGS-tst-ssp-1.c): Likewise.
62 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
63 (CFLAGS-scandir64.c): Likewise.
64 (CFLAGS-scandir-tail.c): Likewise.
65 (CFLAGS-scandir64-tail.c): Likewise.
66 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
67 (CFLAGS-dl-tunables.c): Likewise.
68 (CFLAGS-dl-runtime.c): Likewise.
69 (CFLAGS-dl-lookup.c): Likewise.
70 (CFLAGS-dl-iterate-phdr.c): Likewise.
71 (CFLAGS-vismain.c): Likewise.
72 (CFLAGS-tst-linkall-static.c): Likewise.
73 (CFLAGS-tst-linkall-static.c): Likewise.
74 (CPPFLAGS-dl-load.c): Likewise.
75 (CFLAGS-ldconfig.c): Likewise.
76 (CFLAGS-dl-cache.c): Likewise.
77 (CFLAGS-cache.c): Likewise.
78 (CFLAGS-rtld.c): Likewise.
79 (CFLAGS-multiload.c): Likewise.
80 (CFLAGS-filtmod1.c): Likewise.
81 (CFLAGS-tst-align.c): Likewise.
82 (CFLAGS-tst-align2.c): Likewise.
83 (CFLAGS-tst-alignmod.c): Likewise.
84 (CFLAGS-tst-alignmod2.c): Likewise.
85 (CPPFLAGS-tst-execstack.c): Likewise.
86 (CFLAGS-tst-ptrguard1-static.c): Likewise.
87 (CFLAGS-tst-latepthreadmod.c): Likewise.
88 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
89 (CFLAGS-getgrnam_r.c): Likewise.
90 (CFLAGS-getgrent_r.c): Likewise.
91 (CFLAGS-getgrent.c): Likewise.
92 (CFLAGS-fgetgrent.c): Likewise.
93 (CFLAGS-fgetgrent_r.c): Likewise.
94 (CFLAGS-putgrent.c): Likewise.
95 (CFLAGS-initgroups.c): Likewise.
96 (CFLAGS-getgrgid.c): Likewise.
97 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
98 (CFLAGS-getsgent.c): Likewise.
99 (CFLAGS-fgetsgent.c): Likewise.
100 (CFLAGS-fgetsgent_r.c): Likewise.
101 (CFLAGS-putsgent.c): Likewise.
102 (CFLAGS-getsgnam.c): Likewise.
103 (CFLAGS-getsgnam_r.c): Likewise.
104 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
105 (CFLAGS-iconv_charmap.c): Likewise.
106 (CFLAGS-dummy-repertoire.c): Likewise.
107 (CFLAGS-charmap.c): Likewise.
108 (CFLAGS-linereader.c): Likewise.
109 (CFLAGS-simple-hash.c): Likewise.
110 (CFLAGS-gconv_conf.c): Likewise.
111 (CFLAGS-iconvconfig.c): Likewise.
112 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
113 (CFLAGS-gethstbyad.c): Likewise.
114 (CFLAGS-gethstbynm_r.c): Likewise.
115 (CFLAGS-gethstbynm.c): Likewise.
116 (CFLAGS-gethstbynm2_r.c): Likewise.
117 (CFLAGS-gethstbynm2.c): Likewise.
118 (CFLAGS-gethstent_r.c): Likewise.
119 (CFLAGS-gethstent.c): Likewise.
120 (CFLAGS-rcmd.c): Likewise.
121 (CFLAGS-getnetbynm_r.c): Likewise.
122 (CFLAGS-getnetbynm.c): Likewise.
123 (CFLAGS-getnetbyad_r.c): Likewise.
124 (CFLAGS-getnetbyad.c): Likewise.
125 (CFLAGS-getnetent_r.c): Likewise.
126 (CFLAGS-getnetent.c): Likewise.
127 (CFLAGS-getaliasent_r.c): Likewise.
128 (CFLAGS-getaliasent.c): Likewise.
129 (CFLAGS-getrpcent_r.c): Likewise.
130 (CFLAGS-getrpcent.c): Likewise.
131 (CFLAGS-getservent_r.c): Likewise.
132 (CFLAGS-getservent.c): Likewise.
133 (CFLAGS-getprtent_r.c): Likewise.
134 (CFLAGS-getprtent.c): Likewise.
135 (CFLAGS-either_ntoh.c): Likewise.
136 (CFLAGS-either_hton.c): Likewise.
137 (CFLAGS-getnetgrent.c): Likewise.
138 (CFLAGS-getnetgrent_r.c): Likewise.
139 (CFLAGS-tst-checks-posix.c): Likewise.
140 (CFLAGS-tst-sockaddr.c): Likewise.
141 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
142 (CFLAGS-tst-translit.c): Likewise.
143 (CFLAGS-tst-gettext2.c): Likewise.
144 (CFLAGS-tst-codeset.c): Likewise.
145 (CFLAGS-tst-gettext3.c): Likewise.
146 (CFLAGS-tst-gettext4.c): Likewise.
147 (CFLAGS-tst-gettext5.c): Likewise.
148 (CFLAGS-tst-gettext6.c): Likewise.
149 * io/Makefile (CFLAGS-open.c): Likewise.
150 (CFLAGS-open64.c): Likewise.
151 (CFLAGS-creat.c): Likewise.
152 (CFLAGS-creat64.c): Likewise.
153 (CFLAGS-fcntl.c): Likewise.
154 (CFLAGS-poll.c): Likewise.
155 (CFLAGS-ppoll.c): Likewise.
156 (CFLAGS-lockf.c): Likewise.
157 (CFLAGS-statfs.c): Likewise.
158 (CFLAGS-fstatfs.c): Likewise.
159 (CFLAGS-statvfs.c): Likewise.
160 (CFLAGS-fstatvfs.c): Likewise.
161 (CFLAGS-fts.c): Likewise.
162 (CFLAGS-fts64.c): Likewise.
163 (CFLAGS-ftw.c): Likewise.
164 (CFLAGS-ftw64.c): Likewise.
165 (CFLAGS-lockf.c): Likewise.
166 (CFLAGS-posix_fallocate.c): Likewise.
167 (CFLAGS-posix_fallocate64.c): Likewise.
168 (CFLAGS-fallocate.c): Likewise.
169 (CFLAGS-fallocate64.c): Likewise.
170 (CFLAGS-read.c): Likewise.
171 (CFLAGS-write.c): Likewise.
172 (CFLAGS-test-stat.c): Likewise.
173 (CFLAGS-test-lfs.c): Likewise.
174 * libio/Makefile (CFLAGS-fileops.c): Likewise.
175 (CFLAGS-fputc.c): Likewise.
176 (CFLAGS-fputwc.c): Likewise.
177 (CFLAGS-freopen64.c): Likewise.
178 (CFLAGS-freopen.c): Likewise.
179 (CFLAGS-fseek.c): Likewise.
180 (CFLAGS-fseeko64.c): Likewise.
181 (CFLAGS-fseeko.c): Likewise.
182 (CFLAGS-ftello64.c): Likewise.
183 (CFLAGS-ftello.c): Likewise.
184 (CFLAGS-fwide.c): Likewise.
185 (CFLAGS-genops.c): Likewise.
186 (CFLAGS-getc.c): Likewise.
187 (CFLAGS-getchar.c): Likewise.
188 (CFLAGS-getwc.c): Likewise.
189 (CFLAGS-getwchar.c): Likewise.
190 (CFLAGS-iofclose.c): Likewise.
191 (CFLAGS-iofflush.c): Likewise.
192 (CFLAGS-iofgetpos64.c): Likewise.
193 (CFLAGS-iofgetpos.c): Likewise.
194 (CFLAGS-iofgets.c): Likewise.
195 (CFLAGS-iofgetws.c): Likewise.
196 (CFLAGS-iofputs.c): Likewise.
197 (CFLAGS-iofputws.c): Likewise.
198 (CFLAGS-iofread.c): Likewise.
199 (CFLAGS-iofsetpos64.c): Likewise.
200 (CFLAGS-iofsetpos.c): Likewise.
201 (CFLAGS-ioftell.c): Likewise.
202 (CFLAGS-iofwrite.c): Likewise.
203 (CFLAGS-iogetdelim.c): Likewise.
204 (CFLAGS-iogetline.c): Likewise.
205 (CFLAGS-iogets.c): Likewise.
206 (CFLAGS-iogetwline.c): Likewise.
207 (CFLAGS-ioputs.c): Likewise.
208 (CFLAGS-ioseekoff.c): Likewise.
209 (CFLAGS-ioseekpos.c): Likewise.
210 (CFLAGS-iosetbuffer.c): Likewise.
211 (CFLAGS-iosetvbuf.c): Likewise.
212 (CFLAGS-ioungetc.c): Likewise.
213 (CFLAGS-ioungetwc.c): Likewise.
214 (CFLAGS-oldfileops.c): Likewise.
215 (CFLAGS-oldiofclose.c): Likewise.
216 (CFLAGS-oldiofgetpos64.c): Likewise.
217 (CFLAGS-oldiofgetpos.c): Likewise.
218 (CFLAGS-oldiofsetpos64.c): Likewise.
219 (CFLAGS-oldiofsetpos.c): Likewise.
220 (CFLAGS-peekc.c): Likewise.
221 (CFLAGS-putc.c): Likewise.
222 (CFLAGS-putchar.c): Likewise.
223 (CFLAGS-putwc.c): Likewise.
224 (CFLAGS-putwchar.c): Likewise.
225 (CFLAGS-rewind.c): Likewise.
226 (CFLAGS-wfileops.c): Likewise.
227 (CFLAGS-wgenops.c): Likewise.
228 (CFLAGS-oldiofopen.c): Likewise.
229 (CFLAGS-iofopen.c): Likewise.
230 (CFLAGS-iofopen64.c): Likewise.
231 (CFLAGS-oldtmpfile.c): Likewise.
232 (CFLAGS-tst_putwc.c): Likewise.
233 * locale/Makefile (CFLAGS-md5.c): Likewise.
234 (CFLAGS-charmap.c): Likewise.
235 (CFLAGS-locfile.c): Likewise.
236 (CFLAGS-charmap-dir.c): Likewise.
237 * login/Makefile (CFLAGS-grantpt.c): Likewise.
238 (CFLAGS-getpt.c): Likewise.
239 (CFLAGS-pt_chown.c): Likewise.
240 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
241 (CFLAGS-obstack.c): Likewise.
242 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
243 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
244 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
245 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
246 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
247 (CFLAGS-test-tgmath.c): Likewise.
248 (CFLAGS-test-tgmath2.c): Likewise.
249 (CFLAGS-test-tgmath-ret.c): Likewise.
250 (CFLAGS-test-powl.c): Likewise.
251 (CFLAGS-test-snan.c): Likewise.
252 (CFLAGS-test-signgam-finite.c): Likewise.
253 (CFLAGS-test-signgam-finite-c99.c): Likewise.
254 (CFLAGS-test-signgam-finite-c11.c): Likewise.
255 (CFLAGS-test-signgam-uchar.c): Likewise.
256 (CFLAGS-test-signgam-uchar-init.c): Likewise.
257 (CFLAGS-test-signgam-uchar-static.c): Likewise.
258 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
259 (CFLAGS-test-signgam-uint.c): Likewise.
260 (CFLAGS-test-signgam-uint-init.c): Likewise.
261 (CFLAGS-test-signgam-uint-static.c): Likewise.
262 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
263 (CFLAGS-test-signgam-ullong.c): Likewise.
264 (CFLAGS-test-signgam-ullong-init.c): Likewise.
265 (CFLAGS-test-signgam-ullong-static.c): Likewise.
266 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
267 (CFLAGS-test-math-cxx11.cc): Likewise.
268 (CFLAGS-test-math-isinff.cc): Likewise.
269 (CFLAGS-test-math-iszero.cc): Likewise.
270 (CFLAGS-test-math-issignaling.cc): Likewise.
271 (CFLAGS-test-math-iscanonical.cc): Likewise.
272 (CFLAGS-test-iszero-excess-precision.c): Likewise.
273 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
274 (CFLAGS-test-flt-eval-method.c): Likewise.
275 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
276 (CFLAGS-test-finite-macros.c): Likewise.
277 * misc/Makefile (CFLAGS-select.c): Likewise.
278 (CFLAGS-tsearch.c): Likewise.
279 (CFLAGS-lsearch.c): Likewise.
280 (CFLAGS-pselect.c): Likewise.
281 (CFLAGS-readv.c): Likewise.
282 (CFLAGS-writev.c): Likewise.
283 (CFLAGS-preadv.c): Likewise.
284 (CFLAGS-preadv64.c): Likewise.
285 (CFLAGS-pwritev.c): Likewise.
286 (CFLAGS-pwritev64.c): Likewise.
287 (CFLAGS-preadv2.c): Likewise.
288 (CFLAGS-preadv64v2.c): Likewise.
289 (CFLAGS-pwritev2.c): Likewise.
290 (CFLAGS-pwritev64v2.c): Likewise.
291 (CFLAGS-usleep.c): Likewise.
292 (CFLAGS-syslog.c): Likewise.
293 (CFLAGS-error.c): Likewise.
294 (CFLAGS-getpass.c): Likewise.
295 (CFLAGS-mkstemp.c): Likewise.
296 (CFLAGS-mkstemp64.c): Likewise.
297 (CFLAGS-getsysstats.c): Likewise.
298 (CFLAGS-getusershell.c): Likewise.
299 (CFLAGS-err.c): Likewise.
300 (CFLAGS-tst-tsearch.c): Likewise.
301 (CFLAGS-msync.c): Likewise.
302 (CFLAGS-fdatasync.c): Likewise.
303 (CFLAGS-fsync.c): Likewise.
304 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
305 (CFLAGS-unwind.c): Likewise.
306 (CFLAGS-unwind-forcedunwind.c): Likewise.
307 (CFLAGS-pthread_cancel.c): Likewise.
308 (CFLAGS-pthread_setcancelstate.c): Likewise.
309 (CFLAGS-pthread_setcanceltype.c): Likewise.
310 (CFLAGS-cancellation.c): Likewise.
311 (CFLAGS-libc-cancellation.c): Likewise.
312 (CFLAGS-pthread_exit.c): Likewise.
313 (CFLAGS-forward.c): Likewise.
314 (CFLAGS-pthread_testcancel.c): Likewise.
315 (CFLAGS-pthread_join.c): Likewise.
316 (CFLAGS-pthread_timedjoin.c): Likewise.
317 (CFLAGS-pthread_once.c): Likewise.
318 (CFLAGS-pthread_cond_wait.c): Likewise.
319 (CFLAGS-sem_wait.c): Likewise.
320 (CFLAGS-sem_timedwait.c): Likewise.
321 (CFLAGS-fcntl.c): Likewise.
322 (CFLAGS-lockf.c): Likewise.
323 (CFLAGS-pread.c): Likewise.
324 (CFLAGS-pread64.c): Likewise.
325 (CFLAGS-pwrite.c): Likewise.
326 (CFLAGS-pwrite64.c): Likewise.
327 (CFLAGS-wait.c): Likewise.
328 (CFLAGS-waitpid.c): Likewise.
329 (CFLAGS-sigwait.c): Likewise.
330 (CFLAGS-msgrcv.c): Likewise.
331 (CFLAGS-msgsnd.c): Likewise.
332 (CFLAGS-tcdrain.c): Likewise.
333 (CFLAGS-open.c): Likewise.
334 (CFLAGS-open64.c): Likewise.
335 (CFLAGS-pause.c): Likewise.
336 (CFLAGS-recv.c): Likewise.
337 (CFLAGS-send.c): Likewise.
338 (CFLAGS-accept.c): Likewise.
339 (CFLAGS-sendto.c): Likewise.
340 (CFLAGS-connect.c): Likewise.
341 (CFLAGS-recvfrom.c): Likewise.
342 (CFLAGS-recvmsg.c): Likewise.
343 (CFLAGS-sendmsg.c): Likewise.
344 (CFLAGS-close.c): Likewise.
345 (CFLAGS-read.c): Likewise.
346 (CFLAGS-write.c): Likewise.
347 (CFLAGS-nanosleep.c): Likewise.
348 (CFLAGS-sigsuspend.c): Likewise.
349 (CFLAGS-msync.c): Likewise.
350 (CFLAGS-fdatasync.c): Likewise.
351 (CFLAGS-fsync.c): Likewise.
352 (CFLAGS-pt-system.c): Likewise.
353 (CFLAGS-tst-cleanup2.c): Likewise.
354 (CFLAGS-tst-cleanupx2.c): Likewise.
355 (CFLAGS-flockfile.c): Likewise.
356 (CFLAGS-ftrylockfile.c): Likewise.
357 (CFLAGS-funlockfile.c): Likewise.
358 (CFLAGS-tst-initializers1.c): Likewise.
359 (CFLAGS-tst-initializers1-c89.c): Likewise.
360 (CFLAGS-tst-initializers1-c99.c): Likewise.
361 (CFLAGS-tst-initializers1-c11.c): Likewise.
362 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
363 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
364 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
365 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
366 (CFLAGS-nscd_getgr_r.c): Likewise.
367 (CFLAGS-nscd_gethst_r.c): Likewise.
368 (CFLAGS-nscd_getai.c): Likewise.
369 (CFLAGS-nscd_initgroups.c): Likewise.
370 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
371 (CFLAGS-pause.c): Likewise.
372 (CFLAGS-pread.c): Likewise.
373 (CFLAGS-pread64.c): Likewise.
374 (CFLAGS-pwrite.c): Likewise.
375 (CFLAGS-pwrite64.c): Likewise.
376 (CFLAGS-sleep.c): Likewise.
377 (CFLAGS-wait.c): Likewise.
378 (CFLAGS-waitid.c): Likewise.
379 (CFLAGS-waitpid.c): Likewise.
380 (CFLAGS-getopt.c): Likewise.
381 (CFLAGS-wordexp.c): Likewise.
382 (CFLAGS-sysconf.c): Likewise.
383 (CFLAGS-pathconf.c): Likewise.
384 (CFLAGS-fpathconf.c): Likewise.
385 (CFLAGS-spawn.c): Likewise.
386 (CFLAGS-spawnp.c): Likewise.
387 (CFLAGS-spawni.c): Likewise.
388 (CFLAGS-glob.c): Likewise.
389 (CFLAGS-glob64.c): Likewise.
390 (CFLAGS-getconf.c): Likewise.
391 (CFLAGS-nanosleep.c): Likewise.
392 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
393 (CFLAGS-getpwent.c): Likewise.
394 (CFLAGS-getpw.c): Likewise.
395 (CFLAGS-fgetpwent_r.c): Likewise.
396 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
397 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
398 (CFLAGS-mq_timedreceive.c): Likewise.
399 (CFLAGS-mq_timedsend.c): Likewise.
400 (CFLAGS-clock_nanosleep.c): Likewise.
401 (CFLAGS-librt-cancellation.c): Likewise.
402 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
403 (CFLAGS-getspent.c): Likewise.
404 (CFLAGS-fgetspent.c): Likewise.
405 (CFLAGS-fgetspent_r.c): Likewise.
406 (CFLAGS-putspent.c): Likewise.
407 (CFLAGS-getspnam.c): Likewise.
408 (CFLAGS-getspnam_r.c): Likewise.
409 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
410 (CFLAGS-sigsuspend.c): Likewise.
411 (CFLAGS-sigtimedwait.c): Likewise.
412 (CFLAGS-sigwait.c): Likewise.
413 (CFLAGS-sigwaitinfo.c): Likewise.
414 (CFLAGS-sigreturn.c): Likewise.
415 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
416 (CFLAGS-vfwprintf.c): Likewise.
417 (CFLAGS-tmpfile.c): Likewise.
418 (CFLAGS-tmpfile64.c): Likewise.
419 (CFLAGS-tempname.c): Likewise.
420 (CFLAGS-psignal.c): Likewise.
421 (CFLAGS-vprintf.c): Likewise.
422 (CFLAGS-cuserid.c): Likewise.
423 (CFLAGS-errlist.c): Likewise.
424 (CFLAGS-siglist.c): Likewise.
425 (CFLAGS-scanf15.c): Likewise.
426 (CFLAGS-scanf17.c): Likewise.
427 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
428 (CFLAGS-msort.c): Likewise.
429 (CFLAGS-qsort.c): Likewise.
430 (CFLAGS-system.c): Likewise.
431 (CFLAGS-fmtmsg.c): Likewise.
432 (CFLAGS-strfmon.c): Likewise.
433 (CFLAGS-strfmon_l.c): Likewise.
434 (CFLAGS-strfromd.c): Likewise.
435 (CFLAGS-strfromf.c): Likewise.
436 (CFLAGS-strfroml.c): Likewise.
437 (CFLAGS-tst-bsearch.c): Likewise.
438 (CFLAGS-tst-qsort.c): Likewise.
439 (CFLAGS-tst-makecontext2.c): Likewise.
440 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
441 (CFLAGS-xnlm_prot.c): Likewise.
442 (CFLAGS-xrstat.c): Likewise.
443 (CFLAGS-xyppasswd.c): Likewise.
444 (CFLAGS-xklm_prot.c): Likewise.
445 (CFLAGS-xrex.c): Likewise.
446 (CFLAGS-xsm_inter.c): Likewise.
447 (CFLAGS-xmount.c): Likewise.
448 (CFLAGS-xrusers.c): Likewise.
449 (CFLAGS-xspray.c): Likewise.
450 (CFLAGS-xnfs_prot.c): Likewise.
451 (CFLAGS-xrquota.c): Likewise.
452 (CFLAGS-xkey_prot.c): Likewise.
453 (CFLAGS-auth_unix.c): Likewise.
454 (CFLAGS-key_call.c): Likewise.
455 (CFLAGS-pmap_rmt.c): Likewise.
456 (CFLAGS-clnt_perr.c): Likewise.
457 (CFLAGS-openchild.c): Likewise.
458 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
459 (CFLAGS-msgsnd.c): Likewise.
460 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
461 * time/Makefile (CFLAGS-tzfile.c): Likewise.
462 (CFLAGS-tzset.c): Likewise.
463 (CFLAGS-getdate.c): Likewise.
464 (CFLAGS-test_time.c): Likewise.
465 (CPPFLAGS-tst-tzname.c): Likewise.
466 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
467 (CFLAGS-zic.c): Likewise.
468 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
469 (CFLAGS-wcswidth.c): Likewise.
470 (CFLAGS-wcstol.c): Likewise.
471 (CFLAGS-wcstoul.c): Likewise.
472 (CFLAGS-wcstoll.c): Likewise.
473 (CFLAGS-wcstoull.c): Likewise.
474 (CFLAGS-wcstod.c): Likewise.
475 (CFLAGS-wcstold.c): Likewise.
476 (CFLAGS-wcstof128.c): Likewise.
477 (CFLAGS-wcstof.c): Likewise.
478 (CFLAGS-wcstol_l.c): Likewise.
479 (CFLAGS-wcstoul_l.c): Likewise.
480 (CFLAGS-wcstoll_l.c): Likewise.
481 (CFLAGS-wcstoull_l.c): Likewise.
482 (CFLAGS-wcstod_l.c): Likewise.
483 (CFLAGS-wcstold_l.c): Likewise.
484 (CFLAGS-wcstof128_l.c): Likewise.
485 (CFLAGS-wcstof_l.c): Likewise.
486 (CPPFLAGS-tst-wchar-h.c): Likewise.
487 (CPPFLAGS-wcstold_l.c): Likewise.
489 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
491 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
493 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
494 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
496 * manual/tunables.texi (Hardware Capability Tunables): Document
497 glibc.tune.cached_memopt.
498 * sysdeps/powerpc/cpu-features.c: New file.
499 * sysdeps/powerpc/cpu-features.h: New file.
500 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
501 _dl_powerpc_cpu_features.
502 * sysdeps/powerpc/dl-tunables.list: New file.
503 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
504 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
505 (INIT_ARCH): Initialize use_aligned_memopt.
506 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
507 IS_IN(rtld))]: Restrict dl_platform_init availability and
508 initialize CPU features used by tunables.
509 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
510 Add memcpy-power8-cached.
511 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
512 __memcpy_power8_cached.
513 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
514 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
517 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
519 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
520 (CFLAGS-noinl-tester.c): Likewise.
521 (CFLAGS-tst-strlen.c): Likewise.
522 (CFLAGS-stratcliff.c): Likewise.
523 (CFLAGS-test-ffs.c): Likewise.
524 (CFLAGS-tst-inlcall.c): Likewise.
525 (CFLAGS-tst-xbzero-opt.c): Likewise.
526 (CFLAGS-memcpy.c): Likewise.
527 (CFLAGS-wordcopy.c): Likewise.
529 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
531 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
532 Store r15 on stack and add cfi rule.
533 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
536 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
539 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
542 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
544 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
545 Add s_sinf-sse2 and s_sinf-fma.
546 (CFLAGS-s_sinf-fma.c): New.
547 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
548 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
549 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
551 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
553 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
555 2017-12-07 Joseph Myers <joseph@codesourcery.com>
558 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
559 part of result to imaginary part of argument if it is zero and the
560 real part of the argument is not finite.
561 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
562 of result to real part of argument if it is zero and the imaginary
563 part of the argument is not finite.
565 2017-12-07 Mike FABIAN <mfabian@redhat.com>
568 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
569 and to the list of locales to be built for testing.
570 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
571 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
572 and build the collation rules upon that.
574 2017-12-07 Joseph Myers <joseph@codesourcery.com>
576 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
577 * manual/math.texi (Mathematics): Document support for _Float32.
578 * math/Makefile (test-types): Add float32.
579 * math/Versions (GLIBC_2.27): Add _Float32 functions.
580 * stdlib/Versions (GLIBC_2.27): Likewise.
581 * wcsmbs/Versions (GLIBC_2.27): Likewise.
582 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
583 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
584 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
585 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
586 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
587 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
588 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
589 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
590 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
591 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
592 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
593 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
594 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
595 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
596 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
597 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
598 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
599 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
600 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
601 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
602 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
604 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
605 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
606 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
607 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
608 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
626 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
627 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
628 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
629 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
630 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
631 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
632 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
633 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
634 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
635 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
636 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
638 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
640 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
642 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
644 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
645 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
646 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
647 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
648 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
649 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
650 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
651 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
653 2017-12-06 Joseph Myers <joseph@codesourcery.com>
655 * stdlib/strtof.c: Include <bits/floatn.h>
656 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
657 and later undefine as macro. Define as weak alias if
659 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
660 and later undefine as macro. Define as weak alias if
662 * stdlib/strtof_l.c: Include <bits/floatn.h>
663 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
664 and later undefine as macro. Define as weak alias if
666 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
667 and later undefine as macro. Define as weak alias if
670 * stdlib/strfromf.c: Include <bits/floatn.h>.
671 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
672 and later undefine as macro and define as weak alias.
674 * math/test-float32.h: New file.
676 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
677 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
678 (libm_alias_float_other_r): Create f32 alias.
679 (libm_alias_float_r): Use semicolon before call to
680 libm_alias_float_other_r.
682 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
683 second argument to libm_alias_float_other.
684 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
685 second argument to libm_alias_float_other.
686 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
687 argument to libm_alias_float_other.
690 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
691 real part of result for argument 0 + i * NaN.
692 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
693 results for tests of 0 + i * NaN.
695 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
697 * sysdeps/alpha/fpu/libm-test-ulps: Update.
699 2017-12-06 David S. Miller <davem@davemloft.net>
701 * sysdeps/sparc/fpu/libm-test-ulps: Update
702 exp_{downward,towardzero,upward} ulps.
704 2017-12-06 Joseph Myers <joseph@codesourcery.com>
706 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
709 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
711 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
713 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
715 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
718 2017-12-06 Mike FABIAN <mfabian@redhat.com>
721 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
722 and to the list of locales to be built for testing.
723 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
724 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
725 and build the collation rules upon that.
727 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
729 * NEWS: Add sinf to list of optimized functions.
731 2017-12-06 Joseph Myers <joseph@codesourcery.com>
733 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
734 (__HAVE_FLOAT32X): Likewise.
735 * manual/math.texi (Mathematics): Document support for _Float64
737 * math/Makefile (test-types): Add float64 and float32x.
738 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
740 * stdlib/Versions (GLIBC_2.27): Likewise.
741 * wcsmbs/Versions (GLIBC_2.27): Likewise.
742 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
743 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
744 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
745 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
746 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
747 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
748 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
749 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
750 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
751 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
752 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
753 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
754 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
755 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
756 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
757 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
758 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
759 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
760 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
761 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
762 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
764 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
765 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
766 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
767 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
768 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
785 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
786 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
787 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
788 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
789 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
790 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
791 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
792 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
793 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
794 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
795 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
797 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
799 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
801 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
803 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
804 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
805 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
806 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
807 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
808 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
809 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
810 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
812 2017-12-05 Joseph Myers <joseph@codesourcery.com>
814 * bits/floatn-common.h: Include <bits/long-double.h>.
815 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
816 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
817 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
818 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
819 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
820 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
821 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
822 (__builtin_huge_valf64): Use __builtin_huge_vall.
823 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
824 (__builtin_inff64): Use __builtin_infl.
825 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
826 (__builtin_nanf64): Use __builtin_nanl.
827 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
828 (__builtin_nansf64): Use __builtin_nansl.
830 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>,
831 Paul E. Murphy <murphyp@linux.vnet.ibm.com>,
832 Carlos O'Donnell <carlos@redhat.com>
834 * elf/dl-tunables.list: Add elision parameters.
835 * manual/tunables.texi: Add entries about elision tunable.
836 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
837 Add callback functions to dynamically enable/disable elision.
838 Add multiple callbacks functions to set elision parameters.
839 Deleted __libc_enable_secure check.
840 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
841 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
842 * configure: Regenerated.
843 * configure.ac: Option enable_lock_elision was deleted.
844 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
845 * config.make.in: Remove references to enable_lock_elision.
846 * manual/install.texi: Elision configure option was removed.
847 * INSTALL: Regenerated to remove enable_lock_elision.
849 Disable elision so it can verify error case for destroying a mutex.
850 * sysdeps/powerpc/nptl/elide.h:
851 Cleanup ENABLE_LOCK_ELISION check.
852 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
853 * sysdeps/s390/configure: Regenerated.
854 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
856 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
857 * sysdeps/powerpc/powerpc32/sysdep.h:
858 Deleted all ENABLE_LOCK_ELISION checks.
859 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
860 * sysdeps/powerpc/sysdep.h: Likewise.
861 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
862 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
863 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
864 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
865 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
866 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
869 2017-12-05 Joseph Myers <joseph@codesourcery.com>
871 * stdlib/strtod.c: Include <bits/floatn.h>.
872 (BUILD_DOUBLE): New macro.
873 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
874 (strtof64): Define and later undefine as macro. Define as weak
875 alias if [!USE_WIDE_CHAR].
876 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
877 (wcstof64): Define and later undefine as macro. Define as weak
878 alias if [USE_WIDE_CHAR].
879 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
880 (strtof32x): Define and later undefine as macro. Define as weak
881 alias if [!USE_WIDE_CHAR].
882 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
883 (wcstof32x): Define and later undefine as macro. Define as weak
884 alias if [USE_WIDE_CHAR].
885 * stdlib/strtod_l.c: Include <bits/floatn.h>.
886 (BUILD_DOUBLE): New macro.
887 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
888 (strtof64_l): Define and later undefine as macro. Define as weak
889 alias if [!USE_WIDE_CHAR].
890 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
891 (wcstof64_l): Define and later undefine as macro. Define as weak
892 alias if [USE_WIDE_CHAR].
893 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
894 (strtof32x_l): Define and later undefine as macro. Define as weak
895 alias if [!USE_WIDE_CHAR].
896 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
897 (wcstof32x_l): Define and later undefine as macro. Define as weak
898 alias if [USE_WIDE_CHAR].
900 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
902 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
903 (reduced): Use ones as double instead of integer.
905 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
907 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
909 2017-12-05 Joseph Myers <joseph@codesourcery.com>
911 * stdlib/strfromd.c: Include <bits/floatn.h>.
912 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
913 and later undefine as macro and define as weak alias.
914 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
917 * math/test-float32x.h: New file.
918 * math/test-float64.h: Likewise.
920 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
921 (libm_alias_double_other_r_f64): New macro.
922 (libm_alias_double_other_r_f32x): Likewise.
923 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
924 libm_alias_double_other_r_f32x.
925 (libm_alias_double_r): Use semicolon before call to
926 libm_alias_double_other_r.
927 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
929 (libm_alias_double_other_r_f64): New macro.
930 (libm_alias_double_other_r_f32x): Likewise.
931 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
932 libm_alias_double_other_r_f32x.
934 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
936 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
938 (SINF_FUNC): Likewise. Replace floor with simple casts.
940 2017-12-05 Mike FABIAN <mfabian@redhat.com>
943 * localedata/Makefile: Add et_EE.UTF-8 to test-input
944 and to the list of locales to be built for testing.
945 * localedata/et_EE.UTF-8.in: New file for testing the collation.
946 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
947 and build the collation rules upon that.
949 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
951 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
952 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
953 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
954 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
955 instead of __insn__xxx.
956 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
957 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
958 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
959 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
960 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
961 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
963 2017-12-05 Florian Weimer <fweimer@redhat.com>
965 Linux: Implement interfaces for memory protection keys
966 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
968 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
969 * support/xunistd.h (xsysconf): Declare.
970 * support/xraise.c: New file.
971 * support/xsigaction.c: Likewise.
972 * support/xsignal.c: Likewise.
973 * support/xsysconf.c: Likewise.
974 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
975 pkey_set, pkey_get, pkey_mprotect.
976 [misc] (tests): Add tst-pkey.
977 (tst-pkey): Link with -lpthread.
978 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
979 pkey_free, pkey_set, pkey_get, pkey_mprotect.
980 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
981 (PKEY_DISABLE_WRITE): Define.
982 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
984 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
986 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
987 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
988 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
989 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
991 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
992 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
993 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
994 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
995 * sysdeps/unix/sysv/linux/**.abilist: Update.
997 2017-12-05 Florian Weimer <fweimer@redhat.com>
999 * support/tst-test_compare.c (subprocess): Use long long instead
1000 of long argument for consistent type width across 32-bit and
1001 64-bit architectures.
1002 (do_test): Adjust expected output.
1004 2017-12-05 Joseph Myers <joseph@codesourcery.com>
1006 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
1007 (cosf): Define using libm_alias_float.
1008 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
1009 (fabsf): Define using libm_alias_float.
1010 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
1011 (fmaf): Define using libm_alias_float.
1012 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
1013 (rintf): Define using libm_alias_float.
1014 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
1015 (sinf): Define using libm_alias_float.
1016 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
1017 <libm-alias-float.h>.
1018 (modff): Define using libm_alias_float.
1019 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
1020 <libm-alias-float.h>.
1021 (logbf): Define using libm_alias_float.
1022 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
1023 <libm-alias-float.h>.
1024 (ceilf): Define using libm_alias_float.
1025 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
1026 <libm-alias-float.h>.
1027 (copysignf): Define using libm_alias_float.
1028 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
1029 <libm-alias-float.h>.
1030 (floorf): Define using libm_alias_float.
1031 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
1032 <libm-alias-float.h>.
1033 (llrintf): Define using libm_alias_float.
1034 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
1035 <libm-alias-float.h>.
1036 (llroundf): Define using libm_alias_float.
1037 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
1038 <libm-alias-float.h>.
1039 (lrintf): Define using libm_alias_float.
1040 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
1041 <libm-alias-float.h>.
1042 (lroundf): Define using libm_alias_float.
1043 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
1044 <libm-alias-float.h>.
1045 (nearbyintf): Define using libm_alias_float.
1046 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
1047 <libm-alias-float.h>.
1048 (rintf): Define using libm_alias_float.
1049 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
1050 <libm-alias-float.h>.
1051 (roundf): Define using libm_alias_float.
1052 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
1053 <libm-alias-float.h>.
1054 (truncf): Define using libm_alias_float.
1055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
1056 Include <libm-alias-float.h>.
1057 (ceilf): Define using libm_alias_float.
1058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
1059 Include <libm-alias-float.h>.
1060 (copysignf): Define using libm_alias_float.
1061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
1062 Include <libm-alias-float.h>.
1063 (floorf): Define using libm_alias_float.
1064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
1065 Include <libm-alias-float.h>.
1066 (llrintf): Define using libm_alias_float.
1067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
1068 Include <libm-alias-float.h>.
1069 (llroundf): Define using libm_alias_float.
1070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
1071 Include <libm-alias-float.h>.
1072 (logbf): Define using libm_alias_float.
1073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
1074 Include <libm-alias-float.h>.
1075 (lrintf): Define using libm_alias_float.
1076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
1077 Include <libm-alias-float.h>.
1078 (lroundf): Define using libm_alias_float.
1079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
1080 Include <libm-alias-float.h>.
1081 (modff): Define using libm_alias_float.
1082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
1083 Include <libm-alias-float.h>.
1084 (roundf): Define using libm_alias_float.
1085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
1086 Include <libm-alias-float.h>.
1087 (truncf): Define using libm_alias_float.
1088 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
1089 <libm-alias-float.h>.
1090 (llrintf): Define using libm_alias_float.
1091 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
1092 <libm-alias-float.h>.
1093 (llroundf): Define using libm_alias_float.
1094 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
1095 <libm-alias-float.h>.
1096 (ceilf): Define using libm_alias_float.
1097 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
1098 <libm-alias-float.h>.
1099 (floorf): Define using libm_alias_float.
1100 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
1101 <libm-alias-float.h>.
1102 (llroundf): Define using libm_alias_float.
1103 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
1104 <libm-alias-float.h>.
1105 (lroundf): Define using libm_alias_float.
1106 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
1107 <libm-alias-float.h>.
1108 (roundf): Define using libm_alias_float.
1109 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
1110 <libm-alias-float.h>.
1111 (truncf): Define using libm_alias_float.
1112 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
1113 <libm-alias-float.h>.
1114 (copysignf): Define using libm_alias_float.
1115 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
1116 <libm-alias-float.h>.
1117 (llrintf): Define using libm_alias_float.
1118 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
1119 <libm-alias-float.h>.
1120 (llroundf): Define using libm_alias_float.
1121 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
1122 <libm-alias-float.h>.
1123 (lrintf): Define using libm_alias_float.
1124 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
1125 <libm-alias-float.h>.
1126 (lroundf): Define using libm_alias_float.
1127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
1128 <libm-alias-float.h>.
1129 (ceilf): Define using libm_alias_float.
1130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
1131 <libm-alias-float.h>.
1132 (copysignf): Define using libm_alias_float.
1133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
1134 <libm-alias-float.h>.
1135 (cosf): Define using libm_alias_float.
1136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
1137 <libm-alias-float.h>.
1138 (floorf): Define using libm_alias_float.
1139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
1140 <libm-alias-float.h>.
1141 (llrintf): Define using libm_alias_float.
1142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
1143 <libm-alias-float.h>.
1144 (llroundf): Define using libm_alias_float.
1145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
1146 <libm-alias-float.h>.
1147 (logbf): Define using libm_alias_float.
1148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
1149 <libm-alias-float.h>.
1150 (modff): Define using libm_alias_float.
1151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
1152 <libm-alias-float.h>.
1153 (roundf): Define using libm_alias_float.
1154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
1155 <libm-alias-float.h>.
1156 (sinf): Define using libm_alias_float.
1157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
1158 <libm-alias-float.h>.
1159 (truncf): Define using libm_alias_float.
1160 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
1161 <libm-alias-float.h>.
1162 (ceilf): Define using libm_alias_float.
1163 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
1164 <libm-alias-float.h>.
1165 (copysignf): Define using libm_alias_float.
1166 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
1167 <libm-alias-float.h>.
1168 (floorf): Define using libm_alias_float.
1169 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
1170 <libm-alias-float.h>.
1171 (llrintf): Define using libm_alias_float.
1172 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
1173 <libm-alias-float.h>.
1174 (llroundf): Define using libm_alias_float.
1175 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
1176 <libm-alias-float.h>.
1177 (nearbyintf): Define using libm_alias_float.
1178 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
1179 <libm-alias-float.h>.
1180 (rintf): Define using libm_alias_float.
1181 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
1182 <libm-alias-float.h>.
1183 (roundf): Define using libm_alias_float.
1184 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
1185 <libm-alias-float.h>.
1186 (truncf): Define using libm_alias_float.
1187 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
1188 <libm-alias-float.h>.
1189 (ceilf): Define using libm_alias_float.
1190 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
1191 <libm-alias-float.h>.
1192 (floorf): Define using libm_alias_float.
1193 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
1194 <libm-alias-float.h>.
1195 (llroundf): Define using libm_alias_float.
1196 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
1197 <libm-alias-float.h>.
1198 (roundf): Define using libm_alias_float.
1199 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
1200 <libm-alias-float.h>.
1201 (truncf): Define using libm_alias_float.
1202 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
1203 <libm-alias-float.h>.
1204 (copysignf): Define using libm_alias_float.
1205 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
1206 <libm-alias-float.h>.
1207 (llrintf): Define using libm_alias_float.
1208 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
1209 <libm-alias-float.h>.
1210 (llroundf): Define using libm_alias_float.
1211 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
1212 <libm-alias-float.h>.
1213 (cosf): Define using libm_alias_float.
1214 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
1215 <libm-alias-float.h>.
1216 (llrintf): Define using libm_alias_float.
1217 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
1218 <libm-alias-float.h>.
1219 (llroundf): Define using libm_alias_float.
1220 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
1221 <libm-alias-float.h>.
1222 (sinf): Define using libm_alias_float.
1224 2017-12-04 Florian Weimer <fweimer@redhat.com>
1226 * support/check.h (TEST_COMPARE): Define.
1227 (support_test_compare_failure): Declare.
1228 * support/Makefile (libsupport-routines): Add
1229 support_test_compare_failure.
1230 (tests): Add tst-test_compare.
1231 * support /support_test_compare_failure.c: New file.
1232 * support/tst-test_compare.c: Likewise.
1234 2017-12-04 Mike FABIAN <mfabian@redhat.com>
1237 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
1238 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
1239 available, this rewrite of the collation rules does reproduce
1240 the test file in the same order.
1242 2017-12-04 Mike FABIAN <mfabian@redhat.com>
1245 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
1246 digraphs in the month and day names. Using single code points for
1247 digraphs is deprecated. While there are dedicated Unicode
1248 codepoints, for the digraphs, these are included for backwards
1249 compatibility and modern texts use a sequence of Basic Latin
1250 characters. See: https://www.unicode.org/faq/ligature_digraph.html
1251 This makes the month and day names agree exactly with CLDR now,
1252 CLDR does not use the single code points for the digraphs either.
1254 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
1256 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
1258 2017-12-04 Joseph Myers <joseph@codesourcery.com>
1260 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
1263 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
1265 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
1266 Define only for libc.so.
1268 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
1270 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1271 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
1272 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
1273 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
1274 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1276 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1279 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
1281 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
1284 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
1285 PREINIT_FUNCTION_WEAK is nonzero.
1286 (gmon_initializer): New function. Put procedure label for it in
1287 .init_array section.
1288 (_init): Don't call PREINIT_FUNCTION.
1289 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
1290 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
1291 value when map argument is null.
1293 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
1294 depi instruction from PIC pc-relative sequence.
1295 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
1296 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
1297 (elf_machine_load_address): Likewise.
1298 (elf_machine_runtime_setup): Likewise.
1300 2017-12-02 Joseph Myers <joseph@codesourcery.com>
1302 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
1303 <libm-alias-double.h>.
1304 (logb): Define using libm_alias_double.
1305 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
1306 <libm-alias-double.h>.
1307 (copysign): Define using libm_alias_double.
1308 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
1309 <libm-alias-double.h>.
1310 (llrint): Define using libm_alias_double.
1311 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
1312 <libm-alias-double.h>.
1313 (llround): Define using libm_alias_double.
1314 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
1315 <libm-alias-double.h>.
1316 (lrint): Define using libm_alias_double.
1317 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
1318 <libm-alias-double.h>.
1319 (lround): Define using libm_alias_double.
1320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
1321 Include <libm-alias-double.h>.
1322 (copysign): Define using libm_alias_double.
1323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
1324 Include <libm-alias-double.h>.
1325 (llrint): Define using libm_alias_double.
1326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
1327 Include <libm-alias-double.h>.
1328 (llround): Define using libm_alias_double.
1329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
1330 <libm-alias-double.h>.
1331 (logb): Define using libm_alias_double.
1332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
1333 Include <libm-alias-double.h>.
1334 (lrint): Define using libm_alias_double.
1335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
1336 Include <libm-alias-double.h>.
1337 (lround): Define using libm_alias_double.
1338 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
1339 <libm-alias-double.h>.
1340 (llrint): Define using libm_alias_double.
1341 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
1342 <libm-alias-double.h>.
1343 (llround): Define using libm_alias_double.
1344 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
1345 <libm-alias-double.h>.
1346 (llround): Define using libm_alias_double.
1347 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
1348 <libm-alias-double.h>.
1349 (lround): Define using libm_alias_double.
1350 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
1351 <libm-alias-double.h>.
1352 (copysign): Define using libm_alias_double.
1353 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
1354 <libm-alias-double.h>.
1355 (llrint): Define using libm_alias_double.
1356 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
1357 <libm-alias-double.h>.
1358 (llround): Define using libm_alias_double.
1359 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
1360 <libm-alias-double.h>.
1361 (lrint): Define using libm_alias_double.
1362 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
1363 <libm-alias-double.h>.
1364 (lround): Define using libm_alias_double.
1365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
1366 <libm-alias-double.h>.
1367 (copysign): Define using libm_alias_double.
1368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
1369 <libm-alias-double.h>.
1370 (llrint): Define using libm_alias_double.
1372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
1373 <libm-alias-double.h>.
1374 (llround): Define using libm_alias_double.
1376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
1377 <libm-alias-double.h>.
1378 (logb): Define using libm_alias_double.
1379 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
1380 <libm-alias-double.h>.
1381 (copysign): Define using libm_alias_double.
1382 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
1383 <libm-alias-double.h>.
1384 (llrint): Define using libm_alias_double.
1386 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
1387 <libm-alias-double.h>.
1388 (llround): Define using libm_alias_double.
1390 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
1391 <libm-alias-double.h>.
1392 (llround): Define using libm_alias_double.
1394 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
1395 <libm-alias-double.h>.
1396 (copysign): Define using libm_alias_double.
1397 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
1398 <libm-alias-double.h>.
1399 (llrint): Define using libm_alias_double.
1401 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
1402 <libm-alias-double.h>.
1403 (llround): Define using libm_alias_double.
1405 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
1406 <libm-alias-double.h>.
1407 (llrint): Define using libm_alias_double.
1409 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
1410 <libm-alias-double.h>.
1411 (llround): Define using libm_alias_double.
1414 2017-12-01 Joseph Myers <joseph@codesourcery.com>
1416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
1417 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
1418 compat symbol based on llround.
1420 * sysdeps/powerpc/power7/fpu/s_logb.c
1421 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
1422 symbol based on __logb, not on logb.
1423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
1424 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
1425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
1426 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
1428 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
1429 (rint): Define using libm_alias_double.
1430 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
1431 <libm-alias-double.h>.
1432 (modf): Define using libm_alias_double.
1433 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
1434 <libm-alias-double.h>.
1435 (ceil): Define using libm_alias_double.
1436 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
1437 <libm-alias-double.h>.
1438 (floor): Define using libm_alias_double.
1439 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
1440 <libm-alias-double.h>.
1441 (nearbyint): Define using libm_alias_double.
1442 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
1443 <libm-alias-double.h>.
1444 (rint): Define using libm_alias_double.
1445 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
1446 <libm-alias-double.h>.
1447 (round): Define using libm_alias_double.
1448 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
1449 <libm-alias-double.h>.
1450 (trunc): Define using libm_alias_double.
1451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
1452 <libm-alias-double.h>.
1453 (ceil): Define using libm_alias_double.
1454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
1455 Include <libm-alias-double.h>.
1456 (floor): Define using libm_alias_double.
1457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
1458 <libm-alias-double.h>.
1459 (modf): Define using libm_alias_double.
1460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
1461 Include <libm-alias-double.h>.
1462 (round): Define using libm_alias_double.
1463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
1464 Include <libm-alias-double.h>.
1465 (trunc): Define using libm_alias_double.
1466 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
1467 <libm-alias-double.h>.
1468 (ceil): Define using libm_alias_double.
1469 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
1470 <libm-alias-double.h>.
1471 (floor): Define using libm_alias_double.
1472 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
1473 <libm-alias-double.h>.
1474 (round): Define using libm_alias_double.
1475 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
1476 <libm-alias-double.h>.
1477 (trunc): Define using libm_alias_double.
1478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
1479 <libm-alias-double.h>.
1480 (ceil): Define using libm_alias_double.
1481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
1482 <libm-alias-double.h>.
1483 (floor): Define using libm_alias_double.
1484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
1485 <libm-alias-double.h>.
1486 (modf): Define using libm_alias_double.
1487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
1488 <libm-alias-double.h>.
1489 (round): Define using libm_alias_double.
1490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
1491 <libm-alias-double.h>.
1492 (trunc): Define using libm_alias_double.
1493 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
1494 <libm-alias-double.h>.
1495 (ceil): Define using libm_alias_double.
1496 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
1497 <libm-alias-double.h>.
1498 (floor): Define using libm_alias_double.
1499 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
1500 <libm-alias-double.h>.
1501 (nearbyint): Define using libm_alias_double.
1502 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
1503 <libm-alias-double.h>.
1504 (rint): Define using libm_alias_double.
1505 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
1506 <libm-alias-double.h>.
1507 (round): Define using libm_alias_double.
1508 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
1509 <libm-alias-double.h>.
1510 (trunc): Define using libm_alias_double.
1511 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
1512 <libm-alias-double.h>.
1513 (ceil): Define using libm_alias_double.
1514 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
1515 <libm-alias-double.h>.
1516 (floor): Define using libm_alias_double.
1517 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
1518 <libm-alias-double.h>.
1519 (round): Define using libm_alias_double.
1520 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
1521 <libm-alias-double.h>.
1522 (trunc): Define using libm_alias_double.
1524 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
1525 (fabs): Define using libm_alias_double.
1526 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
1527 (fma): Define using libm_alias_double.
1528 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
1529 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
1530 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
1531 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
1533 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1535 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
1537 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
1538 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
1539 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
1541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
1544 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
1546 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
1548 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1550 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
1551 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
1552 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
1553 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
1555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1556 (libm-sysdep_routines): Add s_nearbyintf-generic and
1557 s_nearbyint-generic.
1558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
1560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
1561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
1563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
1565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
1567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
1570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1571 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
1572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
1574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
1575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
1577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
1578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
1579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1582 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
1583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
1585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
1586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
1588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
1589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
1590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
1592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1593 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
1594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
1596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
1597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
1599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
1600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
1601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1604 (sysdep_calls): New rule.
1605 (sysdep_routines): Use sysdep_calls as base.
1606 (libm-sysdep_routines): Add generic rule for symbols shared with
1607 libc. Add s_copysign-generic and s_copysign-generic objects.
1608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
1610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
1611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
1613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
1614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
1615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
1617 2017-12-01 Mike FABIAN <mfabian@redhat.com>
1620 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
1621 the list of locales to be built for testing.
1622 * localedata/is_IS.UTF-8.in: New file.
1623 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
1626 2017-12-01 Joseph Myers <joseph@codesourcery.com>
1628 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
1629 <libm-alias-float.h>.
1630 (fabsf): Define using libm_alias_float.
1632 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
1634 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
1636 2017-11-30 Joseph Myers <joseph@codesourcery.com>
1638 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
1639 <libm-alias-float.h>.
1640 (fabsf): Define using libm_alias_float.
1641 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
1642 <libm-alias-float.h>.
1643 (lrintf): Define using libm_alias_float.
1644 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
1645 <libm-alias-float.h>.
1646 (rintf): Define using libm_alias_float.
1648 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
1649 <libm-alias-double.h>.
1650 (fabs): Define using libm_alias_double.
1651 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
1652 <libm-alias-double.h>.
1653 (lrint): Define using libm_alias_double.
1654 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
1655 <libm-alias-double.h>.
1656 (rint): Define using libm_alias_double.
1658 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
1659 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
1660 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
1661 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
1662 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
1663 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
1664 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
1665 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
1666 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
1667 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
1668 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
1669 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
1670 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
1671 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
1672 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
1673 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
1674 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
1675 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
1677 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
1678 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
1679 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
1681 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
1682 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
1683 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
1685 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
1686 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
1687 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
1689 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
1690 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
1691 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
1693 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
1694 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
1695 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
1697 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
1698 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
1699 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
1701 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
1702 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
1704 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
1705 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
1706 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
1708 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
1709 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
1710 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
1711 s_nearbyint_template.c.
1712 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
1713 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
1714 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
1715 s_remquo_template.c.
1716 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
1717 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
1718 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
1720 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
1721 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
1722 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
1724 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
1725 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
1726 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
1727 s_sincos_template.c.
1728 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
1729 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
1730 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
1732 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
1733 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
1734 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
1736 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
1737 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
1738 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
1740 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
1741 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
1742 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
1743 s_atan.c instead of including s_atan.c.
1744 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
1745 s_atanf.c instead of including s_atanf.c.
1746 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
1747 s_atanl.c instead of including s_atanl.c.
1748 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
1749 instead of s_atan.c.
1750 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
1751 instead of s_atanf.c.
1752 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
1753 instead of s_atanl.c.
1755 * scripts/update-copyrights: Do not handle intl/plural.c
1758 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
1761 * configure.ac (BISON): Require to be present.
1762 * configure: Regenerated.
1763 * intl/Makefile (generated): Add plural.c.
1764 [$(BISON) != no]: Make code unconditional.
1765 (plural.c): Change rule to $(objpfx)plural.c.
1766 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
1767 * intl/plural.c: Remove.
1768 * manual/install.texi (Tools for Compilation): Document bison as
1770 * INSTALL: Regenerated.
1772 2017-11-30 Joseph Myers <joseph@codesourcery.com>
1774 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
1775 <libm-alias-double.h>.
1776 (llrint): Define using libm_alias_double.
1777 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
1778 <libm-alias-float.h>.
1779 (llrintf): Define using libm_alias_float.
1780 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
1781 <libm-alias-ldouble.h>.
1782 (llrintl): Define using libm_alias_ldouble.
1784 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
1785 declare_mgen_alias instead of weak_alias.
1786 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
1787 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
1788 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
1790 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1792 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
1794 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
1795 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
1796 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
1798 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
1799 Add submul_1-generic.
1800 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
1801 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
1802 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
1804 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
1805 Add addmul_1-generic.
1806 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
1807 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
1808 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
1810 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
1812 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
1813 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
1814 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
1816 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
1818 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
1819 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
1820 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
1822 2017-11-30 Mike FABIAN <mfabian@redhat.com>
1824 According to CLDR, collation rules for Serbian and Bosnian
1825 should be the same as for Croatian.
1828 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
1829 and to the list of locales to be built for testing.
1830 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
1831 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
1832 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
1833 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
1835 2017-11-30 Mike FABIAN <mfabian@redhat.com>
1837 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
1838 to make test case pass.
1839 * localedata/hr_HR.UTF-8.in: Add more test strings.
1841 2017-11-30 Mike FABIAN <mfabian@redhat.com>
1843 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
1845 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
1847 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
1848 the list of locales to built for testing.
1849 * localedata/hr_HR.UTF-8.in: New file.
1851 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
1854 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
1856 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
1857 CLDR (except use ligatures for the digraphs, CLDR does not use
1858 the ligatures), add first_workday, some fixes in the date and time
1860 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
1862 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
1863 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
1864 Add int_p_cs_precedes and int_n_cs_precedes.
1865 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
1866 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
1868 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
1869 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
1871 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
1872 and lang_lib. Change postal_fmt.
1874 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
1876 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
1878 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
1879 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
1880 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
1881 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
1882 * sysdeps/generic/setjmpP.h: New file.
1883 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
1884 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
1885 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
1886 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
1887 Add jmp_buf-ssp.sym.
1888 (tests): Add tst-saved_mask-1.
1890 2017-11-30 Arjun Shankar <arjun@redhat.com>
1894 * malloc/malloc.c (__libc_malloc): Use checked_request2size
1895 instead of request2size.
1897 2017-11-30 Joseph Myers <joseph@codesourcery.com>
1899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
1900 (__lllrint): Remove alias.
1901 (lllrint): Likewise.
1902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
1903 (__lllrintf): Likewise.
1904 (lllrintf): Likewise.
1906 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
1907 <libm-alias-float.h>.
1908 (copysignf): Define using libm_alias_float.
1909 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
1910 <libm-alias-float.h>.
1911 (fabsf): Define using libm_alias_float.
1912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1913 Include <libm-alias-float.h>.
1914 (copysignf): Define using libm_alias_float.
1915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
1916 <libm-alias-float.h>.
1917 (fabsf): Define using libm_alias_float.
1918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
1919 <libm-alias-float.h>.
1920 (fdimf): Define using libm_alias_float.
1921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
1922 <libm-alias-float.h>.
1923 (fmaf): Define using libm_alias_float.
1924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
1925 <libm-alias-float.h>.
1926 (llrintf): Define using libm_alias_float.
1927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
1928 Include <libm-alias-float.h>.
1929 (nearbyintf): Define using libm_alias_float.
1930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
1931 <libm-alias-float.h>.
1932 (rintf): Define using libm_alias_float.
1933 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
1934 <libm-alias-float.h>.
1935 (llrintf): Define using libm_alias_float.
1936 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
1937 <libm-alias-float.h>.
1938 (lrintf): Define using libm_alias_float.
1939 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
1940 <libm-alias-float.h>.
1941 (nearbyintf): Define using libm_alias_float.
1942 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
1943 <libm-alias-float.h>.
1944 (rintf): Define using libm_alias_float.
1945 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
1946 <libm-alias-float.h>.
1947 (ceilf): Define using libm_alias_float.
1948 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
1949 <libm-alias-float.h>.
1950 (floorf): Define using libm_alias_float.
1951 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
1952 <libm-alias-float.h>.
1953 (fmaf): Define using libm_alias_float.
1954 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
1955 <libm-alias-float.h>.
1956 (lrintf): Define using libm_alias_float.
1957 (llrintf): Likewise.
1958 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
1959 <libm-alias-float.h>.
1960 (nearbyintf): Define using libm_alias_float.
1961 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
1962 <libm-alias-float.h>.
1963 (rintf): Define using libm_alias_float.
1964 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
1965 <libm-alias-float.h>.
1966 (truncf): Define using libm_alias_float.
1967 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
1968 <libm-alias-float.h>.
1969 (copysignf): Define using libm_alias_float.
1970 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
1971 <libm-alias-float.h>.
1972 (fabsf): Define using libm_alias_float.
1973 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
1974 <libm-alias-float.h>.
1975 (lrintf): Define using libm_alias_float.
1976 (llrintf): Likewise.
1977 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
1978 <libm-alias-float.h>.
1979 (nearbyintf): Define using libm_alias_float.
1980 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
1981 <libm-alias-float.h>.
1982 (rintf): Define using libm_alias_float.
1984 2017-11-29 Joseph Myers <joseph@codesourcery.com>
1986 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
1987 <libm-alias-double.h>.
1988 (copysign): Define using libm_alias_double.
1989 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
1990 <libm-alias-double.h>.
1991 (fabs): Define using libm_alias_double.
1992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1993 Include <libm-alias-double.h>.
1994 (copysign): Define using libm_alias_double.
1995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
1996 <libm-alias-double.h>.
1997 (fabs): Define using libm_alias_double.
1998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
1999 <libm-alias-double.h>.
2000 (fdim): Define using libm_alias_double.
2001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
2002 <libm-alias-double.h>.
2003 (fma): Define using libm_alias_double.
2004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
2005 <libm-alias-double.h>.
2006 (llrint): Define using libm_alias_double.
2007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
2008 Include <libm-alias-double.h>.
2009 (nearbyint): Define using libm_alias_double.
2010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
2011 <libm-alias-double.h>.
2012 (rint): Define using libm_alias_double.
2013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
2014 <libm-alias-double.h>.
2015 (fabs): Define using libm_alias_double.
2016 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
2017 <libm-alias-double.h>.
2018 (llrint): Define using libm_alias_double.
2019 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
2020 <libm-alias-double.h>.
2021 (nearbyint): Define using libm_alias_double.
2022 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
2023 <libm-alias-double.h>.
2024 (rint): Define using libm_alias_double.
2025 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
2026 <libm-alias-double.h>.
2027 (ceil): Define using libm_alias_double.
2028 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
2029 <libm-alias-double.h>.
2030 (floor): Define using libm_alias_double.
2031 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
2032 <libm-alias-double.h>.
2033 (fma): Define using libm_alias_double.
2034 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
2035 <libm-alias-double.h>.
2036 (lrint): Define using libm_alias_double.
2038 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
2039 <libm-alias-double.h>.
2040 (nearbyint): Define using libm_alias_double.
2041 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
2042 <libm-alias-double.h>.
2043 (rint): Define using libm_alias_double.
2044 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
2045 <libm-alias-double.h>.
2046 (trunc): Define using libm_alias_double.
2047 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
2048 <libm-alias-double.h>.
2049 (copysign): Define using libm_alias_double.
2050 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
2051 <libm-alias-double.h>.
2052 (fabs): Define using libm_alias_double.
2053 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
2054 <libm-alias-double.h>.
2055 (lrint): Define using libm_alias_double.
2057 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
2058 <libm-alias-double.h>.
2059 (nearbyint): Define using libm_alias_double.
2060 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
2061 <libm-alias-double.h>.
2062 (rint): Define using libm_alias_double.
2065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
2067 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
2069 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
2070 SPARC --disable-multi-arch glibc variants.
2072 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
2073 <libm-alias-float.h>.
2074 (exp2f): Define using libm_alias_float, or libm_alias_float_other
2076 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
2077 <libm-alias-float.h>.
2078 (exp2f): Define using libm_alias_float, or libm_alias_float_other
2080 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
2081 <libm-alias-float.h>.
2082 (exp2f): Define using libm_alias_float, or libm_alias_float_other
2084 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
2085 <libm-alias-float.h>.
2086 (exp2f): Define using libm_alias_float, or libm_alias_float_other
2088 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
2089 <libm-alias-float.h>.
2090 (exp2f): Define using libm_alias_float, or libm_alias_float_other
2092 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
2093 <libm-alias-float.h>.
2094 (ceilf): Define using libm_alias_float.
2095 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
2096 <libm-alias-float.h>.
2097 (floorf): Define using libm_alias_float.
2098 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
2099 <libm-alias-float.h>.
2100 (fmaf): Define using libm_alias_float.
2101 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
2102 <libm-alias-float.h>.
2103 (nearbyintf): Define using libm_alias_float.
2104 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
2105 <libm-alias-float.h>.
2106 (rintf): Define using libm_alias_float.
2107 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
2108 <libm-alias-float.h>.
2109 (truncf): Define using libm_alias_float.
2110 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
2111 (copysignf): Define using libm_alias_float.
2112 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
2113 (cosf): Define using libm_alias_float.
2114 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
2115 (fabsf): Define using libm_alias_float.
2116 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
2117 (fmaxf): Define using libm_alias_float.
2118 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
2119 (fminf): Define using libm_alias_float.
2120 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
2121 (llrintf): Define using libm_alias_float.
2122 [!__ILP32__] (lrintf): Likewise.
2123 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
2124 (sincosf): Define using libm_alias_float.
2125 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
2126 (sinf): Define using libm_alias_float.
2127 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
2128 (lrintf): Define using libm_alias_float.
2130 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
2131 <libm-alias-double.h>.
2132 (atan): Define using libm_alias_double.
2133 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
2134 <libm-alias-double.h>.
2135 (ceil): Define using libm_alias_double.
2136 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
2137 <libm-alias-double.h>.
2138 (floor): Define using libm_alias_double.
2139 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
2140 <libm-alias-double.h>.
2141 (fma): Define using libm_alias_double.
2142 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
2143 <libm-alias-double.h>.
2144 (nearbyint): Define using libm_alias_double.
2145 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
2146 <libm-alias-double.h>.
2147 (rint): Define using libm_alias_double.
2148 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
2149 <libm-alias-double.h>.
2150 (sin): Define using libm_alias_double.
2152 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
2153 <libm-alias-double.h>.
2154 (tan): Define using libm_alias_double.
2155 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
2156 <libm-alias-double.h>.
2157 (trunc): Define using libm_alias_double.
2158 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
2159 (copysign): Define using libm_alias_double.
2160 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
2161 (fabs): Define using libm_alias_double.
2162 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
2163 (fmax): Define using libm_alias_double.
2164 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
2165 (fmin): Define using libm_alias_double.
2166 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
2167 (llrint): Define using libm_alias_double.
2168 [!__ILP32__] (lrint): Likewise.
2169 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
2170 (lrint): Define using libm_alias_double.
2172 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2174 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
2175 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
2177 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
2178 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
2179 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
2180 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
2181 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
2182 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
2184 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
2185 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
2187 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
2188 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
2189 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
2190 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
2191 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
2192 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
2194 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
2195 (libm-sysdep_routines): Add s_nearbyint-generic and
2196 s_nearbyintf-generic objects.
2197 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
2198 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
2199 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
2200 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
2201 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
2202 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
2204 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
2205 Add s_finitef-generic and s_finite-generic objects.
2206 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
2207 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
2208 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
2209 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
2210 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
2211 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
2213 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
2214 Add s_isinff-generic and s_isinf-generic objects.
2215 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
2216 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
2217 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
2218 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
2219 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
2220 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
2222 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
2223 Add s_isnanf-generic and s_isnan-generic objects.
2224 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
2225 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
2226 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
2227 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
2228 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
2229 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
2231 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
2233 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
2235 (sysdep_routines): Use sysdep_calls as base.
2236 (libm-sysdep_routines): Add generic rule for symbols shared with
2237 libc. Add s_signbit-generic and s_signbitf-generic objects.
2238 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
2239 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
2240 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
2241 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
2242 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
2243 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
2245 2017-11-29 Joseph Myers <joseph@codesourcery.com>
2247 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
2248 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
2249 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
2250 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
2251 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
2252 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
2253 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
2254 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
2255 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
2256 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
2257 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
2258 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
2259 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
2261 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
2262 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
2264 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
2265 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
2266 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
2267 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
2268 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
2269 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
2270 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
2271 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
2272 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
2273 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
2275 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
2277 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
2278 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
2279 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
2280 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
2281 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
2282 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
2283 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
2284 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
2285 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
2286 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
2287 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
2288 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
2289 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
2290 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
2291 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
2292 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
2293 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
2294 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
2295 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
2297 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
2298 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
2299 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
2300 * sysdeps/ia64/fpu/w_lgammaf_main.c
2301 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
2302 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
2304 2017-11-28 Mike FABIAN <mfabian@redhat.com>, Alexandre Oliva <aoliva@redhat.com>
2307 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
2308 * localedata/fr_CA.UTF-8.in: New file with test data for backward
2310 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
2312 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
2313 * localedata/locales/de_DE (LC_COLLATE): Likewise.
2314 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
2315 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
2316 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
2317 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
2318 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
2319 instead of “ifdef DIACRIT_BACKWARD”.
2321 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2323 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
2324 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
2325 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
2326 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
2327 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
2328 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
2329 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
2330 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
2331 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
2332 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
2333 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
2334 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
2335 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
2336 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
2337 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
2338 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
2339 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
2340 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
2341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2342 ($(have-as-vis3) == yes): Remove conditional.
2343 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
2345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
2347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
2349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
2351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
2353 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
2354 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
2355 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
2356 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
2357 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
2358 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
2359 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
2360 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
2362 2017-11-29 Joseph Myers <joseph@codesourcery.com>
2364 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
2365 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
2366 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
2367 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
2368 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
2369 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
2370 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
2371 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
2372 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
2373 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
2374 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
2375 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
2376 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
2377 libm_alias_double_r.
2378 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
2380 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
2381 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
2382 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
2383 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
2384 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
2385 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
2386 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
2387 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
2388 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
2389 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
2390 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
2392 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
2394 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
2395 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
2396 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
2397 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
2398 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
2399 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
2400 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
2401 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
2402 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
2403 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
2404 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
2405 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
2406 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
2407 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
2408 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
2409 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
2410 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
2411 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
2413 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
2414 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
2415 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
2416 * sysdeps/ia64/fpu/w_lgamma_main.c
2417 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
2418 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
2420 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
2422 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
2423 address of $global$ into %dp register earlier. Use pc-relative
2424 instruction sequence for PIC case.
2426 2017-11-28 Joseph Myers <joseph@codesourcery.com>
2428 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
2429 (asinhf): Define using libm_alias_float.
2430 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
2431 (atanf): Define using libm_alias_float.
2432 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
2433 (cbrtf): Define using libm_alias_float.
2434 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
2435 (ceilf): Define using libm_alias_float.
2436 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
2437 (copysignf): Define using libm_alias_float.
2438 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
2439 (expm1f): Define using libm_alias_float.
2440 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
2441 (fabsf): Define using libm_alias_float.
2442 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
2443 (floorf): Define using libm_alias_float.
2444 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
2445 (fmaxf): Define using libm_alias_float.
2446 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
2447 (fminf): Define using libm_alias_float.
2448 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
2449 (frexpf): Define using libm_alias_float.
2450 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
2451 (llrintf): Define using libm_alias_float.
2452 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
2453 (logbf): Define using libm_alias_float.
2454 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
2455 (lrintf): Define using libm_alias_float.
2456 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
2457 (nearbyintf): Define using libm_alias_float.
2458 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
2459 (remquof): Define using libm_alias_float.
2460 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
2461 (rintf): Define using libm_alias_float.
2462 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
2463 (truncf): Define using libm_alias_float.
2464 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
2465 <libm-alias-float.h>.
2466 (exp2f): Define using libm_alias_float, or libm_alias_float_other
2468 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
2469 <libm-alias-float.h>.
2470 (expf): Define using libm_alias_float, or libm_alias_float_other
2472 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
2473 <libm-alias-float.h>.
2474 (log2f): Define using libm_alias_float, or libm_alias_float_other
2476 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
2477 <libm-alias-float.h>.
2478 (logf): Define using libm_alias_float, or libm_alias_float_other
2480 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
2481 <libm-alias-float.h>.
2482 (powf): Define using libm_alias_float, or libm_alias_float_other
2484 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
2485 <libm-alias-float.h>.
2486 (cosf): Define using libm_alias_float.
2487 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
2488 <libm-alias-float.h>.
2489 (sincosf): Define using libm_alias_float.
2490 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
2491 <libm-alias-float.h>.
2492 (sinf): Define using libm_alias_float.
2493 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
2494 (fmaxf): Define using libm_alias_float.
2495 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
2496 (fminf): Define using libm_alias_float.
2497 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
2498 <libm-alias-float.h>.
2499 (fmaf): Define using libm_alias_float.
2501 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
2502 (asinh): Define using libm_alias_double.
2503 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
2504 (atan): Define using libm_alias_double.
2505 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
2506 (cbrt): Define using libm_alias_double.
2507 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
2508 (ceil): Define using libm_alias_double.
2509 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
2510 (copysign): Define using libm_alias_double.
2511 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
2512 (expm1): Define using libm_alias_double.
2513 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
2514 (fabs): Define using libm_alias_double.
2515 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
2516 (fdim): Define using libm_alias_double.
2517 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
2518 (floor): Define using libm_alias_double.
2519 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
2520 (fmax): Define using libm_alias_double.
2521 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
2522 (fmin): Define using libm_alias_double.
2523 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
2524 (frexp): Define using libm_alias_double.
2525 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
2526 (llrint): Define using libm_alias_double.
2527 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
2528 (logb): Define using libm_alias_double.
2529 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
2530 (lrint): Define using libm_alias_double.
2531 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
2532 (nearbyint): Define using libm_alias_double.
2533 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
2534 (remquo): Define using libm_alias_double.
2535 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
2536 (rint): Define using libm_alias_double.
2537 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
2538 (trunc): Define using libm_alias_double.
2539 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
2540 (fmax): Define using libm_alias_double.
2541 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
2542 (fmin): Define using libm_alias_double.
2543 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
2544 (fma): Define using libm_alias_double.
2546 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
2549 * elf/dl-hwcaps.c (ROUND): Removed.
2550 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
2551 and ELF_NOTE_NEXT_OFFSET.
2552 * elf/dl-load.c (ROUND): Removed.
2553 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
2554 * elf/readelflib.c (ROUND): Removed.
2555 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
2556 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
2557 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
2558 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
2560 2017-11-28 Joseph Myers <joseph@codesourcery.com>
2562 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
2563 [!__fmaf] (fmaf): Define using libm_alias_float.
2565 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
2566 [!__fma] (fma): Define using libm_alias_double.
2567 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
2569 2017-11-28 Mike FABIAN <mfabian@redhat.com>
2572 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
2573 and implement the collation rules for cs from CLDR on top of that.
2574 * Makefile: Add cs_CZ.UTF-8 to test-input.
2575 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
2577 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
2579 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
2581 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
2582 Icarus Sparry <icarus.w.sparry@intel.com>
2584 * benchtests/Makefile:Add BENCHSET to allow subsets of
2585 benchmarks to be run.
2586 * benchtests/README: Add documentation for: Running subsets of
2589 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
2591 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
2592 range of tests names.
2594 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
2595 result from property and remove "max", min" and "mean" from
2596 required properties based on benchtests/bench-skeleton.c.
2598 2017-11-28 Florian Weimer <fweimer@redhat.com>
2601 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
2602 due to Internet requirement.
2603 * posix/Makefile (tests): Remove tst-getaddrinfo4,
2605 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
2607 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2609 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
2610 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
2611 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
2612 (sysdep_routines): Add memset-ultra1.
2613 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
2615 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
2616 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
2617 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
2618 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
2619 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
2620 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
2621 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
2622 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2624 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
2626 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
2627 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
2628 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
2629 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
2630 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
2631 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
2632 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
2634 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
2635 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
2636 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
2637 (sysdep_routines): Add memcpy-ultra1.
2638 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
2639 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
2641 2017-11-28 Joseph Myers <joseph@codesourcery.com>
2643 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
2644 (cfloat_versions): Take function argument without trailing 'f'.
2645 Call libm_alias_float_other.
2646 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
2647 * sysdeps/alpha/fpu/cargf.c: Likewise.
2648 * sysdeps/alpha/fpu/cimagf.c: Likewise.
2649 * sysdeps/alpha/fpu/conjf.c: Likewise.
2650 * sysdeps/alpha/fpu/crealf.c: Likewise.
2651 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
2652 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
2653 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
2654 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
2655 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
2656 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
2657 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
2658 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
2659 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
2660 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
2661 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
2662 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
2663 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
2664 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
2665 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
2666 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
2667 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
2668 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
2669 (clog10f): Use libm_alias_float_other.
2670 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
2671 (ceilf): Define using libm_alias_float.
2672 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
2673 (copysignf): Define using libm_alias_float.
2674 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
2675 (fabsf): Define using libm_alias_float.
2676 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
2677 (floorf): Define using libm_alias_float.
2678 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
2679 (fmaxf): Define using libm_alias_float.
2680 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
2681 (fminf): Define using libm_alias_float.
2682 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
2683 (lrintf): Define using libm_alias_float.
2684 (llrintf): Likewise.
2685 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
2686 (lroundf): Define using libm_alias_float.
2687 (llroundf): Likewise.
2688 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
2689 (rintf): Define using libm_alias_float.
2690 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
2691 (truncf): Define using libm_alias_float.
2693 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
2694 (ceilf): Define using libm_alias_float.
2695 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
2696 (floorf): Define using libm_alias_float.
2697 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
2698 (fmaf): Define using libm_alias_float.
2699 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
2700 (fmaxf): Define using libm_alias_float.
2701 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
2702 (fminf): Define using libm_alias_float.
2703 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
2704 (llrintf): Define using libm_alias_float.
2705 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
2706 (llroundf): Define using libm_alias_float.
2707 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
2708 (lrintf): Define using libm_alias_float.
2709 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
2710 (lroundf): Define using libm_alias_float.
2711 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
2712 <libm-alias-float.h>.
2713 (nearbyintf): Define using libm_alias_float.
2714 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
2715 (rintf): Define using libm_alias_float.
2716 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
2717 (roundf): Define using libm_alias_float.
2718 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
2719 (truncf): Define using libm_alias_float.
2721 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
2722 (ceil): Define using libm_alias_double.
2723 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
2724 (copysign): Define using libm_alias_double.
2725 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
2726 (fabs): Define using libm_alias_double.
2727 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
2728 (floor): Define using libm_alias_double.
2729 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
2730 (fmax): Define using libm_alias_double.
2731 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
2732 (fmin): Define using libm_alias_double.
2733 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
2734 (lrint): Define using libm_alias_double.
2736 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
2737 (lround): Define using libm_alias_double.
2738 (llround): Likewise.
2739 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
2740 (rint): Define using libm_alias_double.
2741 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
2742 (trunc): Define using libm_alias_double.
2744 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
2745 (libm_alias_double_r): Add semicolon after weak_alias call.
2747 2017-11-27 Joseph Myers <joseph@codesourcery.com>
2749 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
2750 (ceil): Define using libm_alias_double.
2751 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
2752 (floor): Define using libm_alias_double.
2753 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
2754 (fma): Define using libm_alias_double.
2755 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
2756 (fmax): Define using libm_alias_double.
2757 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
2758 (fmin): Define using libm_alias_double.
2759 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
2760 (llrint): Define using libm_alias_double.
2761 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
2762 (llround): Define using libm_alias_double.
2763 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
2764 (lrint): Define using libm_alias_double.
2765 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
2766 (lround): Define using libm_alias_double.
2767 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
2768 (nearbyint): Define using libm_alias_double.
2769 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
2770 (rint): Define using libm_alias_double.
2771 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
2772 (round): Define using libm_alias_double.
2773 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
2774 (trunc): Define using libm_alias_double.
2776 2017-11-27 Florian Weimer <fweimer@redhat.com>
2778 * sysdeps/unix/sysv/linux/mlock2.c: New file.
2779 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
2780 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
2781 (tests): Add tst-mlock2.
2782 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
2783 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
2784 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
2785 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
2786 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
2787 for mlock. Document mlock2.
2789 2017-11-27 Joseph Myers <joseph@codesourcery.com>
2791 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
2792 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
2794 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
2796 * sysdeps/x86/Makeconfig: New file.
2797 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
2798 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
2799 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
2800 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
2801 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
2802 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
2803 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
2805 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
2806 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
2807 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
2808 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
2809 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
2810 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
2811 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
2812 * manual/math.texi (Mathematics): Document support for _Float64x.
2813 * math/Versions (GLIBC_2.27): Add _Float64x functions.
2814 * stdlib/Versions (GLIBC_2.27): Likewise.
2815 * wcsmbs/Versions (GLIBC_2.27): Likewise.
2816 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
2817 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2818 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2819 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2820 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2821 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2822 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2823 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2824 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2825 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2826 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2831 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2832 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2833 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2834 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2835 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2836 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2837 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2838 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2839 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2840 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2841 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2842 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2843 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2844 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2846 2017-11-27 Andreas Schwab <schwab@suse.de>
2848 * elf/Makefile (dl-routines): Add dl-sort-maps.
2849 * elf/dl-sort-maps.c: New file.
2850 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
2851 (_dl_sort_maps): Declare.
2852 * elf/dl-fini.c (_dl_sort_fini): Remove.
2853 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
2854 * elf/dl-close.c (_dl_close_worker): Likewise.
2855 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
2857 * elf/dl-open.c (dl_open_worker): Likewise.
2859 2017-11-24 Joseph Myers <joseph@codesourcery.com>
2861 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
2862 using libm_alias_float128.
2863 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
2865 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
2867 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
2868 (setpayloadsigf128): Likewise.
2869 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
2871 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
2874 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
2875 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
2876 -mfloat128 to CFLAGS.
2878 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
2880 (CFLAGS-libm-test-support-float64x.c): New variable.
2881 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
2882 $(f128-loader-link) to gnulib-tests.
2884 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
2885 (libm_alias_float128_other_r): If
2886 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
2888 (libm_alias_float128_r): Add semicolon after weak_alias call.
2889 * sysdeps/generic/libm-alias-ldouble.h
2890 (libm_alias_ldouble_other_r_f128): New macro.
2891 (libm_alias_ldouble_other_r_f64x): Likewise.
2892 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
2893 and libm_alias_ldouble_other_r_f64x.
2894 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
2895 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
2896 (libm_alias_ldouble_other_r_f128): New macro.
2897 (libm_alias_ldouble_other_r_f64x): Likewise.
2898 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
2899 and libm_alias_ldouble_other_r_f64x.
2901 * stdlib/strfroml.c: Always include <stdlib.h>.
2902 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
2903 undefine as macro and define as weak alias.
2904 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
2905 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
2907 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
2908 Define and later undefine as macro and define as weak alias.
2910 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
2911 Define and later undefine as macro. Define as weak alias if
2913 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
2914 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
2915 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
2916 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
2917 Define and later undefine as macro. Define as weak alias if
2919 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
2920 Define and later undefine as macro. Define as weak alias if
2922 * sysdeps/ieee754/float128/strtof128_l.c
2923 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
2924 Define and later undefine as macro. Define as weak alias if
2926 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
2927 Define and later undefine as macro. Define as weak alias if
2929 * sysdeps/ieee754/ldbl-128/strtold_l.c
2930 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
2931 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
2932 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
2933 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
2934 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
2935 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
2936 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
2937 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
2938 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
2939 * sysdeps/ieee754/ldbl-96/strtold_l.c
2940 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
2941 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
2942 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
2943 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
2945 * math/test-float64x.h: New file.
2946 * math/Makefile (type-float64x-yes): New variable.
2947 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
2949 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
2950 function-like macro.
2951 (min_of_type_): Likewise.
2952 (min_of_type_l): Likewise.
2953 (min_of_type_f128): Likewise.
2954 (min_of_type): Pass () as last argument of __MATH_TG.
2956 * stdlib/tst-strtod-round-skeleton.c
2957 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
2960 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
2961 for combinations of long double with _Float64 and _Float64x.
2963 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
2964 (__DECL_SIMD_cosf32): Likewise.
2965 (__DECL_SIMD_cosf64): Likewise.
2966 (__DECL_SIMD_cosf32x): Likewise.
2967 (__DECL_SIMD_cosf64x): Likewise.
2968 (__DECL_SIMD_cosf128x): Likewise.
2969 (__DECL_SIMD_sinf16): Likewise.
2970 (__DECL_SIMD_sinf32): Likewise.
2971 (__DECL_SIMD_sinf64): Likewise.
2972 (__DECL_SIMD_sinf32x): Likewise.
2973 (__DECL_SIMD_sinf64x): Likewise.
2974 (__DECL_SIMD_sinf128x): Likewise.
2975 (__DECL_SIMD_sincosf16): Likewise.
2976 (__DECL_SIMD_sincosf32): Likewise.
2977 (__DECL_SIMD_sincosf64): Likewise.
2978 (__DECL_SIMD_sincosf32x): Likewise.
2979 (__DECL_SIMD_sincosf64x): Likewise.
2980 (__DECL_SIMD_sincosf128x): Likewise.
2981 (__DECL_SIMD_logf16): Likewise.
2982 (__DECL_SIMD_logf32): Likewise.
2983 (__DECL_SIMD_logf64): Likewise.
2984 (__DECL_SIMD_logf32x): Likewise.
2985 (__DECL_SIMD_logf64x): Likewise.
2986 (__DECL_SIMD_logf128x): Likewise.
2987 (__DECL_SIMD_expf16): Likewise.
2988 (__DECL_SIMD_expf32): Likewise.
2989 (__DECL_SIMD_expf64): Likewise.
2990 (__DECL_SIMD_expf32x): Likewise.
2991 (__DECL_SIMD_expf64x): Likewise.
2992 (__DECL_SIMD_expf128x): Likewise.
2993 (__DECL_SIMD_powf16): Likewise.
2994 (__DECL_SIMD_powf32): Likewise.
2995 (__DECL_SIMD_powf64): Likewise.
2996 (__DECL_SIMD_powf32x): Likewise.
2997 (__DECL_SIMD_powf64x): Likewise.
2998 (__DECL_SIMD_powf128x): Likewise.
3000 * stdlib/Versions (libc): Move entries for wcstof128 and
3002 * wcsmbs/Versions (libc): ... here.
3003 Include <float128-abi.h>.
3005 2017-11-24 Florian Weimer <fweimer@redhat.com>
3007 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3009 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
3010 <bits/mman-shared.h>.
3011 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
3013 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
3014 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
3015 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
3016 <bits/mman-shared.h>.
3018 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3021 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
3022 posix_memalign/free.
3023 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
3025 2017-11-22 Mike FABIAN <mfabian@redhat.com>
3028 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
3029 and implement the collation rules for pl from CLDR on top of that.
3030 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
3031 of locales to be built for testing.
3032 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
3034 2017-11-23 Joseph Myers <joseph@codesourcery.com>
3036 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
3037 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
3038 libm_alias_ldouble_other.
3039 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
3040 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
3041 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
3042 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
3043 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
3044 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
3045 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
3046 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
3047 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
3048 libm_alias_ldouble_r.
3049 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
3050 libm_alias_ldouble_other.
3051 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
3053 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
3054 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
3055 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
3056 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
3057 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
3058 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
3059 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
3061 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
3062 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
3063 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
3065 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
3067 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
3068 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
3069 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
3071 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
3072 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
3073 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
3074 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
3075 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
3076 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
3077 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
3078 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
3079 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
3080 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
3081 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
3083 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
3084 libm_alias_ldouble_other.
3085 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
3086 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
3087 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
3089 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
3090 libm_alias_ldouble_other.
3091 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
3092 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
3093 * sysdeps/ia64/fpu/w_lgammal_main.c
3094 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
3095 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
3097 2017-11-23 Florian Weimer <fweimer@redhat.com>
3099 * malloc/malloc.c (tcache_thread_shutdown): Rename from
3100 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
3101 alike. Remove freeres marker.
3102 * malloc/arena.c (arena_thread_freeres): Call
3103 tcache_thread_shutdown.
3105 2017-11-23 Florian Weimer <fweimer@redhat.com>
3108 Export nscd hash function as __nss_hash.
3109 * include/nss.h (__nss_hash): Declare.
3110 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
3112 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
3113 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
3115 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
3116 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
3117 * nss/Makefiles (routines): Add nss_hash.
3118 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
3119 * nss/nss_hash.c: Rename from nis/nis_hash.c.
3120 (__nss_hash): Rename from __nis_hash. Define hidden alias.
3121 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
3123 2017-11-23 Florian Weimer <fweimer@redhat.com>
3126 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
3127 Return error code, not -1.
3128 * signal/tst-sigwait-eintr.c: New file.
3129 * signal/Makefile (tests): Add tst-sigwait-eintr.
3131 2017-11-23 Florian Weimer <fweimer@redhat.com>
3133 Linux: Add memfd_create system call wrapper
3134 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
3136 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
3137 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
3138 [__USE_GNU] (memfd_create): Declare.
3139 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
3140 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
3141 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
3142 * sysdeps/unix/sysv/linux/**.abilist: Update.
3143 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
3145 2017-11-22 Joseph Myers <joseph@codesourcery.com>
3147 * localedata/gen-locale.sh: Fix typo in variable name.
3149 * resolv/res_debug.c (p_secstodate): Condition definition on
3150 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
3151 directly as __p_secstodate, and as a compat symbol. Do not use
3152 libresolv_hidden_def.
3153 * resolv/resolv.h (p_secstodate): Remove macro and function
3155 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
3157 * include/resolv.h (__p_secstodate): Do not use
3158 libresolv_hidden_proto.
3159 * resolv/Makefile (tests): Move tst-p_secstodate to ....
3160 (tests-internal): ... here.
3161 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
3162 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
3163 and declare and use __p_secstodate and use compat_symbol_reference
3165 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
3166 implementation returning 77.
3169 * resolv/res_debug.c: Include <libc-diag.h>.
3170 (p_secstodate): Assert time_t at least as wide as u_long. On
3171 overflow, use integer seconds since the epoch as output, or use
3172 "<overflow>" as output and set errno to EOVERFLOW if integer
3173 seconds since the epoch would be 14 or more characters.
3174 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
3176 * resolv/tst-p_secstodate.c: New file.
3177 * resolv/Makefile (tests): Add tst-p_secstodate.
3178 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
3180 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
3181 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
3182 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
3184 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
3186 * posix/regcomp.c (init_word_char): Add comments.
3188 2017-11-22 Joseph Myers <joseph@codesourcery.com>
3191 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
3192 strlen to compute length of ut_user and set trailing NUL byte of
3195 2017-11-21 Mike FABIAN <mfabian@redhat.com>
3198 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
3199 using “copy "iso14651_t1"” and then implementing the
3200 collation rules for lv from CLDR on top of that.
3201 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
3202 of locales to be built for testing.
3203 * lv_LV.UTF-8.in: New file with test data to test the Latvian
3206 2017-11-21 Joseph Myers <joseph@codesourcery.com>
3208 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
3209 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
3210 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
3211 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
3212 [__USE_MISC] (MADV_HWPOISON): New macro.
3213 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
3215 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3217 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
3218 -Wmissing-braces on GCC 4.9.
3220 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
3222 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
3223 * sysdeps/s390/s390-32/start.S (_start): Likewise
3224 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
3225 (thread_start): Likewise.
3226 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
3227 (thread_start): Likewise.
3228 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
3229 (__makecontext_ret): Likewise.
3230 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
3231 (__makecontext_ret): Likewise.
3233 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
3235 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
3236 __wcschrnul): Remove attribute_hidden.
3238 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
3240 regex: don't assume uint64_t or uint32_t
3241 This avoids -Werror=overflow errors for 32-bit systems in
3242 the 64-bit case. Problem reported by Joseph Myers in:
3243 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
3244 Also, when this code is used in Gnulib it ports to platforms
3245 that lack uint64_t and uint32_t. The C standard doesn't guarantee
3246 them, and on some 32-bit compilers there is no uint64_t.
3247 Problem reported by Gianluigi Tiesi in:
3248 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
3249 * posix/regcomp.c (init_word_char): Don't assume that the types
3250 uint64_t and uint32_t exist. Adapted from Gnulib patch
3251 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
3252 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
3254 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
3256 * sysdeps/aarch64/memset-reg.h: New file.
3257 * sysdeps/aarch64/memset.S: Use it.
3258 (__memset): Rename to MEMSET macro.
3259 [ZVA_MACRO]: Use zva_macro.
3260 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
3261 Add memset_generic and memset_falkor.
3262 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
3263 (__libc_ifunc_impl_list): Add memset ifuncs.
3264 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
3265 local variable zva_size.
3266 * sysdeps/aarch64/multiarch/memset.c: New file.
3267 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
3268 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
3269 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
3270 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
3271 (DCZID_DZP_MASK): New macro.
3272 (DCZID_BS_MASK): Likewise.
3273 (init_cpu_features): Read and set zva_size.
3274 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
3275 (struct cpu_features): New member zva_size.
3277 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
3278 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
3279 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
3281 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
3282 backwards. Fix timing computation.
3283 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
3284 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
3285 on memset by N at a time. Fix timing computation.
3287 2017-11-20 Florian Weimer <fweimer@redhat.com>
3289 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
3290 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
3292 2017-11-19 Florian Weimer <fweimer@redhat.com>
3294 manual: Document mprotect
3295 * manual/memory.texi (Memory Protection): New section.
3296 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
3297 documentation of PROT_* flags and reference the Memory Protection
3300 2017-11-19 Florian Weimer <fweimer@redhat.com>
3302 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
3303 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
3304 (Scatter-Gather): ... to here. Remove misleading comment.
3306 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
3308 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
3311 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
3312 when /proc/<pid>/setgroups does not exist.
3314 2017-11-18 Florian Weimer <fweimer@redhat.com>
3316 * sysdeps/unix/sysv/linux/tst-ttyname.c
3317 (become_root_in_mount_ns): Remove.
3318 (do_in_chroot_1): Call support_enter_mount_namespace.
3319 (do_in_chroot_2): Likewise.
3320 (do_test): Call support_become_root early.
3322 2017-11-18 Florian Weimer <fweimer@redhat.com>
3324 * support/namespace.h (support_enter_mount_namespace): Declare.
3325 * support/support_enter_mount_namespace.c: New file.
3326 * support/Makefile (libsupport-routines): Add
3327 support_enter_mount_namespace.
3329 2017-11-18 Florian Weimer <fweimer@redhat.com>
3331 * support/temp_file.c (support_create_temp_directory): Use
3332 test_dir and do not rely on the presence of the XXXXXX suffix.
3333 * support/temp_file.h (support_create_temp_directory): Update
3335 * support/tst-xreadlink.c (do_test): Adjust.
3336 * support/support_chroot.c (support_chroot_create): Likewise.
3338 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3340 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
3342 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
3345 2017-11-17 Joseph Myers <joseph@codesourcery.com>
3347 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
3348 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
3349 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
3350 (ceill): Define using libm_alias_ldouble.
3351 * sysdeps/x86_64/fpu/s_copysignl.S: Include
3352 <libm-alias-ldouble.h>.
3353 (copysignl): Define using libm_alias_ldouble.
3354 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
3355 (fabsl): Define using libm_alias_ldouble.
3356 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
3357 (floorl): Define using libm_alias_ldouble.
3358 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
3359 (fmaxl): Define using libm_alias_ldouble.
3360 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
3361 (fminl): Define using libm_alias_ldouble.
3362 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
3363 (llrintl): Define using libm_alias_ldouble.
3365 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
3366 <libm-alias-ldouble.h>.
3367 (nearbyintl): Define using libm_alias_ldouble.
3368 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
3369 (truncl): Define using libm_alias_ldouble.
3370 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
3371 <libm-alias-ldouble.h>.
3372 (lrintl): Define using libm_alias_ldouble.
3374 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
3375 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
3376 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
3377 (asinhl): Define using libm_alias_ldouble.
3378 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
3379 (atanl): Define using libm_alias_ldouble.
3380 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
3381 (cbrtl): Define using libm_alias_ldouble.
3382 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
3383 (ceill): Define using libm_alias_ldouble.
3384 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
3385 (copysignl): Define using libm_alias_ldouble.
3386 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
3387 (fabsl): Define using libm_alias_ldouble.
3388 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
3389 (floorl): Define using libm_alias_ldouble.
3390 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
3391 (fmaxl): Define using libm_alias_ldouble.
3392 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
3393 (fminl): Define using libm_alias_ldouble.
3394 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
3395 (frexpl): Define using libm_alias_ldouble.
3396 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
3397 (llrintl): Define using libm_alias_ldouble.
3398 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
3399 (logbl): Define using libm_alias_ldouble.
3400 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
3401 (lrintl): Define using libm_alias_ldouble.
3402 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
3403 (nearbyintl): Define using libm_alias_ldouble.
3404 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
3405 (nextafterl): Define using libm_alias_ldouble.
3406 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
3407 (remquol): Define using libm_alias_ldouble.
3408 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
3409 (rintl): Define using libm_alias_ldouble.
3410 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
3411 (truncl): Define using libm_alias_ldouble.
3412 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
3413 (fmaxl): Define using libm_alias_ldouble.
3414 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
3415 (fminl): Define using libm_alias_ldouble.
3417 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
3418 to C syntax instead of availability and properties of types.
3419 * bits/floatn.h [!__ASSEMBLER]: Likewise.
3420 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
3421 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
3422 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
3423 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
3424 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
3426 2017-11-17 Florian Weimer <fweimer@redhat.com>
3428 support_become_root: Enable file creation in namespaces.
3429 * support/support_become_root.c (setup_mapping): New function.
3430 (support_become_root): Call it.
3432 2017-11-17 Joseph Myers <joseph@codesourcery.com>
3434 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
3437 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3439 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
3440 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
3442 2017-11-16 Joseph Myers <joseph@codesourcery.com>
3444 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
3446 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
3449 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
3451 * INSTALL: Fix botched up regeneration.
3453 * NEWS: Update sourceare link to https.
3454 * configure.ac: Likewise.
3455 * crypt/md5test-giant.c: Likewise.
3456 * dlfcn/bug-atexit1.c: Likewise.
3457 * dlfcn/bug-atexit2.c: Likewise.
3458 * localedata/README: Likewise.
3459 * malloc/tst-mallocfork.c: Likewise.
3460 * manual/install.texi: Likewise.
3461 * nptl/tst-pthread-getattr.c: Likewise.
3462 * stdio-common/tst-fgets.c: Likewise.
3463 * stdio-common/tst-fwrite.c: Likewise.
3464 * sunrpc/Makefile: Likewise.
3465 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
3466 * wcsmbs/tst-mbrtowc2.c: Likewise.
3467 * configure: Regenerate.
3468 * INSTALL: Regenerate.
3470 2017-11-15 Martin Sebor <msebor@redhat.com>
3472 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
3473 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
3474 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
3476 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
3479 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
3480 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
3483 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
3484 Defer is_pty check until end of the function.
3485 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
3488 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
3489 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
3490 (ttyname): Likewise.
3491 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
3492 (__ttyname_r): Likewise.
3494 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
3497 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
3499 * manual/terminal.texi (Is It a Terminal):
3500 Mention ENODEV for ttyname and ttyname_r.
3502 2017-11-15 Joseph Myers <joseph@codesourcery.com>
3504 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
3507 * sysdeps/unix/sysv/linux/bits/mman-linux.h
3508 [__USE_MISC] (MADV_WIPEONFORK): New macro.
3509 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
3510 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
3511 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
3512 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
3514 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3516 * signal/sigrelse.c (sigrelse): Optimize implementation.
3518 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
3519 (__sigpause): Rely on __sigsuspend to implement single thread
3520 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
3522 2017-11-15 Joseph Myers <joseph@codesourcery.com>
3524 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3525 kernel version to 4.14.
3527 2017-11-15 Steve Ellcey <sellcey@cavium.com>
3530 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
3531 Check if ifname is too long.
3533 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
3535 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
3537 2017-11-15 Mike FABIAN <mfabian@redhat.com>
3539 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
3540 was accidentally lost.
3542 2017-11-15 Mike FABIAN <mfabian@redhat.com>
3544 * localedata/locales/az_IR: Add standard copyright header.
3546 2017-11-15 Florian Weimer <fweimer@redhat.com>
3549 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
3550 not just the top one. Output a new "subheaps" statistic.
3552 2017-11-15 Florian Weimer <fweimer@redhat.com>
3555 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
3556 under the per-arena lock.
3557 * malloc/Makefile (tests): Add tst-malloc_info.
3558 (tst-malloc_info): Link with libpthread.
3559 * malloc/tst-malloc_info.c: New file.
3561 2017-11-15 Joseph Myers <joseph@codesourcery.com>
3564 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
3565 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
3566 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
3567 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
3568 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
3569 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
3570 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
3571 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
3572 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
3573 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
3574 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
3575 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
3576 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
3577 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
3578 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
3579 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
3580 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
3581 (__floating_type): Likewise.
3582 (__real_integer_type): Likewise.
3583 (__complex_integer_type): Likewise.
3584 (__expr_is_real): Likewise.
3585 (__tgmath_real_type_sub): Likewise.
3586 (__tgmath_real_type): Likewise.
3587 (__tgmath_complex_type_sub): Likewise.
3588 (__tgmath_complex_type): Likewise.
3589 (__TGMATH_F128): Likewise.
3590 (__TGMATH_CF128): Likewise.
3591 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
3593 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
3594 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
3596 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
3598 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
3599 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
3600 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
3601 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
3603 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
3604 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
3606 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
3607 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
3608 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
3610 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
3611 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
3612 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
3616 2017-11-14 Joseph Myers <joseph@codesourcery.com>
3618 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
3619 for stpncpy calls for GCC 8.
3620 (test_strncat): Disable -Wstringop-truncation warning for strncat
3621 calls for GCC 8. Disable -Wstringop-overflow= warning for one
3622 strncat call for GCC 7.
3623 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
3625 (test_memcmp): Use memcpy instead of strncpy for calls not copying
3628 * string/bug-strncat1.c: Include <libc-diag.h>.
3629 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
3631 2017-11-13 Claude Paroz <claude@2xlibre.net>
3634 * localedata/locales/aa_DJ: Improved readibility by replacing
3635 <Uxxxx> sequences in the ASCII printable range by their ASCII
3636 character equivalents.
3637 * localedata/locales/aa_ER: Likewise.
3638 * localedata/locales/aa_ER@saaho: Likewise.
3639 * localedata/locales/aa_ET: Likewise.
3640 * localedata/locales/af_ZA: Likewise.
3641 * localedata/locales/agr_PE: Likewise.
3642 * localedata/locales/ak_GH: Likewise.
3643 * localedata/locales/am_ET: Likewise.
3644 * localedata/locales/anp_IN: Likewise.
3645 * localedata/locales/ar_AE: Likewise.
3646 * localedata/locales/ar_BH: Likewise.
3647 * localedata/locales/ar_DZ: Likewise.
3648 * localedata/locales/ar_EG: Likewise.
3649 * localedata/locales/ar_IN: Likewise.
3650 * localedata/locales/ar_IQ: Likewise.
3651 * localedata/locales/ar_JO: Likewise.
3652 * localedata/locales/ar_KW: Likewise.
3653 * localedata/locales/ar_LB: Likewise.
3654 * localedata/locales/ar_LY: Likewise.
3655 * localedata/locales/ar_MA: Likewise.
3656 * localedata/locales/ar_OM: Likewise.
3657 * localedata/locales/ar_QA: Likewise.
3658 * localedata/locales/ar_SA: Likewise.
3659 * localedata/locales/ar_SD: Likewise.
3660 * localedata/locales/ar_SS: Likewise.
3661 * localedata/locales/ar_SY: Likewise.
3662 * localedata/locales/ar_TN: Likewise.
3663 * localedata/locales/ar_YE: Likewise.
3664 * localedata/locales/as_IN: Likewise.
3665 * localedata/locales/ast_ES: Likewise.
3666 * localedata/locales/ayc_PE: Likewise.
3667 * localedata/locales/az_AZ: Likewise.
3668 * localedata/locales/az_IR: Likewise.
3669 * localedata/locales/be_BY: Likewise.
3670 * localedata/locales/be_BY@latin: Likewise.
3671 * localedata/locales/bem_ZM: Likewise.
3672 * localedata/locales/ber_DZ: Likewise.
3673 * localedata/locales/ber_MA: Likewise.
3674 * localedata/locales/bg_BG: Likewise.
3675 * localedata/locales/bhb_IN: Likewise.
3676 * localedata/locales/bho_IN: Likewise.
3677 * localedata/locales/bi_VU: Likewise.
3678 * localedata/locales/bn_BD: Likewise.
3679 * localedata/locales/bn_IN: Likewise.
3680 * localedata/locales/bo_CN: Likewise.
3681 * localedata/locales/bo_IN: Likewise.
3682 * localedata/locales/br_FR: Likewise.
3683 * localedata/locales/brx_IN: Likewise.
3684 * localedata/locales/bs_BA: Likewise.
3685 * localedata/locales/byn_ER: Likewise.
3686 * localedata/locales/ca_AD: Likewise.
3687 * localedata/locales/ca_ES: Likewise.
3688 * localedata/locales/ca_FR: Likewise.
3689 * localedata/locales/ca_IT: Likewise.
3690 * localedata/locales/ce_RU: Likewise.
3691 * localedata/locales/chr_US: Likewise.
3692 * localedata/locales/cmn_TW: Likewise.
3693 * localedata/locales/crh_UA: Likewise.
3694 * localedata/locales/cs_CZ: Likewise.
3695 * localedata/locales/csb_PL: Likewise.
3696 * localedata/locales/cv_RU: Likewise.
3697 * localedata/locales/cy_GB: Likewise.
3698 * localedata/locales/da_DK: Likewise.
3699 * localedata/locales/de_AT: Likewise.
3700 * localedata/locales/de_BE: Likewise.
3701 * localedata/locales/de_CH: Likewise.
3702 * localedata/locales/de_DE: Likewise.
3703 * localedata/locales/de_IT: Likewise.
3704 * localedata/locales/de_LI: Likewise.
3705 * localedata/locales/de_LU: Likewise.
3706 * localedata/locales/doi_IN: Likewise.
3707 * localedata/locales/dv_MV: Likewise.
3708 * localedata/locales/dz_BT: Likewise.
3709 * localedata/locales/el_CY: Likewise.
3710 * localedata/locales/el_GR: Likewise.
3711 * localedata/locales/en_AG: Likewise.
3712 * localedata/locales/en_AU: Likewise.
3713 * localedata/locales/en_BW: Likewise.
3714 * localedata/locales/en_CA: Likewise.
3715 * localedata/locales/en_DK: Likewise.
3716 * localedata/locales/en_GB: Likewise.
3717 * localedata/locales/en_HK: Likewise.
3718 * localedata/locales/en_IE: Likewise.
3719 * localedata/locales/en_IL: Likewise.
3720 * localedata/locales/en_IN: Likewise.
3721 * localedata/locales/en_NG: Likewise.
3722 * localedata/locales/en_NZ: Likewise.
3723 * localedata/locales/en_PH: Likewise.
3724 * localedata/locales/en_SG: Likewise.
3725 * localedata/locales/en_US: Likewise.
3726 * localedata/locales/en_ZA: Likewise.
3727 * localedata/locales/en_ZM: Likewise.
3728 * localedata/locales/en_ZW: Likewise.
3729 * localedata/locales/eo: Likewise.
3730 * localedata/locales/es_AR: Likewise.
3731 * localedata/locales/es_BO: Likewise.
3732 * localedata/locales/es_CL: Likewise.
3733 * localedata/locales/es_CO: Likewise.
3734 * localedata/locales/es_CR: Likewise.
3735 * localedata/locales/es_CU: Likewise.
3736 * localedata/locales/es_DO: Likewise.
3737 * localedata/locales/es_EC: Likewise.
3738 * localedata/locales/es_ES: Likewise.
3739 * localedata/locales/es_GT: Likewise.
3740 * localedata/locales/es_HN: Likewise.
3741 * localedata/locales/es_MX: Likewise.
3742 * localedata/locales/es_NI: Likewise.
3743 * localedata/locales/es_PA: Likewise.
3744 * localedata/locales/es_PE: Likewise.
3745 * localedata/locales/es_PR: Likewise.
3746 * localedata/locales/es_PY: Likewise.
3747 * localedata/locales/es_SV: Likewise.
3748 * localedata/locales/es_US: Likewise.
3749 * localedata/locales/es_UY: Likewise.
3750 * localedata/locales/es_VE: Likewise.
3751 * localedata/locales/et_EE: Likewise.
3752 * localedata/locales/eu_ES: Likewise.
3753 * localedata/locales/eu_ES@euro: Likewise.
3754 * localedata/locales/fa_IR: Likewise.
3755 * localedata/locales/ff_SN: Likewise.
3756 * localedata/locales/fi_FI: Likewise.
3757 * localedata/locales/fil_PH: Likewise.
3758 * localedata/locales/fo_FO: Likewise.
3759 * localedata/locales/fr_BE: Likewise.
3760 * localedata/locales/fr_CA: Likewise.
3761 * localedata/locales/fr_CH: Likewise.
3762 * localedata/locales/fr_FR: Likewise.
3763 * localedata/locales/fr_LU: Likewise.
3764 * localedata/locales/fur_IT: Likewise.
3765 * localedata/locales/fy_DE: Likewise.
3766 * localedata/locales/fy_NL: Likewise.
3767 * localedata/locales/ga_IE: Likewise.
3768 * localedata/locales/gd_GB: Likewise.
3769 * localedata/locales/gez_ER: Likewise.
3770 * localedata/locales/gez_ET: Likewise.
3771 * localedata/locales/gl_ES: Likewise.
3772 * localedata/locales/gu_IN: Likewise.
3773 * localedata/locales/gv_GB: Likewise.
3774 * localedata/locales/ha_NG: Likewise.
3775 * localedata/locales/hak_TW: Likewise.
3776 * localedata/locales/he_IL: Likewise.
3777 * localedata/locales/hi_IN: Likewise.
3778 * localedata/locales/hif_FJ: Likewise.
3779 * localedata/locales/hne_IN: Likewise.
3780 * localedata/locales/hr_HR: Likewise.
3781 * localedata/locales/hsb_DE: Likewise.
3782 * localedata/locales/ht_HT: Likewise.
3783 * localedata/locales/hu_HU: Likewise.
3784 * localedata/locales/hy_AM: Likewise.
3785 * localedata/locales/i18n: Likewise.
3786 * localedata/locales/ia_FR: Likewise.
3787 * localedata/locales/id_ID: Likewise.
3788 * localedata/locales/ig_NG: Likewise.
3789 * localedata/locales/ik_CA: Likewise.
3790 * localedata/locales/is_IS: Likewise.
3791 * localedata/locales/it_CH: Likewise.
3792 * localedata/locales/it_IT: Likewise.
3793 * localedata/locales/iu_CA: Likewise.
3794 * localedata/locales/ja_JP: Likewise.
3795 * localedata/locales/ka_GE: Likewise.
3796 * localedata/locales/kk_KZ: Likewise.
3797 * localedata/locales/kl_GL: Likewise.
3798 * localedata/locales/kn_IN: Likewise.
3799 * localedata/locales/ko_KR: Likewise.
3800 * localedata/locales/kok_IN: Likewise.
3801 * localedata/locales/ks_IN: Likewise.
3802 * localedata/locales/ks_IN@devanagari: Likewise.
3803 * localedata/locales/ku_TR: Likewise.
3804 * localedata/locales/kw_GB: Likewise.
3805 * localedata/locales/ky_KG: Likewise.
3806 * localedata/locales/lb_LU: Likewise.
3807 * localedata/locales/lg_UG: Likewise.
3808 * localedata/locales/li_BE: Likewise.
3809 * localedata/locales/li_NL: Likewise.
3810 * localedata/locales/lij_IT: Likewise.
3811 * localedata/locales/ln_CD: Likewise.
3812 * localedata/locales/lo_LA: Likewise.
3813 * localedata/locales/lt_LT: Likewise.
3814 * localedata/locales/lv_LV: Likewise.
3815 * localedata/locales/lzh_TW: Likewise.
3816 * localedata/locales/mag_IN: Likewise.
3817 * localedata/locales/mai_IN: Likewise.
3818 * localedata/locales/mg_MG: Likewise.
3819 * localedata/locales/mhr_RU: Likewise.
3820 * localedata/locales/mi_NZ: Likewise.
3821 * localedata/locales/mk_MK: Likewise.
3822 * localedata/locales/ml_IN: Likewise.
3823 * localedata/locales/mn_MN: Likewise.
3824 * localedata/locales/mni_IN: Likewise.
3825 * localedata/locales/mr_IN: Likewise.
3826 * localedata/locales/ms_MY: Likewise.
3827 * localedata/locales/mt_MT: Likewise.
3828 * localedata/locales/my_MM: Likewise.
3829 * localedata/locales/nan_TW: Likewise.
3830 * localedata/locales/nan_TW@latin: Likewise.
3831 * localedata/locales/nb_NO: Likewise.
3832 * localedata/locales/nds_DE: Likewise.
3833 * localedata/locales/nds_NL: Likewise.
3834 * localedata/locales/ne_NP: Likewise.
3835 * localedata/locales/nhn_MX: Likewise.
3836 * localedata/locales/niu_NU: Likewise.
3837 * localedata/locales/niu_NZ: Likewise.
3838 * localedata/locales/nl_AW: Likewise.
3839 * localedata/locales/nl_BE: Likewise.
3840 * localedata/locales/nl_NL: Likewise.
3841 * localedata/locales/nn_NO: Likewise.
3842 * localedata/locales/nr_ZA: Likewise.
3843 * localedata/locales/nso_ZA: Likewise.
3844 * localedata/locales/oc_FR: Likewise.
3845 * localedata/locales/om_ET: Likewise.
3846 * localedata/locales/om_KE: Likewise.
3847 * localedata/locales/or_IN: Likewise.
3848 * localedata/locales/os_RU: Likewise.
3849 * localedata/locales/pa_IN: Likewise.
3850 * localedata/locales/pa_PK: Likewise.
3851 * localedata/locales/pap_AW: Likewise.
3852 * localedata/locales/pap_CW: Likewise.
3853 * localedata/locales/pl_PL: Likewise.
3854 * localedata/locales/ps_AF: Likewise.
3855 * localedata/locales/pt_BR: Likewise.
3856 * localedata/locales/pt_PT: Likewise.
3857 * localedata/locales/quz_PE: Likewise.
3858 * localedata/locales/raj_IN: Likewise.
3859 * localedata/locales/ro_RO: Likewise.
3860 * localedata/locales/ru_RU: Likewise.
3861 * localedata/locales/ru_UA: Likewise.
3862 * localedata/locales/rw_RW: Likewise.
3863 * localedata/locales/sa_IN: Likewise.
3864 * localedata/locales/sat_IN: Likewise.
3865 * localedata/locales/sc_IT: Likewise.
3866 * localedata/locales/sd_IN: Likewise.
3867 * localedata/locales/sd_IN@devanagari: Likewise.
3868 * localedata/locales/se_NO: Likewise.
3869 * localedata/locales/sgs_LT: Likewise.
3870 * localedata/locales/shs_CA: Likewise.
3871 * localedata/locales/si_LK: Likewise.
3872 * localedata/locales/sid_ET: Likewise.
3873 * localedata/locales/sk_SK: Likewise.
3874 * localedata/locales/sl_SI: Likewise.
3875 * localedata/locales/sm_WS: Likewise.
3876 * localedata/locales/so_DJ: Likewise.
3877 * localedata/locales/so_ET: Likewise.
3878 * localedata/locales/so_KE: Likewise.
3879 * localedata/locales/so_SO: Likewise.
3880 * localedata/locales/sq_AL: Likewise.
3881 * localedata/locales/sq_MK: Likewise.
3882 * localedata/locales/sr_ME: Likewise.
3883 * localedata/locales/sr_RS: Likewise.
3884 * localedata/locales/sr_RS@latin: Likewise.
3885 * localedata/locales/ss_ZA: Likewise.
3886 * localedata/locales/st_ZA: Likewise.
3887 * localedata/locales/sv_FI: Likewise.
3888 * localedata/locales/sv_SE: Likewise.
3889 * localedata/locales/sw_KE: Likewise.
3890 * localedata/locales/sw_TZ: Likewise.
3891 * localedata/locales/szl_PL: Likewise.
3892 * localedata/locales/ta_IN: Likewise.
3893 * localedata/locales/ta_LK: Likewise.
3894 * localedata/locales/tcy_IN: Likewise.
3895 * localedata/locales/te_IN: Likewise.
3896 * localedata/locales/tg_TJ: Likewise.
3897 * localedata/locales/th_TH: Likewise.
3898 * localedata/locales/the_NP: Likewise.
3899 * localedata/locales/ti_ER: Likewise.
3900 * localedata/locales/ti_ET: Likewise.
3901 * localedata/locales/tig_ER: Likewise.
3902 * localedata/locales/tk_TM: Likewise.
3903 * localedata/locales/tl_PH: Likewise.
3904 * localedata/locales/tn_ZA: Likewise.
3905 * localedata/locales/to_TO: Likewise.
3906 * localedata/locales/tpi_PG: Likewise.
3907 * localedata/locales/tr_CY: Likewise.
3908 * localedata/locales/tr_TR: Likewise.
3909 * localedata/locales/ts_ZA: Likewise.
3910 * localedata/locales/tt_RU: Likewise.
3911 * localedata/locales/tt_RU@iqtelif: Likewise.
3912 * localedata/locales/ug_CN: Likewise.
3913 * localedata/locales/uk_UA: Likewise.
3914 * localedata/locales/unm_US: Likewise.
3915 * localedata/locales/ur_IN: Likewise.
3916 * localedata/locales/ur_PK: Likewise.
3917 * localedata/locales/uz_UZ: Likewise.
3918 * localedata/locales/uz_UZ@cyrillic: Likewise.
3919 * localedata/locales/ve_ZA: Likewise.
3920 * localedata/locales/vi_VN: Likewise.
3921 * localedata/locales/wa_BE: Likewise.
3922 * localedata/locales/wae_CH: Likewise.
3923 * localedata/locales/wal_ET: Likewise.
3924 * localedata/locales/wo_SN: Likewise.
3925 * localedata/locales/xh_ZA: Likewise.
3926 * localedata/locales/yi_US: Likewise.
3927 * localedata/locales/yo_NG: Likewise.
3928 * localedata/locales/yue_HK: Likewise.
3929 * localedata/locales/yuw_PG: Likewise.
3930 * localedata/locales/zh_CN: Likewise.
3931 * localedata/locales/zh_HK: Likewise.
3932 * localedata/locales/zh_SG: Likewise.
3933 * localedata/locales/zh_TW: Likewise.
3934 * localedata/locales/zu_ZA: Likewise.
3936 2017-11-13 Florian Weimer <fweimer@redhat.com>
3938 * support/next_to_fault.h, support/next_to_fault.c: New files.
3939 * support/Makefile (libsupport-routines): Add next_to_fault.
3940 * resolv/tst-inet_pton.c (struct next_to_fault)
3941 (next_to_fault_allocate, next_to_fault_free): Remove.
3942 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
3944 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
3946 * elf/dl-support.c: Include <dl-procruntime.c>.
3947 * include/link.h: Include <link_map.h>.
3948 * sysdeps/generic/dl-procruntime.c: New file.
3949 * sysdeps/generic/link_map.h: Likewise.
3950 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
3951 the writable ld.so namespace.
3953 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
3955 timezone: pacify GCC -Wstringop-truncation
3956 Problem reported by Martin Sebor in:
3957 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
3958 * timezone/zic.c (writezone): Use memcpy, not strncpy.
3960 2017-11-12 Florian Weimer <fweimer@redhat.com>
3962 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
3964 (tests): Add tst-xreadlink.
3965 * support/support.h (xstrndup): Declare.
3966 * support/xunistd.h (xunlink, xreadlink): Declare.
3967 * support/temp_file.h (support_create_temp_directory): Declare.
3968 * support/temp_file.c (support_create_temp_directory): New function.
3969 * support/support_chroot.c (support_chroot_create): Use it.
3970 * support/xreadlink.c: New file.
3971 * support/xstrndup.c: Likewise.
3972 * support/xunlink.c: Likewise.
3973 * support/tst-xreadlink.c: Likewise.
3975 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
3977 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
3979 2017-11-11 Florian Weimer <fweimer@redhat.com>
3983 * resolv/res_comp.c (printable_string, binary_hnok)
3984 (binary_leading_dash): New functions.
3985 (res_hnok): Reimplement using these functions and ns_name_pton.
3986 (res_ownok): Likewise.
3987 (res_mailok): Reimplement using printable_string, ns_name_pton and
3989 (res_dnok): Reimplement using printable_string and ns_name_pton.
3990 * resolv/tst-res_hnok.c (tests): Add additional tests.
3991 (LETTERDIGITS, PRINTABLE): Define.
3992 (do_test): Adjust one_char results.
3994 2017-11-11 Florian Weimer <fweimer@redhat.com>
3997 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
3998 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
4000 2017-11-11 Florian Weimer <fweimer@redhat.com>
4002 * resolv/tst-ns_name_pton.c: New file.
4003 * resolv/Makefile (tests): Add tst-ns_name_pton.
4004 (tst-ns_name_pton): Link against libresolv.
4006 2017-11-11 Florian Weimer <fweimer@redhat.com>
4008 * resolv/tst-res_hnok.c: New file.
4009 * resolv/Makefile (tests): Add tst-res_hnok.
4010 (tst-res_hnok): Link against libresolv.
4012 2017-11-11 Florian Weimer <fweimer@redhat.com>
4014 * resolv/tst-resolv-network.c: Use test framework instead explicit
4017 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
4019 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
4021 [!_ISOMAC] (STR_HELPER): New.
4022 [!_ISOMAC] (STR): Likewise.
4023 [!_ISOMAC] (TEST_SIZE): Likewise.
4024 [!_ISOMAC] (TEST_ALIGN): Likewise.
4025 [!_ISOMAC] (TEST_OFFSET): Likewise.
4026 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
4027 field offsets of jmp_buf as well as sigjmp_buf.
4028 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
4029 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
4030 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
4031 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
4032 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
4033 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
4034 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
4035 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
4036 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
4037 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
4039 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
4041 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
4042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
4044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
4046 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
4047 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
4048 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
4049 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
4050 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
4051 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
4053 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
4055 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
4056 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
4057 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
4059 2017-11-07 Joseph Myers <joseph@codesourcery.com>
4062 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4063 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
4064 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4065 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
4066 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4067 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
4068 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4069 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
4070 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4071 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
4072 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4073 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
4074 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4075 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
4076 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4077 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
4078 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4079 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
4080 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4081 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
4082 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4083 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
4084 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4085 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
4086 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4087 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
4088 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4089 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
4090 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4091 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
4092 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4093 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
4094 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4095 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
4096 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4097 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
4098 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4099 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
4100 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4101 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
4102 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4103 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
4104 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4105 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
4106 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4107 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
4108 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4109 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
4110 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4111 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
4112 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4113 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
4114 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4115 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
4116 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4117 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
4118 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4119 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
4120 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4121 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
4122 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4123 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
4124 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4125 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
4126 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4127 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
4128 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4129 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
4130 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4131 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
4132 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4133 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
4134 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4135 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
4136 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4137 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
4138 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4139 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
4140 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4141 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
4142 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4143 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
4144 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4145 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
4146 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4147 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
4148 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4149 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
4151 * stdlib/tst-strtod.h (F16): New macro.
4157 (IF_FLOAT16): Likewise.
4158 (IF_FLOAT32): Likewise.
4159 (IF_FLOAT64): Likewise.
4160 (IF_FLOAT32X): Likewise.
4161 (IF_FLOAT64X): Likewise.
4162 (IF_FLOAT128X): Likewise.
4163 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
4164 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
4165 (STRTOD_TEST_FOREACH): Likewise.
4166 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
4167 (CHOOSE_f64): Likewise.
4168 (CHOOSE_f32x): Likewise.
4169 (CHOOSE_f64x): Likewise.
4171 2017-11-07 Andreas Schwab <schwab@suse.de>
4173 * nptl/Makefile (tests-internal): Remove tst-typesizes.
4175 2017-11-07 Mike FABIAN <mfabian@redhat.com>
4178 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
4180 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
4183 2017-11-07 Claude Paroz <claude@2xlibre.net>
4186 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
4188 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
4190 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
4193 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4196 * nptl/allocatestack.c (allocate_stack): Check if
4197 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
4198 __PTHREAD_MUTEX_HAVE_PREV is defined.
4199 * nptl/descr.h (pthread): Likewise.
4200 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
4202 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
4203 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
4204 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
4205 * sysdeps/nptl/bits/thread-shared-types.h
4206 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
4208 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
4209 of __WORDSIZE for internal layout.
4210 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
4211 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
4212 instead of __WORDSIZE whether to use an union for __spins and __list
4214 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
4216 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
4217 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
4219 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
4220 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
4222 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
4223 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
4225 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
4226 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
4228 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
4229 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
4231 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
4232 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
4234 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
4235 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
4237 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
4238 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
4240 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
4241 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
4243 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
4244 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
4246 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
4247 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
4249 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
4250 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
4252 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
4253 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
4255 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
4256 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
4258 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
4259 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
4262 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
4264 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
4265 checks for expected input type size.
4266 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
4267 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
4269 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
4270 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
4271 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
4272 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
4273 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
4274 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
4275 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
4276 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
4277 superflous runtime assert check.
4278 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
4280 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
4282 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
4284 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
4286 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
4288 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
4290 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
4291 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
4292 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
4294 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
4296 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
4298 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
4300 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
4302 * nptl/pthread_attr_setinheritsched.c
4303 (__pthread_attr_setinheritsched): Likewise.
4304 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
4306 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
4308 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
4309 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
4310 __old_pthread_attr_setstack): Likewise.
4311 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
4313 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
4315 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
4317 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
4318 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
4320 * nptl/tst-typesizes.c: Remove file.
4322 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
4323 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
4324 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
4325 checks for internal pthread_mutex_t offsets.
4326 * sysdeps/aarch64/nptl/pthread-offsets.h
4327 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
4328 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
4329 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
4330 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
4331 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
4332 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
4333 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
4334 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
4335 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
4336 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
4337 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
4338 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
4339 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
4340 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
4341 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
4342 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
4343 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
4344 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
4346 2017-11-07 Florian Weimer <fweimer@redhat.com>
4348 * bits/mman-linux.h: Move ...
4349 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
4351 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
4354 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4356 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
4357 Redefine STRNLEN as __strnlen_power8.
4359 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4361 * signal/sighold.c (sighold): Optimize implementation.
4363 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
4364 __NR_rt_sigqueueinfo.
4366 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
4368 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
4369 assume __NR_rt_sigtimedwait.
4370 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
4371 and add LIBC_CANCEL_HANDLED for cancellation marking.
4372 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
4374 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
4375 (sysdeps_routines): Add memchr_noneon.
4376 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
4377 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
4378 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
4379 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
4380 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
4381 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
4382 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
4384 * sysdeps/arm/arm-ifunc.h: New file.
4385 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
4386 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
4387 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
4388 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
4389 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
4390 (__memcpy_neon): Avoid create hidden alias.
4391 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
4392 (__memcpy_vfp): Likewise.
4393 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
4394 (sysdep_routines): Add memcpy_arm.
4395 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
4397 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
4400 * Makerules (make-link-multidir): New.
4401 * config.make.in (multidir): New.
4402 * configure.ac (libc_cv_multidir): New. AC_SUBST.
4403 * configure: Regenerated.
4404 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
4405 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
4406 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
4409 2017-11-06 Joseph Myers <joseph@codesourcery.com>
4412 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
4413 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
4415 2017-11-04 Mike FABIAN <mfabian@redhat.com>
4417 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
4420 2017-11-04 Florian Weimer <fweimer@redhat.com>
4422 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
4424 2017-11-03 Joseph Myers <joseph@codesourcery.com>
4426 * math/math.h [__HAVE_DISTINCT_FLOAT16
4427 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
4428 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
4429 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
4430 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
4431 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
4432 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
4433 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
4434 (__MATH_TG_F32): New macro.
4435 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
4436 (__MATH_TG_F64X): Likewise.
4437 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
4438 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
4440 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
4442 * po/de.po: Update translations.
4443 * po/ru.po: Likewise.
4445 2017-11-03 Florian Weimer <fweimer@redhat.com>
4447 * manual/filesys.texi (Hard Links): Document linkat.
4449 2017-11-03 Joseph Myers <joseph@codesourcery.com>
4451 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
4452 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
4453 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
4454 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
4455 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
4456 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
4457 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
4458 the same as _Float128.
4459 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
4460 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
4461 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
4464 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
4466 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
4468 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
4470 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4471 (strtof32x): Likewise.
4472 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4473 (strtof64x): Likewise.
4474 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4475 (strtof128x): Likewise.
4476 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4477 (strfromf16): Likewise.
4478 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4479 (strfromf32): Likewise.
4480 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4481 (strfromf64): Likewise.
4482 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4483 (strfromf32x): Likewise.
4484 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4485 (strfromf64x): Likewise.
4486 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4487 (strfromf128x): Likewise.
4488 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
4489 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
4490 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
4491 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
4492 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
4493 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
4495 2017-11-03 Richard Henderson <rth@twiddle.net>
4497 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
4499 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
4501 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
4503 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
4505 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
4506 DT_TLSDESC_GOT initialization.
4507 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
4508 (_dl_tlsdesc_resolve_hold): Likewise.
4509 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
4510 (_dl_tlsdesc_resolve_hold): Likewise.
4511 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
4512 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
4514 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
4516 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
4518 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
4521 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
4522 non-lazily for R_ARM_TLS_DESC.
4524 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
4527 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
4528 R_ARM_TLS_DESC case.
4529 (elf_machine_lazy_rel): Remove the prelink check.
4531 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
4533 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
4534 DT_TLSDESC_GOT initialization.
4535 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
4536 (_dl_tlsdesc_resolve_rela): Likewise.
4537 (_dl_tlsdesc_resolve_hold): Likewise.
4538 (_dl_tlsdesc_undefweak): Remove ldar.
4539 (_dl_tlsdesc_dynamic): Likewise.
4540 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
4541 (_dl_tlsdesc_resolve_rela): Likewise.
4542 (_dl_tlsdesc_resolve_hold): Likewise.
4543 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
4544 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
4545 (_dl_tlsdesc_resolve_rela): Likewise.
4546 (_dl_tlsdesc_resolve_hold): Likewise.
4548 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
4550 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
4551 binding and initialization non-lazily for R_AARCH64_TLSDESC.
4553 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
4555 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
4556 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
4558 2017-11-02 Joseph Myers <joseph@codesourcery.com>
4560 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
4562 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
4563 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
4564 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
4565 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
4566 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
4567 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
4568 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
4569 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
4570 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
4571 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
4572 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
4574 2017-11-02 Mike FABIAN <mfabian@redhat.com>
4577 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
4578 * localedata/locales/tpi_PG: Add standard header.
4580 2017-11-02 Florian Weimer <fweimer@redhat.com>
4582 test-errno-linux: quotactl can fail with EPERM in containers.
4583 * sysdeps/unix/sysv/linux/test-errno-linux.c
4584 (LIST, LIST_FORWARD): New macros.
4585 (check_error_in_list): New function.
4586 (test_wrp_rv): Accept list of permitted error codes.
4587 (test_wrp_rv2): Remove.
4588 (test_wrp): Call test_wrp_rv with list of error codes.
4589 (test_wrp2): Accept list of error codes.
4590 (do_test): Adjust. Allow EPERM for quotactl.
4592 2017-11-02 Florian Weimer <fweimer@redhat.com>
4594 * stdio-common/bug16.c (do_test): Use array_length.
4595 * stdio-common/errlist.c (_sys_nerr): Likewise.
4596 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
4597 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
4598 * stdio-common/psiginfo.c (psiginfo): Use array_length.
4599 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
4600 (do_test): Use array_length.
4601 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
4602 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
4603 * stdio-common/tst-printf-round.c (do_test): Likewise.
4604 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
4605 (CHECK): Use array_length.
4606 * stdio-common/tstdiomisc.c (t3, F): Likewise.
4607 * stdio-common/tstscanf.c (main): Likewise.
4608 * stdio-common/vfprintf.c (process_string_arg): Likewise.
4610 2017-11-02 Florian Weimer <fweimer@redhat.com>
4612 Add array_length and array_end macros.
4613 * include/array_length.h: New file.
4615 2017-11-02 Florian Weimer <fweimer@redhat.com>
4618 * posix/tst-glob-tilde.c (do_noescape): New variable.
4619 (one_test): Process it.
4620 (do_test): Set do_noescape. Add unescaping test case.
4622 2017-11-01 Joseph Myers <joseph@codesourcery.com>
4625 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
4626 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
4627 with appropriate macros defined and undefined.
4628 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
4629 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
4630 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
4631 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
4632 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
4633 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
4634 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
4635 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
4636 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
4637 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
4640 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
4641 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
4642 that for long double. Do not condition define and undefine of
4643 _Mdouble_complex_ on [__CFLOAT128].
4645 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
4647 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
4648 of <sysdeps/generic/sysdep.h>.
4649 (ALIGNARG): Removed.
4650 (ASM_SIZE_DIRECTIVE): Likewise.
4653 (ENTRY_CHK): Likewise.
4654 (END_CHK): Likewise.
4655 (syscall_error): Likewise.
4657 (PSEUDO_END): Likewise.
4659 (atom_text_section): Likewise.
4660 * sysdeps/x86/sysdep.h: New file.
4661 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
4662 of <sysdeps/generic/sysdep.h>.
4663 (ALIGNARG): Removed.
4664 (ASM_SIZE_DIRECTIVE): Likewise.
4667 (ENTRY_CHK): Likewise.
4668 (END_CHK): Likewise.
4669 (syscall_error): Likewise.
4671 (PSEUDO_END): Likewise.
4673 (atom_text_section): Likewise.
4675 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
4677 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
4678 category of LC_CTYPE set to "i18n:2012".
4679 * localedata/locales/i18n_ctype: Regenerate.
4681 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
4683 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
4684 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
4685 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
4686 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
4688 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
4689 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
4690 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
4691 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
4693 2017-10-31 Joseph Myers <joseph@codesourcery.com>
4696 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
4698 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
4700 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
4702 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4703 (CMPLXF32X): Likewise.
4704 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4705 (CMPLXF64X): Likewise.
4706 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4707 (CMPLXF128X): Likewise.
4710 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
4711 (__MATH_EVAL_FMT2): Define to add 0.0f.
4713 2017-10-31 Alan Modra <amodra@gmail.com>
4715 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
4717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
4718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
4719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
4720 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
4721 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
4722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
4723 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
4724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
4725 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
4726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
4727 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
4728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
4729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
4730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
4731 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
4732 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
4733 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
4734 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
4735 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
4736 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
4737 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
4738 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
4739 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
4740 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
4741 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
4742 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
4743 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
4744 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
4745 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
4746 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
4747 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
4748 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
4749 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
4750 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
4751 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
4752 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
4753 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
4754 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
4755 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
4756 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
4757 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
4758 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
4759 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
4760 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
4761 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
4762 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
4763 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
4764 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
4765 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
4766 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
4767 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
4768 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
4769 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
4770 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
4771 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
4772 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
4773 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
4774 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
4775 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
4776 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
4777 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
4778 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
4779 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
4780 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
4781 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
4782 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
4783 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
4784 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
4785 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
4787 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
4788 include sysdep.h and math_ldbl_opt.h.
4790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
4791 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
4792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
4793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
4794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
4795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
4796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
4797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
4798 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
4799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
4800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
4801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
4802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
4803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
4804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
4805 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
4806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
4807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
4808 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
4809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
4810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
4811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
4812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
4813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
4814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
4815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
4817 2017-10-31 Alan Modra <amodra@gmail.com>
4819 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
4820 string/strncase_l.c, not string/strncase.c.
4821 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
4822 (libc_hidden_def): Redefine.
4824 2017-10-31 Alan Modra <amodra@gmail.com>
4826 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
4827 (__STRCMP, STRCMP, __strcasecmp_l): Define.
4828 (__strcasecmp): Don't define.
4830 2017-10-31 Alan Modra <amodra@gmail.com>
4832 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
4834 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
4835 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
4836 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
4838 2017-10-31 Alan Modra <amodra@gmail.com>
4840 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
4843 2017-10-31 Alan Modra <amodra@gmail.com>
4845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
4846 Redefine only when SHARED.
4848 2017-10-30 Joseph Myers <joseph@codesourcery.com>
4850 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
4851 Include <bits/math-finite.h> with appropriate macros defined and
4853 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
4854 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
4855 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
4856 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
4857 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
4859 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
4860 [!_Mlong_double_] (_Mlong_double_): Likewise.
4861 [!_Mfloat16_] (_Mfloat16_): Likewise.
4862 [!_Mfloat32_] (_Mfloat32_): Likewise.
4863 [!_Mfloat64_] (_Mfloat64_): Likewise.
4864 [!_Mfloat128_] (_Mfloat128_): Likewise.
4865 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
4866 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
4867 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
4868 (_Mdouble_): Define without indirection through those macros.
4869 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
4870 [!_Mfloat128_] (_Mfloat128_): Likewise.
4871 [_Mlong_double_] (_Mlong_double_): Likewise.
4872 (_Mdouble_): Define without indirection through those macros.
4873 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
4874 not add -D_Mlong_double_=double.
4875 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
4876 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
4878 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
4880 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
4882 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
4884 * sysdeps/x86/libc-start.c: Reformat.
4886 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
4889 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
4893 (L(Src2)): Likewise.
4894 (L(1)): Renamed to ...
4897 2017-10-30 Joseph Myers <joseph@codesourcery.com>
4899 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
4900 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
4901 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
4902 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
4903 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
4904 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
4905 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
4906 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
4907 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
4908 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
4909 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
4910 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
4911 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
4912 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
4913 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
4914 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
4915 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
4916 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
4917 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
4918 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
4919 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
4920 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
4921 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
4922 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
4923 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
4924 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
4925 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
4926 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
4927 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
4928 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
4929 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
4930 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
4931 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
4932 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
4933 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
4934 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
4935 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
4936 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
4937 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
4938 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
4939 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
4940 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
4941 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
4942 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
4943 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
4944 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
4945 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
4946 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
4947 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
4948 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
4949 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
4950 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
4951 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
4952 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
4953 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
4954 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
4955 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
4956 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
4957 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
4958 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
4959 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
4960 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
4961 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
4962 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
4963 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
4964 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
4966 2017-10-30 Florian Weimer <fweimer@redhat.com>
4968 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
4970 * io/tst-mkdirat.c (do_test): Likewise.
4971 * io/tst-mkfifoat.c (do_test): Likewise.
4972 * io/tst-mknodat.c (do_test): Likewise.
4973 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
4974 * locale/programs/locale.c (select_dirs): Likewise.
4975 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
4976 * posix/bug-glob2.c (my_readdir): Likewise.
4977 * posix/tst-dir.c (main): Likewise.
4978 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
4979 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
4981 2017-10-30 Florian Weimer <fweimer@redhat.com>
4983 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
4986 2017-10-30 Florian Weimer <fweimer@redhat.com>
4988 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
4989 Convert to support/test-driver.c.
4990 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
4991 New macro parameters.
4992 (PRINTF): Remove macro. Use test_verbose conditionals instead.
4993 * posix/tst-gnuglob.c: New file.
4994 * posix/tst-gnuglob64.c: Likewise.
4995 * posix/Makefile (tests): Add tst-gnuglob64.
4997 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
5000 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
5001 and use a better translation for March in “mon”.
5002 * localedata/locales/csb_PL: Use more ASCII to improve the
5003 readability of the source.
5005 2017-10-30 Mike FABIAN <mfabian@redhat.com>
5008 * localedata/locales/km_KH: Use ASCII as much
5009 as possible for better readability of the source and
5010 remove useless comments.
5011 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
5012 was commented out and apparently wrong anyway because it was
5013 using Lao characters. If Buddhist era should be used
5014 for km_KH, a native speaker should write the correct formaat
5016 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
5017 (According to CLDR, the first weekday for Cambodia is Sunday).
5018 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
5019 (These were using Lao characters which must be wrong. If we get
5020 the correct data from a native speaker, we could add it back, until
5021 then it is better not to have name_mr and name_mrs at all than
5024 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
5026 * locale/loadlocale.c: Correct size of
5027 _nl_value_type_LC_<category> arrays.
5029 2017-10-27 Joseph Myers <joseph@codesourcery.com>
5031 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
5032 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
5033 with appropriate macros defined and undefined.
5034 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
5035 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
5036 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
5037 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
5038 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
5040 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
5042 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
5045 2017-10-27 Mike FABIAN <mfabian@redhat.com>
5047 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
5048 with lowercase letters to make it agree with CLDR.
5050 2017-10-27 Mike FABIAN <mfabian@redhat.com>
5053 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
5054 first letters of yesstr and nostr in yesexpr and noexpr,
5055 not for the full words.
5056 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
5057 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
5058 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
5059 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
5060 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
5061 first letters of yesstr and nostr in yesexpr and noexpr,
5062 until now only English was matched in yesexpr and noexpr.
5063 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
5064 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
5065 fil but not for tl. As tl and fil are very similar, using fil
5066 is probably better than using English.
5068 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
5071 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
5072 in yesstr and nostr.
5074 2017-10-26 Joseph Myers <joseph@codesourcery.com>
5076 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
5077 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
5078 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
5080 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
5082 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
5084 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
5086 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5087 (SNANF128X): Likewise.
5089 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
5090 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
5091 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5092 (HUGE_VAL_F32): Likewise.
5093 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5094 (HUGE_VAL_F64): Likewise.
5095 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5096 (HUGE_VAL_F32X): Likewise.
5097 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5098 (HUGE_VAL_F64X): Likewise.
5099 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5100 (HUGE_VAL_F128X): Likewise.
5102 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
5104 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
5105 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
5106 for the br_FR locale.
5108 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
5111 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
5113 2017-10-25 Carlos O'Donell <carlos@redhat.com>
5115 * locale/programs/record-status.h: Define globals, and function
5116 prototypes. Move function bodies...
5117 * locale/programs/record-status.c: ... to here. New file.
5118 * iconv/Makefile (iconv_prog-modules): Add record-status.
5119 * locale/Makefile (lib-modules): Likewise.
5120 * iconv/iconv_prog.c: Remove verbose.
5121 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
5122 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
5123 record a warning about ASCII compatibility.
5124 * locale/programs/ld-monetary.c (monetary_finish): If
5125 warn_int_curr_symbol is true then record a warning about the symbol
5126 not being in our ISO 4217 list.
5127 * locale/programs/locale.c: Include record-status.h. Remove verbose.
5128 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
5129 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
5130 (OPT_NO_WARN): Define.
5132 (options): Add entry for --no-warnings, and --warnings.
5133 (set_warnings): New function to enable/disable warnings.
5134 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
5135 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
5136 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
5137 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
5138 Pass flags to generate_locale.
5139 (generate_locale): Accept new flag argument and pass it to localedef
5141 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
5142 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
5144 * localedata/Makefile (test-input-data): Use full file name.
5145 * localedata/da_DK.in: Rename to...
5146 * localedata/da_DK.ISO-8859-1.in: ...this.
5147 * localedata/de_DE.in: Rename to...
5148 * localedata/de_DE.ISO-8859-1.in: ...this.
5149 * localedata/en_US.in: Rename to...
5150 * localedata/en_US.ISO-8859-1.in: ...this.
5151 * localedata/fr_FR.in: Rename to...
5152 * localedata/fr_FR.UTF-8.in: ... this.
5153 * localedata/hr_HR.in: Rename to...
5154 * localedata/hr_HR.ISO-8859-2.in: ...this.
5155 * localedata/hu_HU.in: Rename to...
5156 * localedata/hu_HU.UTF-8.in: ...this.
5157 * localedata/si_LK.in: Rename to...
5158 * localedata/si_LK.UTF-8.in: ...this.
5159 * localedata/sv_SE.in: Rename to...
5160 * localedata/sv_SE.ISO-8859-1.in: ...this.
5161 * localedata/tr_TR.in: Rename to...
5162 * localedata/tr_TR.UTF-8.in: ...this.
5163 * localedata/uk_UA.in: Rename to...
5164 * localedata/uk_UA.UTF-8.in: ...this.
5165 * localedata/sort-test.sh: Test file is locale name with the
5168 * localedata/unicode-gen/Makefile (check_i18n): Rename to
5169 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
5171 * localedata/locales/i18n_ctype: Regenerate.
5172 * localedata/locales/tr_TR: Likewise.
5173 * localedata/locales/translit_circle: Likewise.
5174 * localedata/locales/translit_cjk_compat: Likewise.
5175 * localedata/locales/translit_combining: Likewise.
5176 * localedata/locales/translit_compat: Likewise.
5177 * localedata/locales/translit_font: Likewise.
5178 * localedata/locales/translit_fraction: Likewise.
5180 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5182 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
5183 lxvd2x/stxvd2x with lvx/stvx.
5184 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
5186 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
5188 * include/alloc_buffer.h: Replace "if if " with "if " in
5190 * sysdeps/mips/memcpy.S: Likkewise.
5191 * sysdeps/mips/memset.S: Likewise.
5192 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
5194 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
5196 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
5199 2017-10-25 Mike FABIAN <mfabian@redhat.com>
5202 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
5204 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
5205 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
5206 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
5207 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
5208 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
5209 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
5210 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
5212 2017-10-25 Mike FABIAN <mfabian@redhat.com>
5214 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
5215 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
5216 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
5217 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
5218 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
5219 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
5220 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
5221 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
5222 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
5223 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
5224 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
5225 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
5227 2017-10-25 Mike FABIAN <mfabian@redhat.com>
5229 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
5230 as possible for better readability of the source.
5231 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
5232 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
5233 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
5234 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
5235 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
5236 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
5237 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
5238 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
5239 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
5240 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
5241 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
5242 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
5243 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
5244 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
5245 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
5246 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
5247 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
5248 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
5249 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
5250 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
5251 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
5252 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
5253 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
5254 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
5255 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
5256 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
5257 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
5258 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
5259 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
5260 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
5261 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
5262 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
5263 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
5264 * localedata/locales/en_US (LC_MESSAGES): Likewise.
5265 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
5266 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
5267 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
5268 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
5269 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
5270 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
5271 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
5272 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
5273 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
5274 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
5275 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
5276 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
5277 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
5278 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
5279 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
5280 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
5281 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
5282 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
5283 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
5284 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
5285 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
5286 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
5287 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
5288 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
5289 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
5290 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
5291 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
5292 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
5293 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
5294 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
5295 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
5296 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
5297 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
5298 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
5299 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
5300 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
5301 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
5302 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
5303 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
5304 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
5305 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
5306 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
5307 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
5308 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
5309 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
5310 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
5311 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
5312 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
5313 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
5314 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
5315 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
5316 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
5317 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
5318 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
5319 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
5320 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
5321 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
5322 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
5323 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
5324 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
5325 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
5326 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
5327 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
5328 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
5329 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
5330 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
5331 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
5332 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
5333 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
5334 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
5335 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
5336 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
5337 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
5338 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
5339 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
5340 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
5341 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
5342 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
5343 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
5344 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
5345 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
5346 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
5347 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
5348 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
5349 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
5350 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
5351 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
5352 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
5353 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
5354 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
5355 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
5356 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
5357 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
5358 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
5359 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
5360 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
5361 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
5362 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
5363 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
5364 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
5365 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
5366 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
5367 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
5368 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
5369 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
5370 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
5371 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
5372 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
5373 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
5374 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
5375 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
5376 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
5377 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
5378 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
5379 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
5380 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
5381 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
5382 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
5383 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
5384 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
5385 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
5386 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
5387 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
5388 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
5389 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
5390 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
5391 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
5392 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
5393 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
5394 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
5395 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
5396 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
5397 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
5398 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
5399 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
5400 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
5401 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
5402 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
5403 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
5404 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
5406 2017-10-25 Mike FABIAN <mfabian@redhat.com>
5408 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
5409 (Use first letters of yesstr and nostr correctly instead of using
5412 2017-10-25 Mike FABIAN <mfabian@redhat.com>
5414 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
5415 (Use first letters of yesstr and nostr correctly).
5417 2017-10-25 Mike FABIAN <mfabian@redhat.com>
5419 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
5420 also check for the first characters of yesstr and nostr.
5421 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
5422 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
5424 2017-10-25 Mike FABIAN <mfabian@redhat.com>
5426 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
5427 also check for Chinese characters.
5429 2017-10-25 Mike FABIAN <mfabian@redhat.com>
5431 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
5432 match also for the contents of yesstr and nostr. As the first letter
5433 of yesstr and nostr is equal, checking only for the first letter
5436 2017-10-25 Mike FABIAN <mfabian@redhat.com>
5438 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
5439 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
5441 2017-10-25 Mike FABIAN <mfabian@redhat.com>
5443 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
5444 of main contributor.
5446 2017-10-25 Mike FABIAN <mfabian@redhat.com>
5448 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
5449 instead of using English.
5451 2017-10-25 Mike FABIAN <mfabian@redhat.com>
5453 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
5454 by including the first letters of nostr and yesexpr in the regexp.
5455 Also make it more readable by using ASCII where possible.
5457 2017-10-25 Mike FABIAN <mfabian@redhat.com>
5459 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
5460 the first letter of nostr in the regexp. It agrees with CLDR now.
5461 Also make it more readable by using ASCII where possible.
5463 2017-10-24 Mike FABIAN <mfabian@redhat.com>
5465 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
5466 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
5467 these strings contain a U+17D6 (which somewhat looks like a colon)
5468 instead of a real colon to separate the full words for “yes”
5469 and “no” from the single letter responses.
5471 2017-10-24 Mike FABIAN <mfabian@redhat.com>
5473 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
5474 it agree with CLDR (include the first letter of yesstr).
5475 Also make it more readable by using ASCII where possible.
5477 2017-10-24 Mike FABIAN <mfabian@redhat.com>
5479 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
5480 and improve yesexpr and noexpr. The yesstr and nostr apparently
5481 came from CLDR. And CLDR has a bug there: these strings contain
5482 a U+0903 (which looks like a colon) instead of a real colon
5483 to separate the full words for “yes” and “no” from the single
5486 2017-10-24 Mike FABIAN <mfabian@redhat.com>
5488 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
5489 letters of the full yesstr and nostr in yesexpr and noexpr.
5491 2017-10-24 Mike FABIAN <mfabian@redhat.com>
5493 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
5494 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
5495 * localedata/locales/an_ES: Make source more readable by using ASCII
5498 2017-10-24 Mike FABIAN <mfabian@redhat.com>
5501 * localedata/locales/yuw_PG: New file.
5502 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
5503 * locale/iso-639.def: Add Yau (Uruwa).
5505 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5507 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
5509 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5511 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
5512 (__libc_realloc): Likewise.
5513 (_mid_memalign): Likewise.
5514 (__libc_calloc): Likewise.
5516 2017-10-23 Mike FABIAN <mfabian@redhat.com>
5518 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
5519 by adding the generic +1 and -0 as in all other locales.
5520 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
5521 day names and make it more readable by using ASCII where possible.
5523 2017-10-24 Joseph Myers <joseph@codesourcery.com>
5525 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
5526 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
5528 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5530 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
5531 WNOHANG in waitpid call.
5533 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
5535 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
5536 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
5538 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
5539 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
5540 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
5541 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
5542 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
5543 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
5544 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
5545 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
5548 2017-10-23 Michael Collison <michael.collison@arm.com>
5550 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
5551 with __builtin_sqrt.
5552 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
5553 with __builtin_sqrtf.
5554 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
5555 with __builtin_ceil.
5556 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
5557 with __builtin_ceilf.
5558 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
5559 with __builtin_floor.
5560 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
5561 with __builtin_floorf.
5562 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
5564 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
5565 with __builtin_fmaf.
5566 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
5567 with __builtin_fmax.
5568 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
5569 with __builtin_fmaxf.
5570 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
5571 with __builtin_fmin.
5572 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
5573 with __builtin_fminf.
5574 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
5575 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
5576 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
5577 with builtin_rint and conversion to int.
5578 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
5579 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
5580 with builtin_llround.
5581 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
5582 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
5583 with builtin_rint and conversion to long int.
5584 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
5585 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
5586 with builtin_lround.
5587 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
5588 with builtin_lroundf.
5589 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
5590 statements with __builtin_nearbyint.
5591 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
5592 statements with __builtin_nearbyintf.
5593 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
5594 with __builtin_rint.
5595 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
5596 with __builtin_rintf.
5597 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
5598 with __builtin_round.
5599 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
5600 with __builtin_roundf.
5601 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
5602 with __builtin_trunc.
5603 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
5604 with __builtin_truncf.
5605 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
5606 and s_l[l]round[f].c too.
5608 2017-10-23 Alan Modra <amodra@gmail.com>
5610 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
5611 Adjust stack after restoring regs. Add missing LR cfi_restore.
5613 2017-10-23 Alan Modra <amodra@gmail.com>
5615 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
5616 Move LR save and frame setup/teardown and LR restore to
5617 immediately around memset call. Provide cfi.
5619 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
5621 * sysdeps/i386/fpu/e_powf.S: Removed.
5622 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
5623 * sysdeps/i386/fpu/w_powf.c: Likewise.
5624 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
5625 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
5626 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
5628 (CFLAGS-e_powf-sse2.c): New.
5629 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
5630 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
5632 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
5634 * sysdeps/i386/fpu/e_log2f.S: Removed.
5635 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
5636 * sysdeps/i386/fpu/w_log2f.c: Likewise.
5637 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
5638 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
5639 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
5641 (CFLAGS-e_log2f-sse2.c): New.
5642 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
5643 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
5645 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
5647 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5649 (CFLAGS-e_powf-fma.c): New.
5650 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
5651 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
5653 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
5655 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5657 (CFLAGS-e_log2f-fma.c): New.
5658 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
5659 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
5661 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
5663 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5665 (CFLAGS-e_logf-fma.c): New.
5666 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
5667 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
5669 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
5671 * sysdeps/i386/fpu/e_logf.S: Removed.
5672 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
5673 * sysdeps/i386/fpu/w_logf.c: Likewise.
5674 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
5675 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
5676 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
5677 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
5679 (CFLAGS-e_logf-sse2.c): New.
5680 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
5681 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
5683 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
5685 * sysdeps/i386/fpu/e_exp2f.S: Removed.
5686 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
5687 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
5688 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
5689 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
5691 (CFLAGS-e_exp2f-sse2.c): New.
5692 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
5693 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
5695 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
5697 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5699 (CFLAGS-e_exp2f-fma.c): New.
5700 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
5701 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
5703 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
5705 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
5706 * sysdeps/i386/fpu/e_expf.S: Likewise.
5707 * sysdeps/i386/fpu/math_errf.c: Likewise.
5708 * sysdeps/i386/fpu/w_expf.c: Likewise.
5709 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
5710 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
5711 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
5712 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
5713 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
5714 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
5716 (CFLAGS-e_expf-sse2.c): New.
5717 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
5718 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
5720 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
5722 * sysdeps/x86_64/fpu/e_expf.S: Removed.
5723 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
5724 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
5725 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
5727 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
5729 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
5730 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
5732 (__redirect_expf): This.
5733 (SYMBOL_NAME): Changed to expf.
5734 (__ieee754_expf): Renamed to ...
5736 (__GI___expf): This.
5737 (__ieee754_expf): Add strong_alias.
5738 (__expf_finite): Likewise.
5740 Include <sysdeps/ieee754/flt-32/e_expf.c>.
5742 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
5745 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
5748 2017-10-21 Florian Weimer <fweimer@redhat.com>
5750 * posix/Makefile (tests): Add tst-glob-tilde.
5751 (tests-special): Add tst-glob-tilde-mem.out
5752 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
5753 (tst-glob-tilde-mem.out): Add mtrace check.
5754 * posix/tst-glob-tilde.c: New file.
5756 2017-10-20 Joseph Myers <joseph@codesourcery.com>
5758 * bits/floatn-common.h: New file.
5759 * math/Makefile (headers): Add bits/floatn-common.h.
5760 * bits/floatn.h: Include <bits/floatn-common.h>.
5761 * sysdeps/ia64/bits/floatn.h: Likewise.
5762 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
5763 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
5764 * sysdeps/powerpc/bits/floatn.h: Likewise.
5765 * sysdeps/x86/bits/floatn.h: Likewise.
5767 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5769 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
5770 indicates whether compiler emits an warning for alias for
5771 functions with incompatible types.
5774 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
5775 the auxiliary process is terminated by a signal before calling _exit
5778 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
5781 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
5783 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
5784 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
5785 and bit_arch_XSAVEC_Usable if needed.
5786 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
5787 and bit_arch_Use_dl_runtime_resolve_opt.
5788 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
5790 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
5791 (bit_arch_Prefer_No_AVX512): Updated.
5792 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
5793 (bit_arch_XSAVEC_Usable): New.
5794 (STATE_SAVE_OFFSET): Likewise.
5795 (STATE_SAVE_MASK): Likewise.
5796 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
5797 (cpu_features): Add xsave_state_size and xsave_state_full_size.
5798 (index_arch_Use_dl_runtime_resolve_opt): Removed.
5799 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
5800 (index_arch_XSAVEC_Usable): New.
5801 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
5802 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
5803 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
5805 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
5806 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
5807 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
5808 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
5809 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
5810 _dl_runtime_resolve_xsavec.
5811 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
5813 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
5814 instead of VEC_SIZE.
5815 (REGISTER_SAVE_BND0): Removed.
5816 (REGISTER_SAVE_BND1): Likewise.
5817 (REGISTER_SAVE_BND3): Likewise.
5818 (REGISTER_SAVE_RAX): Always defined to 0.
5820 (_dl_runtime_resolve_avx): Likewise.
5821 (_dl_runtime_resolve_avx_slow): Likewise.
5822 (_dl_runtime_resolve_avx_opt): Likewise.
5823 (_dl_runtime_resolve_avx512): Likewise.
5824 (_dl_runtime_resolve_avx512_opt): Likewise.
5825 (_dl_runtime_resolve_sse): Likewise.
5826 (_dl_runtime_resolve_sse_vex): Likewise.
5828 (_dl_runtime_resolve_fxsave): Likewise.
5829 (USE_XSAVE): Likewise.
5830 (_dl_runtime_resolve_xsave): Likewise.
5831 (USE_XSAVEC): Likewise.
5832 (_dl_runtime_resolve_xsavec): Likewise.
5833 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
5835 (_dl_runtime_resolve_avx512_opt): Likewise.
5836 (_dl_runtime_resolve_avx): Likewise.
5837 (_dl_runtime_resolve_avx_opt): Likewise.
5838 (_dl_runtime_resolve_sse): Likewise.
5839 (_dl_runtime_resolve_sse_vex): Likewise.
5840 (_dl_runtime_resolve_fxsave): New.
5841 (_dl_runtime_resolve_xsave): Likewise.
5842 (_dl_runtime_resolve_xsavec): Likewise.
5844 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
5848 * posix/glob.c (__glob): Fix one-byte overflow.
5850 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
5852 * malloc/malloc.c (sysdep-cancel.h): Add include.
5854 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
5856 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
5858 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
5860 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
5861 (tests): Remove $(objpfx)ga_test depdendency.
5862 * resolv/ga_test.c: Remove file.
5864 2017-10-20 Mike FABIAN <mfabian@redhat.com>
5867 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
5868 * localedata/locales/kab_DZ: New file.
5870 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
5872 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
5873 _dl_relocate_static_pie instead of _dl_start to compute load
5874 address in static PIE.
5876 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
5878 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
5880 2017-10-20 Mike FABIAN <mfabian@redhat.com>
5883 * localedata/SUPPORTED: Add shn_MM/UTF-8.
5884 * localedata/locales/shn_MM: New file.
5886 2017-10-20 Florian Weimer <fweimer@redhat.com>
5889 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
5890 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
5891 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
5892 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
5893 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
5894 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
5896 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
5898 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5900 2017-10-19 Joseph Myers <joseph@codesourcery.com>
5902 * sysdeps/mips/ieee754/bits/floatn.h: New file.
5905 * sysdeps/mips/bits/long-double.h: Move to ....
5906 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
5908 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
5910 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
5912 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
5913 H.J. Lu <hongjiu.lu@intel.com>
5916 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
5917 GLRO(dl_platform) to NULL.
5918 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
5919 (modules-names): Add tst-platformmod-1 and
5920 x86_64/tst-platformmod-2.
5921 (CFLAGS-tst-platform-1.c): New.
5922 (CFLAGS-tst-platformmod-1.c): Likewise.
5923 (CFLAGS-tst-platformmod-2.c): Likewise.
5924 (LDFLAGS-tst-platformmod-2.so): Likewise.
5925 ($(objpfx)tst-platform-1): Likewise.
5926 ($(objpfx)tst-platform-1.out): Likewise.
5927 (tst-platform-1-ENV): Likewise.
5928 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
5929 * sysdeps/x86_64/tst-platform-1.c: New file.
5930 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
5931 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
5933 2017-10-19 Mike FABIAN <mfabian@redhat.com>
5936 * locale/iso-639.def: Add Karbi.
5937 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
5938 * localedata/locales/mjw_IN: New file.
5940 2017-10-18 Joseph Myers <joseph@codesourcery.com>
5942 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
5943 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
5944 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
5945 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
5946 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
5947 (libm_alias_ldouble_other_r): Also create _Float128 alias.
5948 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
5950 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
5951 (libm_alias_ldouble_other_r): Also create _Float128 alias.
5952 * manual/math.texi (Mathematics): Document additional architecture
5953 support for _Float128.
5954 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
5955 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5956 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5957 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5958 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5959 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5960 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5961 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5962 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5963 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5964 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5965 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5966 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5967 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5968 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5970 2017-10-18 Renlin Li <renlin.li@arm.com>
5972 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
5973 _DYNAMIC symbol to calculate load address.
5975 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
5977 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
5978 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
5980 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
5981 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
5983 2017-10-18 Mike FABIAN <mfabian@redhat.com>
5986 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
5987 and improve readability by using more ASCII.
5988 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
5989 and improve readability by using more ASCII.
5991 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
5993 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
5994 not all targets support atomics on bool.
5996 2017-10-17 Joseph Myers <joseph@codesourcery.com>
5998 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
5999 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
6001 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
6002 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
6003 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
6004 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
6005 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
6006 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
6008 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6010 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
6013 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
6016 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
6017 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
6018 (do_check_remalloced_chunk): Fix build bug.
6019 (do_check_malloc_state): Add assert that checks arena->top.
6020 (malloc_consolidate): Remove initialization.
6021 (int_mallinfo): Remove call to malloc_consolidate.
6022 (__libc_mallopt): Clarify why malloc_consolidate is needed.
6024 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
6026 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
6027 (have_fastchunks): Remove.
6028 (clear_fastchunks): Remove.
6029 (set_fastchunks): Remove.
6030 (malloc_state): Add have_fastchunks.
6031 (malloc_init_state): Use have_fastchunks.
6032 (do_check_malloc_state): Remove incorrect invariant checks.
6033 (_int_malloc): Use have_fastchunks.
6034 (_int_free): Likewise.
6035 (malloc_consolidate): Likewise.
6037 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
6039 * malloc/malloc.c (tcache_put): Inline.
6040 (tcache_get): Inline.
6042 2017-10-17 Jordi Mallach <jordi@gnu.org>
6044 Aurelien Jarno <aurelien@aurel32.net>
6046 * localedata/locales/ca_ES@valencia: New file.
6047 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
6049 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
6052 * math/math.h: Let signbit use the builtin in C++ mode with gcc
6055 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6057 * scripts/build-many-glibcs.py (Context.add_all_configs):
6058 Add arm-linux-gnueabihf multiarch extra_glibcs.
6060 * sysdeps/generic/ifunc-init.h: New file.
6061 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
6063 2017-10-17 Mike FABIAN <mfabian@redhat.com>
6066 * localedata/locales/el_GR: Set n_cs_precedes to 0.
6067 * localedata/locales/el_CY: copy "el_GR" because it is identical.
6068 * stdlib/tst-strfmon_l.c: adapt test case.
6070 2017-10-16 Joseph Myers <joseph@codesourcery.com>
6072 * sysdeps/generic/float128-abi.h: New file.
6073 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
6074 non-__prefixed symbols to ....
6075 * math/Versions: ... here. Include <float128-abi.h>.
6076 * stdlib/Versions ... and here. Include <float128-abi.h>
6078 2017-10-16 Florian Weimer <fweimer@redhat.com>
6080 * version.h (VERSION): Switch to ".9000" as the development
6083 2017-10-16 Florian Weimer <fweimer@redhat.com>
6086 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
6087 compat_symbol_reference to access non-default version.
6089 2017-10-16 Florian Weimer <fweimer@redhat.com>
6091 * malloc/Makefile (others-extras): Set to mcheck-init.o.
6093 2017-10-16 Carlos O'Donell <carlos@redhat.com>
6095 * include/shlib-compat.h (compat_symbol_reference): Update
6098 2017-10-16 Joseph Myers <joseph@codesourcery.com>
6100 * math/Makefile (test-types): Add
6101 $(type-float128-$(float128-alias-fcts)).
6102 * math/test-float128.h (TYPE_STR): Define conditional on
6103 [FLT128_MANT_DIG == LDBL_MANT_DIG].
6104 (ULP_IDX): Likewise.
6105 (ULP_I_IDX): Likewise.
6107 * stdlib/strtold.c: Include <bits/floatn.h>
6108 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
6109 and later undefine as macro. Define as weak alias if
6111 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
6112 and later undefine as macro. Define as weak alias if
6114 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
6115 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
6116 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
6117 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
6118 Define and later undefine as macro. Define as weak alias if
6120 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
6122 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
6123 Define and later undefine as macro. Define as weak alias if
6125 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
6126 Define and later undefine as macro. Define as weak alias if
6129 2017-10-15 Carlos O'Donell <carlos@redhat.com>
6131 * localedata/collate-test.c (allocate_arrays): Don't use \n in
6132 record_verbose messages.
6134 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
6137 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
6138 to silence -O3 -Wall warning with GCC 7.
6140 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
6142 * Makeconfig (+link-static-before-libc): Use the first of
6143 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
6144 * gmon/Makefile (tests): Add tst-gmon-static.
6145 (tests-static): Likewise.
6146 (CFLAGS-tst-gmon-static.c): New.
6147 (CRT-tst-gmon-static): Likewise.
6148 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
6149 (tst-gmon-static-ENV): Likewise.
6150 (tests-special): Likewise.
6151 ($(objpfx)tst-gmon-static.out): Likewise.
6152 (clean-tst-gmon-static-data): Likewise.
6153 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
6154 * gmon/tst-gmon-static-gprof.sh: New file.
6155 * gmon/tst-gmon-static.c: Likewise.
6157 2017-10-13 Carlos O'Donell <carlos@redhat.com>
6160 * locale/programs/linereader.c (get_string): Don't warn on
6161 non-symbolic character.
6164 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
6168 * locale/programs/record-status.h: New file
6169 * locale/programs/locale.c: Add comment.
6170 * locale/programs/charmap-dir.c: Don't include error.h.
6171 (charmap_opendir): Use record_error.
6172 * locale/programs/charmap.c: Don't include error.h.
6173 (charmap_read): Use record_error, and record_warning.
6174 (parse_charmap): Likewise.
6175 * locale/programs/ld-address.c: Don't include error.h.
6176 (address_finish): Use record_error, and record_warning.
6177 * locale/programs/ld-collate.c: Don't include error.h.
6178 (collate_finish): Use record_error, and record_error_at_line.
6179 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
6180 (ctype_class_new): Likewise.
6181 (ctype_map_new): Likewise.
6182 (set_one_default): Likewise.
6183 (set_class_defaults): Likewise.
6184 (translit_flatten): Likewise.
6185 (allocate_arrays): Use record_error, and record_verbose.
6186 * locale/programs/ld-identification.c: Don't include error.h.
6187 (indentation_finish): Use record_error and record_warning.
6188 * locale/programs/ld-measurement.c: Don't include error.h.
6189 (measurement_finish): Use record_error.
6190 * locale/programs/ld-messages.c
6191 (message_finish): Likewise.
6192 * locale/programs/ld-monetary.c
6193 (monetary_finish): Likewise.
6194 * locale/programs/ld-name.c (name_finish): Use record_error
6196 * locale/programs/ld-numeric.c
6197 (numeric_finish): Use record_error.
6198 * locale/programs/ld-paper.c: Don't include error.h.
6199 (paper_finish): Use record_error.
6200 * locale/programs/ld-telephone.c: Don't include error.h.
6201 (telephone_finish): Use record_error.
6202 * locale/programs/ld-time.c (time_finish): Likewise.
6203 * locale/programs/linereader.h (lr_error): Make inline func.
6204 * locale/programs/localedef.c: Define recorded_warning_count,
6205 and recorded_error_count.
6206 (main): Use record_error. Use recorded_error_count and
6207 recorded_warning_count to issue correct error returns.
6208 (add_to_readlist): Use record_error.
6209 (find_locale): Likewise.
6210 (load_locale): Likewise.
6211 * locale/programs/localedef.h: Remove be_quiet
6212 and WITH_CUR_LOCALE.
6213 * locale/programs/locarchive.c (compare_from_file): Use
6215 * locale/programs/locfile.c (write_locale_data): Use
6217 * locale/programs/repertoire.c: Dont include error.h.
6218 (repertoire_complain): Use record_error.
6219 * localedata/tst-fmon.sh: Expect failures from localedef.
6220 * localedata/tst-locale.sh: Likewise.
6221 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
6223 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
6224 (REPORTS): Likewise.
6226 (i18n): Rename to...
6227 (i18n_ctype): ...this.
6228 (i18n-report): Rename to...
6229 (i18n_ctype-report): ...this.
6230 * localedata/locales/i18n_ctype: Regenerate.
6231 * localedata/locales/i18n: copy i18n_ctype.
6233 2017-10-13 Joseph Myers <joseph@codesourcery.com>
6235 * stdlib/strfroml.c: Include <bits/floatn.h>.
6236 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
6237 Define before include of <stdlib.h> and undefine afterwards, then
6238 define as weak alias.
6240 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
6241 Undefine and restore default definition. Use
6242 libm_alias_ldouble_other.
6244 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
6247 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
6250 2017-10-13 James Clarke <jrtc27@jrtc27.com>
6252 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
6253 Assign sym_map to be map for local symbols, as TLS relocations
6254 use sym_map to determine whether the symbol is defined and to
6255 extract the TLS information.
6256 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6257 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6259 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6262 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
6263 (math_force_eval): Add powerpc version.
6266 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
6268 (do_test): Likewise.
6269 * stdio-common/tst-printf.sh: Likewise.
6270 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
6271 ifdef clause in order to set the carry bit right. Replace r0 by
6272 0 without changing the behavior.
6274 2017-10-13 Joseph Myers <joseph@codesourcery.com>
6276 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
6277 <libm-alias-ldouble.h>.
6278 (fabsl): Define using libm_alias_ldouble.
6279 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
6280 <libm-alias-ldouble.h>.
6281 (fabsl): Define using libm_alias_ldouble.
6283 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
6284 Remove conditional code.
6286 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
6287 Rename to __clog10_internal_l.
6288 (__clog10_internal_l): Define aliases using
6289 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
6292 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6294 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
6295 * benchtests/sincosf-inputs: New file.
6296 * benchtests/cosf-inputs: New file.
6297 * benchtests/sinf-inputs: New file.
6299 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
6301 * posix/tst-spawn.c (do_test): Wait for both children.
6303 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
6306 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
6307 tests-pie): Add tst-gmon-pie.
6308 (CFLAGS-tst-gmon-pie.c): New.
6309 (CRT-tst-gmon-pie): Likewise.
6310 (tst-gmon-pie-ENV): Likewise.
6311 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
6312 ($(objpfx)tst-gmon-pie.out): Likewise.
6313 (clean-tst-gmon-pie-data): Likewise.
6314 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
6315 * gmon/gmon.c [PIC]: Include <link.h>.
6316 [PIC] (callback): New function.
6317 (write_hist): Add an argument for load address. Subtract load
6319 (write_call_graph): Likewise.
6320 (write_gmon): Call __dl_iterate_phdr to get load address, pass
6321 it to write_hist and write_call_graph.
6322 * gmon/tst-gmon-pie.c: New file.
6324 2017-10-11 Joseph Myers <joseph@codesourcery.com>
6326 * math/Makefile (test-types-basic): New variable.
6327 (test-types): Likewise.
6328 (libm-test-support): Use $(test-types) instead of $(types).
6329 (libm-tests-base-normal): Likewise.
6330 (libm-tests-base-finite): Likewise.
6331 (libm-tests-base-inline): Likewise.
6332 (generated): Likewise.
6333 ($(objpfx)libm-test-support-$(t).c): Likewise.
6334 (libm-tests-for-type iterator): Likewise.
6335 (libm-test-support iterator): Likewise.
6336 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
6337 (ulp_idx): Use ULP_IDX.
6338 * math/test-ldouble.h: Include <float.h>.
6339 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
6340 (ULP_IDX): New macro.
6341 (ULP_I_IDX): Likewise.
6342 * math/test-double.h (ULP_IDX): Likewise.
6343 (ULP_I_IDX): Likewise.
6344 * math/test-float.h (ULP_IDX): Likewise.
6345 (ULP_I_IDX): Likewise.
6346 * math/test-float128.h (ULP_IDX): Likewise.
6347 (ULP_I_IDX): Likewise.
6349 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6351 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
6352 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
6353 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
6354 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
6355 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
6356 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
6357 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
6358 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
6359 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
6360 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
6361 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
6362 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
6363 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
6364 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
6365 (SINGLE_THREAD_BY_GLOBAL): Define.
6366 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
6368 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
6370 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
6372 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
6374 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
6375 (SINGLE_THREAD_BY_GLOBAL): Likewise.
6376 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
6379 2017-10-11 Andreas Schwab <schwab@suse.de>
6381 * nis/Makefile (aux): Remove.
6382 * nscd/Makefile (aux): Add nscd_hash.
6383 (nscd-modules): Likewise.
6384 ($(objpfx)nscd): Don't depend on libnsl.
6385 * nscd/nscd_hash.c: New file.
6386 * nscd/nscd_hash.h: Likewise.
6387 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
6388 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
6389 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
6390 instead of <nis/rpcsvc/nis.h>.
6391 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
6393 2017-10-11 Florian Weimer <fweimer@redhat.com>
6396 Avoid large NSS buffers with many addresses, aliases.
6397 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
6398 using dynarrays and struct alloc_buffer.
6399 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
6400 (tst-nss-files-hosts-multi): Link with -ldl.
6401 * nss/tst-nss-files-hosts-multi.c: New file.
6403 2017-10-11 Florian Weimer <fweimer@redhat.com>
6406 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
6407 scratch_buffer. Eliminate gotos.
6409 2017-10-11 Joseph Myers <joseph@codesourcery.com>
6411 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
6412 libm_alias_ldouble_other.
6413 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
6414 undefine and redefine.
6415 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
6416 (exp10l): Do not define here.
6417 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
6418 (weak_alias): Undefine and redefine.
6419 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
6420 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
6421 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
6422 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
6424 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
6425 [!__fma] (fma): Define using libm_alias_double.
6426 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
6427 [!__fmaf] (fmaf): Define using libm_alias_float.
6428 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
6429 (fmal): Define using libm_alias_ldouble.
6431 2017-10-10 Joseph Myers <joseph@codesourcery.com>
6433 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
6435 (libm_alias_double_other): Likewise.
6436 (libm_alias_double_r): Use libm_alias_double_other_r.
6437 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
6439 (libm_alias_float_other): Likewise.
6440 (libm_alias_float_r): Use libm_alias_float_other_r.
6441 * sysdeps/generic/libm-alias-float128.h
6442 (libm_alias_float128_other_r): New macro.
6443 (libm_alias_float128_other): Likewise.
6444 (libm_alias_float128_r): Use libm_alias_float128_other_r.
6445 * sysdeps/generic/libm-alias-ldouble.h
6446 (libm_alias_ldouble_other_r): New macro.
6447 (libm_alias_ldouble_other): Likewise.
6448 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
6449 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
6450 (libm_alias_double_other_r): New macro.
6451 (libm_alias_double_other): Likewise.
6452 (libm_alias_double_r): Use libm_alias_double_other_r.
6453 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
6454 (libm_alias_ldouble_other_r): New macro.
6455 (libm_alias_ldouble_other): Likewise.
6456 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
6457 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
6458 [!USE_AS_COMPAT]: Use libm_alias_double_other.
6459 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
6460 [!USE_AS_COMPAT]: Use libm_alias_float_other.
6461 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
6462 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
6463 * math/w_exp2f.c: Use libm_alias_float_other.
6464 * math/w_expf.c: Likewise.
6465 * math/w_log2f.c: Likewise.
6466 * math/w_logf.c: Likewise.
6467 * math/w_powf.c: Likewise.
6468 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
6469 [!__exp2f]: Use libm_alias_float_other.
6470 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
6471 [!__expf]: Use libm_alias_float_other.
6472 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
6473 [!__log2f]: Use libm_alias_float_other.
6474 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
6475 [!__logf]: Use libm_alias_float_other.
6476 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
6477 [!__powf]: Use libm_alias_float_other.
6479 2017-10-10 Florian Weimer <fweimer@redhat.com>
6481 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
6483 (_nss_files_gethostbyname3_r): Call it.
6485 2017-10-09 Joseph Myers <joseph@codesourcery.com>
6487 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
6488 error. Remove default definition of declare_mgen_alias.
6489 [!declare_mgen_alias_r]: Likewise.
6490 * sysdeps/generic/math-type-macros-double.h
6491 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
6492 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
6493 (declare_mgen_alias_r): Likewise.
6494 * sysdeps/generic/math-type-macros-float128.h
6495 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
6496 * sysdeps/generic/math-type-macros-ldouble.h
6497 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
6498 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
6500 (declare_mgen_alias_r_s): Likewise.
6501 (declare_mgen_alias_r): Likewise.
6502 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
6503 (lgamma_r): Define using libm_alias_double_r.
6504 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
6505 (lgammaf_r): Define using libm_alias_float_r.
6506 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
6507 (lgammal_r): Define using libm_alias_ldouble_r.
6508 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
6509 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
6511 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6513 * lib/glob.c (__glob_pattern_type): Remove now-spurious
6516 2017-10-09 Joseph Myers <joseph@codesourcery.com>
6518 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
6520 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
6523 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
6524 [__cplusplus >= 201103] (__USE_ISOC99): Define.
6525 * math/Makefile (test-math-cxx11): New test.
6526 * math/test-math-cxx11.cc: New file.
6528 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
6530 * login/openpty.c (openpty): Close slave pty file descriptor on error.
6532 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
6533 call to allocate the slave pty file descriptor.
6535 2017-10-06 Joseph Myers <joseph@codesourcery.com>
6537 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
6538 [!__fma] (fma): Define using libm_alias_double.
6539 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
6540 [!__fma] (fma): Define using libm_alias_double.
6542 * sysdeps/ieee754/float128/float128_private.h: Include
6543 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
6544 (libm_alias_ldouble_r): Undefine and redefine.
6545 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
6546 <libm-alias-ldouble.h>.
6547 (asinhl): Define using libm_alias_ldouble.
6548 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
6549 <libm-alias-ldouble.h>.
6550 (atanl): Define using libm_alias_ldouble.
6551 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
6552 <libm-alias-ldouble.h>.
6553 (cbrtl): Define using libm_alias_ldouble.
6554 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
6555 <libm-alias-ldouble.h>.
6556 (ceill): Define using libm_alias_ldouble.
6557 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
6558 <libm-alias-ldouble.h>.
6559 (copysignl): Define using libm_alias_ldouble.
6560 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
6561 <libm-alias-ldouble.h>.
6562 (cosl): Define using libm_alias_ldouble.
6563 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
6564 <libm-alias-ldouble.h>.
6565 (erfl): Define using libm_alias_ldouble.
6567 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
6568 <libm-alias-ldouble.h>.
6569 (expm1l): Define using libm_alias_ldouble.
6570 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
6571 <libm-alias-ldouble.h>.
6572 (fabsl): Define using libm_alias_ldouble.
6573 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
6574 <libm-alias-ldouble.h>.
6575 (floorl): Define using libm_alias_ldouble.
6576 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
6577 <libm-alias-ldouble.h>.
6578 (fmal): Define using libm_alias_ldouble.
6579 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
6580 <libm-alias-ldouble.h>.
6581 (frexpl): Define using libm_alias_ldouble.
6582 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
6584 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
6585 <libm-alias-ldouble.h>.
6586 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
6588 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
6589 <libm-alias-ldouble.h>.
6590 (getpayloadl): Define using libm_alias_ldouble.
6591 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
6592 <libm-alias-ldouble.h>.
6593 (llrintl): Define using libm_alias_ldouble.
6594 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
6595 <libm-alias-ldouble.h>.
6596 (llroundl): Define using libm_alias_ldouble.
6597 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
6598 <libm-alias-ldouble.h>.
6599 (logbl): Define using libm_alias_ldouble.
6600 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
6601 <libm-alias-ldouble.h>.
6602 (lrintl): Define using libm_alias_ldouble.
6603 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
6604 <libm-alias-ldouble.h>.
6605 (lroundl): Define using libm_alias_ldouble.
6606 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
6607 <libm-alias-ldouble.h>.
6608 (modfl): Define using libm_alias_ldouble.
6609 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
6610 <libm-alias-ldouble.h>.
6611 (nearbyintl): Define using libm_alias_ldouble.
6612 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
6613 <libm-alias-ldouble.h>.
6614 (nextafterl): Define using libm_alias_ldouble.
6615 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
6616 <libm-alias-ldouble.h>.
6617 (nextupl): Define using libm_alias_ldouble.
6618 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
6619 <libm-alias-ldouble.h>.
6620 (remquol): Define using libm_alias_ldouble.
6621 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
6622 <libm-alias-ldouble.h>.
6623 (rintl): Define using libm_alias_ldouble.
6624 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
6625 <libm-alias-ldouble.h>.
6626 (roundevenl): Define using libm_alias_ldouble.
6627 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
6628 <libm-alias-ldouble.h>.
6629 (roundl): Define using libm_alias_ldouble.
6630 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
6631 using libm_alias_ldouble.
6632 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
6633 <libm-alias-ldouble.h>.
6634 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
6635 Define using libm_alias_ldouble.
6636 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
6637 <libm-alias-ldouble.h>.
6638 (sincosl): Define using libm_alias_ldouble.
6639 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
6640 <libm-alias-ldouble.h>.
6641 (sinl): Define using libm_alias_ldouble.
6642 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
6643 <libm-alias-ldouble.h>.
6644 (tanhl): Define using libm_alias_ldouble.
6645 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
6646 <libm-alias-ldouble.h>.
6647 (tanl): Define using libm_alias_ldouble.
6648 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
6649 <libm-alias-ldouble.h>.
6650 (totalorderl): Define using libm_alias_ldouble.
6651 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
6652 <libm-alias-ldouble.h>.
6653 (totalordermagl): Define using libm_alias_ldouble.
6654 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
6655 <libm-alias-ldouble.h>.
6656 (truncl): Define using libm_alias_ldouble.
6657 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
6659 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
6661 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
6662 <libm-alias-ldouble.h>.
6663 (weak_alias): Do not undefine and redefine.
6664 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
6665 (copysignl): Define with long_double_symbol only if [IS_IN
6667 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
6668 <libm-alias-ldouble.h>.
6669 (weak_alias): Do not undefine and redefine.
6670 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
6671 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
6672 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
6673 <libm-alias-ldouble.h>.
6674 (weak_alias): Do not undefine and redefine.
6675 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
6676 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
6677 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
6678 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
6679 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
6680 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
6681 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
6682 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
6683 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
6684 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
6685 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
6686 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
6687 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
6688 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
6689 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
6690 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
6691 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
6692 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
6693 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
6694 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
6695 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
6696 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
6697 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
6698 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
6699 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
6700 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
6702 2017-10-06 Carlos O'Donell <carlos@redhat.com>
6705 * malloc/malloc.c (tcache_shutting_down): Use bool type.
6706 (tcache_thread_freeres): Set tcache_shutting_down before
6708 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
6709 * malloc/tst-malloc-tcache-leak.c: New file.
6711 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6713 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
6714 back to powerpc32 file.
6715 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
6716 (memrchr): Add __memrchr_power8 to ifunc list.
6717 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
6718 extra bytes for unaligned inputs.
6720 2017-10-06 Joseph Myers <joseph@codesourcery.com>
6722 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
6723 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
6724 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
6725 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
6726 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
6728 2017-10-05 Joseph Myers <joseph@codesourcery.com>
6730 * sysdeps/arm/libm-test-ulps: Update.
6732 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
6733 <libm-alias-ldouble.h>.
6734 (asinhl): Define using libm_alias_ldouble.
6735 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
6736 <libm-alias-ldouble.h>.
6737 (cbrtl): Define using libm_alias_ldouble.
6738 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
6739 <libm-alias-ldouble.h>.
6740 (copysignl): Define using libm_alias_ldouble.
6741 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
6742 <libm-alias-ldouble.h>.
6743 (cosl): Define using libm_alias_ldouble.
6744 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
6745 <libm-alias-ldouble.h>.
6746 (erfl): Define using libm_alias_ldouble.
6748 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
6749 <libm-alias-ldouble.h>.
6750 (fmal): Define using libm_alias_ldouble.
6751 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
6752 <libm-alias-ldouble.h>.
6753 (frexpl): Define using libm_alias_ldouble.
6754 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
6756 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
6757 <libm-alias-ldouble.h>.
6758 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
6760 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
6761 <libm-alias-ldouble.h>.
6762 (getpayloadl): Define using libm_alias_ldouble.
6763 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
6764 <libm-alias-ldouble.h>.
6765 (llrintl): Define using libm_alias_ldouble.
6766 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
6767 <libm-alias-ldouble.h>.
6768 (llroundl): Define using libm_alias_ldouble.
6769 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
6770 <libm-alias-ldouble.h>.
6771 (lrintl): Define using libm_alias_ldouble.
6772 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
6773 <libm-alias-ldouble.h>.
6774 (lroundl): Define using libm_alias_ldouble.
6775 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
6776 <libm-alias-ldouble.h>.
6777 (modfl): Define using libm_alias_ldouble.
6778 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
6779 <libm-alias-ldouble.h>.
6780 (nextupl): Define using libm_alias_ldouble.
6781 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
6782 <libm-alias-ldouble.h>.
6783 (remquol): Define using libm_alias_ldouble.
6784 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
6785 <libm-alias-ldouble.h>.
6786 (roundevenl): Define using libm_alias_ldouble.
6787 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
6788 <libm-alias-ldouble.h>.
6789 (roundl): Define using libm_alias_ldouble.
6790 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
6791 using libm_alias_ldouble.
6792 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
6793 <libm-alias-ldouble.h>.
6794 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
6795 <libm-alias-ldouble.h>.
6796 (setpayloadsigl): Define using libm_alias_ldouble.
6797 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
6798 <libm-alias-ldouble.h>.
6799 (sincosl): Define using libm_alias_ldouble.
6800 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
6801 <libm-alias-ldouble.h>.
6802 (sinl): Define using libm_alias_ldouble.
6803 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
6804 <libm-alias-ldouble.h>.
6805 (tanhl): Define using libm_alias_ldouble.
6806 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
6807 <libm-alias-ldouble.h>.
6808 (tanl): Define using libm_alias_ldouble.
6809 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
6810 <libm-alias-ldouble.h>.
6811 (totalorderl): Define using libm_alias_ldouble.
6812 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
6813 <libm-alias-ldouble.h>.
6814 (totalordermagl): Define using libm_alias_ldouble.
6815 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
6817 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
6820 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
6822 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
6824 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
6825 (__libc_ifunc_impl_list): Likewise.
6826 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
6827 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
6829 * benchtests/bench-memmove-walk.c: New file.
6830 * benchtests/Makefile (string-benchset): Add it.
6832 * benchtests/bench-memset-walk.c: New file.
6833 * benchtests/Makefile (string-benchset): Add it.
6835 * benchtests/bench-memcpy-walk.c: New file.
6836 * benchtests/Makefile (string-benchset): Add it.
6838 2017-10-05 Florian Weimer <fweimer@redhat.com>
6840 nscd: Eliminate compilation time dependency in the build output.
6841 * nscd/nscd_stat.c (STATDATA_VERSION)
6842 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
6843 (STATDATA_VERSION_FULL): New macro definitions.
6844 (compilation): Remove.
6845 (struct statdata): Adjust version member.
6846 (send_stats): Set version from STATDATA_VERSION_FULL.
6847 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
6849 2017-10-05 Joseph Myers <joseph@codesourcery.com>
6851 * configure.ac (--enable-add-ons): Remove option.
6852 (machine): Do not mention add-ons in comment.
6853 (LIBC_PRECONFIGURE): Likewise.
6854 (add_ons): Remove variable and sanity checks and logic to locate
6856 (add_ons_automatic): Remove variable.
6857 (configured_add_ons): Likewise.
6858 (add_ons_sfx): Likewise.
6859 (add_ons_pfx): Likewise.
6860 (add_on_subdirs): Likewise.
6861 (sysnames_add_ons): Likewise. Remove loop over add-ons and
6862 consideration of add-ons in Implies handling.
6863 (sysdeps_add_ons): Likewise.
6864 * configure: Regenerated.
6865 * libidn/configure.ac: Remove.
6866 * libidn/configure: Likewise.
6867 * sysdeps/unix/inet/configure.ac: New file.
6868 * sysdeps/unix/inet/configure: New generated file.
6869 * sysdeps/unix/inet/Subdirs: Add libidn.
6870 * Makeconfig (sysdeps-srcdirs): Remove variable.
6871 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
6872 ($(common-objpfx)config.status): Do not depend on add-on files.
6873 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
6875 (all-subdirs): Do not include $(add-on-subdirs).
6876 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
6877 * config.make.in (add-ons): Remove variable.
6878 (add-on-subdirs): Likewise.
6879 (sysdeps-add-ons): Likewise.
6880 * manual/Makefile (add-chapters): Remove.
6881 ($(objpfx)texis): Do not depend on $(add-chapters).
6882 (nonexamples): Do not handle $(add-chapters).
6883 (examples): Do not handle $(add-ons).
6884 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
6886 * manual/install.texi (Installation): Do not mention add-ons.
6887 (--enable-add-ons): Do not document configure option.
6888 * INSTALL: Regenerated.
6889 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
6890 * manual/maint.texi (Hierarchy Conventions): Do not mention
6892 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
6894 * scripts/gen-sorted.awk: Do not handle Subdirs files from
6896 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
6897 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
6899 2017-10-05 Andreas Schwab <schwab@suse.de>
6902 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
6903 (_IO_flush_all_lockp): Always lock list_all_lock.
6904 (_IO_flush_all_linebuffered): Likewise.
6905 (_IO_unbuffer_all): Likewise.
6907 2017-10-05 Florian Weimer <fweimer@redhat.com>
6910 Do not flush stdio streams on abort.
6911 * stdlib/abort.c (fflush): Remove macro definition.
6912 (abort): Remove stages related to stdio flushing.
6914 2017-10-05 Florian Weimer <fweimer@redhat.com>
6916 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
6918 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
6920 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6922 2017-10-05 Florian Weimer <fweimer@redhat.com>
6924 * support/support_format_hostent.c (support_format_hostent): Add
6925 more error information for NETDB_INTERNAL.
6927 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
6929 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
6930 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
6931 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
6932 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
6933 AC_DEFINE if multi-arch is enabled.
6934 * sysdeps/i386/configure: Regenerated.
6936 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
6938 * Makeconfig (+link-static-before-libc): Use
6939 $(DEFAULT-LDFLAGS-$(@F)).
6940 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
6941 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
6942 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
6944 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
6946 * elf/Makefile (tests): Add tst-main1.
6947 (modules-names): Add tst-main1mod.
6948 ($(objpfx)tst-main1): New.
6949 (CRT-tst-main1): Likewise.
6950 (LDFLAGS-tst-main1): Likewise.
6951 (LDLIBS-tst-main1): Likewise.
6952 (tst-main1mod.so-no-z-defs): Likewise.
6953 * elf/tst-main1.c: New file.
6954 * elf/tst-main1mod.c: Likewise.
6956 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
6958 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
6960 2017-10-04 Joseph Myers <joseph@codesourcery.com>
6962 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
6963 (fma): Define using libm_alias_double.
6964 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
6965 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
6967 (fmal): Do not define as compat symbol here.
6968 * sysdeps/alpha/fpu/s_fma.c: New file.
6970 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
6972 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
6974 2017-10-04 Joseph Myers <joseph@codesourcery.com>
6977 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
6979 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
6981 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
6982 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
6983 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
6984 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
6985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6986 Include <math_ldbl_opt.h>
6987 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
6989 (compat_symbol): Undefine and redefine.
6990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
6992 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
6993 (compat_symbol): Undefine and redefine.
6994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
6995 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
6996 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
6998 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
6999 GLIBC_2.0 copysignl symbol.
7000 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
7001 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
7003 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
7005 2017-10-04 Florian Weimer <fweimer@redhat.com>
7007 * scripts/check-local-headers.sh: Ignore nspr4 header file
7008 directory in addition to nspr.
7010 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
7013 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
7014 * configure: Regenerate.
7015 * crypt/Makefile (nss-cpp-flags): New variable.
7016 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
7017 (CPPFLAGS-md5-crypt.c): Use it.
7018 * scripts/check-local-headers.sh: Ignore nspr header file
7021 2017-10-04 Andreas Schwab <schwab@suse.de>
7023 * nis/Makefile (services): Remove compat.
7024 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
7025 ($(objpfx)libnss_compat.so): Remove rule.
7026 * nis/Versions (libnss_compat): Remove.
7027 * nss/Makefile (services): Add compat.
7028 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
7029 * nss/Versions (libnss_compat): Define.
7030 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
7031 Don't include <rpc/types.h>. Replace bool_t by bool.
7032 * nss/nss_compat/compat-initgroups.c: Likewise.
7033 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
7034 instead of <rpcsrv/ypclnt.h>.
7035 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
7036 yp_get_default_domain.
7037 * nss/nss_compat/compat-pwd.c: Likewise.
7038 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
7039 yp_get_default_domain.
7040 * nss/nss_compat/nisdomain.c: New file.
7041 * nss/nss_compat/nisdomain.h: Likewise.
7043 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
7046 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
7047 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
7049 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
7052 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
7053 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
7055 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
7057 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
7058 "movl main@GOTOFF(%ebx), %eax".
7060 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
7062 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
7063 allow undefined _DYNAMIC in PIE libc.a.
7064 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
7067 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
7069 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
7072 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
7074 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
7077 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
7079 * math/test-math-iscanonical.cc (error): Replace bool with int.
7081 2017-10-03 Joseph Myers <joseph@codesourcery.com>
7083 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
7084 (modf): Define using libm_alias_double, only if [!__modf].
7085 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
7086 <libm-alias-double.h>.
7087 (modf): Define using libm_alias_double, only if [!__modf].
7088 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
7090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
7091 (weak_alias): Do not undefine and redefine.
7092 (strong_alias): Likewise.
7093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
7094 (weak_alias): Likewise.
7095 (strong_alias): Likewise.
7097 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
7098 (logb): Define using libm_alias_double, only if [!__logb].
7099 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
7100 <libm-alias-double.h>.
7101 (logb): Define using libm_alias_double, only if [!__logb].
7102 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
7103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
7104 (weak_alias): Do not undefine and redefine.
7105 (strong_alias): Likewise.
7106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
7107 (weak_alias): Likewise.
7108 (strong_alias): Likewise.
7110 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
7112 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
7113 Check SHARED instead PIC.
7115 2017-10-03 Joseph Myers <joseph@codesourcery.com>
7117 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
7118 [!__fmaf] (fmaf): Define using libm_alias_float.
7120 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
7121 (frexp): Define using libm_alias_double.
7122 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
7123 <libm-alias-double.h>.
7124 (frexp): Define using libm_alias_double.
7125 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
7128 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7131 * math/math.h: Trivial fix for unbalanced parentheses in comment.
7132 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
7133 (CFLAGS-test-math-iscanonical.cc): New variable.
7134 * math/test-math-iscanonical.cc: New file.
7135 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
7136 Provide a C++ implementation based on function overloading,
7137 rather than using __MATH_TG, which uses C-only builtins.
7138 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
7140 * sysdeps/powerpc/powerpc64le/Makefile
7141 (CFLAGS-test-math-iscanonical.cc): New variable.
7143 2017-10-03 Joseph Myers <joseph@codesourcery.com>
7145 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
7146 (ceil): Define using libm_alias_double.
7147 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
7148 (floor): Define using libm_alias_double.
7149 * sysdeps/ieee754/dbl-64/s_llround.c: Include
7150 <libm-alias-double.h>.
7151 (llround): Define using libm_alias_double.
7152 * sysdeps/ieee754/dbl-64/s_lround.c: Include
7153 <libm-alias-double.h>.
7154 (lround): Define using libm_alias_double.
7155 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
7156 <libm-alias-double.h>.
7157 (nearbyint): Define using libm_alias_double.
7158 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
7159 <libm-alias-double.h>.
7160 (remquo): Define using libm_alias_double.
7161 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
7162 (rint): Define using libm_alias_double.
7163 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
7164 (round): Define using libm_alias_double.
7165 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
7166 (trunc): Define using libm_alias_double.
7167 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
7168 <libm-alias-double.h>.
7169 (ceil): Define using libm_alias_double.
7170 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
7171 <libm-alias-double.h>.
7172 (floor): Define using libm_alias_double.
7173 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
7174 <libm-alias-double.h>.
7175 (llround): Define using libm_alias_double.
7176 [_LP64] (lround): Likewise.
7177 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
7178 <libm-alias-double.h>.
7179 [!_LP64] (lround): Define using libm_alias_double.
7180 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
7181 <libm-alias-double.h>.
7182 (nearbyint): Define using libm_alias_double.
7183 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
7184 <libm-alias-double.h>.
7185 (remquo): Define using libm_alias_double.
7186 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
7187 <libm-alias-double.h>.
7188 (rint): Define using libm_alias_double.
7189 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
7190 <libm-alias-double.h>.
7191 (round): Define using libm_alias_double.
7192 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
7193 <libm-alias-double.h>.
7194 (trunc): Define using libm_alias_double.
7195 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
7196 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
7197 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
7198 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
7199 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
7200 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
7201 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
7202 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
7203 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
7205 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
7207 * math/w_remainder.c: New file.
7208 * math/w_remainderf.c: New file.
7209 * math/w_remainderl.c: New file.
7211 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
7213 * elf/rtld.c (BOOTSTRAP_MAP): New.
7214 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
7215 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
7217 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
7219 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
7222 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
7224 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
7225 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
7226 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
7227 rtld_hidden_data_ver): Define to empty.
7228 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
7229 __assert_perror_fail): Likewise.
7230 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
7231 (__rewinddir): Likewise.
7232 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
7233 (__profile_frequency): Likewise.
7234 * include/setjmp.h (__sigsetjmp): Likewise.
7235 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
7236 __libc_sigaction): Likewise.
7237 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
7238 not set hidden attribute.
7239 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
7240 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
7241 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
7242 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
7243 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
7244 __fxstatat64): Likewise.
7245 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
7246 (__uname): Likewise.
7247 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
7248 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
7249 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
7250 (NO_RTLD_HIDDEN): Set.
7251 * sysdeps/mach/hurd/configure: Refresh.
7252 * config.h.in: Refresh.
7254 2017-10-02 Joseph Myers <joseph@codesourcery.com>
7256 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
7257 (atan): Define using libm_alias_double.
7258 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
7259 (tan): Define using libm_alias_double.
7260 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
7261 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
7263 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
7264 define as weak alias of __atan. Do not define any aliases if
7266 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
7267 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
7268 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
7269 as weak alias of __tan. Do not define any aliases if [__tan].
7270 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
7271 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
7272 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
7274 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
7275 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
7276 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
7277 and define as weak alias of __atan.
7278 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
7280 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
7281 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
7282 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
7283 define as weak alias of __tan.
7285 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
7287 * math/w_lgamma.c: New file.
7288 * math/w_lgammaf.c: New file.
7289 * math/w_lgammal.c: New file.
7291 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
7293 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
7294 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
7295 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
7296 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
7297 * sysdeps/ieee754/flt-32/w_logf.c: New file.
7298 * sysdeps/ieee754/flt-32/w_powf.c: New file.
7299 * sysdeps/i386/fpu/w_log2f.c: New file.
7300 * sysdeps/i386/fpu/w_logf.c: New file.
7301 * sysdeps/i386/fpu/w_powf.c: New file.
7302 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
7303 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
7304 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
7306 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
7307 H.J. Lu <hongjiu.lu@intel.com>
7309 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
7310 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
7311 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
7312 * sysdeps/ieee754/flt-32/w_expf.c: New file.
7313 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
7315 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
7316 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
7317 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
7318 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
7319 * sysdeps/i386/fpu/w_exp2f.c: New file.
7320 * sysdeps/i386/fpu/w_expf.c: New file.
7321 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
7322 * sysdeps/x86_64/fpu/w_expf.c: New file.
7324 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
7326 * math/Versions (logf): New libm symbol at GLIBC_2.27.
7329 * math/w_log2f.c: New file.
7330 * math/w_logf.c: New file.
7331 * math/w_powf.c: New file.
7332 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
7333 * math/w_logf_compat.c (__logf_compat): Likewise.
7334 * math/w_powf_compat.c (__powf_compat): Likewise.
7335 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
7336 * sysdeps/ia64/fpu/e_logf.S: Likewise.
7337 * sysdeps/ia64/fpu/e_powf.S: Likewise.
7338 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7339 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7340 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7341 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7342 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7343 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7344 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7345 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7346 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7347 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7348 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7349 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7358 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7359 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7360 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7361 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7362 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7363 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7365 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7367 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7368 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7369 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7371 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7373 * sysdeps/powerpc/powerpc64/multiarch/Makefile
7374 (sysdep_routines): Add memrchr_power8.
7375 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7376 (memrchr): Add __memrchr_power8 to list of memrchr functions.
7377 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
7379 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
7380 (memrchr): Add __memrchr_power8 to ifunc list.
7381 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
7383 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7386 * sysdeps/unix/sysv/linux/posix_fadvise64.c
7387 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
7389 * sysdeps/unix/sysv/linux/posix_fallocate64.c
7390 (__posix_fallocate64_l64): Likewise.
7392 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7395 * sysdeps/unix/sysv/linux/sched_setaffinity.c
7396 (__sched_setaffinity_new): Add libc_hidden_proto and
7399 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7402 * include/glob.h (__glob64): Add libc_hidden_proto.
7403 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
7406 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7409 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
7412 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7415 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
7417 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7420 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
7423 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7426 * csu/version.c (__libc_print_version): Add attribute_hidden.
7428 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7431 * include/libc-internal.h (__init_misc): Add attribute_hidden.
7433 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7436 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
7438 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7441 * nscd/nscd_helper.c (__nis_hash): New prototype.
7443 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7446 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
7447 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
7449 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
7450 * termios/tcgetattr.c (__tcgetattr): Likewise.
7452 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7455 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
7456 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
7457 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
7458 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
7459 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
7461 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7464 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
7466 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7469 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
7470 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
7472 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7475 * intl/hash-string.h (__hash_string): Add attribute_hidden.
7477 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7480 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
7481 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
7483 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7486 * include/ifreq.h: New file.
7487 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
7488 (__ifreq): Likewise.
7489 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
7490 (__ifreq): Likewise.
7492 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7495 * include/idna.h: New file.
7496 * inet/getnameinfo.c: Include <idna.h> instead of
7498 (__idna_to_unicode_lzlz): Removed.
7499 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
7501 (__idna_to_ascii_lz): Removed.
7502 (__idna_to_unicode_lzlz): Likewise.
7504 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7507 * include/plural-exp.h: New file.
7508 * intl/plural-exp.c: Include <plural-exp.h> instead of
7511 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7514 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
7515 "getsourcefilter.h".
7516 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
7517 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
7518 "getsourcefilter.h".
7519 (__get_sol): Removed.
7521 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7524 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
7526 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
7528 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7531 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
7534 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7537 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
7539 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7542 * include/search.h (__tdestroy): Add libc_hidden_proto.
7543 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
7545 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7548 * include/assert.h (__assert_fail_base): Add attribute_hidden.
7550 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7553 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
7556 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7559 * include/signal.h (__kill): Add libc_hidden_proto.
7560 (__sigblock): Likewise.
7561 (__sigprocmask): Likewise.
7562 (__sigaltstack): Likewise.
7563 * signal/kill.c (__kill): Add libc_hidden_def.
7564 * signal/sigblock.c (__sigblock): Likewise.
7565 * signal/sigprocmask.c (__sigprocmask): Likewise.
7566 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
7567 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
7568 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
7569 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
7570 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
7572 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
7574 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
7575 (__sigprocmask): Likewise.
7576 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
7578 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
7579 (__sigprocmask): Likewise.
7580 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
7583 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7586 * include/string.h (__strsep): Add libc_hidden_proto.
7587 * string/strsep.c (__strsep): Add libc_hidden_def.
7589 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7592 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
7594 (__spawni): Likewise.
7596 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7599 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
7600 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
7603 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7606 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
7608 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7611 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
7612 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
7613 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
7614 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
7615 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
7617 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
7618 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
7620 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7623 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
7624 (__dcigettext): Likewise.
7626 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7629 * include/sys/sysinfo.h (__get_nprocs_conf): Add
7631 (__get_nprocs): Likewise.
7632 (__get_phys_pages): Likewise.
7633 (__get_avphys_pages): Likewise.
7634 (__get_child_max): Add attribute_hidden.
7635 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
7636 (__get_nprocs): Likewise.
7637 (__get_phys_pages): Likewise.
7638 (__get_avphys_pages): Likewise.
7639 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
7641 (__get_nprocs): Likewise.
7642 (__get_phys_pages): Likewise.
7643 (__get_avphys_pages): Likewise.
7644 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
7646 (__get_nprocs_conf): Likewise.
7647 (__get_phys_pages): Likewise.
7648 (__get_avphys_pages): Likewise.
7650 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7653 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
7655 (__netlink_close): Likewise.
7656 (__netlink_free_handle): Likewise.
7657 (__netlink_request): Likewise.
7659 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7662 * include/rpc/rpc.h (__rpc_thread_variables): Add
7664 (__rpc_thread_svc_cleanup): Likewise.
7665 (__rpc_thread_clnt_cleanup): Likewise.
7666 (__rpc_thread_key_cleanup): Likewise.
7668 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7671 * include/sys/uio.h (__readv): Add libc_hidden_proto.
7672 (__writev): Likewise.
7673 * misc/readv.c (__readv): Add libc_hidden_def.
7674 * misc/writev.c (__writev): Likewise.
7675 * sysdeps/posix/readv.c (__readv): Likewise.
7676 * sysdeps/posix/writev.c (__writev): Likewise.
7677 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
7678 (__readv): Likewise.
7679 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
7680 (__writev): Likewise.
7682 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7685 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
7686 (__regcomp): Add libc_hidden_proto.
7687 (__regexec): Likewise.
7688 (__regfree): Likewise.
7689 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
7690 (__regfree): Likewise.
7691 * posix/regexec.c (__regexec): Likewise.
7693 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7696 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
7697 (__getutent): Likewise.
7698 (__getutid): Likewise.
7699 (__getutline): Likewise.
7700 (__pututline): Likewise.
7701 (__getutent_r): Likewise.
7702 (__getutid_r): Likewise.
7703 (__getutline_r): Likewise.
7704 (__utmpname): Add attribute_hidden.
7705 (__setutent): Likewise.
7706 (__endutent): Likewise.
7707 * login/getutent.c (__getutent): Add libc_hidden_def.
7708 * login/getutent_r.c (__getutent_r): Likewise.
7709 (__pututline): Likewise.
7710 * login/getutid.c (__getutid): Likewise.
7711 * login/getutid_r.c (__getutid_r): Likewise.
7712 * login/getutline.c (__getutline): Likewise.
7713 * login/getutline_r.c (__getutline_r): Likewise.
7714 * login/updwtmp.c (__updwtmp): Likewise.
7716 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7719 * include/dirent.h (__opendir): Always add attribute_hidden.
7720 (__fdopendir): Likewise.
7721 (__closedir): Likewise.
7722 (__readdir): Likewise.
7723 (__readdir64): Add libc_hidden_proto.
7724 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
7725 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
7726 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
7727 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
7730 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7733 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
7734 * include/netdb.h (__gethostbyaddr_r): Likewise.
7735 (__gethostbyname_r): Likewise.
7736 (__gethostbyname2_r): Likewise.
7737 (__getnetbyaddr_r): Likewise.
7738 (__getnetbyname_r): Likewise.
7739 (__getservbyname_r): Likewise.
7740 (__getservbyport_r): Likewise.
7741 (__getprotobyname_r): Likewise.
7742 (__getprotobynumber_r): Likewise.
7743 (__getnetgrent_r): Likewise.
7744 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
7745 (__getrpcbynumber_r): Likewise.
7746 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
7748 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7751 * include/stdio.h (__fcloseall): Add attribute_hidden.
7752 (__getline): Likewise.
7753 (__path_search): Likewise.
7754 (__gen_tempname): Likewise.
7755 (__libc_message): Likewise.
7756 (__flockfile): Likewise.
7757 (__funlockfile): Likewise.
7758 (__fxprintf): Likewise.
7759 (__fxprintf_nocancel): Likewise.
7761 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7764 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
7765 (__sgetsgent_r): Likewise.
7767 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7770 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
7771 (__statfs64): Likewise.
7772 (__fstatfs64): Likewise.
7773 * include/sys/statvfs.h (__statvfs64): Likewise.
7774 (__fstatvfs64): Likewise.
7775 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
7776 (__statfs_filesize_max): Likewise.
7777 (__statfs_symlinks): Likewise.
7778 (__statfs_chown_restricted): Likewise.
7780 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7783 * include/time.h (__tzstring): Add attribute_hidden.
7784 (__tzfile_read): Likewise.
7785 (__tzfile_compute): Likewise.
7786 (__tzfile_default): Likewise.
7787 (__tzset_parse_tz): Likewise.
7788 (__offtime): Likewise.
7789 (__asctime_r): Likewise.
7790 (__tzset): Likewise.
7791 (__tz_convert): Likewise.
7792 (__getdate_r): Likewise.
7793 (__getclktck): Likewise.
7795 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7798 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
7799 (__nscd_unmap): Likewise.
7800 (__nscd_cache_search): Likewise.
7801 (__nscd_get_nl_timestamp): Likewise.
7802 (__nscd_getpwnam_r): Likewise.
7803 (__nscd_getpwuid_r): Likewise.
7804 (__nscd_getgrnam_r): Likewise.
7805 (__nscd_getgrgid_r): Likewise.
7806 (__nscd_gethostbyname_r): Likewise.
7807 (__nscd_gethostbyname2_r): Likewise.
7808 (__nscd_gethostbyaddr_r): Likewise.
7809 (__nscd_getai): Likewise.
7810 (__nscd_getgrouplist): Likewise.
7811 (__nscd_getservbyname_r): Likewise.
7812 (__nscd_getservbyport_r): Likewise.
7813 (__nscd_innetgr): Likewise.
7814 (__nscd_setnetgrent): Likewise.
7816 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7819 * include/gmp.h: Declare internal functions only if _ISOMAC is
7821 (__mpn_extract_double): Add attribute_hidden.
7822 (__mpn_extract_long_double): Likewise.
7823 (__mpn_extract_float128): Likewise.
7824 (__mpn_construct_float): Likewise.
7825 (__mpn_construct_double): Likewise.
7826 (__mpn_construct_long_double): Likewise.
7827 (__mpn_construct_float128): Likewise.
7828 (mpn_add_1): Likewise.
7829 (mpn_addmul_1): Likewise.
7830 (mpn_add_n): Likewise.
7831 (mpn_cmp): Likewise.
7832 (mpn_divrem): Likewise.
7833 (mpn_lshift): Likewise.
7834 (mpn_mul): Likewise.
7835 (mpn_mul_1): Likewise.
7836 (mpn_rshift): Likewise.
7837 (mpn_sub_1): Likewise.
7838 (mpn_submul_1): Likewise.
7839 (mpn_sub_n): Likewise.
7841 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7844 * include/wchar.h (__wcsnlen): Add attribute_hidden.
7845 (__wcscat): Likewise.
7846 (__btowc): Likewise.
7847 (__wcrtomb): Likewise.
7848 (__mbsrtowcs): Likewise.
7849 (__wcsrtombs): Likewise.
7850 (__mbsnrtowcs): Likewise.
7851 (__wcsnrtombs): Likewise.
7852 (__wcsncpy): Likewise.
7853 (__wcpncpy): Likewise.
7854 (__wmemcpy): Likewise.
7855 (__wmempcpy): Likewise.
7856 (__wmemmove): Likewise.
7857 (__wcschrnul): Likewise.
7858 (__vfwscanf): Likewise.
7859 (__vswprintf): Likewise.
7860 (__fwprintf): Likewise.
7861 (__vfwprintf): Likewise.
7863 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7866 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
7867 (__getgrgid_r): Likewise.
7868 (__getgrnam_r): Likewise.
7869 * include/pwd.h (__getpwuid_r): Likewise.
7870 (__getpwnam_r): Likewise.
7871 (__fgetpwent_r): Likewise.
7872 * include/shadow.h (__getspnam_r): Likewise.
7873 (__sgetspent_r): Likewise.
7874 (__fgetspent_r): Likewise.
7876 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7879 * include/unistd.h (__access): Add attribute_hidden.
7880 (__lseek64): Likewise.
7881 (__libc_pread64): Likewise.
7882 (__pipe2): Likewise.
7883 (__sleep): Likewise.
7884 (__chdir): Likewise.
7885 (__fchdir): Likewise.
7886 (__getcwd): Likewise.
7887 (__rmdir): Likewise.
7888 (__execvpe): Likewise.
7889 (__execve): Likewise.
7890 (__setsid): Likewise.
7891 (__getuid): Likewise.
7892 (__geteuid): Likewise.
7893 (__getgid): Likewise.
7894 (__getegid): Likewise.
7895 (__getgroups): Likewise.
7896 (__group_member): Likewise.
7897 (__ttyname_r): Likewise.
7898 (__isatty): Likewise.
7899 (__readlink): Likewise.
7900 (__unlink): Likewise.
7901 (__gethostname): Likewise.
7902 (__profil): Likewise.
7903 (__getdtablesize): Likewise.
7905 (__ftruncate): Likewise.
7906 (__ftruncate64): Likewise.
7908 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7911 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
7912 * argp/argp-fs-xinl.c: Likewise.
7913 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
7914 * argp/argp-parse.c: Include <argp.h>.
7915 * argp/argp-xinl.c: Likewise.
7916 * include/argp-fmtstream.h: New file.
7917 * include/argp.h (__argp_error): Add attribute_hidden.
7918 (__argp_failure): Likewise.
7919 (__argp_input): Likewise.
7920 (__argp_state_help): Likewise.
7922 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7925 * include/wchar.h (____wcstof_l_internal): New prototype.
7926 (____wcstod_l_internal): Likewise.
7927 (____wcstold_l_internal): Likewise.
7928 (____wcstol_l_internal): Likewise.
7929 (____wcstoul_l_internal): Likewise.
7930 (____wcstoll_l_internal): Likewise.
7931 (____wcstoull_l_internal): Likewise.
7932 (____wcstof128_l_internal): Likewise.
7933 * sysdeps/ieee754/float128/wcstof128.c
7934 (____wcstof128_l_internal): Removed.
7935 * sysdeps/ieee754/float128/wcstof128_l.c
7936 (____wcstof128_l_internal): Likewise.
7937 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
7938 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
7939 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
7940 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
7941 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
7942 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
7943 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
7944 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
7945 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
7946 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
7948 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7951 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
7952 instead of <sys/statvfs.h>.
7953 (__internal_statvfs): Removed.
7954 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
7955 instead of <sys/statvfs.h>.
7956 (__internal_statvfs64): Removed.
7957 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
7958 "internal_statvfs.h" instead of <sys/statvfs.h>.
7959 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
7960 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
7961 instead of <sys/statvfs.h>.
7962 (__internal_statvfs): Removed.
7963 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
7964 instead of <sys/statvfs.h>.
7965 (__internal_statvfs64): Removed.
7967 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7970 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
7971 (__gconv_close): Likewise.
7972 (__gconv): Likewise.
7973 (__gconv_find_transform): Likewise.
7974 (__gconv_lookup_cache): Likewise.
7975 (__gconv_compare_alias_cache): Likewise.
7976 (__gconv_load_cache): Likewise.
7977 (__gconv_get_path): Likewise.
7978 (__gconv_close_transform): Likewise.
7979 (__gconv_release_cache): Likewise.
7980 (__gconv_find_shlib): Likewise.
7981 (__gconv_release_shlib): Likewise.
7982 (__gconv_get_builtin_trans): Likewise.
7983 (__gconv_compare_alias): Likewise.
7984 * include/dlfcn.h (_dlerror_run): Likewise.
7985 * include/stdio.h (__fortify_fail_abort): Likewise.
7986 * include/time.h (__tz_compute): Likewise.
7987 (__strptime_internal): Likewise.
7988 * intl/gettextP.h (_nl_find_domain): Likewise.
7989 (_nl_load_domain): Likewise.
7990 (_nl_find_msg): Likewise.
7991 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
7992 (EXTRACT_PLURAL_EXPRESSION): Likewise.
7993 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
7994 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
7995 (__gai_find_request): Likewise.
7996 (__gai_remove_request): Likewise.
7997 (__gai_notify): Likewise.
7998 (__gai_notify_only): Likewise.
7999 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
8000 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
8001 (_dl_non_dynamic_init): Likewise.
8002 (_dl_aux_init): Likewise.
8003 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
8004 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
8006 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
8007 (__wcsmbs_clone_conv): Likewise.
8008 (__wcsmbs_named_conv): Likewise.
8010 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8013 * include/stdlib.h (__random): Add attribute_hidden.
8014 (__random_r): Likewise.
8015 (__srandom_r): Likewise.
8016 (__initstate_r): Likewise.
8017 (__setstate_r): Likewise.
8018 (__erand48_r): Likewise.
8019 (__nrand48_r): Likewise.
8020 (__jrand48_r): Likewise.
8021 (__srand48_r): Likewise.
8022 (__seed48_r): Likewise.
8023 (__lcong48_r): Likewise.
8024 (__drand48_iterate): Likewise.
8025 (__setenv): Likewise.
8026 (__unsetenv): Likewise.
8027 (__clearenv): Likewise.
8028 (__ptsname_r): Likewise.
8029 (__posix_openpt): Likewise.
8030 (__add_to_environ): Likewise.
8031 (__realpath): Add libc_hidden_proto.
8032 (__ecvt_r): Likewise.
8033 (__fcvt_r): Likewise.
8034 (__qecvt_r): Likewise.
8035 (__qfcvt_r): Likewise.
8036 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
8037 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
8039 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8042 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
8043 * include/time.h (__mktime_internal): Likewise.
8044 * libio/iolibio.h (__fopen_internal): Likewise.
8046 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
8048 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
8050 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
8051 Correct offset used to restore PIC register.
8053 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
8056 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
8057 code to load address of __getcontext_ret when generating PIC code.
8059 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
8061 * elf/Makefile (tests-static-internal): Add
8062 tst-tls1-static-non-pie.
8063 (LDFLAGS-tst-tls1-static-non-pie): New.
8064 * elf/tst-tls1-static-non-pie.c: New file.
8066 2017-09-29 Joseph Myers <joseph@codesourcery.com>
8068 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
8069 (asinh): Define using libm_alias_double.
8070 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
8071 (cbrt): Define using libm_alias_double.
8072 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
8073 <libm-alias-double.h>.
8074 (copysign): Define using libm_alias_double.
8075 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
8076 (erf): Define using libm_alias_double.
8078 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
8079 (expm1): Define using libm_alias_double.
8080 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
8081 (fabs): Define using libm_alias_double.
8082 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
8084 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
8085 <libm-alias-double.h>.
8086 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
8088 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
8089 <libm-alias-double.h>.
8090 (getpayload): Define using libm_alias_double.
8091 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
8092 <libm-alias-double.h>.
8093 (llrint): Define using libm_alias_double.
8094 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
8095 (lrint): Define using libm_alias_double.
8096 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
8097 <libm-alias-double.h>.
8098 (nextup): Define using libm_alias_double.
8099 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
8100 <libm-alias-double.h>.
8101 (roundeven): Define using libm_alias_double.
8102 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
8104 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
8105 <libm-alias-double.h>.
8106 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
8107 using libm_alias_double.
8108 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
8109 (cos): Define using libm_alias_double.
8111 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
8112 <libm-alias-double.h>.
8113 (sincos): Define using libm_alias_double.
8114 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
8115 (tanh): Define using libm_alias_double.
8116 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
8117 <libm-alias-double.h>.
8118 (totalorder): Define using libm_alias_double.
8119 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
8120 <libm-alias-double.h>.
8121 (totalordermag): Define using libm_alias_double.
8122 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
8124 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
8126 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
8127 <libm-alias-double.h>.
8128 (getpayload): Define using libm_alias_double.
8129 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
8130 <libm-alias-double.h>.
8131 (roundeven): Define using libm_alias_double.
8132 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
8133 <libm-alias-double.h>.
8134 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
8135 <libm-alias-double.h>.
8136 (totalorder): Define using libm_alias_double.
8137 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
8138 <libm-alias-double.h>.
8139 (totalordermag): Define using libm_alias_double.
8140 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
8141 libc compat symbol here.
8142 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
8143 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
8144 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
8145 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
8146 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
8147 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
8148 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
8149 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
8150 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
8151 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
8153 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
8155 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
8156 _dl_relocate_static_pie instead of _dl_start to compute load
8157 address in static PIE. Return 0 if _DYNAMIC is undefined for
8160 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
8162 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
8163 _DYNAMIC is undefined for static executable.
8165 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
8167 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
8169 2017-09-29 Joseph Myers <joseph@codesourcery.com>
8171 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8173 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
8175 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
8176 (__ieee754_lgamma_r): Use fabs rather than __fabs.
8177 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
8178 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
8179 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
8180 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
8181 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
8182 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
8183 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
8184 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
8185 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
8186 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
8187 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
8188 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
8189 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
8190 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
8191 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
8193 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
8195 * math/bits/cmathcalls.h (cimag): Remove inline.
8196 (creal): Remove inline.
8197 (conj): Remove inline.
8199 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
8201 * math/Makefile (type-float-routines): Add e_powf_log2_data.
8202 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
8203 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
8204 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
8205 (issignalingf_inline): Likewise.
8206 (POWF_LOG2_TABLE_BITS): Likewise.
8207 (POWF_LOG2_POLY_ORDER): Likewise.
8208 (POWF_SCALE_BITS): Likewise.
8209 (POWF_SCALE): Likewise.
8210 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
8211 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
8212 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
8214 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
8216 * math/Makefile (type-float-routines): Add e_log2f_data.
8217 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
8218 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
8219 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
8220 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
8221 * sysdeps/i386/fpu/e_log2f_data.c: New file.
8222 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
8223 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
8225 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
8227 * math/Makefile (type-float-routines): Add e_logf_data.
8228 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
8229 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
8230 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
8231 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
8232 * sysdeps/i386/fpu/e_logf_data.c: New file.
8233 * sysdeps/ia64/fpu/e_logf_data.c: New file.
8234 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
8236 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
8238 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
8239 undefined _DYNAMIC in PIE libc.a.
8240 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
8243 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
8245 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
8246 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
8247 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
8248 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
8249 (__signbit): Remove.
8250 (__signbitl): Remove.
8251 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
8252 (__signbit): Remove.
8253 (__signbitl): Remove.
8254 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
8255 (__signbit): Remove.
8256 (__signbitl): Remove.
8257 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
8258 (__signbit): Remove.
8259 (__signbitl): Remove.
8260 * sysdeps/tile/bits/mathinline.h: Delete file.
8261 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
8262 (__signbit): Remove.
8263 (__signbitl): Remove.
8265 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
8267 * math/math.h: Improve handling of C99 isgreater macros.
8268 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
8269 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
8270 * sysdeps/powerpc/bits/mathinline.h: Likewise.
8271 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
8272 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
8274 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
8276 * sysdeps/aarch64/libm-test-ulps: Update.
8278 2017-09-28 Joseph Myers <joseph@codesourcery.com>
8281 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8282 math_opt_barrier on argument when doing arithmetic on it.
8283 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8284 Likewise. Use math_force_eval not math_opt_barrier after
8286 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
8287 math_opt_barrier on argument when doing arithmetic on it.
8288 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8291 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
8293 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
8295 (__freeifaddrs): Likewise.
8297 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8299 * include/dirent.h (__dirfd): New declaration.
8300 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
8302 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
8303 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
8304 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
8305 * include/unistd.h (__revoke): New declaration.
8306 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
8308 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
8309 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
8311 * include/dirent.h (__seekdir): New declaration.
8312 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
8313 redefine as weak alias.
8314 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
8316 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
8317 and use libc_hidden_def on them.
8318 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
8320 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
8321 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
8322 instead of getifaddrs and freeifaddrs.
8324 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
8327 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
8328 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
8329 (__dso_handle): Remove declaration.
8330 * dlfcn/tstatexit.c (__dso_handle): Removed.
8331 (main): Don't check __dso_handle.
8332 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
8333 (main): Don't check __dso_handle.
8334 * include/dso_handle.h: New file.
8335 * malloc/mtrace.c: Include <dso_handle.h>.
8336 (mtrace): Pass __dso_handle directly.
8337 * nptl/pthread_atfork.c: Include <dso_handle.h>.
8338 (__dso_handle): Remove declaration.
8339 (__pthread_atfork): Pass __dso_handle directly.
8340 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
8341 (__dso_handle): Removed.
8342 * posix/wordexp-test.c: Include <dso_handle.h>.
8343 (__dso_handle): Remove declaration.
8344 (__app_register_atfork): Pass __dso_handle directly.
8345 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
8346 (__dso_handle): Remove declaration.
8347 (at_quick_exit): Pass __dso_handle directly.
8348 * stdlib/atexit.c: Include <dso_handle.h>.
8349 (__dso_handle): Remove declaration.
8350 (atexit): Pass __dso_handle directly.
8351 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
8352 (__dso_handle): Removed.
8354 2017-09-26 Joseph Myers <joseph@codesourcery.com>
8356 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
8359 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
8361 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
8362 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
8363 values to correct default value for given type.
8365 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
8368 * elf/Makefile (tests): Add tst-debug1.
8369 ($(objpfx)tst-debug1): New.
8370 ($(objpfx)tst-debug1.out): Likewise.
8371 ($(objpfx)tst-debug1mod1.so): Likewise.
8372 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
8374 * elf/tst-debug1.c: New file.
8376 2017-09-26 Joseph Myers <joseph@codesourcery.com>
8378 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
8379 Define using __ifunc.
8381 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8383 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
8386 2017-09-26 Joseph Myers <joseph@codesourcery.com>
8389 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
8391 2017-09-26 Florian Weimer <fweimer@redhat.com>
8393 * resolv/Makefile (tests-internal): Fix typo in comment.
8395 2017-09-26 Florian Weimer <fweimer@redhat.com>
8397 * resolv/nss_dns/dns-host.c: Fix typo in comment.
8399 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8401 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
8402 Use an union instead of a max_align_t array for __space,
8403 so that __space is the same size on all platforms.
8404 * malloc/scratch_buffer_grow_preserve.c
8405 (__libc_scratch_buffer_grow_preserve): Likewise.
8408 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
8410 * posix/Makefile (routines): Add glob-lstat-compat and
8411 glob64-lstat-compat.
8412 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
8413 * posix/glob-lstat-compat.c: New file.
8414 * posix/glob64-lstat-compat.c: Likewise.
8415 * posix/tst-glob_lstat_compat.c: Likewise.
8416 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
8417 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
8418 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
8419 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
8421 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
8422 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
8423 * posix/glob.c (glob_lstat): New function.
8424 (glob): Rename to __glob and add versioned symbol to 2.27.
8425 (glob_in_dir): Use glob_lstat.
8426 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
8427 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8428 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
8430 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
8431 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
8432 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
8433 gl_lstat on glob call.
8434 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
8436 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8437 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8438 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8439 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8440 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8441 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8442 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8443 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8444 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8445 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8446 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8447 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8450 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
8451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8452 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8453 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8454 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8455 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8456 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8457 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
8458 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
8459 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8460 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8461 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8463 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
8465 * configure.ac (AS): Require binutils 2.25 or later.
8466 * configure: Regenerated.
8468 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
8471 * stdlib/test-atexit-race-common.c (do_test): Minimize required
8474 2017-09-25 DJ Delorie <dj@redhat.com>
8477 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
8480 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
8482 * sysdeps/ieee754/dbl-64/sincos32.h
8483 [SINCCOS32_H]: Remove define.
8484 [SINCOS32_H]: Define.
8486 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
8488 * math/Versions (expf): New libm symbol at GLIBC_2.27.
8490 * math/w_exp2f.c: New file.
8491 * math/w_expf.c: New file.
8492 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
8493 * math/w_expf_compat.c (__expf_compat): Likewise.
8494 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
8495 * sysdeps/ia64/fpu/e_expf.S: Likewise.
8496 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
8497 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8498 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8499 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8500 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8501 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8502 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8503 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8504 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8505 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8506 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8507 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8516 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8517 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8518 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8519 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8520 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8521 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8523 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8525 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8526 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8527 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8529 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
8531 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
8532 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
8533 (roundtoint, converttoint): Likewise.
8534 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
8535 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
8536 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
8537 * sysdeps/ieee754/flt-32/math_config.h: New file.
8538 * sysdeps/ieee754/flt-32/math_errf.c: New file.
8539 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
8540 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
8541 * sysdeps/i386/fpu/math_errf.c: New file.
8542 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
8543 * sysdeps/ia64/fpu/math_errf.c: New file.
8544 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
8545 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
8547 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
8549 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
8550 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
8551 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
8552 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
8553 to make sure that these symbols are defined.
8554 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
8556 (__need_NULL): Do not define.
8557 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
8559 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
8560 CMGROUP_MAX, cmsgcred): Do not define.
8561 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
8563 * bits/socket.h: Likewise.
8564 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
8565 __gettimeofday instead of gettimeofday.
8566 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
8567 instead of settimeofday.
8569 2017-09-22 Joseph Myers <joseph@codesourcery.com>
8571 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
8572 (asinhf): Define using libm_alias_float.
8573 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
8574 (atanf): Define using libm_alias_float.
8575 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
8576 (cbrtf): Define using libm_alias_float.
8577 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
8578 (ceilf): Define using libm_alias_float.
8579 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
8580 <libm-alias-float.h>.
8581 (copysignf): Define using libm_alias_float.
8582 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
8583 (cosf): Define using libm_alias_float.
8584 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
8585 (erff): Define using libm_alias_float.
8587 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
8588 (expm1f): Define using libm_alias_float.
8589 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
8590 (fabsf): Define using libm_alias_float.
8591 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
8592 (floorf): Define using libm_alias_float.
8593 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
8594 (frexpf): Define using libm_alias_float.
8595 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
8597 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
8598 <libm-alias-float.h>.
8599 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
8601 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
8602 <libm-alias-float.h>.
8603 (getpayloadf): Define using libm_alias_float.
8604 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
8605 <libm-alias-float.h>.
8606 (llrintf): Define using libm_alias_float.
8607 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
8608 <libm-alias-float.h>.
8609 (llroundf): Define using libm_alias_float.
8610 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
8611 (logbf): Define using libm_alias_float.
8612 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
8613 (lrintf): Define using libm_alias_float.
8614 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
8615 (lroundf): Define using libm_alias_float.
8616 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
8617 (modff): Define using libm_alias_float.
8618 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
8619 <libm-alias-float.h>.
8620 (nearbyintf): Define using libm_alias_float.
8621 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
8622 <libm-alias-float.h>.
8623 (nextafterf): Define using libm_alias_float.
8624 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
8625 <libm-alias-float.h>.
8626 (nextupf): Define using libm_alias_float.
8627 * sysdeps/ieee754/flt-32/s_remquof.c: Include
8628 <libm-alias-float.h>.
8629 (remquof): Define using libm_alias_float.
8630 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
8631 (rintf): Define using libm_alias_float.
8632 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
8633 <libm-alias-float.h>.
8634 (roundevenf): Define using libm_alias_float.
8635 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
8636 (roundf): Define using libm_alias_float.
8637 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
8638 using libm_alias_float.
8639 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
8640 <libm-alias-float.h>.
8641 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
8642 Define using libm_alias_float.
8643 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
8644 <libm-alias-float.h>.
8645 (sincosf): Define using libm_alias_float.
8646 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
8647 (sinf): Define using libm_alias_float.
8648 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
8649 (tanf): Define using libm_alias_float.
8650 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
8651 (tanhf): Define using libm_alias_float.
8652 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
8653 <libm-alias-float.h>.
8654 (totalorderf): Define using libm_alias_float.
8655 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
8656 <libm-alias-float.h>.
8657 (totalordermagf): Define using libm_alias_float.
8658 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
8659 (truncf): Define using libm_alias_float.
8660 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
8662 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
8665 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8668 math/math.h: Let fpclassify use the builtin in C++ mode, even
8669 when optimazing for size.
8671 2017-09-22 Joseph Myers <joseph@codesourcery.com>
8673 * csu/Makefile (generated): Do not add version-info.h.
8674 (before-compile): Likewise.
8675 (all-Banner-files): Remove variable.
8676 ($(objpfx)version-info.h): Remove rule.
8677 * csu/version.c (banner): Do not include "version-info.h".
8678 * libidn/Banner: Remove.
8679 * manual/contrib.texi (Simon Josefsson): New entry.
8681 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8683 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8684 Remove conditionals on LDBL_MANT_DIG.
8685 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
8686 (__ieee754_lgammal_r): Likewise.
8688 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8690 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
8692 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
8693 _Float128 and L(). Replace _Float128 with long double and L(x)
8694 with xL, throughout the file.
8695 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
8696 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
8697 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
8698 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
8700 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8702 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
8703 sysdeps/ieee754/ldbl-128ibm.
8704 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
8705 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
8706 of including it. Keep _Float128 and L() intact. These will be
8707 reviewed by a separate patch.
8708 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
8709 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
8710 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
8711 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
8713 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
8716 (__finitef128): Define to __redirect___finitef128.
8717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
8718 (__isinff128): Define to __redirect___isinff128.
8719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
8720 (__isnanf128): Define to __redirect___isnanf128.
8722 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8724 * sysdeps/powerpc/powerpc64le/Makefile
8725 (CFLAGS-tst-strtod-nan-locale.c): New variable.
8726 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
8728 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
8729 Carlos O'Donell <carlos@redhat.com>
8732 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
8733 * stdlib/test-dlclose-exit-race.c: New file.
8734 * stdlib/test-dlclose-exit-race-helper.c: New file.
8735 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
8737 2017-09-21 Joseph Myers <joseph@codesourcery.com>
8739 * crypt/Banner: Remove file.
8740 * nptl/Banner: Likewise.
8741 * resolv/Banner: Likewise.
8742 * soft-fp/Banner: Likewise.
8743 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
8744 ($(objpfx)version.d): Remove dependency on banner.h.
8745 ($(objpfx)version.os): Likewise.
8746 * nptl/version.c (banner): Do not include banner.h.
8747 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
8748 Jelinek and BIND code.
8750 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
8751 Carlos O'Donell <carlos@redhat.com>
8753 * support/xdlfcn.h: New file.
8754 * support/xdlfcn.c: New file.
8755 * support/Makefile (libsupport-routines): Add xdlfcn.
8756 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
8758 2017-09-20 Joseph Myers <joseph@codesourcery.com>
8761 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8762 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
8763 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
8764 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
8765 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
8766 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
8767 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
8768 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
8770 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
8771 Ricky Zhou <rickyz@google.com>
8772 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
8775 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
8777 (__new_exitfn): Fail registration when we finished at_exit processing.
8778 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
8779 * stdlib/on_exit.c (__on_exit): Likewise.
8780 * stdlib/exit.c (__exit_funcs_done): New variable.
8781 (__run_exit_handlers): Use __exit_funcs_lock.
8782 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
8784 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
8785 (test-cxa_atexit-race, test-on_exit-race): New tests.
8786 * stdlib/test-atexit-race-common.c: New file.
8787 * stdlib/test-atexit-race.c: New file.
8788 * stdlib/test-at_quick_exit-race.c: New file.
8789 * stdlib/test-cxa_atexit-race.c: New file.
8790 * stdlib/test-on_exit-race.c: New file.
8792 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
8794 * benchtests/Makefile: Add exp2f and log2f benchmarks.
8795 * benchtests/exp2f-inputs: Copy of expf-inputs.
8796 * benchtests/log2f-inputs: Copy of logf-inputs.
8798 2017-09-19 Joseph Myers <joseph@codesourcery.com>
8800 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
8801 Explicitly take address of first element of array arguments in
8802 call to INLINE_SYSCALL.
8804 2017-09-19 Andreas Schwab <schwab@suse.de>
8807 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
8809 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
8811 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
8812 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
8813 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8814 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
8815 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8816 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
8817 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8818 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
8819 * posix/Makefile (tests): Add tst-fexecve.
8820 * posix/tst-fexecve.c: New file.
8822 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
8824 * benchtests/Makefile: Add logf benchmark.
8825 * benchtests/logf-inputs: Add reduced trace from wrf_r.
8827 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
8829 * benchtests/Makefile: Add expf benchmark.
8830 * benchtests/expf-inputs: Add reduced trace from wrf_r.
8832 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
8834 * csu/Makefile: Add -funwind-tables to libc-start.c.
8835 * debug/Makefile: Add -funwind-tables to backtrace.c.
8836 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
8837 * sysdeps/arm/Makefile: Likewise.
8838 * sysdeps/i386/Makefile: Likewise.
8839 * sysdeps/m68k/Makefile: Likewise.
8840 * sysdeps/mips/Makefile: Likewise.
8841 * sysdeps/nios2/Makefile: Likewise.
8842 * sysdeps/sh/Makefile: Likewise.
8843 * sysdeps/sparc/Makefile: Likewise.
8845 2017-09-19 Joseph Myers <joseph@codesourcery.com>
8847 * benchtests/Makefile (bench-math): Add trunc and truncf.
8848 (CFLAGS-bench-trunc.c): New variable.
8849 (CFLAGS-bench-truncf.c): Likewise.
8850 * benchtests/trunc-inputs: New file.
8851 * benchtests/truncf-inputs: Likewise.
8853 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8855 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
8857 2017-09-18 Joseph Myers <joseph@codesourcery.com>
8859 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
8860 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
8862 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
8863 (exp10l): Define as weak alias.
8864 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
8865 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
8867 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
8868 (remainderl): Define as weak alias.
8870 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
8871 (fmal): Define using libm_alias_ldouble.
8872 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
8873 (acoshl): Define using libm_alias_ldouble.
8874 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
8875 (acosl): Define using libm_alias_ldouble.
8876 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
8877 (asinl): Define using libm_alias_ldouble.
8878 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
8879 (atan2l): Define using libm_alias_ldouble.
8880 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
8881 (atanhl): Define using libm_alias_ldouble.
8882 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
8883 (coshl): Define using libm_alias_ldouble.
8884 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
8885 (exp10l): Define using libm_alias_ldouble.
8886 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
8887 (exp2l): Define using libm_alias_ldouble.
8888 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
8889 (expl): Define using libm_alias_ldouble.
8890 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
8891 (fmodl): Define using libm_alias_ldouble.
8892 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
8893 (hypotl): Define using libm_alias_ldouble.
8894 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
8895 (j0l): Define using libm_alias_ldouble.
8897 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
8898 (j1l): Define using libm_alias_ldouble.
8900 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
8901 (jnl): Define using libm_alias_ldouble.
8903 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
8904 (log10l): Define using libm_alias_ldouble.
8905 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
8906 (log2l): Define using libm_alias_ldouble.
8907 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
8908 (logl): Define using libm_alias_ldouble.
8909 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
8910 (powl): Define using libm_alias_ldouble.
8911 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
8912 (remainderl): Define using libm_alias_ldouble.
8913 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
8914 (sinhl): Define using libm_alias_ldouble.
8915 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
8916 (sqrtl): Define using libm_alias_ldouble.
8917 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
8918 (tgammal): Define using libm_alias_ldouble.
8919 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
8920 (exp10l): Do not use long_double_symbol here.
8921 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
8922 [LIBM_SVID_COMPAT] (remainderl): Likewise.
8923 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
8924 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
8925 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
8926 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
8927 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
8928 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
8929 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
8930 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
8931 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
8932 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
8933 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
8934 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
8935 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
8936 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
8937 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
8938 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
8939 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
8940 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
8941 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
8942 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
8944 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
8946 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
8947 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
8949 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
8951 * io/read.c (read): Add libc_hidden_weak.
8952 * sysdeps/mach/hurd/read.c (read): Likewise.
8953 * io/write.c (write): Likewise.
8954 * sysdeps/mach/hurd/write.c (write): Likewise.
8955 * io/pread64.c (__pread64): Likewise.
8956 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
8957 * posix/pread64.c (__pread64): Add libc_hidden_def.
8959 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
8961 * benchtests/scripts/compare_strings.py: New option -g.
8962 (draw_graph): Print a message that a graph is being generated.
8963 (process_results): Generate graph only if -g is passed.
8964 (main): Process option -g.
8966 * benchtests/scripts/compare_strings.py (process_results):
8967 Better spacing for output.
8969 * benchtests/scripts/compare_strings.py: Use argparse.
8970 * benchtests/README: Document existence of compare_strings.py.
8972 2017-09-15 Joseph Myers <joseph@codesourcery.com>
8974 * math/s_fma.c: Include <libm-alias-double.h>.
8975 (fma): Define using libm_alias_double.
8976 * math/s_nextafter.c: Include <libm-alias-double.h>.
8977 (nextafter): Define using libm_alias_double.
8978 * math/w_acos_compat.c: Include <libm-alias-double.h>.
8979 (acos): Define using libm_alias_double.
8980 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
8981 (aocsh): Define using libm_alias_double.
8982 * math/w_asin_compat.c: Include <libm-alias-double.h>.
8983 (asin): Define using libm_alias_double.
8984 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
8985 (atan2): Define using libm_alias_double.
8986 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
8987 (atanh): Define using libm_alias_double.
8988 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
8989 (cosh): Define using libm_alias_double.
8990 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
8991 (exp10): Define using libm_alias_double.
8992 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
8993 (exp2): Define using libm_alias_double.
8994 * math/w_exp_compat.c: Include <libm-alias-double.h>.
8995 (exp): Define using libm_alias_double.
8996 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
8997 (fmod): Define using libm_alias_double.
8998 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
8999 (hypot): Define using libm_alias_double.
9000 * math/w_j0_compat.c: Include <libm-alias-double.h>.
9001 (j0): Define using libm_alias_double.
9003 * math/w_j1_compat.c: Include <libm-alias-double.h>.
9004 (j1): Define using libm_alias_double.
9006 * math/w_jn_compat.c: Include <libm-alias-double.h>.
9007 (jn): Define using libm_alias_double.
9009 * math/w_log10_compat.c: Include <libm-alias-double.h>.
9010 (log10): Define using libm_alias_double.
9011 * math/w_log2_compat.c: Include <libm-alias-double.h>.
9012 (log2): Define using libm_alias_double.
9013 * math/w_log_compat.c: Include <libm-alias-double.h>.
9014 (log): Define using libm_alias_double.
9015 * math/w_pow_compat.c: Include <libm-alias-double.h>.
9016 (pow): Define using libm_alias_double.
9017 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
9018 (remainder): Define using libm_alias_double.
9019 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
9020 (sinh): Define using libm_alias_double.
9021 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
9022 (sqrt): Define using libm_alias_double.
9023 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
9024 (tgamma): Define using libm_alias_double.
9025 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
9026 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
9027 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
9028 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
9029 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
9030 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
9031 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
9032 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
9033 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
9034 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
9035 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
9036 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
9037 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
9038 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
9039 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
9040 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
9041 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
9042 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
9043 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
9044 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
9045 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
9046 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
9047 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
9048 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
9049 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
9051 * math/e_acoshl.c: Remove.
9052 * math/e_acosl.c: Likewise.
9053 * math/e_asinl.c: Likewise.
9054 * math/e_atan2l.c: Likewise.
9055 * math/e_atanhl.c: Likewise.
9056 * math/e_coshl.c: Likewise.
9057 * math/e_expl.c: Likewise.
9058 * math/e_fmodl.c: Likewise.
9059 * math/e_gammal_r.c: Likewise.
9060 * math/e_hypotl.c: Likewise.
9061 * math/e_j0l.c: Likewise.
9062 * math/e_j1l.c: Likewise.
9063 * math/e_jnl.c: Likewise.
9064 * math/e_lgammal_r.c: Likewise.
9065 * math/e_log10l.c: Likewise.
9066 * math/e_log2l.c: Likewise.
9067 * math/e_logl.c: Likewise.
9068 * math/e_powl.c: Likewise.
9069 * math/e_rem_pio2l.c: Likewise.
9070 * math/e_sinhl.c: Likewise.
9071 * math/e_sqrtf128.c: Likewise.
9072 * math/e_sqrtl.c: Likewise.
9073 * math/k_cosl.c: Likewise.
9074 * math/k_sinl.c: Likewise.
9075 * math/k_tanl.c: Likewise.
9076 * math/s_asinhl.c: Likewise.
9077 * math/s_atanl.c: Likewise.
9078 * math/s_cbrtl.c: Likewise.
9079 * math/s_erfl.c: Likewise.
9080 * math/s_expm1l.c: Likewise.
9081 * math/s_log1pl.c: Likewise.
9082 * math/s_tanhl.c: Likewise.
9084 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9087 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
9088 [$(subdir) = math] (sysdep_calls): New variable. Has the
9089 previous contents of sysdep_routines, but re-sorted..
9090 [$(subdir) = math] (sysdep_routines): Re-use the contents from
9092 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
9093 defined in sysdep_calls and replace by the respective m_* names.
9094 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
9095 (compat_symbol): Undefine to avoid duplicated compat symbols in
9098 2017-09-15 Joseph Myers <joseph@codesourcery.com>
9100 * math/s_fmaf.c: Include <libm-alias-float.h>.
9101 (fmaf): Define using libm_alias_float.
9102 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
9103 (acosf): Define using libm_alias_float.
9104 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
9105 (acoshf): Define using libm_alias_float.
9106 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
9107 (asinf): Define using libm_alias_float.
9108 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
9109 (atan2f): Define using libm_alias_float.
9110 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
9111 (atanhf): Define using libm_alias_float.
9112 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
9113 (coshf): Define using libm_alias_float.
9114 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
9115 (exp10f): Define using libm_alias_float.
9116 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
9117 (fmodf): Define using libm_alias_float.
9118 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
9119 (hypotf): Define using libm_alias_float.
9120 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
9121 (j0f): Define using libm_alias_float.
9123 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
9124 (j1f): Define using libm_alias_float.
9126 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
9127 (jnf): Define using libm_alias_float.
9129 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
9130 (log10f): Define using libm_alias_float.
9131 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
9132 (log2f): Define using libm_alias_float.
9133 * math/w_logf_compat.c: Include <libm-alias-float.h>.
9134 (logf): Define using libm_alias_float.
9135 * math/w_powf_compat.c: Include <libm-alias-float.h>.
9136 (powf): Define using libm_alias_float.
9137 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
9138 (remainderf): Define using libm_alias_float.
9139 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
9140 (sinhf): Define using libm_alias_float.
9141 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
9142 (sqrtf): Define using libm_alias_float.
9143 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
9144 (tgammaf): Define using libm_alias_float.
9146 2017-09-14 Joseph Myers <joseph@codesourcery.com>
9148 * include/math.h (roundeven): Change hidden_proto call to
9150 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
9152 [NO_LONG_DOUBLE] (__j0l): New strong alias.
9153 (y0): Rename to __y0 and define as weak alias.
9154 [NO_LONG_DOUBLE] (__y0l): New strong alias.
9155 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
9157 (y0f): Rename to __y0f and define as weak alias.
9158 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
9160 [NO_LONG_DOUBLE] (__j1l): New strong alias.
9161 (y1): Rename to __y1 and define as weak alias.
9162 [NO_LONG_DOUBLE] (__y1l): New strong alias.
9163 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
9165 (y1f): Rename to __y1f and define as weak alias.
9166 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
9168 [NO_LONG_DOUBLE] (__jnl): New strong alias.
9169 (yn): Rename to __yn and define as weak alias.
9170 [NO_LONG_DOUBLE] (__ynl): New strong alias.
9171 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
9173 (ynf): Rename to __ynf and define as weak alias.
9174 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
9175 (fromfp): Define as weak alias.
9176 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
9177 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
9178 (fromfpx): Define as weak alias.
9179 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
9180 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
9181 __getpayload and define as weak alias.
9182 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
9183 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
9184 __roundeven and define as weak alias.
9185 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
9186 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
9188 (setpayload): Define as weak alias.
9189 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
9190 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
9192 (setpayloadsig): Define as weak alias.
9193 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
9194 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
9195 __totalorder and define as weak alias.
9196 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
9197 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
9198 to __totalordermag and define as weak alias.
9199 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
9200 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
9201 (ufromfp): Define as weak alias.
9202 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
9203 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
9205 (ufromfpx): Define as weak alias.
9206 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
9207 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
9208 Rename to __getpayload and define as weak alias.
9209 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
9210 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
9211 Rename to __roundeven and define as weak alias.
9212 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
9213 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
9214 Rename to __totalorder and define as weak alias.
9215 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
9216 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
9217 (totalordermag): Rename to __totalordermag and define as weak
9219 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
9220 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
9222 (__roundevenl): Likewise.
9223 (__totalorderl): Likewise.
9224 (__totalordermagl): Likewise
9225 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
9227 (fromfpf128): Define as weak alias.
9228 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
9230 (fromfpxf128): Define as weak alias.
9231 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
9233 (setpayloadf128): Define as weak alias.
9234 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
9235 __setpayloadsigf128.
9236 (setpayloadsigf128): Define as weak alias.
9237 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
9239 (ufromfpf128): Define as weak alias.
9240 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
9242 (ufromfpxf128): Define as weak alias.
9243 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
9244 (fromfpf): Define as weak alias.
9245 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
9247 (fromfpxf): Define as weak alias.
9248 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
9249 __getpayloadf and define as weak alias.
9250 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
9251 __roundevenf and define as weak alias.
9252 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
9254 (setpayloadf): Define as weak alias.
9255 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
9257 (setpayloadsigf): Define as weak alias.
9258 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
9259 __totalorderf and define as weak alias.
9260 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
9261 Rename to __totalordermagf and define as weak alias.
9262 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
9264 (ufromfpf): Define as weak alias.
9265 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
9267 (ufromfpxf): Define as weak alias.
9268 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
9270 (fromfpl): Define as weak alias.
9271 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
9273 (fromfpxl): Define as weak alias.
9274 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
9275 to __getpayloadl and define as weak alias.
9276 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
9277 __roundevenl and define as weak alias.
9278 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
9280 (setpayloadl): Define as weak alias.
9281 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
9283 (setpayloadsigl): Define as weak alias.
9284 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
9285 to __totalorderl and define as weak alias.
9286 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
9287 Rename to __totalordermagl and define as weak alias.
9288 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
9290 (ufromfpl): Define as weak alias.
9291 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
9293 (ufromfpxl): Define as weak alias.
9294 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
9296 (fromfpl): Define as weak alias.
9297 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
9299 (fromfpxl): Define as weak alias.
9300 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
9301 Rename to __getpayloadl and define as weak alias.
9302 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
9303 to __roundevenl and define as weak alias. Call __roundeven
9304 instead of roundeven.
9305 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
9307 (setpayloadl): Define as weak alias.
9308 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
9310 (setpayloadsigl): Define as weak alias.
9311 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
9312 Rename to __totalorderl and define as weak alias.
9313 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
9314 Rename to __totalordermagl and define as weak alias.
9315 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
9317 (ufromfpl): Define as weak alias.
9318 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
9320 (ufromfpxl): Define as weak alias.
9321 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
9323 (fromfpl): Define as weak alias.
9324 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
9326 (fromfpxl): Define as weak alias.
9327 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
9328 __getpayloadl and define as weak alias.
9329 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
9330 __roundevenl and define as weak alias.
9331 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
9333 (setpayloadl): Define as weak alias.
9334 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
9336 (setpayloadsigl): Define as weak alias.
9337 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
9338 __totalorderl and define as weak alias.
9339 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
9340 Rename to __totalordermagl and define as weak alias.
9341 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
9343 (ufromfpl): Define as weak alias.
9344 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
9346 (ufromfpxl): Define as weak alias.
9348 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
9350 * benchtests/bench-string.h (realloc_bufs): New function.
9351 (test_init): Call it.
9352 * benchtests/bench-memset-large.c (do_test): Likewise.
9353 * benchtests/bench-memset.c (do_test): Likewise.
9355 * benchtests/bench-memset-large.c: Print output in JSON
9357 * benchtests/bench-memset.c: Likewise.
9359 2017-09-14 Mike FABIAN <mfabian@redhat.com>
9362 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
9363 * iconvdata/Makefile: Add IBM858.
9364 * iconvdata/gconv-modules: Likewise.
9365 * iconvdata/tst-tables.sh: Likewise.
9366 * iconvdata/ibm858.c: New file.
9367 * localedata/charmaps/IBM858: Likewise.
9369 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
9372 * locales/niu_NZ (LC_TIME): copy "niu_NU".
9373 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
9375 2017-09-14 Mike FABIAN <mfabian@redhat.com>
9378 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
9379 and add tel_int_fmt.
9381 2017-09-14 Joseph Myers <joseph@codesourcery.com>
9383 * sysdeps/generic/libm-alias-float128.h: New file.
9384 * sysdeps/generic/math-type-macros-float128.h: Include
9385 <libm-alias-float128.h>.
9386 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
9388 2017-09-13 Joseph Myers <joseph@codesourcery.com>
9390 * sysdeps/generic/libm-alias-ldouble.h: New file.
9391 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
9392 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
9393 * sysdeps/generic/math-type-macros-ldouble.h: Include
9394 <libm-alias-ldouble.h>.
9395 [!declare_mgen_alias] (declare_mgen_alias): Define to use
9398 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
9400 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
9401 * math/w_exp_compat.c: ... here.
9402 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
9403 * math/w_expf_compat.c: ... here.
9404 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
9405 * math/w_expl_compat.c: ... here.
9406 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
9407 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
9408 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
9409 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
9411 2017-09-13 Joseph Myers <joseph@codesourcery.com>
9413 * math/w_scalbln_template.c (strong_alias): Do not undefine and
9415 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
9417 (ldexpl): Only define as compat symbol for libc, not libm.
9418 (scalbnl): Define as compat symbol for libc here.
9419 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
9420 define for [IS_IN (libc)].
9421 (__ldexpl_2): Remove alias.
9422 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
9423 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
9424 name in long_double_symbol call.
9425 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
9426 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
9427 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
9428 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
9429 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
9431 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
9432 Define as compat symbol.
9434 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9436 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
9437 * sysdeps/unix/sysv/linux/alpha/Makefile
9438 [$(subdir) = csu] (sysdep_routines): Remove rule.
9440 2017-09-13 Joseph Myers <joseph@codesourcery.com>
9442 * sysdeps/generic/libm-alias-double.h: New file.
9443 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
9444 * sysdeps/generic/math-type-macros-double.h: Include
9445 <libm-alias-double.h>.
9446 [declare_mgen_alias] (declare_mgen_alias): Define to use
9448 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
9449 (M_LIBM_NEED_COMPAT): Remove macro.
9450 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
9451 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
9452 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
9454 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9455 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9456 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9457 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9458 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9459 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9460 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9461 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9462 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9463 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9464 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9465 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9466 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9467 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9468 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9469 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9470 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9471 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9472 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9473 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9474 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9475 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9476 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9477 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9478 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9479 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9480 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9481 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
9482 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
9484 (declare_mgen_alias): New macro.
9485 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
9486 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
9487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
9488 (M_LIBM_NEED_COMPAT): Remove macro.
9489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
9490 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
9492 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
9493 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
9495 2017-09-12 Joseph Myers <joseph@codesourcery.com>
9497 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
9498 (declare_mgen_alias_2): Remove.
9499 * sysdeps/generic/math-type-macros-double.h
9500 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
9502 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
9504 (ldexp): Define with declare_mgen_alias.
9507 2017-09-12 Steve Ellcey <sellcey@cavium.com>
9509 * grp/initgroups.c: Include config.h.
9510 (DEFAULT_CONFIG): New macro.
9511 (internal_getgrouplist): Use DEFAULT_CONFIG.
9512 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9513 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
9514 (DEFAULT_DEFCONFIG): New macro.
9515 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
9516 * nss/grp-lookup.c: Include config.h
9517 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
9518 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
9519 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
9520 * manual/nss.texi: Update default values section.
9522 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
9525 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
9527 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
9528 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
9529 Handle MathVec_Prefer_No_AVX512.
9530 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
9531 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
9534 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
9536 * posix/sched_primax.c (__sched_get_priority_max): Add
9538 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
9539 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
9540 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
9541 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
9542 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
9543 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
9544 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
9545 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
9548 2017-09-11 Joseph Myers <joseph@codesourcery.com>
9550 * sysdeps/generic/libm-alias-float.h: New file.
9551 * sysdeps/generic/math-type-macros-float.h: Include
9552 <libm-alias-float.h>.
9553 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
9555 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
9558 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
9559 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
9560 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
9561 (HWCAP_IMPORTANT): Likewise.
9562 (HWCAP_X86_64): New enum.
9563 (HWCAP_X86_AVX512_1): Updated.
9564 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
9565 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
9566 (modules-names): Add x86_64/tst-x86_64mod-1.
9567 (LDFLAGS-tst-x86_64mod-1.so): New.
9568 ($(objpfx)tst-x86_64-1): Likewise.
9569 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
9570 (tst-x86_64-1-clean): Likewise.
9571 * sysdeps/x86_64/tst-x86_64-1.c: New file.
9572 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
9574 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
9576 * po/sv.po: Update translations.
9577 * po/fr.po: Likewise.
9579 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9581 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
9583 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
9585 * elf/rtld-Rules: Fix $(error) use.
9587 2017-09-09 Mike FABIAN <mfabian@redhat.com>
9590 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
9591 * locale/iso-639.def: Change “Bengali” to “Bangla”.
9592 * localedata/locales/bn_BD: “Bengali” was still used in some
9593 comments. Change it to “Bangla”.
9595 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
9597 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
9599 2017-09-08 Steve Ellcey <sellcey@cavium.com>
9601 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
9602 thunderx2t99p1 to list of cpu names.
9603 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
9604 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
9606 2017-09-08 Steve Ellcey <sellcey@cavium.com>
9608 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
9609 Use strcmp instead of tunable_is_name.
9611 2017-09-08 Joseph Myers <joseph@codesourcery.com>
9613 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
9614 (F_GET_RW_HINT): New macro.
9615 [__USE_GNU] (F_SET_RW_HINT): Likewise.
9616 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
9617 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
9618 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
9619 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
9620 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
9621 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
9622 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
9623 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
9625 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
9626 (F_ADD_SEALS): New macro.
9627 [__USE_GNU] (F_GET_SEALS): Likewise.
9628 [__USE_GNU] (F_SEAL_SEAL): Likewise.
9629 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
9630 [__USE_GNU] (F_SEAL_GROW): Likewise.
9631 [__USE_GNU] (F_SEAL_WRITE): Likewise.
9633 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9635 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
9636 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
9637 * posix/glob_internal.h (__glob_pattern_type):
9638 * posix/glob.c (glob):
9639 * posix/glob_pattern_p.c (__glob_pattern_p):
9642 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
9643 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9644 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
9645 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
9646 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
9647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
9648 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
9649 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
9650 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
9651 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
9652 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
9653 * sysdeps/wordsize-64/glob.c: Likewise.
9654 * sysdeps/wordsize-64/glob64.c: Likewise.
9655 * sysdeps/wordsize-64/globfree.c: Likewise.
9656 * sysdeps/wordsize-64/globfree64.c: Likewise.
9657 * sysdeps/unix/sysv/linux/glob.c: New file.
9658 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
9659 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
9660 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
9661 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
9662 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
9663 adds !GLOB_NO_OLD_VERSION as an extra condition.
9664 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
9665 using relative path instead of absolute one.
9666 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
9667 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
9668 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9669 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
9670 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
9671 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
9674 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
9675 (glob): Use the same scratch buffer for both getlogin_r and
9676 getpwnam_r. Don’t require preallocation of the login name. This
9677 simplifies storage allocation, and corrects the handling of
9681 * posix/glob.c (glob): Port recent patches to platforms
9683 (glob): Fix longstanding misuse of errno after getpwnam_r, which
9684 returns an error number rather than setting errno.
9686 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
9687 instead of GCC extension.
9688 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
9689 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
9690 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
9694 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
9695 * posix/bug-glob1.c: Remove file.
9696 * posix/tst-glob_symlinks.c: New file.
9697 * posix/glob.c (__lstat64): New macro.
9698 (is_dir): New function.
9699 (glob, glob_in_dir): Match symlinks even if they are dangling.
9700 (link_stat, link_exists_p): Remove. All uses removed.
9704 * posix/glob.c (struct readdir_result): Remove skip_entry member.
9705 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
9710 * posix/Makefile (routines): Add globfree, globfree64, and
9712 * posix/flexmember.h: New file.
9713 * posix/glob_internal.h: Likewise.
9714 * posix/glob_pattern_p.c: Likewise.
9715 * posix/globfree.c: Likewise.
9716 * posix/globfree64.c: Likewise.
9717 * sysdeps/gnu/globfree64.c: Likewise.
9718 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
9719 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
9720 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
9721 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
9722 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
9723 * sysdeps/wordsize-64/globfree.c: Likewise.
9724 * sysdeps/wordsize-64/globfree64.c: Likewise.
9725 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
9726 [NDEBUG): Remove comments.
9727 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
9728 (dirent_type): New type. Use uint_fast8_t not
9729 uint8_t, as C99 does not require uint8_t.
9730 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
9731 (struct readdir_result): Use dirent_type. Do not define skip_entry
9732 unless it is needed; this saves a byte on platforms lacking d_ino.
9733 (readdir_result_type, readdir_result_skip_entry):
9734 New functions, replacing ...
9735 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
9736 these functions, which were removed. This makes the callers
9737 easier to read. All callers changed.
9738 (D_INO_TO_RESULT): Now empty if there is no d_ino.
9739 (size_add_wrapv, glob_use_alloca): New static functions.
9740 (glob, glob_in_dir): Check for size_t overflow in several places,
9741 and fix some size_t checks that were not quite right.
9742 Remove old code using SHELL since Bash no longer
9744 (glob, prefix_array): Separate MS code better.
9745 (glob_in_dir): Remove old Amiga and VMS code.
9746 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
9748 (glob_in_dir): Do not rely on undefined behavior in accessing
9749 struct members beyond their bounds. Use a flexible array member
9751 (link_stat): Rename from link_exists2_p and return -1/0 instead of
9752 0/1. Caller changed.
9753 (glob): Fix memory leaks.
9754 * posix/glob64 (globfree64): Move to separate file.
9755 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
9756 (globfree64): Remove hidden alias.
9757 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
9759 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
9761 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
9763 Move compat code to separate file.
9764 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
9767 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
9769 * resolv/tst-resolv-qtypes.c (domain): Changed to
9770 "const char domain[] =".
9772 2017-09-07 Joseph Myers <joseph@codesourcery.com>
9774 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
9777 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
9778 (TCP_MD5SIG_EXT): Likewise.
9779 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
9780 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
9781 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
9783 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
9785 2017-09-07 Mike FABIAN <mfabian@redhat.com>
9787 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
9789 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
9792 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
9794 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
9796 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
9797 before assuming that the file is empty. Avoid testing buffer content
9800 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9803 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
9805 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
9807 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
9809 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
9811 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
9813 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
9815 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
9818 2017-09-06 Florian Weimer <fweimer@redhat.com>
9820 * malloc/dynarray_emplace_enlarge.c
9821 (__libc_dynarray_emplace_enlarge): Add missing else.
9823 2017-09-06 Florian Weimer <fweimer@redhat.com>
9826 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
9827 case of failure to obtain the global conf object.
9829 2017-09-06 Florian Weimer <fweimer@redhat.com>
9832 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
9833 dynarray allocation failure.
9835 2017-09-06 Florian Weimer <fweimer@redhat.com>
9837 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
9838 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
9839 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
9841 (response): Call them. Add 'p', '6' flag processing.
9842 (test_reverse): New function.
9843 (test_get2_any): Call it.
9844 (test_no_inet6): Add 'p' test.
9845 (test_inet6): Likewise.
9847 2017-09-06 Florian Weimer <fweimer@redhat.com>
9849 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
9850 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
9852 (test_gai): Adjust query names. Add additional tests.
9853 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
9854 test_get2. Adjust query names. Add additional tests.
9855 (test_no_inet6): New function, extracted from threadfunc.
9856 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
9857 Add additional tests.
9859 2017-09-06 Mike FABIAN <mfabian@redhat.com>
9862 * localedata/unicode-gen/utf8_gen.py: Set the width for
9863 characters with Prepended_Concatenation_Mark property to 1
9864 * localedata/charmaps/UTF-8: Updated using the improved script.
9866 2017-09-06 Mike FABIAN <mfabian@redhat.com>
9869 * localedata/unicode-gen/utf8_gen.py: Improve the script to
9870 use the range notation for all ranges of neighbouring characters
9871 with the same width.
9873 2017-09-05 Joseph Myers <joseph@codesourcery.com>
9875 * sysdeps/generic/math-type-macros-double.h: Include
9876 <math-svid-compat.h>.
9877 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
9878 * sysdeps/generic/math-type-macros-float.h: Include
9879 <math-svid-compat.h>.
9880 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
9881 * sysdeps/generic/math-type-macros-ldouble.h: Include
9882 <math-svid-compat.h>.
9883 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
9884 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
9886 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
9887 * math/w_acosf_compat.c: Likewise.
9888 * math/w_acosh_compat.c: Likewise.
9889 * math/w_acoshf_compat.c: Likewise.
9890 * math/w_acoshl_compat.c: Likewise.
9891 * math/w_acosl_compat.c: Likewise.
9892 * math/w_asin_compat.c: Likewise.
9893 * math/w_asinf_compat.c: Likewise.
9894 * math/w_asinl_compat.c: Likewise.
9895 * math/w_atan2_compat.c: Likewise.
9896 * math/w_atan2f_compat.c: Likewise.
9897 * math/w_atan2l_compat.c: Likewise.
9898 * math/w_atanh_compat.c: Likewise.
9899 * math/w_atanhf_compat.c: Likewise.
9900 * math/w_atanhl_compat.c: Likewise.
9901 * math/w_cosh_compat.c: Likewise.
9902 * math/w_coshf_compat.c: Likewise.
9903 * math/w_coshl_compat.c: Likewise.
9904 * math/w_exp10_compat.c: Likewise.
9905 * math/w_exp10f_compat.c: Likewise.
9906 * math/w_exp10l_compat.c: Likewise.
9907 * math/w_exp2_compat.c: Likewise.
9908 * math/w_exp2f_compat.c: Likewise.
9909 * math/w_exp2l_compat.c: Likewise.
9910 * math/w_fmod_compat.c: Likewise.
9911 * math/w_fmodf_compat.c: Likewise.
9912 * math/w_fmodl_compat.c: Likewise.
9913 * math/w_hypot_compat.c: Likewise.
9914 * math/w_hypotf_compat.c: Likewise.
9915 * math/w_hypotl_compat.c: Likewise.
9916 * math/w_j0_compat.c: Likewise.
9917 * math/w_j0f_compat.c: Likewise.
9918 * math/w_j0l_compat.c: Likewise.
9919 * math/w_j1_compat.c: Likewise.
9920 * math/w_j1f_compat.c: Likewise.
9921 * math/w_j1l_compat.c: Likewise.
9922 * math/w_jn_compat.c: Likewise.
9923 * math/w_jnf_compat.c: Likewise.
9924 * math/w_jnl_compat.c: Likewise.
9925 * math/w_lgamma_r_compat.c: Likewise.
9926 * math/w_lgammaf_r_compat.c: Likewise.
9927 * math/w_lgammal_r_compat.c: Likewise.
9928 * math/w_log10_compat.c: Likewise.
9929 * math/w_log10f_compat.c: Likewise.
9930 * math/w_log10l_compat.c: Likewise.
9931 * math/w_log2_compat.c: Likewise.
9932 * math/w_log2f_compat.c: Likewise.
9933 * math/w_log2l_compat.c: Likewise.
9934 * math/w_log_compat.c: Likewise.
9935 * math/w_logf_compat.c: Likewise.
9936 * math/w_logl_compat.c: Likewise.
9937 * math/w_pow_compat.c: Likewise.
9938 * math/w_powf_compat.c: Likewise.
9939 * math/w_powl_compat.c: Likewise.
9940 * math/w_remainder_compat.c: Likewise.
9941 * math/w_remainderf_compat.c: Likewise.
9942 * math/w_remainderl_compat.c: Likewise.
9943 * math/w_sinh_compat.c: Likewise.
9944 * math/w_sinhf_compat.c: Likewise.
9945 * math/w_sinhl_compat.c: Likewise.
9946 * math/w_sqrt_compat.c: Likewise.
9947 * math/w_sqrtf_compat.c: Likewise.
9948 * math/w_sqrtl_compat.c: Likewise.
9949 * math/w_tgamma_compat.c: Likewise.
9950 * math/w_tgammaf_compat.c: Likewise.
9951 * math/w_tgammal_compat.c: Likewise.
9952 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
9954 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
9955 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
9957 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
9958 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
9960 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
9961 * sysdeps/i386/fpu/w_sqrt.c: New file.
9962 * sysdeps/ia64/fpu/w_acos.c: Likewise.
9963 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
9964 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
9965 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
9966 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
9967 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
9968 * sysdeps/ia64/fpu/w_asin.c: Likewise.
9969 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
9970 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
9971 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
9972 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
9973 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
9974 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
9975 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
9976 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
9977 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
9978 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
9979 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
9980 * sysdeps/ia64/fpu/w_exp.c: Likewise.
9981 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
9982 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
9983 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
9984 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
9985 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
9986 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
9987 * sysdeps/ia64/fpu/w_expf.c: Likewise.
9988 * sysdeps/ia64/fpu/w_expl.c: Likewise.
9989 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
9990 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
9991 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
9992 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
9993 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
9994 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
9995 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
9996 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
9997 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
9998 * sysdeps/ia64/fpu/w_log.c: Likewise.
9999 * sysdeps/ia64/fpu/w_log10.c: Likewise.
10000 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
10001 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
10002 * sysdeps/ia64/fpu/w_log2.c: Likewise.
10003 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
10004 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
10005 * sysdeps/ia64/fpu/w_logf.c: Likewise.
10006 * sysdeps/ia64/fpu/w_logl.c: Likewise.
10007 * sysdeps/ia64/fpu/w_pow.c: Likewise.
10008 * sysdeps/ia64/fpu/w_powf.c: Likewise.
10009 * sysdeps/ia64/fpu/w_powl.c: Likewise.
10010 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
10011 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
10012 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
10013 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
10014 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
10015 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
10016 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
10017 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
10018 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
10019 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
10020 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
10021 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
10022 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
10023 [LIBM_SVID_COMPAT].
10024 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
10025 * sysdeps/ieee754/k_standard.c: Likewise.
10026 * sysdeps/ieee754/k_standardf.c: Likewise.
10027 * sysdeps/ieee754/k_standardl.c: Likewise.
10028 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
10029 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
10030 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
10031 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
10032 long_double_symbol call on [LIBM_SVID_COMPAT].
10033 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
10034 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
10035 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
10036 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
10037 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
10038 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
10039 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
10040 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
10041 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
10042 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
10043 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
10044 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
10045 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
10046 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
10047 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
10048 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
10049 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
10050 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
10051 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
10052 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
10053 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
10054 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
10056 2017-09-05 Steve Ellcey <sellcey@cavium.com>
10058 * include/shlib-compat.h (TEST_COMPAT): New Macro.
10059 * malloc/tst-mallocstate.c: Convert from test-skeleton
10060 to test-driver. Ifdef code using TEST_COMPAT macro.
10061 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
10062 * math/test-matherr.c: Likewise.
10064 2017-09-05 Joseph Myers <joseph@codesourcery.com>
10067 * debug/pcprofiledump.c (main): Use byte-swapped mask when
10068 comparing word with byte-swapped constant.
10070 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
10073 * locale/iso-639.def: add Miskito.
10074 * localedata/SUPPORTED: Add miq_NI/UTF-8.
10075 * localedata/locales/miq_NI: New file.
10077 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
10080 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
10081 (__mkdir): Likewise.
10082 * io/chmod.c (__chmod): Add libc_hidden_def.
10083 * io/mkdir.c (__mkdir): Likewise.
10084 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
10085 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
10086 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
10087 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
10089 2017-09-04 Joseph Myers <joseph@codesourcery.com>
10091 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
10095 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
10096 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
10098 2017-09-04 Florian Weimer <fweimer@redhat.com>
10100 * math/math.h: Issue warning if log is defined.
10102 2017-09-04 Joseph Myers <joseph@codesourcery.com>
10104 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10105 kernel version to 4.13.
10107 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
10109 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
10110 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
10112 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
10113 just <bits/types.h>.
10114 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
10115 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
10116 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
10117 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
10118 * misc/preadv2.c: Include <errno.h>.
10119 * misc/preadv64v2.c: Include <errno.h>.
10120 * misc/pwritev2.c: Include <errno.h>.
10121 * misc/pwritev64v2.c: Include <errno.h>.
10122 * sysdeps/posix/preadv2.c: Include <errno.h>.
10123 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
10124 Fix <unistd.h> inclusion.
10125 * sysdeps/posix/pwritev2.c: Include <errno.h>.
10126 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
10127 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
10128 __strtoul_internal): New functions.
10129 * sysdeps/posix/pause.c: Include <sigsetops.h>.
10130 * sysdeps/posix/system.c: Include <sigsetops.h>.
10131 * sysdeps/mach/hurd/i386/Makefile
10132 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
10133 [$(subdir) = csu] (sysdep-only-routines): Likewise.
10134 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
10135 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
10136 __feraiseexcept_renamed to feraiseexcept instead of
10137 __GI_feraiseexcept.
10138 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
10139 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
10140 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
10141 RWF_NOWAIT): Define to 0 if undefined already.
10142 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
10144 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
10145 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
10147 2017-09-01 Joseph Myers <joseph@codesourcery.com>
10149 * manual/math.texi (pow10): Do not document.
10150 (pow10f): Likewise.
10151 (pow10l): Likewise.
10152 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
10153 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
10154 * math/libm-test-exp10.inc (pow10_test): Remove.
10155 (do_test): Do not call pow10.
10156 * math/w_exp10_compat.c (pow10): Make into compat symbol.
10157 [NO_LONG_DOUBLE] (pow10l): Likewise.
10158 * math/w_exp10f_compat.c (pow10f): Likewise.
10159 * math/w_exp10l_compat.c (pow10l): Likewise.
10160 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
10161 (pow10): Make into compat symbol.
10162 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
10163 (pow10f): Make into compat symbol.
10164 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
10165 (pow10l): Make into compat symbol.
10166 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
10168 (CFLAGS-nldbl-pow10.c): Remove variable..
10169 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
10170 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
10171 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
10172 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
10173 Undefine and redefine.
10174 (pow10l): Make into compat symbol.
10175 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
10176 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
10177 * sysdeps/arm/libm-test-ulps: Likewise.
10178 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
10179 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
10180 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
10181 * sysdeps/microblaze/libm-test-ulps: Likewise.
10182 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
10183 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10184 * sysdeps/nios2/libm-test-ulps: Likewise.
10185 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10186 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
10187 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10188 * sysdeps/sh/libm-test-ulps: Likewise.
10189 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10190 * sysdeps/tile/libm-test-ulps: Likewise.
10191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10193 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
10195 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
10197 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
10199 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
10200 "../ChangeLog.old/ChangeLog.8".
10201 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
10202 "../ChangeLog.old/ChangeLog.14".
10204 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
10206 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
10209 2017-09-01 Joseph Myers <joseph@codesourcery.com>
10211 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
10213 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
10215 * csu/version.c (banner): Remove "by Roland McGrath et al.".
10216 * nptl/Banner: Remove "by Ulrich Drepper et al.".
10218 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
10220 * stdlib/tst-atexit-common.c (do_test): Test support for at least
10221 32 atexit handlers.
10223 2017-09-01 Zack Weinberg <zackw@panix.com>
10225 * math/math.h (HUGE_VAL): Improve commentary.
10227 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10228 Andreas Schwab <schwab@suse.de>
10231 * include/stdio.h (__gen_tempfd): New function.
10232 * stdio-common/Makefile (routines): Add gentempfd.
10233 * stdio-common/gentempfd.c: New file.
10234 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
10235 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
10236 unnamed file first.
10238 2017-09-01 Florian Weimer <fweimer@redhat.com>
10242 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
10243 result to determine success or failure, not the errno value.
10244 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
10245 (tst-nss-files-hosts-erange): Link with -ldl.
10246 * nss/tst-nss-files-hosts-erange.c: New file.
10247 * nss/tst-resolv-basic.c (response): Handle nodata.example.
10248 (do_test): Add NO_DATA tests.
10249 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
10250 (do_test): Call it.
10252 2017-09-01 Florian Weimer <fweimer@redhat.com>
10255 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
10256 coming from gethostbyname2_r.
10258 2017-09-01 Florian Weimer <fweimer@redhat.com>
10260 * support/namespace.h (struct support_chroot_configuration): Add
10262 (struct support_chroot): Add path_hosts, path_host_conf.
10263 * support/support_chroot.c (write_file): New function.
10264 (support_chroot_create): Call it to process /etc/resolv.conf,
10265 /etc/hosts, /etc/host.conf.
10266 (support_chroot_free): Update.
10268 2017-09-01 Florian Weimer <fweimer@redhat.com>
10270 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
10271 status indicates it is set.
10273 2017-09-01 Florian Weimer <fweimer@redhat.com>
10275 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
10276 function lookup failures more reliable.
10278 2017-09-01 Florian Weimer <fweimer@redhat.com>
10280 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
10281 (getcanonname): Likewise.
10282 (gaih_inet): Likewise.
10284 2017-09-01 Florian Weimer <fweimer@redhat.com>
10286 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
10287 (getcanonname): Likewise.
10288 (gaih_inet): Likewise.
10290 2017-08-31 Steve Ellcey <sellcey@cavium.com>
10291 Richard Henderson <rth@twiddle.net>
10293 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
10294 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
10295 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
10296 (IREG_SIZE, OREG_SIZE): New macros.
10297 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
10298 (IREG_SIZE, OREG_SIZE): New macros.
10299 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
10300 (IREG_SIZE): New macro.
10301 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
10302 (IREG_SIZE): New macro.
10303 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
10305 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
10306 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
10307 (__CONCATX): Handle exceptions correctly on large values that may
10309 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
10310 Initialize if not already set.
10311 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
10313 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10315 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
10316 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
10318 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
10320 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
10322 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
10324 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
10326 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
10328 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
10330 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
10331 (NO_CANCELLATION): Likewise.
10332 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
10334 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
10336 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
10338 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
10339 (NO_CANCELLATION): Likewise.
10340 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
10341 (NO_CANCELLATION): Likewise.
10342 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
10344 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
10346 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
10348 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
10350 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
10352 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
10353 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
10355 2017-08-31 Steve Ellcey <sellcey@cavium.com>
10357 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
10360 2017-08-31 Florian Weimer <fweimer@redhat.com>
10362 * include/libc-symbols.h (internal_function): Remove.
10364 2017-08-31 Florian Weimer <fweimer@redhat.com>
10366 * stdlib/fmtmsg.c (internal_addseverity): Remove
10369 2017-08-31 Florian Weimer <fweimer@redhat.com>
10371 * stdio-common/printf_fp.c (group_number): Remove
10373 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
10375 2017-08-31 Florian Weimer <fweimer@redhat.com>
10377 * posix/fnmatch.c (internal_function): Remove definition.
10378 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
10379 * posix/regcomp.c (peek_token, init_word_char)
10380 (duplicate_node_closure, fetch_token, peek_token)
10381 (peek_token_bracket, build_range_exp, build_collating_symbol):
10383 * posix/regex_internal.c (re_string_construct_common)
10384 (create_ci_newstate, create_cd_newstate, re_string_allocate)
10385 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
10386 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
10387 (re_string_translate_buffer, re_string_reconstruct)
10388 (re_string_peek_byte_case, re_string_fetch_byte_case)
10389 (re_string_destruct, re_string_context_at, re_node_set_alloc)
10390 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
10391 (re_node_set_add_intersect, re_node_set_init_union)
10392 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
10393 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
10394 (re_dfa_add_node, calc_state_hash, re_acquire_state)
10395 (re_acquire_state_context): Likewise.
10396 * posix/regex_internal.h (internal_function): Remove definition.
10397 (re_string_realloc_buffers, build_wcs_buffer)
10398 (build_wcs_upper_buffer, build_upper_buffer)
10399 (re_string_translate_buffer, re_string_context_at)
10400 (re_string_char_size_at, re_string_wchar_at)
10401 (re_string_elem_size_at): Likewise.
10402 * posix/regexec.c (match_ctx_init, match_ctx_clean)
10403 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
10404 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
10405 (re_search_internal, re_search_2_stub, re_search_stub)
10406 (re_copy_regs, prune_impossible_nodes, check_matching)
10407 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
10408 (free_fail_stack_return, sift_states_iter_mb)
10409 (sift_states_backward, build_sifted_states)
10410 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
10411 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
10412 (check_subexp_limits, sift_states_bkref, merge_state_array)
10413 (find_recover_state, transit_state, merge_state_with_log)
10414 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
10415 (transit_state_mb, transit_state_bkref, get_subexp)
10416 (get_subexp_sub, find_subexp_node, check_arrival)
10417 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
10418 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
10419 (check_node_accept_bytes, find_collation_sequence_value)
10420 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
10421 (acquire_init_state_context, check_halt_node_context)
10422 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
10423 (sub_epsilon_src_nodes): Likewise.
10424 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
10425 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
10426 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
10427 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
10428 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
10429 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
10430 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
10431 * sysdeps/posix/ttyname.c (getttyname): Likewise.
10432 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
10433 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
10434 (PREADV): Likewise.
10435 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
10436 (PREADV): Likewise.
10437 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
10438 (PWRITEV): Likewise.
10439 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
10440 (PWRITEV): Likewise.
10441 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
10442 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
10444 2017-08-31 Florian Weimer <fweimer@redhat.com>
10446 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
10447 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
10448 Remove internal_function.
10449 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
10450 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
10451 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
10452 (__deallocate_stack, __libc_pthread_init)
10453 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
10454 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
10455 (__libc_disable_asynccancel, __librt_disable_asynccancel):
10457 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
10458 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
10459 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
10461 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
10462 (__pthread_mutex_unlock_usercnt): Likewise.
10464 2017-08-31 Florian Weimer <fweimer@redhat.com>
10466 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
10467 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
10468 (fts_safe_changedir): Remove internal_function.
10469 * io/ftw.c (internal_function): Remove definition.
10470 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
10472 2017-08-31 Florian Weimer <fweimer@redhat.com>
10474 * inet/deadline.c (__deadline_current_time)
10475 (__deadline_from_timeval, __deadline_to_ms): Remove
10477 * inet/getnameinfo.c (nrl_domainname): Likewise.
10478 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
10479 * inet/inet6_option.c (add_pad): Likewise.
10480 * inet/net-internal.h (__deadline_current_time)
10481 (__deadline_from_timeval, __deadline_to_ms): Likewise.
10482 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
10483 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
10484 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
10486 2017-08-31 Joseph Myers <joseph@codesourcery.com>
10488 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
10489 include <bits/nan.h>.
10490 * math/Makefile (headers): Remove bits/nan.h.
10491 * bits/nan.h: Remove.
10492 * sysdeps/ieee754/bits/nan.h: Likewise.
10493 * sysdeps/mips/bits/nan.h: Likewise.
10495 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
10496 not include <bits/inf.h>.
10497 * math/Makefile (headers): Remove bits/inf.h.
10498 * bits/inf.h: Remove.
10499 * sysdeps/ieee754/bits/inf.h: Likewise.
10501 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
10502 bits/huge_vall.h or bits/huge_val_flt128.h.
10503 (HUGE_VAL): Define directly here.
10504 [__USE_ISOC99] (HUGE_VALF): Likewise.
10505 [__USE_ISOC99] (HUGE_VALL): Likewise.
10506 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
10507 (HUGE_VAL_F128): Likewise.
10508 * math/Makefile (headers): Remove bits/huge_val.h,
10509 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
10510 * bits/huge_val.h: Remove.
10511 * bits/huge_val_flt128.h: Likewise.
10512 * bits/huge_valf.h: Likewise.
10513 * bits/huge_vall.h: Likewise.
10514 * sysdeps/ia64/bits/huge_vall.h: Likewise.
10515 * sysdeps/ieee754/bits/huge_val.h: Likewise.
10516 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
10517 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
10518 * sysdeps/sh/bits/huge_val.h: Likewise.
10519 * sysdeps/sparc/bits/huge_vall.h: Likewise.
10520 * sysdeps/x86/bits/huge_vall.h: Likewise.
10522 2017-08-31 Florian Weimer <fweimer@redhat.com>
10524 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
10526 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
10528 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
10529 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
10530 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
10531 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
10532 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10533 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
10534 * elf/dl-libc.c (dlerror_run): Likewise.
10535 * elf/dl-load.c (add_name_to_object, decompose_rpath)
10536 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
10537 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
10538 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
10540 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
10541 (_dl_higher_prime_number, _dl_strtoul): Likewise.
10542 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
10543 * elf/dl-profile.c (_dl_start_profile): Likewise.
10544 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
10545 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
10547 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
10548 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
10549 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
10550 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
10551 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
10552 (_dl_allocate_tls_storage): Likewise.
10553 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
10554 (_dl_check_all_versions): Likewise.
10555 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
10556 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
10557 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
10558 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
10559 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
10560 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
10561 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
10562 internal_function from __dl_start.
10563 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
10564 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
10565 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
10566 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
10567 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
10568 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
10569 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
10570 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
10571 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
10572 (_dl_next_ld_env_entry, _dl_important_hwcaps)
10573 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
10574 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
10575 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
10576 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
10577 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
10579 (struct rtld_global_ro): Remove internal_function from the
10580 _dl_lookup_symbol_x member.
10581 (_dl_symbol_value): Remove. No longer defined anywhere.
10582 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
10584 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
10585 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
10586 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
10587 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
10588 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
10589 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
10590 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
10591 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
10592 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
10593 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
10594 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
10595 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
10597 2017-08-31 Florian Weimer <fweimer@redhat.com>
10599 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
10600 Remove internal_function.
10601 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
10603 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
10606 2017-08-31 Florian Weimer <fweimer@redhat.com>
10608 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
10609 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
10610 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
10612 2017-08-31 Florian Weimer <fweimer@redhat.com>
10614 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
10615 (__gai_enqueue_request): Remove internal_function.
10616 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
10617 (__gai_remove_request, __gai_notify, __gai_notify_only)
10618 (__gai_sigqueue): Likewise.
10619 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
10620 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
10621 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
10622 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
10625 2017-08-31 Florian Weimer <fweimer@redhat.com>
10627 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
10628 * include/dirent.h (__opendirat, __getdents, __getdents64)
10629 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
10630 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
10631 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
10632 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
10634 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
10636 2017-08-31 Florian Weimer <fweimer@redhat.com>
10638 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
10640 (GETCWD_RETURN_TYPE): Likewise.
10642 2017-08-31 Florian Weimer <fweimer@redhat.com>
10644 * include/time.h (__tz_compute, __strptime_internal): Remove
10646 * time/strptime_l.c (__strptime_internal): Likewise.
10647 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
10649 2017-08-31 Florian Weimer <fweimer@redhat.com>
10651 * iconv/gconv.c (__gconv): Remove internal_function.
10652 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
10653 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
10654 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
10655 (__gconv_release_cache): Likewise.
10656 * iconv/gconv_close.c (__gconv_close): Likewise.
10657 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
10658 (read_conf_file, __gconv_get_path): Likewise.
10659 * iconv/gconv_db.c (derivation_lookup, add_derivation)
10660 (__gconv_release_step, gen_steps, increment_counter)
10661 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
10662 (__gconv_close_transform, free_modules_db): Likewise.
10663 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
10665 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
10666 (__gconv_find_transform, __gconv_lookup_cache)
10667 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
10668 (__gconv_close_transform, __gconv_release_cache)
10669 (__gconv_loaded_object, __gconv_release_shlib)
10670 (__gconv_compare_alias): Likewise.
10671 * iconv/gconv_open.c (__gconv_open): Likewise.
10672 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
10673 * iconv/iconvconfig.c (add_module): Likewise.
10674 * intl/dcigettext.c (plural_lookup, guess_category_value)
10675 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
10676 * intl/eval-plural.h (plural_eval): Likewise.
10677 * intl/finddomain.c (_nl_find_domain): Likewise.
10678 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
10679 (_nl_load_domain, _nl_find_msg): Likewise.
10680 (internal_function): Remove definition.
10681 * intl/loadinfo.h (internal_function): Likewise.
10682 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
10684 * intl/localealias.c (internal_function): Remove definition.
10685 (read_alias_file): Remove internal_function.
10686 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
10687 * intl/plural-exp.h (internal_function): Remove definition.
10688 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
10690 * intl/plural.c: Regenerate.
10691 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
10692 * locale/coll-lookup.c (__collidx_table_lookup)
10693 (__collseq_table_lookup): Likewise.
10694 * locale/coll-lookup.h (__collidx_table_lookup)
10695 (__collseq_table_lookup): Likewise.
10696 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
10697 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
10698 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
10699 (_nl_unload_locale): Likewise.
10700 * locale/localeinfo.h (struct __locale_data): Remove
10701 internal_function from cleanup member.
10702 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
10703 (_nl_remove_locale, _nl_load_locale_from_archive)
10704 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
10705 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
10706 (_nl_cleanup_time): Remove internal_function.
10707 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
10708 (_nl_parse_alt_digit): Likewise.
10709 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
10710 (_nl_select_era_entry): Likewise.
10711 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
10712 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
10713 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
10714 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
10715 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
10717 2017-08-31 Florian Weimer <fweimer@redhat.com>
10719 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
10720 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
10721 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
10722 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
10724 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
10725 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
10726 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
10727 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
10729 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
10731 2017-08-31 Florian Weimer <fweimer@redhat.com>
10733 * misc/getttyent.c (skip, value): Remove internal_function.
10734 * misc/syslog.c (openlog_internal): Likewise.
10735 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
10737 2017-08-31 Florian Weimer <fweimer@redhat.com>
10739 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
10740 (__nss_rewrite_field): Remove internal_function.
10741 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10742 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
10743 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
10744 * nss/nsswitch.c (nss_parse_file, nss_getline)
10745 (nss_parse_service_list, nss_new_service): Likewise.
10746 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
10747 * nss/valid_field.c (__nss_valid_field): Likewise.
10748 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
10750 2017-08-31 Florian Weimer <fweimer@redhat.com>
10752 * malloc/arena.c (__malloc_fork_lock_parent)
10753 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
10754 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
10755 internal_function from defintions.
10756 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
10757 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
10758 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
10759 internal_function from declarations.
10760 * malloc/malloc.c (internal_function): Do not define.
10761 (mem2mem_check): Remove internal_function from declaration.
10762 (munmap_chunk, mremap_chunk): Remove internal_function.
10763 * malloc/mtrace.c (tr_where): Likewise.
10765 2017-08-31 Florian Weimer <fweimer@redhat.com>
10767 * include/rpc/pmap_clnt.h (__get_socket): Remove
10769 * sunrpc/auth_des.c (synchronize): Likewise.
10770 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
10771 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
10772 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
10773 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
10774 (key_call): Likewise.
10775 * sunrpc/pm_getport.c (__get_socket): Likewise.
10776 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
10777 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
10778 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
10779 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
10780 (invalidate): Likewise.
10781 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
10782 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
10783 (set_input_fragment, get_input_bytes): Likewise.
10785 2017-08-31 Florian Weimer <fweimer@redhat.com>
10787 * malloc/malloc.c (_int_free): Remove locked variable and related
10790 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
10793 * Makerules (build-module-helper-objlist): Filter out
10794 $(elf-objpfx)sofini.os.
10795 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
10798 2017-08-31 Florian Weimer <fweimer@redhat.com>
10800 * libio/fcloseall.c: Assume weak_alias is defined.
10801 * libio/feof.c: Likewise.
10802 * libio/fileno.c: Likewise.
10803 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
10804 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
10806 (_IO_file_open): Call __open directly.
10807 (_IO_new_file_sync): Assume ESPIPE is defined.
10808 (_IO_file_seekoff_maybe_mmap): Call __read directly.
10809 (_IO_new_file_write): Call __write directly.
10810 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
10811 * libio/ftello64.c (__ftello64): Assume EIO is defined.
10812 * libio/genops.c: Assume _LIBC is defined.
10813 (save_for_backup): Remove internal_function.
10814 * libio/getc.c: Assume weak_alias is defined.
10815 * libio/getwc.c: Likewise.
10816 * libio/iofclose.c: Assume _LIBC is defined.
10817 * libio/iofdopen.c: Likewise.
10818 (_IO_fcntl): Remove macro definition.
10819 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
10820 Call __fcntl directly.
10821 * libio/iofflush.c: Assume weak_alias is defined.
10822 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
10824 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
10825 * libio/iofgets.c: Likewise.
10826 * libio/iofopen.c: Assume _LIBC is defined.
10827 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
10828 * libio/iofputs.c: Assume weak_alias is defined.
10829 * libio/iofread.c: Likewise.
10830 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
10831 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
10832 * libio/ioftell.c: Assume weak_alias is defined.
10833 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
10834 * libio/iofwide.c: Assume _LIBC is defined.
10835 (_IO_fwide): Drop SHARED conditional because it is implied by
10837 * libio/iofwrite.c: Assume weak_alias is defined.
10838 * libio/iogetdelim.c: Likewise.
10839 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
10840 * libio/iogetwline.c (wmemcpy): Remove macro definition.
10841 (_IO_getwline): Call __wmemcpy directly.
10842 * libio/iopopen.c: Assume _LIBC is defined.
10843 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
10844 (_IO_close): Remove macro definitions.
10845 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
10847 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
10849 * libio/ioputs.c: Assume weak_alias is defined.
10850 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
10851 * libio/iosetbuffer.c: Assume weak_alias is defined.
10852 * libio/iosetvbuf.c: Likewise.
10853 * libio/ioungetc.c: Likewise.
10854 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
10855 libc_hidden_def, libc_hidden_weak, NULL are defined.
10856 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
10857 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
10859 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
10861 (_IO_old_file_init_internal): Drop SHARED conditional because it
10862 is implied by SHLIB_COMPAT.
10863 (_IO_old_file_fopen): Call __open directly.
10864 (_IO_old_file_sync): Assume ESPIPE is defined.
10865 (_IO_old_file_write): Call __write directly.
10866 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
10867 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
10868 Call __fcntl directly.
10869 * libio/oldiofgetpos.c: Assume weak_alias is defined.
10870 (_IO_old_fgetpos): Assume EIO is defined.
10871 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
10872 (_IO_old_fgetpos64): Assume EIO is defined.
10873 * libio/oldiofsetpos.c: Assume weak_alias is defined.
10874 (_IO_old_fsetpos): Assume EIO is defined.
10875 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
10876 (_IO_old_fsetpos64): Assume EIO is defined.
10877 * libio/oldiopopen.c: Assume _LIBC is defined.
10878 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
10879 (_IO_close): Remove macro definitions.
10880 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
10882 (_IO_old_proc_close): Call __close, __waitpid directly.
10883 * libio/put.c: Assume weak_alias is defined.
10884 * libio/stdfiles.c: Assume _LIBC is defined.
10885 * libio/stdio.c: Likewise.
10886 * libio/wfileops.c: Likewise.
10887 (_IO_wfile_sync): Assume ESPIPE is defined.
10888 * libio/wgenops.c: Assume _LIBC is defined.
10889 (save_for_wbackup): Remove internal_function.
10891 2017-08-31 Florian Weimer <fweimer@redhat.com>
10893 * malloc/malloc.c (top_check): Change return type to void. Remove
10895 * malloc/hooks.c (top_check): Likewise.
10896 (malloc_check, realloc_check, memalign_check): Adjust.
10898 2017-08-30 Joseph Myers <joseph@codesourcery.com>
10901 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
10902 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
10903 sigcontext and namespace requirements.
10904 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
10905 * sysdeps/m68k/sys/ucontext.h: Likewise.
10906 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
10907 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
10908 <bits/sigcontext.h>.
10909 (__ctx): Define earlier.
10910 (mcontext_t): Define structure contents rather than using struct
10912 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
10913 __glibc_reserved1 instead of __reserved.
10914 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
10915 <bits/sigcontext.h>.
10916 (__ctx): Define earlier.
10917 (mcontext_t): Define structure contents rather than using struct
10919 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
10920 mcontext_t instead of struct sigcontext.
10921 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
10922 <bits/sigcontext.h>.
10923 (__ctx): Define earlier.
10924 (mcontext_t): Define structure contents rather than using struct
10926 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
10927 <bits/sigcontext.h>.
10928 (__ctx): Define earlier.
10929 (mcontext_t): Define structure contents rather than using struct
10931 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
10932 mcontext_t instead of struct sigcontext.
10933 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
10934 mcontext_t instead of struct sigcontext.
10935 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
10936 <bits/sigcontext.h>.
10937 (__ctx): New macro.
10938 (struct __ia64_fpreg_mcontext): New type.
10939 (mcontext_t): Define structure contents rather than using struct
10941 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
10942 (uc_sigmask): Define using __ctx.
10943 (uc_stack): Likewise.
10944 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
10945 <bits/sigcontext.h>.
10946 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
10947 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
10948 <bits/sigcontext.h>.
10949 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
10950 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
10951 <bits/sigcontext.h>.
10952 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
10953 <bits/sigcontext.h>.
10954 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
10955 <bits/sigcontext.h>.
10956 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
10957 <bits/sigcontext.h>.
10958 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
10959 <bits/sigcontext.h>.
10960 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
10961 <bits/sigcontext.h>.
10962 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
10963 <bits/sigcontext.h>.
10964 (__ctx): Define earlier.
10965 (mcontext_t): Define structure contents rather than using struct
10967 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
10968 <bits/sigcontext.h>. Include <bits/types.h>.
10969 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
10970 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
10971 (test-xfail-XPG42/ucontext.h/conform): Likewise.
10972 (test-xfail-UNIX98/signal.h/conform): Likewise.
10973 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
10974 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
10975 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
10976 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
10977 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
10978 (test-xfail-POSIX2008/signal.h/conform): Likewise.
10979 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
10980 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
10981 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
10983 2017-08-30 Florian Weimer <fweimer@redhat.com>
10985 * malloc/dynarray_emplace_enlarge.c
10986 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
10987 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
10988 * malloc/tst-dynarray.c (test_long_overflow): New function.
10989 (do_test): Call it.
10991 2017-08-30 Florian Weimer <fweimer@redhat.com>
10993 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
10994 (set_arena_corrupt): Remove definitions.
10995 (mtrim): Do not check for corrupt arena.
10996 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
10999 2017-08-30 Florian Weimer <fweimer@redhat.com>
11002 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
11004 (ptmalloc_init): Do not set or use check_action.
11005 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
11006 call to malloc_printerr. Remove return statement.
11007 (free_check): Likewise. Remove arena unlock.
11008 (top_check): Update comment. Adjust call to malloc_printerr.
11009 Remove heap repair code.
11010 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
11011 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
11012 (sysmalloc): Adjust call to malloc_printerr.
11013 (munmap_chunk, __libc_realloc): Likewise. Remove return
11015 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
11016 Remove errout label and corresponding gotos.
11017 (_int_free): Likewise. Remove arena unlock.
11018 (do_set_mallopt_check): Do not set check_action.
11019 (malloc_printerr): Adjust parameter list. Do not mark arena as
11021 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
11023 * manual/probes.texi (Memory Allocation Probes): Remove
11024 memory_mallopt_check_action.
11026 2017-08-30 Steve Ellcey <sellcey@cavium.com>
11028 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
11029 Use pointer to uint64_t instead of long int for sp.
11031 2017-08-30 Florian Weimer <fweimer@redhat.com>
11034 * malloc/malloc.c (malloc_printerr): Always terminate the process,
11035 without printing a backtrace. Do not leak any information in the
11037 * manual/memory.texi (Heap Consistency Checking): Update.
11038 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
11040 2017-08-30 Florian Weimer <fweimer@redhat.com>
11042 Do not scale NPTL tests with available number of CPUs.
11043 * nptl/tst-cond16.c (count): Set to constant value of 8.
11044 * nptl/tst-cond18.c (count): Likewise.
11046 2017-08-29 Joseph Myers <joseph@codesourcery.com>
11049 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
11050 Define to take a second argument that is a macro that
11051 concatentates a suffix, not the suffix itself.
11052 (__CONCAT_d): New macro.
11053 (__CONCAT_f): Likewise.
11054 (__CONCAT_l): Likewise.
11056 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
11058 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
11061 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11062 Aurelien Jarno <aurelien@aurel32.net>
11063 Maciej W. Rozycki <macro@imgtec.com>
11066 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
11067 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
11068 `mips16-syscall6' and `mips16-syscall7'.
11069 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
11070 (CFLAGS-mips16-syscall7.c): Remove.
11071 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
11072 Remove `__mips16_syscall5', `__mips16_syscall6' and
11073 `__mips16_syscall7'.
11074 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
11075 (__mips16_syscall0): Rename `__mips16_syscall_return' to
11076 `__mips_syscall_return'.
11077 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
11078 (__mips16_syscall1): Likewise.
11079 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
11080 (__mips16_syscall2): Likewise.
11081 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
11082 (__mips16_syscall3): Likewise.
11083 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
11084 (__mips16_syscall4): Likewise.
11085 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
11087 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
11089 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
11091 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
11092 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
11093 `__mips16_syscall5'. Remove prototype.
11094 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
11095 `__mips16_syscall6'. Remove prototype.
11096 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
11097 `__mips16_syscall7'. Remove prototype.
11098 (__nomips16, __mips16_syscall_return): Move to...
11099 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
11100 (__nomips16, __mips_syscall_return): ... here.
11101 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
11102 `__mips16_syscall_return' to `__mips_syscall_return'.
11103 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
11104 `internal_syscall##nr'.
11105 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
11106 `internal_syscall##nr'.
11107 (FORCE_FRAME_POINTER): Remove.
11108 (__mips_syscall5): New prototype.
11109 (internal_syscall5): Rewrite to call `__mips_syscall5'.
11110 (__mips_syscall6): New prototype.
11111 (internal_syscall6): Rewrite to call `__mips_syscall6'.
11112 (__mips_syscall7): New prototype.
11113 (internal_syscall7): Rewrite to call `__mips_syscall7'.
11114 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
11115 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
11116 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
11117 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
11118 (sysdep_routines): Add libc-do-syscall.
11119 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
11120 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
11122 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11125 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
11126 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
11127 (advise_stack_range): New function.
11128 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
11129 stack non required to advise_stack_range at allocatestack.c
11131 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
11133 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
11135 2017-08-29 Florian Weimer <fweimer@redhat.com>
11138 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
11139 __end_fct. Mangle __end_fct after setting it to NULL.
11140 * iconv/Makefile (tests): Add tst-gconv-init-failure.
11141 (modules-names, modules-names-tests): Add
11142 tst-gconv-init-failure-mod.
11143 (gconv-modules): New target.
11144 (tst-gconv-init-failure-mod.so): Link against libsupport.
11145 (tst-gconv-init-failure): Depend on gconv-modules,
11146 tst-gconv-init-failure-mod.so.
11147 * iconv/tst-gconv-init-failure-mod.c: New file.
11148 * iconv/tst-gconv-init-failure.c: Likewise.
11149 * iconv/test-gconv-modules: Likewise.
11151 2017-08-29 Florian Weimer <fweimer@redhat.com>
11154 * iconv/gconv_db.c (free_derivation): Remove redundant
11156 (gen_steps): Unconditionally mangle __btowc_fct after
11158 (increment_counter): Likewise. Do not call init_fct for internal
11161 2017-08-29 Joseph Myers <joseph@codesourcery.com>
11164 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
11165 (_MSUF_): Remove macro.
11166 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
11168 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
11169 (__REDIRFROM_X): New macro.
11170 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
11172 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
11173 (__REDIRTO_X): Likewise.
11174 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
11176 (__MATH_REDIRCALL_2): Likewise.
11177 (__MATH_REDIRCALL_INTERNAL): Likewise.
11178 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
11179 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
11180 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
11181 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
11182 * math/test-finite-macros.c: New file.
11183 * math/Makefile (tests): Add test-finite-macros.
11184 (CFLAGS-test-finite-macros.c): New variable.
11186 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
11187 Jeff Law <law@redhat.com>
11190 Mangle NULL pointers in iconv/gconv.
11191 * iconv/gconv_cache.c (find_module): Demangle init_fct before
11192 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
11193 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
11194 is non-NULL before demangling the end_fct. Check for NULL
11195 end_fct after demangling.
11196 (__gconv_release_step): Demangle the end_fct before checking
11197 it for NULL. Remove assert on __shlibc_handle != NULL.
11198 (gen_steps): Don't check btowc_fct for NULL before mangling.
11199 Demangle init_fct before checking for NULL.
11200 (increment_counter): Likewise.
11201 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
11202 end_fct for NULL before mangling.
11203 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
11206 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
11209 * locale/iso-639.def: add Morisyen.
11211 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11214 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
11215 (iszero): New C++ implementation that does not use
11216 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
11217 signaling nans are enabled, since __builtin_types_compatible_p
11218 is a C-only feature.
11219 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
11220 defined, include ieee754_float128.h for access to the union and
11221 member ieee854_float128.ieee.
11222 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
11223 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
11224 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
11225 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
11226 options of test-math-zero on powerpc64le.
11228 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
11230 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
11231 Change double to float.
11233 2017-08-28 Joseph Myers <joseph@codesourcery.com>
11235 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
11237 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
11238 conditional code; define contents only for [LIBM_SVID_COMPAT].
11240 2017-08-28 Florian Weimer <fweimer@redhat.com>
11242 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
11243 (abi-lp64_be-options): Remove.
11244 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
11245 (abi-hard-options): Likewise.
11246 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
11247 (abi-o32_hard-options, abi-o32_soft_2008-options)
11248 (abi-o32_hard_2008-options, abi-n32_soft-options)
11249 (abi-n32_hard-options, abi-n32_soft_2008-options)
11250 (abi-n32_hard_2008-options, abi-n64_soft-options)
11251 (abi-n64_hard-options, abi-n64_soft_2008-options)
11252 (abi-n64_hard_2008-options): Likewise.
11253 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
11254 (abi-64-v1-options, abi-64-v2-options): Likewise.
11255 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
11256 (abi-64-options): Likewise.
11257 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
11258 (abi-64-options): Likewise.
11259 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
11260 (abi-64-options): Likewise.
11261 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
11262 (abi-64-options, abi-x32-options): Likewise.
11264 2017-08-28 Florian Weimer <fweimer@redhat.com>
11266 Store supported list of SYS_* system calls in the source tree.
11267 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
11268 (bits/syscall.h): Generate from list file.
11269 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
11270 [$(subdir) = misc] (tests): Add tst-syscall-list.
11271 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
11272 [$(subdir) = misc] (tst-syscall-list-macros.list)
11273 [$(subdir) = misc] (tst-syscall-list-nr.list)
11274 (tst-syscall-list-sys.list): Helper targets for new
11275 tst-syscall-list test.
11276 [$(subdir) = misc] (tst-syscall-list.out): Run test script
11277 tst-syscall-list.sh.
11278 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
11279 target. Do not include bits/syscall.d.
11280 [$(subdir) = misc] (generated): Do not update.
11281 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
11282 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
11283 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
11284 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
11286 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
11288 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
11289 (tst-cxa_atexit, tst-on_exit): Likewise.
11290 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
11291 tst-cxa_atexit, and tst-on_exit.
11292 * stdlib/tst-atexit-common.c: New file.
11293 * stdlib/tst-atexit.c: New file.
11294 * stdlib/tst-at_quick_exit.c: New file.
11295 * stdlib/tst-cxa_atexit.c: New file.
11296 * stdlib/tst-on_exit.c: New file.
11298 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
11300 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
11301 * mach/stack_chk_fail_local.c: New file.
11302 * hurd/stack_chk_fail_local.c: New file.
11303 * mach/Machrules ($(interface-library)-routines): Add
11304 stack_chk_fail_local.
11305 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
11306 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
11307 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
11308 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
11309 * hurd/Makefile (CFLAGS-hurdstartup.o,
11310 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
11312 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
11314 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
11315 (index_cpu_*, index_arch_*): Removed.
11317 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
11319 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
11320 Use uint64_t instead of unsigned long.
11322 2017-08-25 Joseph Myers <joseph@codesourcery.com>
11324 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
11325 [__HAVE_DISTINCT_FLOAT128].
11327 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
11328 of <bits/math-finite.h>.
11329 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
11330 inclusion of <bits/math-finite.h>.
11331 * math/bits/math-finite.h (__REDIRTO_X): Do not define
11332 conditionally on [__MATH_DECLARING_LDOUBLE && defined
11333 __NO_LONG_DOUBLE_MATH].
11334 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
11335 (__MATH_REDIRCALL_2): Likewise.
11336 (__MATH_REDIRCALL_INTERNAL): Likewise.
11337 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
11338 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
11339 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
11341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
11343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
11345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
11347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
11349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
11351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
11353 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
11354 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
11355 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
11356 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
11357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
11358 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
11359 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
11360 w_sqrtf_compat-ppc32.
11362 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11364 * math/math.h [defined __cplusplus] (issignaling): In the long
11365 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
11366 is not defined. Call __issignaling, otherwise.
11368 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11370 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
11371 syscall definitions and replace __builtin_expect with __glibc_likely.
11372 * sysdeps/unix/syscall-template.S: Update comment about cancellable
11374 (SYSCALL_CANCELLABLE): Removedefinition
11375 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
11377 (PSEUDO_END): Likewise.
11378 [IS_IN (libpthread)] (CENABLE): Likewise.
11379 [IS_IN (libpthread)] (CDISABLE): Likewise.
11380 [IS_IN (libc)] (CENABLE): Likewise.
11381 [IS_IN (libc)] (CENABLE): Likewise.
11382 [IS_IN (librt)] (CDISABLE): Likewise.
11383 [IS_IN (librt)] (CDISABLE): Likewise.
11384 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
11385 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
11387 (PSEUDO_END): Likewise.
11388 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
11389 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
11390 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
11391 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
11392 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
11393 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
11394 (CENABLE): Likewise.
11395 (CDISABLE): Likewise.
11396 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
11397 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
11399 (PSEUDO_END): Likewise.
11400 [IS_IN (libpthread)] (CENABLE): Likewise.
11401 [IS_IN (libpthread)] (CDISABLE): Likewise.
11402 [IS_IN (libc)] (CENABLE): Likewise.
11403 [IS_IN (libc)] (CENABLE): Likewise.
11404 [IS_IN (librt)] (CDISABLE): Likewise.
11405 [IS_IN (librt)] (CDISABLE): Likewise.
11406 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
11407 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
11409 (PSEUDO_END): Likewise.
11410 [IS_IN (libpthread)] (CENABLE): Likewise.
11411 [IS_IN (libpthread)] (CDISABLE): Likewise.
11412 [IS_IN (libc)] (CENABLE): Likewise.
11413 [IS_IN (libc)] (CENABLE): Likewise.
11414 [IS_IN (librt)] (CDISABLE): Likewise.
11415 [IS_IN (librt)] (CDISABLE): Likewise.
11416 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
11417 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
11419 (PSEUDO_END): Likewise.
11420 [IS_IN (libpthread)] (CENABLE): Likewise.
11421 [IS_IN (libpthread)] (CDISABLE): Likewise.
11422 [IS_IN (libc)] (CENABLE): Likewise.
11423 [IS_IN (libc)] (CENABLE): Likewise.
11424 [IS_IN (librt)] (CDISABLE): Likewise.
11425 [IS_IN (librt)] (CDISABLE): Likewise.
11426 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
11427 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
11429 (PSEUDO_END): Likewise.
11430 [IS_IN (libpthread)] (CENABLE): Likewise.
11431 [IS_IN (libpthread)] (CDISABLE): Likewise.
11432 [IS_IN (libc)] (CENABLE): Likewise.
11433 [IS_IN (libc)] (CENABLE): Likewise.
11434 [IS_IN (librt)] (CDISABLE): Likewise.
11435 [IS_IN (librt)] (CDISABLE): Likewise.
11436 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
11437 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
11439 (PSEUDO_END): Likewise.
11440 [IS_IN (libpthread)] (CENABLE): Likewise.
11441 [IS_IN (libpthread)] (CDISABLE): Likewise.
11442 [IS_IN (libc)] (CENABLE): Likewise.
11443 [IS_IN (libc)] (CENABLE): Likewise.
11444 [IS_IN (librt)] (CDISABLE): Likewise.
11445 [IS_IN (librt)] (CDISABLE): Likewise.
11446 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
11447 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
11449 (PSEUDO_END): Likewise.
11450 [IS_IN (libpthread)] (CENABLE): Likewise.
11451 [IS_IN (libpthread)] (CDISABLE): Likewise.
11452 [IS_IN (libc)] (CENABLE): Likewise.
11453 [IS_IN (libc)] (CENABLE): Likewise.
11454 [IS_IN (librt)] (CDISABLE): Likewise.
11455 [IS_IN (librt)] (CDISABLE): Likewise.
11456 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
11457 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
11459 (PSEUDO_END): Likewise.
11460 [IS_IN (libpthread)] (CENABLE): Likewise.
11461 [IS_IN (libpthread)] (CDISABLE): Likewise.
11462 [IS_IN (libc)] (CENABLE): Likewise.
11463 [IS_IN (libc)] (CENABLE): Likewise.
11464 [IS_IN (librt)] (CDISABLE): Likewise.
11465 [IS_IN (librt)] (CDISABLE): Likewise.
11466 (SINGLE_THREAD_P): Likewise.
11467 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
11469 (PSEUDO_END): Likewise.
11470 [IS_IN (libpthread)] (CENABLE): Likewise.
11471 [IS_IN (libpthread)] (CDISABLE): Likewise.
11472 [IS_IN (libc)] (CENABLE): Likewise.
11473 [IS_IN (libc)] (CENABLE): Likewise.
11474 [IS_IN (librt)] (CDISABLE): Likewise.
11475 [IS_IN (librt)] (CDISABLE): Likewise.
11476 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
11477 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
11479 (PSEUDO_END): Likewise.
11480 [IS_IN (libpthread)] (CENABLE): Likewise.
11481 [IS_IN (libpthread)] (CDISABLE): Likewise.
11482 [IS_IN (libc)] (CENABLE): Likewise.
11483 [IS_IN (libc)] (CENABLE): Likewise.
11484 [IS_IN (librt)] (CDISABLE): Likewise.
11485 [IS_IN (librt)] (CDISABLE): Likewise.
11486 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
11487 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
11488 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
11489 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
11490 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
11492 (PSEUDO_END): Likewise.
11493 [IS_IN (libpthread)] (CENABLE): Likewise.
11494 [IS_IN (libpthread)] (CDISABLE): Likewise.
11495 [IS_IN (libc)] (CENABLE): Likewise.
11496 [IS_IN (libc)] (CENABLE): Likewise.
11497 [IS_IN (librt)] (CDISABLE): Likewise.
11498 [IS_IN (librt)] (CDISABLE): Likewise.
11499 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
11500 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
11502 (PSEUDO_END): Likewise.
11503 [IS_IN (libpthread)] (CENABLE): Likewise.
11504 [IS_IN (libpthread)] (CDISABLE): Likewise.
11505 [IS_IN (libc)] (CENABLE): Likewise.
11506 [IS_IN (libc)] (CENABLE): Likewise.
11507 [IS_IN (librt)] (CDISABLE): Likewise.
11508 [IS_IN (librt)] (CDISABLE): Likewise.
11509 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
11510 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
11512 (PSEUDO_END): Likewise.
11513 [IS_IN (libpthread)] (CENABLE): Likewise.
11514 [IS_IN (libpthread)] (CDISABLE): Likewise.
11515 [IS_IN (libc)] (CENABLE): Likewise.
11516 [IS_IN (libc)] (CENABLE): Likewise.
11517 [IS_IN (librt)] (CDISABLE): Likewise.
11518 [IS_IN (librt)] (CDISABLE): Likewise.
11519 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
11520 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
11521 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11522 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
11523 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
11525 (PSEUDO_END): Likewise.
11526 [IS_IN (libpthread)] (CENABLE): Likewise.
11527 [IS_IN (libpthread)] (CDISABLE): Likewise.
11528 [IS_IN (libc)] (CENABLE): Likewise.
11529 [IS_IN (libc)] (CENABLE): Likewise.
11530 [IS_IN (librt)] (CDISABLE): Likewise.
11531 [IS_IN (librt)] (CDISABLE): Likewise.
11532 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
11533 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
11535 (PSEUDO_END): Likewise.
11536 [IS_IN (libpthread)] (CENABLE): Likewise.
11537 [IS_IN (libpthread)] (CDISABLE): Likewise.
11538 [IS_IN (libc)] (CENABLE): Likewise.
11539 [IS_IN (libc)] (CENABLE): Likewise.
11540 [IS_IN (librt)] (CDISABLE): Likewise.
11541 [IS_IN (librt)] (CDISABLE): Likewise.
11542 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
11544 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
11546 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
11548 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
11550 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11552 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
11555 * string/stratcliff.c (do_test): Declare size, nchars, inner,
11556 middle and outer with size_t instead of int. Repleace %d and
11557 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
11558 "MAX (outer, nchars - 64)" to support unsigned outer and
11559 nchars. Also exit loop when outer == 0.
11561 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11563 * include/fcntl.h (__fcntl_nocancel): Remove definition.
11564 * include/signal.h (__sigsuspend_nocancel): Likewise.
11565 * include/time.h (__nanosleep_nocancel): Likewise.
11566 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
11567 * login/utmp_file.c: Include non cancellable syscall header.
11568 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
11571 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
11573 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
11574 .byte sequences with AVX512F instructions.
11575 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
11576 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
11577 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
11578 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
11580 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
11583 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
11584 Steve Ellcey <sellcey@cavium.com>
11586 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
11587 Use PTR_REG macro in cmp instruction.
11589 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11591 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
11592 Change the return type of the ifunc resolver to match the return
11593 type of the target function.
11595 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11597 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
11598 (preadv64): Likewise.
11599 (pwrite64(: Likewise.
11600 (pwritev64): Likewise.
11602 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
11603 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
11604 (LOAD_ARGS_0): Likewise.
11605 (LOAD_ARGS_1): Likewise.
11606 (LOAD_ARGS_2): Likewise.
11607 (LOAD_ARGS_3): Likewise.
11608 (LOAD_ARGS_4): Likewise.
11609 (LOAD_ARGS_5): Likewise.
11610 (LOAD_ARGS_6): Likewise.
11611 (LOAD_REGS_0): Likewise.
11612 (LOAD_REGS_1): Likewise.
11613 (LOAD_REGS_2): Likewise.
11614 (LOAD_REGS_3): Likewise.
11615 (LOAD_REGS_4): Likewise.
11616 (LOAD_REGS_5): Likewise.
11617 (LOAD_REGS_6): Likewise.
11618 (ASM_ARGS_0): Likewise.
11619 (ASM_ARGS_1): Likewise.
11620 (ASM_ARGS_2): Likewise.
11621 (ASM_ARGS_3): Likewise.
11622 (ASM_ARGS_4): Likewise.
11623 (ASM_ARGS_5): Likewise.
11624 (ASM_ARGS_6): Likewise.
11625 (LOAD_ARGS_TYPES_1): Likewise.
11626 (LOAD_ARGS_TYPES_2): Likewise.
11627 (LOAD_ARGS_TYPES_3): Likewise.
11628 (LOAD_ARGS_TYPES_4): Likewise.
11629 (LOAD_ARGS_TYPES_5): Likewise.
11630 (LOAD_ARGS_TYPES_6): Likewise.
11631 (LOAD_REGS_TYPES_1): Likewise.
11632 (LOAD_REGS_TYPES_2): Likewise.
11633 (LOAD_REGS_TYPES_3): Likewise.
11634 (LOAD_REGS_TYPES_4): Likewise.
11635 (LOAD_REGS_TYPES_5): Likewise.
11636 (LOAD_REGS_TYPES_6): Likewise.
11637 (TYPEFY): New define.
11638 (ARGIFY): Likewise.
11639 (internal_syscall0): Likewise.
11640 (internal_syscall1): Likewise.
11641 (internal_syscall2): Likewise.
11642 (internal_syscall3): Likewise.
11643 (internal_syscall4): Likewise.
11644 (internal_syscall5): Likewise.
11645 (internal_syscall6): Likewise.
11646 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
11647 (INTERNAL_SYSCALL_NCS): Remove define.
11648 (internal_syscall1): Add define.
11650 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11652 * math/w_remainder_compat.c: Remove duplicate inclusion of
11653 math-svid-compat.h.
11654 * math/w_remainderf_compat.c: Likewise.
11655 * math/w_remainderl_compat.c: Likewise.
11657 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11659 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11661 2017-08-22 Joseph Myers <joseph@codesourcery.com>
11664 * math/tgmath.h (__floating_type): Simplify definitions.
11665 (__real_integer_type): New macro.
11666 (__complex_integer_type): Likewise.
11667 (__expr_is_real): Likewise.
11668 (__tgmath_real_type_sub): Update comment to describe handling of
11670 (__tgmath_complex_type_sub): New macro.
11671 (__tgmath_complex_type): Likewise.
11672 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
11673 (__TGMATH_CF128): Use __expr_is_real.
11674 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
11676 (__TGMATH_BINARY_REAL_IMAG): Likewise.
11677 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
11678 * math/gen-tgmath-tests.py (Type.create_type): Create complex
11681 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11683 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
11685 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
11687 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
11690 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
11691 nanosleep_not_cancel with __nanosleep_nocancel.
11692 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
11693 (__nanosleep_nocancel): New macro.
11694 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
11696 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
11698 (__nanosleep_nocancel): New prototype.
11700 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
11701 pause_not_cancel with __pause_nocancel.
11702 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
11703 (__pause_nocancel): New macro.
11704 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
11706 (__pause_nocancel): New prototype.
11707 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
11709 2017-08-22 Martin Sebor <msebor@redhat.com>
11711 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
11712 to return a pointer to the same type as the target function.
11714 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
11718 * include/printf.h (__printf_fphex): Add attribute_hidden.
11719 (__guess_grouping): New prototype.
11720 * stdio-common/printf_fp.c (__guess_grouping): Removed.
11721 * stdio-common/reg-printf.c (__register_printf_specifier): Add
11722 libc_hidden_proto and libc_hidden_def.
11723 * stdlib/strfmon_l.c (__guess_grouping): Removed.
11724 (__vstrfmon_l): Remove the third argument passed to
11727 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11729 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
11730 definition for issignaling that does not rely on __MATH_TG,
11731 since __MATH_TG uses __builtin_types_compatible_p, which is only
11732 available in C mode.
11733 (CFLAGS-test-math-issignaling.cc): New variable.
11734 * math/Makefile [CXX] (tests): Add test-math-issignaling.
11735 * math/test-math-issignaling.cc: New test for C++ implementation
11736 of type-generic issignaling.
11737 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
11738 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
11739 options of test-math-issignaling on powerpc64le.
11741 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
11743 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
11745 (hidden_proto): Likewise.
11746 (hidden_tls_proto): Likewise.
11747 (__hidden_proto): Likewise.
11749 2017-08-22 Florian Weimer <fweimer@redhat.com>
11751 math: Statically link tests of internal functionality.
11752 * math/Makefile (tests): Remove atest-exp, atest-sincos,
11754 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
11755 (gmp-objs): Remove assignment.
11756 (atest-exp, atest-sincos, atest-exp2): Remove targets.
11758 2017-08-22 Joseph Myers <joseph@codesourcery.com>
11761 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
11763 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
11765 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
11768 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
11769 variable definitions above inclusion of ../Rules.
11771 2017-08-21 Joseph Myers <joseph@codesourcery.com>
11773 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
11774 case calling __builtin_unreachable.
11776 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11778 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
11779 __waitpid_nocancel.
11780 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
11781 (__waitpid_nocancel): New macro.
11782 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
11784 (__waitpid_nocancel): Replace macro with a function.
11785 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
11788 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
11790 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
11791 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
11793 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
11794 __writev_nocancel_nostatus.
11795 (write_call_graph): Likewise.
11796 (write_bb_counts): Likewise.
11797 * resolv/herror.c (herror): Likewise.
11798 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
11800 (__writev_nocancel_nostatus): New macro.
11801 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
11803 (__writev_nocancel_nostatus): New function.
11805 2017-08-21 Joseph Myers <joseph@codesourcery.com>
11808 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
11810 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
11812 (hidden_proto): Likewise.
11813 (hidden_tls_proto): Likewise.
11814 (__hidden_proto): Likewise.
11817 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
11818 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
11819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
11821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
11823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
11825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
11827 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
11828 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
11829 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
11830 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
11831 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
11832 GLIBC_2.0 sqrtl symbol.
11834 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
11835 [__USE_MISC] (_LIB_VERSION): Likewise.
11836 [__USE_MISC] (struct exception): Likewise.
11837 [__USE_MISC] (matherr): Likewise.
11838 [__USE_MISC] (DOMAIN): Likewise.
11839 [__USE_MISC] (SING): Likewise.
11840 [__USE_MISC] (OVERFLOW): Likewise.
11841 [__USE_MISC] (UNDERFLOW): Likewise.
11842 [__USE_MISC] (TLOSS): Likewise.
11843 [__USE_MISC] (PLOSS): Likewise.
11844 [__USE_MISC] (HUGE): Likewise.
11845 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
11846 * math/math-svid-compat.h: New file.
11847 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
11849 * include/math.h [!_ISOMAC] (__matherr): Remove.
11850 * manual/arith.texi (FP Exceptions): Do not document matherr.
11851 * math/Makefile (tests): Change test-matherr to test-matherr-3.
11852 (tests-internal): New variable.
11853 (install-lib): Do not add libieee.a.
11854 (non-lib.a): Likewise.
11855 (extra-objs): Do not add libieee.a and ieee-math.o.
11856 (CPPFLAGS-s_lib_version.c): Remove variable.
11857 ($(objpfx)libieee.a): Remove rule.
11858 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
11859 * math/ieee-math.c: Remove.
11860 * math/libm-test-support.c (matherr): Remove.
11861 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
11862 and license notices. Include <math-svid-compat.h> and
11864 (matherr): Undefine as macro. Use compat_symbol_reference.
11865 (_LIB_VERSION): Likewise.
11866 * math/test-matherr-2.c: New file.
11867 * math/test-matherr-3.c: Likewise.
11868 * sysdeps/generic/math_private.h (__kernel_standard): Remove
11870 (__kernel_standard_f): Likewise.
11871 (__kernel_standard_l): Likewise.
11872 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
11873 <math_private.h>. Include <math-svid-compat.h>.
11874 (_LIB_VERSION): Undefine as macro.
11875 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
11876 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
11877 [LIBM_SVID_COMPAT], use compat_symbol.
11878 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
11879 <math_private.h>. Include <math-svid-compat.h>.
11880 (matherr): Undefine as macro.
11881 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
11883 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
11884 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
11885 compat_symbol_reference.
11886 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
11887 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
11888 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
11889 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
11890 (MATHERR_D): Remove declaration.
11891 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
11892 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
11893 [LIBM_BUILD] (pmatherrf): Likewise.
11894 [LIBM_BUILD] (pmatherr): Likewise.
11895 [LIBM_BUILD] (pmatherrl): Likewise.
11896 (DOMAIN): Likewise.
11898 (OVERFLOW): Likewise.
11899 (UNDERFLOW): Likewise.
11902 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
11903 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
11905 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
11906 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
11908 * math/lgamma-compat.h: Include <math-svid-compat.h>.
11909 * math/w_acos_compat.c: Likewise.
11910 * math/w_acosf_compat.c: Likewise.
11911 * math/w_acosh_compat.c: Likewise.
11912 * math/w_acoshf_compat.c: Likewise.
11913 * math/w_acoshl_compat.c: Likewise.
11914 * math/w_acosl_compat.c: Likewise.
11915 * math/w_asin_compat.c: Likewise.
11916 * math/w_asinf_compat.c: Likewise.
11917 * math/w_asinl_compat.c: Likewise.
11918 * math/w_atan2_compat.c: Likewise.
11919 * math/w_atan2f_compat.c: Likewise.
11920 * math/w_atan2l_compat.c: Likewise.
11921 * math/w_atanh_compat.c: Likewise.
11922 * math/w_atanhf_compat.c: Likewise.
11923 * math/w_atanhl_compat.c: Likewise.
11924 * math/w_cosh_compat.c: Likewise.
11925 * math/w_coshf_compat.c: Likewise.
11926 * math/w_coshl_compat.c: Likewise.
11927 * math/w_exp10_compat.c: Likewise.
11928 * math/w_exp10f_compat.c: Likewise.
11929 * math/w_exp10l_compat.c: Likewise.
11930 * math/w_exp2_compat.c: Likewise.
11931 * math/w_exp2f_compat.c: Likewise.
11932 * math/w_exp2l_compat.c: Likewise.
11933 * math/w_fmod_compat.c: Likewise.
11934 * math/w_fmodf_compat.c: Likewise.
11935 * math/w_fmodl_compat.c: Likewise.
11936 * math/w_hypot_compat.c: Likewise.
11937 * math/w_hypotf_compat.c: Likewise.
11938 * math/w_hypotl_compat.c: Likewise.
11939 * math/w_j0_compat.c: Likewise.
11940 * math/w_j0f_compat.c: Likewise.
11941 * math/w_j0l_compat.c: Likewise.
11942 * math/w_j1_compat.c: Likewise.
11943 * math/w_j1f_compat.c: Likewise.
11944 * math/w_j1l_compat.c: Likewise.
11945 * math/w_jn_compat.c: Likewise.
11946 * math/w_jnf_compat.c: Likewise.
11947 * math/w_jnl_compat.c: Likewise.
11948 * math/w_lgamma_main.c: Likewise.
11949 * math/w_lgamma_r_compat.c: Likewise.
11950 * math/w_lgammaf_main.c: Likewise.
11951 * math/w_lgammaf_r_compat.c: Likewise.
11952 * math/w_lgammal_main.c: Likewise.
11953 * math/w_lgammal_r_compat.c: Likewise.
11954 * math/w_log10_compat.c: Likewise.
11955 * math/w_log10f_compat.c: Likewise.
11956 * math/w_log10l_compat.c: Likewise.
11957 * math/w_log2_compat.c: Likewise.
11958 * math/w_log2f_compat.c: Likewise.
11959 * math/w_log2l_compat.c: Likewise.
11960 * math/w_log_compat.c: Likewise.
11961 * math/w_logf_compat.c: Likewise.
11962 * math/w_logl_compat.c: Likewise.
11963 * math/w_pow_compat.c: Likewise.
11964 * math/w_powf_compat.c: Likewise.
11965 * math/w_powl_compat.c: Likewise.
11966 * math/w_remainder_compat.c: Likewise.
11967 * math/w_remainderf_compat.c: Likewise.
11968 * math/w_remainderl_compat.c: Likewise.
11969 * math/w_scalb_compat.c: Likewise.
11970 * math/w_scalbf_compat.c: Likewise.
11971 * math/w_scalbl_compat.c: Likewise.
11972 * math/w_sinh_compat.c: Likewise.
11973 * math/w_sinhf_compat.c: Likewise.
11974 * math/w_sinhl_compat.c: Likewise.
11975 * math/w_sqrt_compat.c: Likewise.
11976 * math/w_sqrtf_compat.c: Likewise.
11977 * math/w_sqrtl_compat.c: Likewise.
11978 * math/w_tgamma_compat.c: Likewise.
11979 * math/w_tgammaf_compat.c: Likewise.
11980 * math/w_tgammal_compat.c: Likewise.
11981 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
11982 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
11983 * sysdeps/ieee754/k_standard.c: Likewise.
11984 * sysdeps/ieee754/k_standardf.c: Likewise.
11985 * sysdeps/ieee754/k_standardl.c: Likewise.
11986 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
11987 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
11988 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
11989 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
11990 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
11991 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
11992 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
11993 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
11994 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
11995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
11997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
11999 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
12000 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
12001 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
12002 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
12004 2017-08-21 Florian Weimer <fweimer@redhat.com>
12007 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
12008 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
12009 Move before inclusion of ../Rules.
12011 2017-08-21 Florian Weimer <fweimer@redhat.com>
12014 * assert/assert.h (assert): Use static_cast (bool) for C++.
12015 Use the ternary operator in the warning branch for GNU C.
12016 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
12017 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
12018 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
12019 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
12020 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
12022 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
12025 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12026 (__syscall_clock_gettime): Add attribute_hidden.
12027 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
12028 (__start_context): Likewise.
12030 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
12032 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
12034 (hidden_proto): Likewise.
12035 (hidden_tls_proto): Likewise.
12036 (__hidden_proto): Likewise.
12038 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
12040 * include/libc-symbols.h (attribute_hidden): Enable hidden
12041 visibility in libc.a compiled with PIE.
12043 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
12046 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
12047 Add attribute_hidden.
12049 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
12052 * Makerules (all-nonlib): Add $(others-extras).
12053 * catgets/Makefile (others-extras): New.
12054 * elf/Makefile (others-extras): Likewise.
12055 * nss/Makefile (others-extras): Likewise.
12057 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
12060 * csu/libc-start.c (__libc_multiple_libcs): Removed.
12061 * elf/dl-open.c: Include <libc-internal.h>.
12062 (__libc_multiple_libcs): Removed.
12063 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
12065 * include/libc-internal.h (__libc_multiple_libcs): New.
12066 * misc/sbrk.c: Include <libc-internal.h>.
12067 (__libc_multiple_libcs): Removed.
12069 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
12072 * grp/initgroups.c (__nss_group_database): Removed.
12073 (__nss_initgroups_database): Likewise.
12074 * nscd/gai.c (__nss_hosts_database): Likewise.
12075 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
12076 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
12077 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
12078 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
12079 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
12080 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
12082 * nss/nsswitch.c (__nss_database_custom): Define only if
12083 USE_NSCD is defined.
12084 (__nss_configure_lookup): Use __nss_database_custom only if
12085 USE_NSCD is defined.
12086 * nss/nsswitch.h (__nss_database_custom): Declare only if
12087 USE_NSCD is defined. Add attribute_hidden.
12088 (__nss_setent): Add attribute_hidden.
12089 (__nss_endent): Likewise.
12090 (__nss_getent_r): Likewise.
12091 (__nss_getent): Likewise.
12092 (DEFINE_DATABASE): Declare __nss_##arg##_database.
12094 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
12097 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
12098 libc_hidden_proto and libc_hidden_def.
12100 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
12103 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
12104 Add libc_hidden_proto.
12105 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
12106 Add libc_hidden_def.
12108 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
12111 * gmon/Makefile (routines): Remove bb_init_func and
12113 (elide-routines.os): Removed.
12114 * gmon/bb_exit_func.c: Likewise.
12115 * gmon/bb_init_func.c: Likewise.
12116 * include/sys/gmon.h (__bb): Likewise.
12117 (__bb_init_func): Likewise.
12118 (__bb_exit_func): Likewise.
12119 * sysdeps/alpha/bb_init_func.S: Likewise.
12121 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
12123 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
12124 * include/setjmp.h (____longjmp_chk): Here. Add
12127 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
12130 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
12132 (__strspn_sse2): Likewise.
12134 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12136 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
12137 (close_not_cancel_no_status): Likewise.
12138 (__close_nocancel): New macro.
12139 (__close_nocancel_nostatus): Likewise.
12140 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
12142 (close_not_cancel): Likewise.
12143 (close_not_cancel_no_status): Likewise.
12144 (__close_nocancel): New prototype.
12145 (__close_nocancel_nostatus): New function.
12146 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
12147 * catgets/open_catalog.c (__open_catalog): Replace
12148 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
12149 * gmon/gmon.c (write_gmon): Likewise.
12150 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
12151 * intl/loadmsgcat.c (close): Likewise.
12152 * io/ftw.c (open_dir_stream): Likewise.
12153 (ftw_startup): Likewise.
12154 * libio/fileops.c (_IO_file_open): Likewise.
12155 (_IO_file_close_mmap): Likewise.
12156 (_IO_file_close): Likewise.
12157 * libio/iopopen.c (_IO_dup2): Likewise.
12158 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
12159 * locale/loadlocale.c (_nl_load_locale): Likewise.
12160 * login/utmp_file.c (pututline_file): Likewise.
12161 (endutent_file): Likewise.
12162 * misc/daemon.c (daemon): Likewise.
12163 * nscd/nscd_getai.c (__nscd_getai): Likewise.
12164 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
12165 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
12166 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
12167 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
12168 * nscd/nscd_helper.c (open_socket): Likewise.
12169 (__nscd_open_socket): Likewise.
12170 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
12171 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
12172 (__nscd_innetgr): Likewise.
12173 * nss/nss_db/db-open.c (internal_setent): Likewise.
12174 * resolv/res-close.c (__res_iclose): Likewise.
12175 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
12176 * sysdeps/posix/closedir.c (__closedir): Likewise.
12177 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
12178 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
12179 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
12180 (opendir_tail): Likewise.
12181 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
12182 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
12183 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
12184 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
12185 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
12186 (gethostid): Likewise.
12187 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
12188 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12190 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12191 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
12192 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
12193 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
12195 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
12196 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
12197 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
12199 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
12200 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
12202 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
12204 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
12205 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
12206 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
12209 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
12210 (openat_not_cancel_3): Likewise.
12211 (openat64_not_cancel_3): Likewise).
12212 (openat_not_cancel_3): Likewise).
12213 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
12215 (openat_not_cancel_3): Likewise.
12216 (openat64_not_cancel): Likewise.
12217 (openat64_not_cancel_3): Likewise.
12218 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
12219 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
12220 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
12221 __open{64}_nocancel.
12222 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
12223 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
12224 * sysdeps/posix/opendir.c (__opendirat): Likewise.
12226 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
12229 * include/argz.h (__argz_create_sep): New function prototype.
12230 (__argz_append): Likewise.
12231 (__argz_add): Likewise.
12232 (__argz_add_sep): Likewise.
12233 (__argz_delete): Likewise.
12234 (__argz_insert): Likewise.
12235 (__argz_replace): Likewise.
12236 * string/argz.h (__argz_create_sep): Removed.
12237 (__argz_append): Likewise.
12238 (__argz_add): Likewise.
12239 (__argz_add_sep): Likewise.
12240 (__argz_delete): Likewise.
12241 (__argz_insert): Likewise.
12242 (__argz_replace): Likewise.
12244 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
12246 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
12247 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
12248 (GNU_PROPERTY_STACK_SIZE): Likewie.
12249 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
12250 (GNU_PROPERTY_LOPROC): Likewise.
12251 (GNU_PROPERTY_HIPROC): Likewise.
12252 (GNU_PROPERTY_LOUSER): Likewise.
12253 (GNU_PROPERTY_HIUSER): Likewise.
12254 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
12255 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
12256 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
12257 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
12258 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
12259 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
12260 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
12261 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
12262 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
12263 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
12264 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
12265 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
12266 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
12267 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
12268 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
12269 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
12270 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
12271 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
12272 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
12273 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
12274 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
12275 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
12276 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
12278 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12280 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
12283 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12286 * math/math.h (isinf): Check if in C or C++ mode before using
12287 __builtin_types_compatible_p, since this is a C mode feature.
12289 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12291 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
12292 (__write_nocancel): New macro.
12293 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
12294 Rewrite as a function prototype.
12295 (write_not_cancel): Remove macro.
12296 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
12297 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
12298 (write_gmon): Likewise.
12299 * libio/fileops.c (_IO_new_file_write): Likewise.
12300 * login/utmp_file.c (pututline_file): Likewise.
12301 (updwtmp_file): Likewise.
12302 * stdio-common/psiginfo.c (psiginfo): Likewise.
12303 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
12304 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
12305 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
12307 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
12310 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
12311 (__read_nocancel): New macro.
12312 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
12314 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
12316 (__read_nocancel): New prototype.
12317 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
12318 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
12319 with __read_nocancel.
12320 * intl/loadmsgcat.c (read): Likewise.
12321 * libio/fileops.c (_IO_file_read): Likewise.
12322 * locale/loadlocale.c (_nl_load_locale): Likewise.
12323 * login/utmp_file.c (getutent_r_file): Likewise.
12324 (internal_getut_r): Likewise.
12325 (getutline_r_file): Likewise.
12326 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
12327 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12328 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
12329 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12331 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
12332 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
12333 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
12335 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
12337 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
12339 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
12341 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
12343 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
12346 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
12347 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
12350 2017-08-17 DJ Delorie <dj@redhat.com>
12352 * bug17079.c: Update to new test harness.
12353 * test-digits-dots.c: Likewise.
12354 * test-netdb.c: Likewise.
12355 * tst-field.c: Likewise.
12356 * tst-nss-getpwent.c: Likewise.
12357 * tst-nss-static.c: Likewise.
12358 * tst-nss-test1.c: Likewise.
12359 * tst-nss-test2.c: Likewise.
12360 * tst-nss-test3.c: Likewise.
12361 * tst-nss-test4.c: Likewise.
12362 * tst-nss-test5.c: Likewise.
12364 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12366 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
12367 (open_not_cancel_2): Likewise.
12368 (open_nocancel): New macro.
12369 (open64_nocancel): Likewise.
12370 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
12371 (open_not_cancel_2): Likewise.
12372 (__open_nocancel): New prototype.
12373 (__open64_nocancel): Likewise.
12374 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
12376 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
12377 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
12378 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
12379 with __open_nocancel.
12380 * csu/check_fds.c (check_one_fd): Likewise.
12381 * gmon/gmon.c (write_gmon): Likewise.
12382 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
12383 * intl/loadmsgcat.c (open): Likewise.
12384 * libio/fileops.c (_IO_file_open): Likewise.
12385 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
12386 * locale/loadlocale.c (_nl_load_locale): Likewise.
12387 * login/utmp_file.c (setutent_file): Likewise.
12388 * misc/daemon.c (daemon): Likewise.
12389 * nss/nss_db/db-open.c (internal_setent): Likewise.
12390 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
12391 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
12392 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
12393 (__opendir): Likewise.
12394 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
12395 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
12396 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
12397 (gethostid): Likewise.
12398 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
12399 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12401 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12402 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
12403 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
12404 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
12406 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
12408 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
12410 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
12412 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
12414 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
12416 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
12417 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
12419 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
12421 * benchtests/bench-skeleton.c (main): Add support for
12422 latency benchmarking.
12423 * benchtests/scripts/bench.py: Add support for latency benchmarking.
12425 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
12427 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
12428 the startup object.
12430 2017-08-17 Florian Weimer <fweimer@redhat.com>
12432 * include/sys/socket.h (__opensock): Remove internal_function.
12433 * socket/opensock.c (__opensock): Likewise.
12434 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
12436 2017-08-16 Joseph Myers <joseph@codesourcery.com>
12439 * signal/bits/types/__sigval_t.h: New file.
12440 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
12441 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
12442 and define sigval_t using __sigval_t.
12443 * include/bits/types/__sigval_t.h: New file.
12444 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
12445 instead of <bits/types/__sigval_t.h>.
12446 (struct sigevent): Use __sigval_t instead of sigval_t.
12447 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
12448 instead of <bits/types/__sigval_t.h>.
12449 (siginfo_t): Use __sigval_t instead of sigval_t.
12450 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
12451 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
12452 (struct sigevent): Use __sigval_t instead of sigval_t.
12453 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
12454 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
12455 (siginfo_t): Use __sigval_t instead of sigval_t.
12456 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
12458 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
12460 * NEWS: Remove "[Add new features here]" for 2.27.
12462 2017-08-16 Joseph Myers <joseph@codesourcery.com>
12464 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
12467 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
12469 * NEWS: Mention x86-64 FMA optimization.
12471 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
12474 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12476 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
12477 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
12478 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
12480 2017-08-16 Andreas Schwab <schwab@suse.de>
12484 * elf/ldd.bash.in: Never run file directly.
12486 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
12489 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
12490 (L(SP_INF_0)): Likewise.
12492 2017-08-15 Florian Weimer <fweimer@redhat.com>
12494 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
12497 2017-08-15 Florian Weimer <fweimer@redhat.com>
12499 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
12500 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
12501 BROKEN_THREAD_SIGNALS code.
12502 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
12503 request_list): Remove caller_pid member used for
12504 BROKEN_THREAD_SIGNALS.
12505 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
12506 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
12507 Remove BROKEN_THREAD_SIGNALS support.
12508 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
12509 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
12511 2017-08-15 Florian Weimer <fweimer@redhat.com>
12513 * gmon/Makefile (tests): Add tst-gmon.
12514 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
12516 (tests-special): Add tst-gmon-prof.out.
12517 (tst-gmon.out): Depend on clean-tst-gmon-data.
12518 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
12519 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
12520 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
12522 * aclocal.m4 (GPROF): Set and substitute.
12523 * config.amke.in (GPROF): Set.
12524 * configure: Regenerate.
12526 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
12528 * elf/elf.h A (NT_PPC_TAR): New macro.
12529 (NT_PPC_PPR): Likewise.
12530 (NT_PPC_DSCR): Likewise.
12531 (NT_PPC_EBB): Likewise.
12532 (NT_PPC_PMU): Likewise.
12533 (NT_PPC_TM_CGPR): Likewise.
12534 (NT_PPC_TM_CFPR): Likewise.
12535 (NT_PPC_TM_CVMX): Likewise.
12536 (NT_PPC_TM_CVSX): Likewise.
12537 (NT_PPC_TM_SPR): Likewise.
12538 (NT_PPC_TM_CTAR): Likewise.
12539 (NT_PPC_TM_CPPR): Likewise.
12540 (NT_PPC_TM_CDSCR): Likewise.
12542 2017-08-15 Florian Weimer <fweimer@redhat.com>
12544 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
12545 regparm (2) instead of internal_function.
12546 (_MCOUNT_DECL): Adjust.
12548 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
12550 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
12551 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
12553 2017-08-14 Joseph Myers <joseph@codesourcery.com>
12555 * conform/data/sys/wait.h-data (si_value): Do not expect for
12558 2017-08-14 Florian Weimer <fweimer@redhat.com>
12561 NSS: Create stubs for accidentally exported lookup functions.
12562 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
12563 Remove declaration.
12564 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
12565 (ether_hostton): Call __nss_ethers_lookup2 instead.
12566 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
12567 (ether_ntohost): Call __nss_ethers_lookup2 instead.
12568 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
12569 (setup): Call __nss_netgroup_lookup2 instead.
12570 * nss/Makefile (routines): Add compat-lookup.
12571 * nss/Versions (GLIBC_2.27): Add symbol version.
12572 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
12573 (DB_COMPAT_FCT): Remove.
12574 * nss/compat-lookup.c: New file.
12575 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
12576 from databases.def.
12577 * nss/service-lookup.c (NO_COMPAT): Remove definition.
12578 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
12579 (netname2user): Call __nss_publickey_lookup2 instead.
12580 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
12581 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
12584 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12585 Sergei Trofimovich <slyfox@inbox.ru>
12588 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
12589 Rename to MMAP2_PAGE_UNIT.
12590 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
12591 __OFF_T_MATCHES_OFF64_T is not defined.
12592 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
12594 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
12595 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
12597 2017-08-14 Florian Weimer <fweimer@redhat.com>
12599 i386: Do not set internal_function.
12600 * config.h.in (USE_REGPARMS, internal_function): Remove.
12601 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
12602 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
12604 2017-08-14 Florian Weimer <fweimer@redhat.com>
12606 * elf/dl-init.c (_dl_init): Remove internal_function.
12607 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
12608 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
12610 2017-08-14 Florian Weimer <fweimer@redhat.com>
12612 * elf/rtld.c (_dl_start): Remove internal_function.
12613 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
12616 2017-08-14 Florian Weimer <fweimer@redhat.com>
12618 * elf/dl-fini.c (_dl_fini): Remove internal_function
12619 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
12621 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
12623 * sysdeps/x86/cpu-features.h (bit_cpu_BIT): New.
12624 (bit_cpu_SHSTK): Likewise.
12625 (index_cpu_IBT): Likewise.
12626 (index_cpu_SHSTK): Likewise.
12627 (reg_IBT): Likewise.
12628 (reg_SHSTK): Likewise.
12629 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
12630 Handle index_cpu_IBT and index_cpu_SHSTK.
12632 2017-08-14 Mike FABIAN <mfabian@redhat.com>
12635 * po/fr.po: Fix spelling mistake.
12637 2017-08-13 Florian Weimer <fweimer@redhat.com>
12639 * elf/dl-addr.c (_dl_addr): Remove internal_function.
12640 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
12641 (_dl_catch_error, _dl_receive_error): Likewise.
12642 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
12643 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
12644 (_dl_deallocate_tls): Likewise.
12645 * include/dlfcn.h (_dl_addr): Likewise.
12646 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
12647 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
12648 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
12651 2017-08-13 Florian Weimer <fweimer@redhat.com>
12653 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
12654 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
12656 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
12658 2017-08-13 Florian Weimer <fweimer@redhat.com>
12660 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
12662 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
12663 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
12664 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
12665 internal_function from _dl_make_stack_executable_hook member.
12666 (_dl_make_stack_executable): Remove internal_function.
12667 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
12669 * sysdeps/unix/sysv/linux/dl-execstack.c
12670 (_dl_make_stack_executable): Likewise.
12672 2017-08-13 Florian Weimer <fweimer@redhat.com>
12674 * sysdeps/unix/sysv/linux/netlinkaccess.h
12675 (__netlink_assert_response): Remove internal_function.
12676 * sysdeps/unix/sysv/linux/netlink_assert_response.c
12677 (__netlink_assert_response): Likewise.
12679 2017-08-13 Florian Weimer <fweimer@redhat.com>
12681 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
12683 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
12685 2017-08-13 Florian Weimer <fweimer@redhat.com>
12687 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
12689 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
12690 * inet/netgroup.h (__internal_setnetgrent)
12691 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
12692 * inet/getnetgrent_r.c (__internal_setnetgrent)
12693 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
12694 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
12695 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
12696 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
12697 * nss/nsswitch.h (db_lookup_function): Likewise.
12699 2017-08-13 Florian Weimer <fweimer@redhat.com>
12701 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
12702 Remove internal_function.
12703 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
12704 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
12705 message argument on the stack.
12706 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
12709 2017-08-12 Mike FABIAN <mfabian@redhat.com>
12711 Adapt test case data to the changes in the thousands
12715 * localedata/tst-langinfo.sh: Adapt test case data.
12716 * stdlib/tst-strfmon_l.c: Likewise.
12717 * stdlib/tst-strtod4.c: Likewise.
12718 * stdlib/tst-strtod5i.c: Likewise.
12720 2017-08-11 Florian Weimer <fweimer@redhat.com>
12723 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
12724 Suppress pedantic warning resulting from statement expression.
12725 (__ASSERT_FUNCTION): Add missing __extension__.
12727 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
12729 * benchtests/bench-memmove-large.c: Print output in JSON
12731 * benchtests/bench-memmove.c: Likewise.
12733 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
12734 * benchtests/bench-memchr.c (do_one_test): Likewise.
12735 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
12736 * benchtests/bench-memcpy.c (do_one_test): Likewise.
12737 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
12738 * benchtests/bench-memmove.c (do_one_test): Likewise.
12739 * benchtests/bench-memset-large.c (do_one_test): Likewise.
12740 * benchtests/bench-memset.c (do_one_test): Likewise.
12741 * benchtests/bench-string.h (test_init): Remove memsets.
12743 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
12746 (Computing the Width of an Integer Data Type): Rename section to
12747 "Width of an Integer Type". Remove inaccurate statement regarding
12748 lack of C language facilities for determining width of integer
12749 types, and reorder content to improve flow and context of
12752 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
12754 * lang.texi (va_copy): Change standard from ISO to C99.
12755 (__va_copy): Add standard and header annotation.
12756 Update description for clarity of origins and current use.
12758 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12761 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
12762 xssqrtqp requires operands to be in Vector Registers
12763 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
12764 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
12765 (__ieee754_sqrtf128): Likewise.
12767 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
12769 * sysdeps/aarch64/memcmp.S (memcmp):
12770 Rewrite of optimized memcmp.
12772 2017-08-10 Florian Weimer <fweimer@redhat.com>
12774 Introduce ld.so exceptions.
12775 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
12776 (_dl_exception_create, _dl_exception_create_format)
12777 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
12778 (_dl_catch_exception): Declare.
12779 (_dl_catch_error): Update comment.
12780 * elf/dl-error-skeleton.c (struct catch): Replace objname,
12781 errstring, malloced members with exception member.
12782 (_dl_out_of_memory): Remove.
12783 (fatal_error): New function, extracted from _dl_signal_error.
12784 (_dl_signal_exception, _dl_signal_cexception): New functions.
12785 (_dl_signal_error): Call _dl_exception_create to allocate an
12787 (_dl_catch_exception): New function, based on _dl_catch_error.
12788 (_dl_catch_error): Implement using _dl_catch_exception.
12789 * elf/dl-exception.c: New file.
12790 * elf/Makefile (dl-routines): Add dl-exception.
12791 (elide-routines.os): Likewise.
12792 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
12793 _dl_exception_create_format, _dl_exception_free.
12794 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
12795 _dl_signal_exception.
12796 * elf/dl-lookup.c (make_string): Remove.
12797 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
12798 _dl_signal_cexception, _dl_exception_free.
12799 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
12800 _dl_signal_exception.
12801 * elf/dl-sym.c (do_sym): Likewise.
12802 * elf/dl-version.c (make_string): Remove.
12803 (match_symbol): Use _dl_exception_create_format,
12804 _dl_signal_cexception, _dl_exception_free.
12805 (_dl_check_map_versions): Likewise.
12806 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
12807 _dl_catch_exception.
12808 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
12809 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
12810 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
12811 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
12812 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
12813 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
12814 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
12815 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
12817 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
12818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
12820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
12822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
12824 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
12825 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
12826 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
12828 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
12830 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
12832 2017-08-10 Florian Weimer <fweimer@redhat.com>
12834 * inet/net-internal.h (__inet6_scopeid_pton): Remove
12835 attribute_hidden, internal_function.
12836 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
12839 2017-08-10 Florian Weimer <fweimer@redhat.com>
12841 * malloc/malloc.c (get_max_fast): Reimplement as an inline
12842 function which calls __builtin_unreachable.
12844 2017-08-10 Mike FABIAN <mfabian@redhat.com>
12846 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
12847 Indian monetary formatting
12848 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
12851 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
12853 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
12854 Fix typo in comment.
12857 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
12858 PTRACE_SEIZE_DEVEL): Remove.
12859 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
12860 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
12861 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12862 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12863 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12865 2017-08-09 Joseph Myers <joseph@codesourcery.com>
12867 * posix/bits/types.h (__qaddr_t): Remove.
12870 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
12871 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
12873 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
12874 (ucontext_t): Use __ctx with uc_flags.
12875 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
12876 (__ctxt): Likewise.
12877 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
12879 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
12880 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
12882 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
12883 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
12885 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
12887 (ucontext_t): Use __ctx with uc_flags.
12888 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
12889 (ucontext_t): Use __ctx with uc_flags.
12890 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
12891 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
12892 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
12893 (ucontext_t): Use __ctx with uc_flags.
12894 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
12895 undefine further down.
12896 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
12898 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
12899 undefine further down.
12900 (ucontext_t): Use __ctx with uc_flags.
12901 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
12902 undefine further down.
12903 (ucontext_t): Use __ctx with uc_flags.
12904 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
12905 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
12906 Rename uc_pad to __glibc_reserved1.
12907 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
12908 undefine further down.
12909 (ucontext_t): Use __ctx with uc_flags.
12910 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
12912 (ucontext_t): Use __ctx with uc_flags.
12913 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
12914 __ctx with uc_flags.
12915 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
12916 (ucontext_t): Use __ctx with uc_flags.
12917 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
12918 __ctx with uc_flags.
12920 2017-08-09 Florian Weimer <fweimer@redhat.com>
12923 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
12924 before early return.
12926 2017-08-09 Andreas Schwab <schwab@suse.de>
12929 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
12933 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
12934 tst-compat-forwarder.
12935 (modules-names): Add tst-compat-forwarder-mod.
12936 ($(objpfx)tst-compat-forwarder): Depend on
12937 $(objpfx)tst-compat-forwarder-mod.so.
12938 * nptl/tst-compat-forwarder.c: New file.
12939 * nptl/tst-compat-forwarder-mod.c: New file.
12941 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
12943 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
12946 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
12947 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
12949 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
12951 (__libc_ifunc_impl_list): Add __memcpy_falkor.
12952 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
12953 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
12954 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
12956 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
12959 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12962 * manual/setjmp.texi (getcontex): Document uc_stack value
12963 compatibility differences.
12965 2017-08-08 Joseph Myers <joseph@codesourcery.com>
12967 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
12968 (old_malloc_hook): Likewise.
12969 (old_memalign_hook): Likewise.
12970 (old_realloc_hook): Likewise.
12971 (struct hdr): Likewise.
12973 (freehook): Likewise.
12974 (mallochook): Likewise.
12975 (memalignhook): Likewise.
12976 (reallochook): Likewise.
12977 (mprobe): Likewise.
12978 * malloc/mtrace.c (mallwatch): Likewise.
12979 (tr_old_free_hook): Likewise.
12980 (tr_old_malloc_hook): Likewise.
12981 (tr_old_realloc_hook): Likewise.
12982 (tr_old_memalign_hook): Likewise.
12983 (tr_where): Likewise.
12984 (lock_and_info): Likewise.
12985 (tr_freehook): Likewise.
12986 (tr_mallochook): Likewise.
12987 (tr_reallochook): Likewise.
12988 (tr_memalignhook): Likewise.
12989 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
12990 * misc/mmap.c (__mmap): Likewise.
12991 * misc/mmap64.c (__mmap64): Likewise.
12992 * misc/mprotect.c (__mprotect): Likewise.
12993 * misc/msync.c (msync): Likewise.
12994 * misc/munmap.c (__munmap): Likewise.
12995 * posix/posix_madvise.c (posix_madvise): Likewise.
12996 * socket/send.c (__send): Likewise.
12997 * socket/sendto.c (__sendto): Likewise.
12998 * socket/setsockopt.c (__setsockopt): Likewise.
12999 * string/memcmp.c (__ptr_t): Remove macro.
13000 (MEMCMP): Use void * instead of ptr_t.
13001 * string/memrchr.c (__ptr_t): Remove macro.
13002 (__memrchr): Use void * instead of ptr_t.
13003 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
13004 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
13005 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
13006 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
13007 * sysdeps/mach/msync.c (msync): Likewise.
13008 * sysdeps/mach/munmap.c (__munmap): Likewise.
13009 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
13011 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
13012 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
13013 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
13014 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
13015 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
13016 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
13017 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
13018 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
13020 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
13021 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
13022 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
13023 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
13024 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
13025 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
13026 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
13027 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
13028 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
13030 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
13031 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
13032 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
13033 (MEMCMP): Use void * instead of ptr_t.
13034 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
13035 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
13037 2017-08-08 Florian Weimer <fweimer@redhat.com>
13039 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
13042 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
13045 * csu/libc-tls.c: Include <startup.h> first.
13046 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
13047 * elf/dl-tunables.c: Include <startup.h> first.
13048 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
13049 * sysdeps/generic/startup.h: New file.
13050 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
13051 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
13052 (I386_USE_SYSENTER): New. Defined to 0.
13054 2017-08-08 Andreas Schwab <schwab@suse.de>
13057 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
13058 * nptl/pt-system.c (system): Likewise.
13060 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13063 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
13065 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
13066 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
13067 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
13068 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
13069 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
13070 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
13071 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
13073 2017-08-07 Joseph Myers <joseph@codesourcery.com>
13076 * bits/sigaction.h (struct sigaction): Define sa_handler and
13077 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
13078 (SA_ONSTACK): Change [__USE_UNIX98] condition to
13079 [__USE_XOPEN_EXTENDED].
13080 (SA_RESTART): Likewise.
13081 (SA_NODEFER): Likewise.
13082 (SA_RESETHAND): Likewise.
13083 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
13084 (struct sigaction): Define sa_handler and sa_sigaction using union
13085 also for [__USE_XOPEN_EXTENDED].
13086 (SA_ONSTACK): Change [__USE_UNIX98] condition to
13087 [__USE_XOPEN_EXTENDED].
13088 (SA_RESTART): Likewise.
13089 (SA_NODEFER): Likewise.
13090 (SA_RESETHAND): Likewise.
13091 * sysdeps/unix/sysv/linux/bits/sigaction.h
13092 (struct sigaction): Define sa_handler and sa_sigaction using union
13093 also for [__USE_XOPEN_EXTENDED].
13094 (SA_ONSTACK): Change [__USE_UNIX98] condition to
13095 [__USE_XOPEN_EXTENDED].
13096 (SA_RESTART): Likewise.
13097 (SA_NODEFER): Likewise.
13098 (SA_RESETHAND): Likewise.
13099 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
13100 (struct sigaction): Define sa_handler and sa_sigaction using union
13101 also for [__USE_XOPEN_EXTENDED].
13102 (SA_ONSTACK): Change [__USE_UNIX98] condition to
13103 [__USE_XOPEN_EXTENDED].
13104 (SA_RESTART): Likewise.
13105 (SA_NODEFER): Likewise.
13106 (SA_RESETHAND): Likewise.
13107 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
13108 (struct sigaction): Define sa_handler and sa_sigaction using union
13109 also for [__USE_XOPEN_EXTENDED].
13110 (SA_ONSTACK): Change [__USE_UNIX98] condition to
13111 [__USE_XOPEN_EXTENDED].
13112 (SA_RESTART): Likewise.
13113 (SA_NODEFER): Likewise.
13114 (SA_RESETHAND): Likewise.
13115 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
13116 (struct sigaction): Define sa_handler and sa_sigaction using union
13117 also for [__USE_XOPEN_EXTENDED].
13118 (SA_ONSTACK): Change [__USE_UNIX98] condition to
13119 [__USE_XOPEN_EXTENDED].
13120 (SA_RESTART): Likewise.
13121 (SA_NODEFER): Likewise.
13122 (SA_RESETHAND): Likewise.
13123 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
13124 (struct sigaction): Define sa_handler and sa_sigaction using union
13125 also for [__USE_XOPEN_EXTENDED].
13126 (SA_ONSTACK): Change [__USE_UNIX98] condition to
13127 [__USE_XOPEN_EXTENDED].
13128 (SA_RESTART): Likewise.
13129 (SA_NODEFER): Likewise.
13130 (SA_RESETHAND): Likewise.
13131 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
13132 (struct sigaction): Define sa_handler and sa_sigaction using union
13133 also for [__USE_XOPEN_EXTENDED].
13134 (SA_ONSTACK): Change [__USE_UNIX98] condition to
13135 [__USE_XOPEN_EXTENDED].
13136 (SA_RESTART): Likewise.
13137 (SA_NODEFER): Likewise. Define directly rather than as alias.
13138 (SA_RESETHAND): Likewise.
13139 (SA_INTERRUPT): Define only for [__USE_MISC].
13140 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
13141 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
13143 (SA_STACK): Define only for [__USE_MISC].
13144 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
13145 (struct sigaction): Define sa_handler and sa_sigaction using union
13146 also for [__USE_XOPEN_EXTENDED].
13147 (SA_ONSTACK): Change [__USE_UNIX98] condition to
13148 [__USE_XOPEN_EXTENDED].
13149 (SA_RESTART): Likewise.
13150 (SA_NODEFER): Likewise.
13151 (SA_RESETHAND): Likewise.
13152 (SA_NOPTRACE): Define only for [__USE_MISC].
13154 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
13155 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
13156 (struct catalog_info): Likewise.
13157 * inet/htontest.c (lo): Likewise.
13159 * inet/inet_lnaof.c (inet_lnaof): Likewise.
13160 * inet/inet_net.c (inet_network): Likewise.
13161 * inet/inet_netof.c (inet_netof): Likewise.
13162 * inet/rcmd.c (__ivaliduser): Likewise.
13163 (iruserok): Likewise.
13164 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
13165 * locale/programs/locale-spec.c (locale_special): Likewise.
13166 * nis/nis_findserv.c (struct findserv_req): Likewise.
13167 (__nis_findfastest_with_timeout): Likewise.
13168 * nss/test-netdb.c (test_network): Likewise.
13169 * resolv/inet_neta.c (inet_neta): Likewise.
13170 * resolv/ns_date.c (ns_datetosecs): Likewise.
13171 (SECS_PER_DAY): Likewise.
13172 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
13174 * resolv/res_comp.c (__putlong): Likewise.
13175 (__putshort): Likewise.
13176 (_getlong): Likewise.
13177 (_getshort): Likewise.
13178 * resolv/res_debug.c (p_time): Likewise.
13179 (precsize_ntoa): Likewise.
13180 (precsize_aton): Likewise.
13181 (latlon2ul): Likewise.
13182 (loc_aton): Likewise.
13183 (loc_ntoa): Likewise.
13184 * resolv/res_hconf.c (struct netaddr): Likewise.
13185 (_res_hconf_reorder_addrs): Likewise.
13186 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
13187 (clnttcp_control): Likewise.
13188 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
13189 (clntudp_control): Likewise.
13190 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
13191 (clntunix_control): Likewise.
13192 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
13193 * sunrpc/rpc/auth.h (union des_block): Likewise.
13194 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
13195 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
13196 (xdrrec_create): Likewise.
13197 (xdrrec_endofrecord): Likewise.
13198 (flush_out): Likewise.
13199 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
13200 (xdrstdio_putlong): Likewise.
13201 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
13204 * misc/sys/cdefs.h (__long_double_t): Remove.
13205 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
13206 instead of __long_double_t,
13207 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
13209 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
13211 * benchtests/scripts/compare_strings.py: Avoid display error when
13212 running on a text terminal.
13214 * benchtests/scripts/compare_strings.py (main): Add an
13215 optional -base option.
13216 (process_results): New argument base_func.
13218 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
13220 * benchtests/bench-memcpy-large.c (test_name): Likewise.
13221 * benchtests/bench-memcpy-random.c (test_name): Likewise.
13223 2017-08-07 Andreas Schwab <schwab@suse.de>
13225 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
13226 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
13227 * intl/Makefile ($(objpfx)tst-gettext.out)
13228 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
13229 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
13230 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
13231 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
13232 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
13233 * posix/Makefile ($(objpfx)globtest.out)
13234 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
13235 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
13236 ($(objpfx)tst-printf.out): Likewise.
13237 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
13238 ($(objpfx)tst-setcontext3.out): Likewise.
13240 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
13242 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
13243 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
13244 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
13245 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
13246 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
13248 (CFLAGS-doasin-fma.c): New.
13249 (CFLAGS-dosincos-fma.c): Likewise.
13250 (CFLAGS-e_asin-fma.c): Likewise.
13251 (CFLAGS-e_atan2-fma.c): Likewise.
13252 (CFLAGS-e_exp-fma.c): Likewise.
13253 (CFLAGS-e_log-fma.c): Likewise.
13254 (CFLAGS-e_pow-fma.c): Likewise.
13255 (CFLAGS-halfulp-fma.c): Likewise.
13256 (CFLAGS-mpa-fma.c): Likewise.
13257 (CFLAGS-mpatan-fma.c): Likewise.
13258 (CFLAGS-mpatan2-fma.c): Likewise.
13259 (CFLAGS-mpexp-fma.c): Likewise.
13260 (CFLAGS-mplog-fma.c): Likewise.
13261 (CFLAGS-mpsqrt-fma.c): Likewise.
13262 (CFLAGS-mptan-fma.c): Likewise.
13263 (CFLAGS-s_atan-fma.c): Likewise.
13264 (CFLAGS-sincos32-fma.c): Likewise.
13265 (CFLAGS-slowexp-fma.c): Likewise.
13266 (CFLAGS-slowpow-fma.c): Likewise.
13267 (CFLAGS-s_sin-fma.c): Likewise.
13268 (CFLAGS-s_tan-fma.c): Likewise.
13269 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
13270 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
13271 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
13272 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
13273 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
13274 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
13275 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
13276 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
13277 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
13278 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
13279 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
13280 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
13281 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
13282 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
13283 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
13284 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
13285 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
13286 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
13287 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
13288 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
13289 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
13290 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
13291 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
13292 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
13293 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13294 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13295 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13296 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
13297 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13298 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13299 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13301 2017-08-04 Joseph Myers <joseph@codesourcery.com>
13303 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
13304 (min_of_type_f): New macro.
13305 (min_of_type_): Likewise.
13306 (min_of_type_l): Likewise.
13307 (min_of_type_f128): Likewise.
13308 (min_of_type): Define using __MATH_TG and taking an expression
13310 (math_check_force_underflow): Pass expression instead of type to
13312 (math_check_force_underflow_nonneg): Likewise.
13314 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
13316 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
13317 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
13318 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
13320 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
13322 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13323 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
13324 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
13325 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
13326 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
13327 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
13328 memcpy_chk-nonshared, mempcpy_chk-nonshared,
13329 memmove_chk-nonshared and memset_chk-nonshared
13330 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
13331 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
13332 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
13333 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
13334 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
13335 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
13336 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
13337 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
13338 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
13339 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
13340 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
13341 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
13342 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
13343 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
13344 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
13345 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
13346 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
13347 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
13348 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
13349 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
13350 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
13351 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
13352 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
13353 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
13354 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
13355 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
13356 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
13357 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
13358 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
13359 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
13360 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
13361 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
13362 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
13363 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
13364 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
13365 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
13366 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
13367 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
13368 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
13369 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
13370 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
13371 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
13372 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
13373 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
13374 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
13375 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
13376 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
13377 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
13378 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
13379 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
13380 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
13381 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
13382 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
13383 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
13384 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
13385 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
13386 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
13387 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
13388 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
13389 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
13390 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
13391 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
13392 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
13393 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
13394 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
13395 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
13396 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
13397 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
13398 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
13399 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
13400 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
13401 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13402 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13403 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13404 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13405 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13406 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13407 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13408 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13409 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13410 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13411 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13412 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13413 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13414 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
13415 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
13416 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13417 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
13418 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13419 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13420 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13421 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13422 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13423 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13424 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
13425 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
13426 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
13427 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
13428 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13429 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
13430 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13431 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13432 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13433 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13434 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13435 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13436 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13437 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13439 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
13441 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
13442 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
13443 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
13444 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
13445 svml_d_log2_core-sse2, svml_d_log4_core-sse,
13446 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
13447 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
13448 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
13449 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
13450 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
13451 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
13452 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
13453 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
13454 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
13455 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
13456 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
13457 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
13458 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
13459 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
13460 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
13461 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
13462 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
13463 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
13464 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
13465 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
13466 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
13467 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
13468 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
13469 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
13470 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
13471 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
13472 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
13473 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
13474 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
13475 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
13476 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
13477 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
13478 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
13479 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
13480 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
13481 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
13482 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
13483 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
13484 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
13485 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
13486 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
13487 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
13488 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
13489 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
13490 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
13491 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
13492 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
13493 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
13494 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
13495 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
13496 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
13497 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
13498 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
13499 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
13501 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
13502 Don't include <sysdep.h> nor <init-arch.h>.
13503 (_ZGVbN2v_cos): Removed.
13504 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
13506 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
13507 Don't include <sysdep.h> nor <init-arch.h>.
13508 (_ZGVdN4v_cos): Removed.
13509 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
13511 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
13512 Don't include <sysdep.h> nor <init-arch.h>.
13513 (_ZGVeN8v_cos): Removed.
13514 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
13516 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
13517 Don't include <sysdep.h> nor <init-arch.h>.
13518 (_ZGVbN2v_exp): Removed.
13519 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
13521 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
13522 Don't include <sysdep.h> nor <init-arch.h>.
13523 (_ZGVdN4v_exp): Removed.
13524 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
13526 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
13527 Don't include <sysdep.h> nor <init-arch.h>.
13528 (_ZGVeN8v_exp): Removed.
13529 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
13531 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
13532 Don't include <sysdep.h> nor <init-arch.h>.
13533 (_ZGVbN2v_log): Removed.
13534 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
13536 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
13537 Don't include <sysdep.h> nor <init-arch.h>.
13538 (_ZGVdN4v_log): Removed.
13539 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
13541 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
13542 Don't include <sysdep.h> nor <init-arch.h>.
13543 (_ZGVeN8v_log): Removed.
13544 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
13546 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
13547 Don't include <sysdep.h> nor <init-arch.h>.
13548 (_ZGVbN2vv_pow): Removed.
13549 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
13551 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
13552 Don't include <sysdep.h> nor <init-arch.h>.
13553 (_ZGVdN4vv_pow): Removed.
13554 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
13556 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
13557 Don't include <sysdep.h> nor <init-arch.h>.
13558 (_ZGVeN8vv_pow): Removed.
13559 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
13561 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
13562 Don't include <sysdep.h> nor <init-arch.h>.
13563 (_ZGVbN2v_sin): Removed.
13564 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
13566 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
13567 Don't include <sysdep.h> nor <init-arch.h>.
13568 (_ZGVbN4v_sin): Removed.
13569 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
13571 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
13572 Don't include <sysdep.h> nor <init-arch.h>.
13573 (_ZGVbN8v_sin): Removed.
13574 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
13576 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
13577 Don't include <sysdep.h> nor <init-arch.h>.
13578 (_ZGVbN2vvv_sincos): Removed.
13579 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
13581 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
13582 Don't include <sysdep.h> nor <init-arch.h>.
13583 (_ZGVdN4vvv_sincos): Removed.
13584 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
13586 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
13587 Don't include <sysdep.h> nor <init-arch.h>.
13588 (_ZGVeN8vvv_sincos): Removed.
13589 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
13591 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
13592 Don't include <sysdep.h> nor <init-arch.h>.
13593 (_ZGVeN16v_cosf): Removed.
13594 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
13596 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
13597 Don't include <sysdep.h> nor <init-arch.h>.
13598 (_ZGVbN4v_cosf): Removed.
13599 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
13601 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
13602 Don't include <sysdep.h> nor <init-arch.h>.
13603 (_ZGVdN8v_cosf): Removed.
13604 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
13606 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
13607 Don't include <sysdep.h> nor <init-arch.h>.
13608 (_ZGVeN16v_expf): Removed.
13609 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
13611 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
13612 Don't include <sysdep.h> nor <init-arch.h>.
13613 (_ZGVbN4v_expf): Removed.
13614 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
13616 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
13617 Don't include <sysdep.h> nor <init-arch.h>.
13618 (_ZGVdN8v_expf): Removed.
13619 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
13621 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
13622 Don't include <sysdep.h> nor <init-arch.h>.
13623 (_ZGVeN16v_logf): Removed.
13624 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
13626 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
13627 Don't include <sysdep.h> nor <init-arch.h>.
13628 (_ZGVbN4v_logf): Removed.
13629 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
13631 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
13632 Don't include <sysdep.h> nor <init-arch.h>.
13633 (_ZGVdN8v_logf): Removed.
13634 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
13636 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
13637 Don't include <sysdep.h> nor <init-arch.h>.
13638 (_ZGVeN16vv_powf): Removed.
13639 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
13641 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
13642 Don't include <sysdep.h> nor <init-arch.h>.
13643 (_ZGVbN4vv_powf): Removed.
13644 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
13646 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
13647 Don't include <sysdep.h> nor <init-arch.h>.
13648 (_ZGVdN8vv_powf): Removed.
13649 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
13651 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
13652 Don't include <sysdep.h> nor <init-arch.h>.
13653 (_ZGVeN16vvv_sincosf): Removed.
13654 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
13656 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
13657 Don't include <sysdep.h> nor <init-arch.h>.
13658 (_ZGVbN4vvv_sincosf): Removed.
13659 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
13661 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
13662 Don't include <sysdep.h> nor <init-arch.h>.
13663 (_ZGVdN8vvv_sincosf): Removed.
13664 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
13666 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
13667 Don't include <sysdep.h> nor <init-arch.h>.
13668 (_ZGVeN16v_sinf): Removed.
13669 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
13671 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
13672 Don't include <sysdep.h> nor <init-arch.h>.
13673 (_ZGVbN4v_sinf): Removed.
13674 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
13676 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
13677 Don't include <sysdep.h> nor <init-arch.h>.
13678 (_ZGVdN8v_sinf): Removed.
13680 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
13682 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
13683 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
13684 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
13685 s_rint-sse4_1 and s_rintf-sse4_1.
13686 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
13687 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
13688 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
13689 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
13690 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
13691 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
13692 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
13693 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
13694 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
13695 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
13696 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
13697 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
13699 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
13700 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
13701 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
13702 (__ceilf): Removed.
13703 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
13704 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
13705 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
13706 (__floor): Removed.
13707 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
13708 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
13709 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
13710 (__floorf): Removed.
13711 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
13712 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
13713 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
13714 (__nearbyint): Removed.
13715 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
13716 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
13717 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
13718 (__nearbyintf): Removed.
13719 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
13720 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
13721 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
13723 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
13724 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
13725 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
13726 (__rintf): Removed.
13728 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
13730 * sysdeps/i386/start.S (_start): Check Check PIC instead of
13731 SHARED. Avoid dynamic relocation against main in static PIE.
13733 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
13736 * elf/Makefile (CFLAGS-tst-prelink.c): New.
13737 (LDFLAGS-tst-prelink): Likewise.
13739 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
13741 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
13742 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
13743 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
13744 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
13745 (INTERNAL_SYSCALL_NCS): Likewise.
13746 (LOADARGS_1): Likewise.
13747 (LOADARGS_5): Likewise.
13748 (RESTOREARGS_1): Likewise.
13749 (RESTOREARGS_5): Likewise.
13751 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
13753 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
13754 (MEMPCPY_SYMBOL): Likewise.
13755 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13756 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
13757 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
13759 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13760 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
13762 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
13763 (__hidden_ver1): Don't use in libc.a.
13764 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
13765 (__mempcpy): Don't create a weak alias in libc.a.
13766 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
13768 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
13769 (__hidden_ver1): Don't use in libc.a.
13771 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
13773 * config.make.in (have-insert): New.
13774 * configure.ac (libc_cv_insert): New. Set to yes if linker
13775 supports INSERT in linker script.
13776 (AC_SUBST(libc_cv_insert): New.
13777 * configure: Regenerated.
13778 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
13779 if $(have-insert) == yes.
13781 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
13783 * elf/Makefile (tests): Add vismain only if
13784 $(have-protected-data) == yes.
13785 (tests-pie): Likewise.
13787 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
13790 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
13791 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
13793 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
13796 * sysdeps/i386/i586/memset.S
13797 (__memset_zero_constant_len_parameter): Removed.
13798 * sysdeps/i386/i686/memset.S
13799 (__memset_zero_constant_len_parameter): Likewise.
13800 * sysdeps/i386/i686/multiarch/memset_chk.S
13801 (__memset_zero_constant_len_parameter): Likewise.
13802 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
13805 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
13807 * stdlib/getentropy.c (getentropy): Change return type to int.
13809 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
13811 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
13813 2017-08-03 Joseph Myers <joseph@codesourcery.com>
13815 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
13817 * math/s_nexttowardf.c (__nexttowardf): Likewise.
13818 * sysdeps/generic/math_private.h (ieee_double_shape_type):
13820 (ieee_float_shape_type): Likewise.
13821 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
13822 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
13823 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
13824 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13825 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
13826 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
13827 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
13828 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
13829 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
13831 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
13832 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
13833 (__ieee754_yn): Likewise.
13834 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
13835 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
13836 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
13838 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13839 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
13840 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
13841 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
13842 (__erfc): Likewise.
13843 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
13844 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
13845 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
13846 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
13847 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
13848 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
13850 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
13851 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
13852 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
13853 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
13854 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
13855 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
13856 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
13857 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
13858 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
13859 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
13860 (__issignaling): Likewise.
13861 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
13862 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
13863 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
13865 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
13866 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
13867 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
13868 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
13870 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
13872 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
13873 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
13874 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
13875 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
13876 (__erfcf): Likewise.
13877 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
13878 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
13879 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
13880 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
13882 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
13883 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
13885 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
13886 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
13887 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
13888 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
13889 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
13890 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
13891 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
13892 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
13894 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
13896 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
13898 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
13899 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
13901 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13903 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13904 (__ieee754_ynl): Likewise.
13905 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
13906 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
13908 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
13910 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
13911 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
13912 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
13914 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
13915 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
13916 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
13917 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
13918 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
13919 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
13920 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
13921 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
13923 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
13924 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
13925 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
13927 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
13928 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
13929 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
13930 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
13931 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
13932 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13934 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
13936 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
13938 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
13940 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
13941 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
13942 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
13943 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
13944 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
13945 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
13946 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
13948 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13950 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13951 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13953 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
13954 (__ieee754_remainderl): Likewise.
13955 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13956 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13957 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
13958 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
13960 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
13961 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13963 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13964 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
13965 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
13966 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
13967 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
13968 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13970 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
13971 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
13972 (__ieee754_y0l): Likewise.
13975 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13976 (__ieee754_y1l): Likewise.
13979 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13980 (__ieee754_ynl): Likewise.
13981 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
13982 (__ieee754_lgammal_r): Likewise.
13983 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
13985 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
13986 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
13987 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
13988 (__erfcl): Likewise.
13989 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
13990 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
13992 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
13993 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
13994 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
13995 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
13996 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
13997 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
13998 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14000 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
14001 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
14002 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
14003 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
14004 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14006 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
14007 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
14009 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
14010 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
14011 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
14012 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
14013 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
14015 2017-08-03 Florian Weimer <fweimer@redhat.com>
14018 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
14019 on memory allocation failure.
14021 2017-08-03 Alan Modra <amodra@gmail.com>
14023 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
14024 tst-tlsopt-powerpc.c with function name change and no test harness.
14025 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
14026 Call tls_get_addr_opt_test.
14027 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
14028 (modules-names): Add mod-tlsopt-powerpc.
14029 (mod-tlsopt-powerpc.so-no-z-defs): Define.
14030 (tst-tlsopt-powerpc): Depend on .so.
14031 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
14032 define. Expand use in TLS_GD and TLS_LD.
14034 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14036 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
14038 * sysdeps/posix/shm_open.c: Include <pthread.h>.
14040 2017-08-02 Joseph Myers <joseph@codesourcery.com>
14043 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
14044 comparing size with that of double.
14045 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
14046 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
14047 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
14048 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
14049 (__TGMATH_BINARY_REAL_IMAG): Likewise.
14050 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
14051 unsigned __int128 types.
14053 2017-08-02 Steve Ellcey <sellcey@cavium.com>
14055 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
14056 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
14057 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
14058 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
14059 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
14061 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
14063 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
14065 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
14067 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
14069 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
14070 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
14071 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14072 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14073 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14074 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14075 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14077 2017-08-02 Joseph Myers <joseph@codesourcery.com>
14080 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
14081 bit-field expressions passed to sizeof or typeof.
14082 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
14083 (__TGMATH_F128): Likewise.
14084 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
14085 (__TGMATH_CF128): Likewise.
14086 (__TGMATH_UNARY_REAL_ONLY): Likewise.
14087 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
14088 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
14089 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
14090 (__TGMATH_BINARY_REAL_ONLY): Likewise.
14091 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
14092 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
14093 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
14094 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
14095 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
14096 (__TGMATH_UNARY_REAL_IMAG): Likewise.
14097 (__TGMATH_UNARY_IMAG): Likewise.
14098 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
14099 (__TGMATH_BINARY_REAL_IMAG): Likewise.
14100 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
14102 (define_vars_for_type): Handle bit_field type specially.
14103 (Tests.__init__): Declare structure with bit-field element.
14105 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
14108 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
14109 (MEMCPY_CHK): Define only if SHARED is defined.
14110 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
14112 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
14115 See ChangeLog.18 for earlier changes.