]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Linux: Add oddly-named arm syscalls to syscall-names.list
[thirdparty/glibc.git] / ChangeLog
1 2019-05-31 Florian Weimer <fweimer@redhat.com>
2
3 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
4 system calls for the arm architecture: breakpoint, get_tls,
5 set_tls, usr26, usr32.
6
7 2019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
8
9 * sysdeps/powerpc/Makefile
10 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
11 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
12 Declare '.machine power7' to get support for ldbrx.
13 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
14 directive based on the directory of the file.
15 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
16 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
17 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
18 '.machine' directive.
19 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
20 (VADDUQM_V7_V8): Remove.
21 (__STRCASECMP): Replace macros with actual instructions.
22 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
23 '.machine' directive.
24 (VCLZD_V8_v7): Remove.
25 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
26
27 2019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28
29 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
30 Remove file.
31 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
32
33 2019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34
35 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
36 NEARBYINT handling.
37 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
38 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
39 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
40 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
41 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
42 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
43
44 2019-05-28 mansayk <6688000@gmail.com>
45
46 [BZ #24370]
47 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
48
49 2019-05-28 mansayk <6688000@gmail.com>
50
51 [BZ #24369]
52 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
53 (abmon): Likewise, but remove the trailing dots.
54
55 2019-05-28 Joseph Myers <joseph@codesourcery.com>
56
57 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
58
59 2019-05-27 Florian Weimer <fweimer@redhat.com>
60
61 * nptl/nptl-init.c: Add comment.
62
63 2019-05-24 Florian Weimer <fweimer@redhat.com>
64
65 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
66 struct in_addr/struct in6_addr alignment.
67
68 2019-05-23 Joseph Myers <joseph@codesourcery.com>
69
70 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
71 (F_SEAL_FUTURE_WRITE): New macro.
72
73 2019-05-23 Alexandra Hajkova <ahajkova@redhat.com>
74
75 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
76 * elf/tst-ldconfig-bad-aux-cache.c: New file.
77 * elf/tst-ldconfig_aux-cache.root: New directory.
78 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
79 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
80 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
81
82 2019-05-22 Zack Weinberg <zackw@panix.com>
83
84 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
85 host type.
86 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
87 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
88
89 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
90 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
91 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
92 Delete.
93
94 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
95 Issue an #error if used with a compiler in SPE-float mode.
96 * sysdeps/powerpc/powerpc32/__longjmp_common.S
97 * sysdeps/powerpc/powerpc32/setjmp_common.S
98 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
99 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
104 Remove code to preserve SPE register state.
105
106 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
107 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
108 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
109 Remove __SPE__ ifndefs.
110
111 2019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
112
113 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
114 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
115 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
116 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
117 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
118 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
119 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
120 (INNER_LOOP_ITERS_MEDIUM): New define.
121 (INNER_LOOP_ITERS_SMALL): New define.
122 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
123 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
124 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
125 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
126 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
127
128 2019-05-21 Adhemeval Zanella <adhemerval.zanella@linaro.org>
129
130 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
131 New define.
132 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
133 (SEMTIMEDOP_IPC_ARGS): Likewise.
134
135 2019-05-21 Florian Weimer <fweimer@redhat.com>
136
137 [BZ #24584]
138 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
139 before updating __counter field and release it afterwards. Add
140 overflow check.
141 * iconv/gconv.h (struct __gconv_step): Mention synchronization
142 requirement for __counter member.
143
144 2019-05-21 Florian Weimer <fweimer@redhat.com>
145
146 [BZ #24583]
147 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
148 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
149 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
150 instead of __gconv_release_step.
151 * libio/Makefile (tests): Add tst-wfile-gconv.
152 (tests-container): Add tst-wfile-ascii.
153 (tst-wfile-gconv-ENV): Enable mtrace.
154 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
155 (tests-special): Add tst-wfile-gconv-mem.out.
156 (tst-wfile-gconv.out): Depend on locales.
157 (tst-wfile-gconv-mem.out): Add mtrace rule.
158 * libio/tst-wfile-ascii.c: New file.
159 * libio/tst-wfile-gconv.c: Likewise.
160
161 2019-05-20 Florian Weimer <fweimer@redhat.com>
162
163 [BZ #24588]
164 libio: Remove codecvt vtable.
165 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
166 __libio_codecvt.
167 * libio/iofgetpos.c (_IO_new_fgetpos): Call
168 __libio_codecvt_encoding.
169 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
170 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
171 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
172 * libio/iofwide.c (__libio_codecvt): Remove variable.
173 (_IO_fwide): Do not copy __libio_codecvt.
174 (__libio_codecvt_out): Rename from do_out and export.
175 (do_unshift): Remove function.
176 (__libio_codecvt_in): Rename from do_in and export.
177 (__libio_codecvt_encoding): Rename from do_encoding and export.
178 (do_always_noconv): Remove function.
179 (__libio_codecvt_length): Rename from do_length and export.
180 (do_max_length): Remove function.
181 * libio/libio.h (enum __codecvt_result): Remove definition; moved
182 to libioP.h.
183 (struct _IO_codecvt): Remove fields __codecvt_destr,
184 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
185 __codecvt_do_encoding, __codecvt_do_always_noconv,
186 __codecvt_do_length, __codecvt_do_max_length.
187 * libio/libioP.h (enum __codecvt_result): Define; moved from
188 libio.h.
189 (__libio_codecvt_out, __libio_codecvt_in)
190 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
191 functions.
192 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
193 (_IO_wfile_underflow): Call __libio_codecvt_in.
194 (_IO_wfile_underflow): Likewise.
195 (_IO_wfile_underflow_mmap): Likewise.
196 (_IO_wfile_sync): Call __libio_codecvt_encoding,
197 __libio_codecvt_length.
198 (adjust_wide_data): Call __libio_codecvt_encoding,
199 __libio_codecvt_in.
200 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
201 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
202 __libio_codecvt_length.
203
204 2019-05-20 Florian Weimer <fweimer@redhat.com>
205
206 * support/support.h (support_sbindir_prefix): Declare.
207 (support_install_rootsbindir): Update comment.
208 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
209 * support/support_paths.c (support_sbindir_prefix): Define.
210
211 2019-05-20 Mike Crowe <mac@mcrowe.com>
212
213 * support/timespec.c: Add backslash to correct newline in failure
214 message.
215
216 * support/timespec.h: Correct confusing comment.
217
218 2019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
219
220 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
221 define.
222 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
223 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
224 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
225 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
226
227 [BZ #24570]
228 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
229 usage.
230
231 2019-05-20 Joseph Myers <joseph@codesourcery.com>
232
233 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
234 (NT_ARM_PACG_KEYS): Likewise.
235
236 2019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
237
238 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
239 (tcache_put): Remove redundant assert.
240 (tcache_get): Remove redundant asserts.
241 (__libc_malloc): Check tcache count is not zero.
242 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
243
244 2019-05-17 Florian Weimer <fweimer@redhat.com>
245
246 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
247
248 2019-05-16 Joseph Myers <joseph@codesourcery.com>
249
250 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
251 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
252 0x050100].
253 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
254 Likewise.
255 * sysdeps/unix/sysv/linux/sh/kernel-features.h
256 (__ASSUME_STATX): Likewise.
257
258 2019-05-16 Florian Weimer <fweimer@redhat.com>
259
260 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
261 flags argument.
262 (LINE_PARSER): Do not map IPv4 addresses.
263 (internal_nis_gethostent_r): Remove flags argument. Adjust call
264 to parse_line.
265 (_nss_nis_gethostent_r): Always pass AF_INET to
266 internal_nis_gethostent_r.
267 (internal_gethostbyname2_r): Remove flags argument. Adjust call
268 to parse_line.
269 (_nss_nis_gethostbyname2_r): Adjust call to
270 internal_nis_gethostent_r.
271 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
272 call to internal_nis_gethostent_r.
273 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
274 from parse_line.
275 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
276 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
277 Remove flags argument. Do not map IPv4 addresses.
278 (internal_nisplus_gethostent_r): Adjust call to
279 _nss_nisplus_parse_hostent.
280 (internal_gethostbyname2_r): Remove flags argument. Adjust call
281 to _nss_nisplus_parse_hostent.
282 (_nss_nisplus_gethostbyname2_r): Adjust call to
283 internal_gethostbyname2_r.
284 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
285 Adjust call to internal_gethostbyname2_r.
286 (_nss_nisplus_gethostbyaddr_r): Adjust call to
287 _nss_nisplus_parse_hostent.
288 (_nss_nisplus_gethostbyname4_r): Adjust call to
289 internal_gethostbyname2_r.
290
291 2019-05-16 Florian Weimer <fweimer@redhat.com>
292
293 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
294 Remove flags.
295 (LINE_PARSER): Remove address mapping.
296 (EXTRA_ARGS_VALUE): Remove flags argument.
297 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
298 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
299 gethostbyname3_multi.
300 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
301 _nss_files_gethostbyname3_r.
302 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
303
304 2019-05-16 Florian Weimer <fweimer@redhat.com>
305
306 * support/support_test_compare_blob.c (report_blob): Report
307 incorrect NULL blobs.
308
309 2019-05-15 Mark Wielaard <mark@klomp.org>
310
311 [BZ# 24476]
312 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
313 __libc_once_get (once) and static_buf == NULL.
314 (__dlerror): Check we have a valid key, set result to static_buf
315 otherwise.
316
317 2019-05-15 Andreas Schwab <schwab@suse.de>
318
319 [BZ #20568]
320 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
321 __codecvt_do_length.
322 * libio/Makefile (tests): Add tst-wfile-sync.
323 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
324 * libio/tst-wfile-sync.c: New file.
325 * libio/tst-wfile-sync.input: New file.
326
327 2019-05-15 Florian Weimer <fweimer@redhat.com>
328
329 nss: Turn __nss_database_lookup into a compatibility symbol.
330 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
331 __nss_database_lookup.
332 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
333 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
334 __nss_database_lookup.
335 (__nss_next): Move to …
336 * nss/compat-lookup.c (nss_next): … here. Change it to fail
337 unconditionally.
338 (__nss_database_lookup): New function.
339 * nss/Versions (GLIBC_2.0): Update comment.
340 (GLIBC_PRIVATE): Export __nss_database_lookup2.
341 * grp/initgroups.c (internal_getgrouplist): Call
342 __nss_database_lookup2 instead of __nss_database_lookup.
343 * nscd/aicache.c (addhstaiX): Likewise.
344 * nscd/initgrcache.c (addinitgroupsX): Likewise.
345 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
346 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
347 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
348 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
349 Likewise.
350 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
351 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
352 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
353
354 2019-05-15 Alexandra Hajkova <ahajkova@redhat.com>
355
356 * support/support.h (support_install_rootsbindir): New variable.
357 * support/support_paths.c: Likewise.
358 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
359
360 2019-05-15 Florian Weimer <fweimer@redhat.com>
361
362 * iconv/gconv.h (__gconv_transliterate): Move declaration …
363 * iconv/gconv_int.h (__gconv_transliterate): … here.
364 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
365 * iconv/skeleton.c: Likewise.
366
367 2019-05-14 Florian Weimer <fweimer@redhat.com>
368
369 Linux: Add the tgkill function.
370 * bits/signal_ext.h: New file.
371 * manual/signal.texi (Signaling Another Process): Document tgkill.
372 * signal/Makefile (headers): Add bits/signal_ext.h.
373 * signal/signal.h: Include <bits/signal_ext.h>.
374 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
375 (tst-tgkill): Link with libpthread.
376 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
377 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
378 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
379 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
380 tgkill.
381 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
382 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
383 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
384 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
385 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
386 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
387 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
388 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
389 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
390 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
391 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
392 Likewise.
393 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
394 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
395 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
397 Likewise.
398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
399 Likewise.
400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
401 Likewise.
402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
403 Likewise.
404 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
405 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
406 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
407 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
408 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
409 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
410 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
411 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
412
413 2019-05-14 Carlos O'Donell <carlos@redhat.com>
414
415 * manual/search.texi (Tree Search Function): Adjust twalk_r
416 documentation.
417
418 2019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
419
420 [BZ #24544]
421 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
422 pre-defined value.
423
424 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
425 * support/support.h (support_bindir_prefix): New variable.
426 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
427
428 * config.make.in (bindir): New variable.
429
430 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
431 (lll_trylock): Call __lll_trylock.
432 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
433 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
434 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
435 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
436 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
437 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
438 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
439 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
440 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
441 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
442 lowlevellock-futex.h.
443
444 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
445 initialization for LLL_LOCK_INITIALIZER different than 0.
446 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
447 Assume LLL_LOCK_INITIALIZER being 0.
448 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
449 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
450 Likewise.
451 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
452 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
453
454 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
455 Optimize futex call and add systemtap probe.
456
457 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
458 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
459 __libc_disable_asynccancel, __librt_enable_asynccancel,
460 __libc_disable_asynccancel, __librt_enable_asynccancel,
461 __librt_disable_asynccancel): Move to ...
462 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
463 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
464 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
465 * sysdeps/generic/single-thread.h: New file.
466 * sysdeps/unix/sysdep.h: Include single-thread.h.
467 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
468 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
469
470 2019-05-08 Mike FABIAN <mfabian@redhat.com>
471
472 [BZ #24535]
473 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
474 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
475 Unicode 12.1.0.
476 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
477 * localedata/unicode-gen/PropList.txt: Likewise.
478 * localedata/unicode-gen/UnicodeData.txt: Likewise.
479 * localedata/charmaps/UTF-8: Regenerate.
480 * localedata/locales/i18n_ctype: Likewise.
481 * localedata/locales/tr_TR: Likewise.
482 * localedata/locales/translit_circle: Likewise.
483 * localedata/locales/translit_cjk_compat: Likewise.
484 * localedata/locales/translit_combining: Likewise.
485 * localedata/locales/translit_compat: Likewise.
486 * localedata/locales/translit_font: Likewise.
487 * localedata/locales/translit_fraction: Likewise.
488
489 2019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
490
491 [BZ #24531]
492 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
493 (do_set_tcache_count): Only update if count is small enough.
494 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
495
496 2019-05-10 Florian Weimer <fweimer@redhat.com>
497
498 * nptl/sem_close.c (struct walk_closure): Define.
499 (walker): Adjust for __twalk_r.
500 (sem_close): Call __twalk_r.
501
502 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
503
504 * support/timespec.c (test_timespec_before_impl,
505 test_timespec_equal_or_after_impl): print timespec member as intmax_t
506 insted of long int.
507
508 2019-05-09 Mike Crowe <mac@mcrowe.com>
509
510 * nptl/tst-abstime.c: Use libsupport.
511
512 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
513 small bug where only tv.tv_usec was checked which could cause an
514 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
515 than a second.
516
517 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
518 libsupport.
519
520 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
521 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
522
523 * nptl/tst-cond11.c: Use libsupport.
524
525 * support/timespec.h: New file. Provide timespec helper functions
526 along with macros in the style of those in check.h.
527 * support/timespec.c: New file. Implement check functions declared
528 in support/timespec.h.
529 * support/timespec-add.c: New file from gnulib containing
530 timespec_add implementation that handles overflow.
531 * support/timespec-sub.c: New file from gnulib containing
532 timespec_sub implementation that handles overflow.
533 * support/README: Mention timespec.h.
534
535 2019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
536
537 [BZ #24537]
538 * nptl/Makefile: Move tst-eintr1 to xtests.
539
540 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
541
542 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
543 TRUNC handling.
544 (round_mode): Add definition for TRUNC.
545 * sysdeps/powerpc/fpu/s_trunc.c: New file.
546 * sysdeps/powerpc/fpu/s_truncf.c: New file.
547 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
548 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
549 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
550 Likewise.
551 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
552 Likewise.
553 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
554 Likewise.
555 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
556 Likewise.
557 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
558 file.
559 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
560 Likewise.
561 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
562 Likewise.
563 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
564 Likewise.
565 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
566 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
567 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
568 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
569 s_truncf-power5+, and s_truncf-ppc64.
570 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
571 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
572 file.
573 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
575 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
576 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
577 file.
578 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
579 Likewise.
580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
581 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
582 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
583 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
584 s_truncf-power5+, and s_truncf-ppc64.
585 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
586 file.
587 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
588 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
589 Likewise.
590 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
591 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
592 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
593 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
594 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
595
596 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
597 ROUND handling.
598 (round_mode): Add definition for ROUND.
599 (round_to_integer_float): Likewise.
600 * sysdeps/powerpc/fpu/s_round.c: New file.
601 * sysdeps/powerpc/fpu/s_roundf.c: New file.
602 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
603 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
604 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
605 Likewise.
606 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
607 Likewise.
608 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
609 Likewise.
610 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
611 Likewise.
612 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
613 file.
614 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
615 Likewise.
616 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
617 Likewise.
618 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
619 Likewise.
620 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
621 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
622 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
623 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
624 s_roundf-power5+, and s_roundf-ppc64.
625 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
626 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
627 file.
628 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
630 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
631 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
632 file.
633 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
634 Likewise.
635 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
636 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
637 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
638 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
639 s_roundf-power5+, and s_roundf-ppc64.
640 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
641 file.
642 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
643 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
644 Likewise.
645 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
646 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
647 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
648 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
649 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
650
651 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
652 Add FLOOR option.
653 (round_mode): Add definition for FLOOR.
654 * sysdeps/powerpc/fpu/s_floor.c: New file.
655 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
656 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
657 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
659 Remove file.
660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
661 Likewise
662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
663 Likewise.
664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
665 Likewise.
666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
667 New file.
668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
669 Likewise.
670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
671 Likewise.
672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
673 Likewise.
674 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
675 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
676 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
677 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
678 s_floorf-power5+, and s_floorf-ppc64.
679 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
680 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
681 file.
682 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
684 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
685 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
686 file.
687 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
688 Likewise.
689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
690 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
691 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
692 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
693 s_floorf-power5+, and s_floorf-ppc64.
694 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
695 file.
696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
697 file.
698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
699 Likewise.
700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
701 Likewise.
702 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
703 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
704 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
705 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
706
707 2019-05-08 Mike Crowe <mac@mcrowe.com>
708
709 * support/xclock_gettime.c (xclock_gettime): New file. Provide
710 clock_gettime wrapper for use in tests that fails the test rather
711 than returning failure.
712
713 * support/xtime.h: New file to declare xclock_gettime.
714
715 * support/Makefile: Add xclock_gettime.c.
716
717 * support/README: Mention xtime.h.
718
719 2019-05-08 Florian Weimer <fweimer@redhat.com>
720
721 malloc/tst-mallocfork2: Use process-shared barriers.
722 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
723 (signal_count, sigusr1_sender_pid): Remove.
724 (iterations): Define constant.
725 (shared): New variable.
726 (sigusr1_received): Update comment.
727 (sigusr1_handler): Do not send SIGSTOP to the sender process.
728 (signal_sender): Optional use barriers to avoid sending signals
729 during irrelevant times.
730 (do_it): Initialize variable shared. Use xfork for error
731 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
732 the iteration count, independent of signal delivery. Check for
733 deadlocks in fork. Introduce barriers for reducing signal
734 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
735 replaced by the barriers. Count signals during fork/free/malloc
736 and report them.
737 * malloc/Makefile (tst-mallocfork): Link with libpthread.
738
739 2019-05-07 Joseph Myers <joseph@codesourcery.com>
740
741 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
742 version to 5.1.
743 (clock_adjtime64) New syscall.
744 (clock_getres_time64) Likewise.
745 (clock_gettime64) Likewise.
746 (clock_nanosleep_time64) Likewise.
747 (clock_settime64) Likewise.
748 (futex_time64) Likewise.
749 (io_pgetevents_time64) Likewise.
750 (io_uring_enter) Likewise.
751 (io_uring_register) Likewise.
752 (io_uring_setup) Likewise.
753 (mq_timedreceive_time64) Likewise.
754 (mq_timedsend_time64) Likewise.
755 (pidfd_send_signal) Likewise.
756 (ppoll_time64) Likewise.
757 (pselect6_time64) Likewise.
758 (recvmmsg_time64) Likewise.
759 (rt_sigtimedwait_time64) Likewise.
760 (sched_rr_get_interval_time64) Likewise.
761 (semtimedop_time64) Likewise.
762 (timer_gettime64) Likewise.
763 (timer_settime64) Likewise.
764 (timerfd_gettime64) Likewise.
765 (timerfd_settime64) Likewise.
766 (utimensat_time64) Likewise.
767
768 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
769 version to 9 branch.
770
771 2019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
772
773 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
774 __memmove_thunderx2 to the list of implementations
775 * sysdeps/aarch64/multiarch/memmove.c: Likewise
776 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
777 (__memmove_thunderx2): Rewritten using SIMD ld/st
778 (__memcpy_thunderx2): Fixed handling overlapping cases.
779 Used ldp/stp instead of ldr/str if possible. Made loops
780 tails branchless.
781
782 2019-05-03 Florian Weimer <fweimer@redhat.com>
783
784 * misc/tst-tsearch.c (walk_tree): Add more error checking.
785
786 2019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
787
788 [BZ #24506]
789 * elf/tst-pldd.c (in_str_list): New function.
790 (do_test): Add default names for ld and libc as one option.
791
792 2019-05-02 Florian Weimer <fweimer@redhat.com>
793
794 misc: Add twalk_r function.
795 * include/search.h (__twalk_r): Declare.
796 * manual/examples/twalk.c: New file.
797 * manual/search.texi (Tree Search Function): Document twalk_r.
798 * misc/Versions (2.30): Export twalk_r.
799 (GLIBC_PRIVATE): Export __twalk_r.
800 * misc/search.h [__USE_GNU] (twalk_r): Declare.
801 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
802 (twalk_r): Add weak alias.
803 * misc/tst-tsearch.c (struct walk_trace_element): Define.
804 (walk_trace): New variable.
805 (struct twalk_with_twalk_r_closure): Define.
806 (twalk_with_twalk_r_action): New function.
807 (twalk_with_twalk_r): Likewise.
808 (walk_action): Call walk_trace_add.
809 (walk_tree_with): Rename from walk_tree. Add walk argument.
810 (walk_tree): New function.
811 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
812 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
813 Likewise.
814 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
815 Likewise.
816 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
817 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
818 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
819 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
820 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
821 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
822 Likewise.
823 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
824 Likewise.
825 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
826 Likewise.
827 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
828 (GLIBC_2.30): Likewise.
829 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
830 (GLIBC_2.30): Likewise.
831 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
832 (GLIBC_2.30): Likewise.
833 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
834 (GLIBC_2.30): Likewise.
835 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
836 Likewise.
837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
838 (GLIBC_2.30): Likewise.
839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
840 (GLIBC_2.30): Likewise.
841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
842 (GLIBC_2.30): Likewise.
843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
844 (GLIBC_2.30): Likewise.
845 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
846 Likewise.
847 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
848 Likewise.
849 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
850 Likewise.
851 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
852 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
853 Likewise.
854 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
855 Likewise.
856 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
857 Likewise.
858 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
859 Likewise.
860
861 2019-04-30 Paul Eggert <eggert@cs.ucla.edu>
862
863 Make mktime etc. compatible with __time64_t
864 Keep these functions compatible with Gnulib while adding
865 __time64_t support. The basic idea is to move private API
866 declarations from include/time.h to time/mktime-internal.h, since
867 the former file cannot easily be shared with Gnulib whereas the
868 latter can.
869 Also, do some other minor cleanup while in the neighborhood.
870 * include/time.h: Include stdbool.h, time/mktime-internal.h.
871 (__mktime_internal): Move this prototype to time/mktime-internal.h,
872 since Gnulib needs it.
873 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
874 Move these macros to time/mktime-internal.h, since Gnulib needs them.
875 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
876 (in_time_t_range): New static function.
877 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
878 so that glibc users are not tempted to use __time64_t.
879 * time/mktime-internal.h: Rewrite so that it does both glibc
880 and Gnulib work. Include time.h if not _LIBC.
881 (mktime_offset_t) [!_LIBC]: Define for gnulib.
882 (__time64_t): New type or macro, moved here from
883 posix/bits/types.h.
884 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
885 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
886 from include/time.h.
887 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
888 New macros, taken from GNulib.
889 (__mktime_internal): New prototype, moved here from include/time.h.
890 * time/mktime.c (mktime_min, mktime_max, convert_time)
891 (ranged_convert, __mktime_internal, __mktime64):
892 * time/timegm.c (__timegm64):
893 Use __time64_t, not time_t.
894 * time/mktime.c: Stop worrying about whether time_t is floating-point.
895 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
896 Rename from mktime.
897 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
898 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
899 for libc_hidden_def.
900 Include errno.h.
901 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
902 Rename from timegm.
903 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
904
905 2019-04-30 Maciej W. Rozycki <macro@wdc.com>
906
907 [BZ #19444]
908 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
909 from `-Wmaybe-uninitialized'.
910 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
911
912 2019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
913
914 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
915 function.
916 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
917 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
918 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
919 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
920 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
922 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
924 Remove file.
925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
926 Likewise.
927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
928 Likewise.
929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
930 Likewise.
931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
932 New file.
933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
934 Likewise.
935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
936 Likewise.
937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
938 Likewise.
939 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
940 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
941 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
942 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
943 Likewise.
944 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
945 Likewise.
946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
947 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
948 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
949 file.
950 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
951 Likewise.
952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
953 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
954 * here.
955 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
956 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
957 s_ceilf-power5+, and s_ceilf-ppc64.
958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
959 file.
960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
963 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
964 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
965 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
966 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
967
968 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
969 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
970 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
971
972 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
973
974 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
975 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
976 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
977 (sem_getvalue): Likewise.
978
979 2019-04-26 Florian Weimer <fweimer@redhat.com>
980
981 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
982 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
983
984 2019-04-26 Florian Weimer <fweimer@redhat.com>
985
986 Makeconfig: Move -Wl,-rpath-link options before library references.
987 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
988 (link-libc): Remove $(link-libc-rpath-link).
989
990 2019-04-25 Florian Weimer <fweimer@redhat.com>
991
992 * Makeconfig (+link-pie-before-libc): Remove $(CC).
993 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
994 (+link-static-before-libc): Remove $(CC).
995 (+link-static, +link-static-tests): Add $(CC).
996 (+link-before-libc): Remove $(CC).
997 (+link, +link-pie, +link-pie-printers): Add $(CC).
998
999 2019-04-26 Florian Weimer <fweimer@redhat.com>
1000
1001 * Makeconfig (+link-pie-before-libc): Remove $(CC).
1002 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
1003 (+link-static-before-libc): Remove $(CC).
1004 (+link-static, +link-static-tests): Add $(CC).
1005 (+link-before-libc): Remove $(CC).
1006 (+link, +link-pie, +link-pie-printers): Add $(CC).
1007
1008 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
1009
1010 [BZ#24484]
1011 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
1012
1013 2019-04-25 Florian Weimer <fweimer@redhat.com>
1014
1015 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
1016 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
1017 (bench-link-targets): New variable.
1018 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
1019
1020 2019-04-25 Florian Weimer <fweimer@redhat.com>
1021
1022 Also enable BIND_NOW for programs if --enable-bind-now.
1023 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
1024 (+link-pie): Use $(link-extra-flags).
1025 (+link-static): Likewise.
1026 [! $(build-pie-default)] (+link): Likewise.
1027 * manual/install.texi (Configuring and compiling): Update
1028 --enable-bind-now description.
1029 * INSTALL: Regenerated.
1030
1031 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
1032
1033 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
1034 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
1035
1036 2019-04-24 Mike Frysinger <vapier@gentoo.org>
1037
1038 [BZ #18465]
1039 * malloc/Makefile (others): Add memusagestat.
1040 ($(objpfx)memusagestat): Delete rule.
1041 (LDLIBS-memusagestat): New variable.
1042
1043 2019-04-24 Florian Weimer <fweimer@redhat.com>
1044
1045 * locale/Makefile (tests-special): Guard setting by
1046 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
1047 to run while cross-compiling.
1048
1049 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1050
1051 [BZ #18035]
1052 * elf/Makefile (tests-container): Add tst-pldd.
1053 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
1054 (E(find_maps)): Avoid use alloca, use default read file operations
1055 instead of explicit LFS names, and fix infinite loop.
1056 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
1057 (get_process_info): Use _Static_assert instead of assert, use default
1058 directory operations instead of explicit LFS names, and free some
1059 leadek pointers.
1060 * elf/tst-pldd.c: New file.
1061
1062 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
1063
1064 * malloc/arena.c (do_set_mallopt_check): Removed.
1065
1066 2019-04-23 Florian Weimer <fweimer@redhat.com>
1067
1068 locale: Add LOCPATH diagnostics to the locale program.
1069 * locale/programs/locale.c (setlocale_failed): New variable.
1070 (try_setlocale): New function.
1071 (quote_string): Likewise.
1072 (setlocale_diagnostics): Likewise.
1073 (main): Call try_setlocale instead of setlocale. Call
1074 setlocale_diagnostics.
1075 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
1076 (tst-locale-locpath.out): New target.
1077 * locale/tst-locale-locpath.sh: New file.
1078
1079 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1080
1081 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
1082 to 2.30 notes.
1083
1084 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1085
1086 [BZ #23741]
1087 * malloc/hooks.c (malloc_check, realloc_check): Use
1088 __builtin_add_overflow on overflow check and adapt to
1089 checked_request2size change.
1090 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
1091 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
1092 allocation size to PTRDIFF_MAX.
1093 (REQUEST_OUT_OF_RANGE): Remove macro.
1094 (checked_request2size): Change to inline function and limit maximum
1095 requested size to PTRDIFF_MAX.
1096 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
1097 maximum allocation size to PTRDIFF_MAX.
1098 (_mid_memalign): Use _int_memalign call for overflow check.
1099 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
1100 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
1101 limit maximum requested size to PTRDIFF_MAX.
1102 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
1103 valloc, pvalloc): Add __attribute_alloc_size__.
1104 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
1105 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
1106 larger than PTRDIFF_MAX.
1107 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
1108 around tests of malloc with negative sizes.
1109 * malloc/tst-posix_memalign.c (do_test): Likewise.
1110 * malloc/tst-pvalloc.c (do_test): Likewise.
1111 * malloc/tst-valloc.c (do_test): Likewise.
1112 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
1113 with resulting size allocation larger than PTRDIFF_MAX with
1114 reallocarray_nowarn.
1115 (reallocarray_nowarn): New function.
1116 * NEWS: Mention the malloc function semantic change.
1117
1118 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1119
1120 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
1121 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
1122
1123 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
1124 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
1125 * sysdeps/powerpc/fpu/s_fma.c: New file.
1126 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
1127
1128 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
1129 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
1130
1131 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
1132 the magic flag store.
1133 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
1134 Likewise.
1135 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
1136 Likewise.
1137 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
1138 Remove rt_sigreturn call.
1139
1140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1141 Remove rt_sigreturn call.
1142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1143 Likewise.
1144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
1145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1146
1147 * support/Makefile (libsupport-routines): Add support_subprocess,
1148 xposix_spawn, xposix_spawn_file_actions_addclose, and
1149 xposix_spawn_file_actions_adddup2.
1150 (tst-support_capture_subprocess-ARGS): New rule.
1151 * support/capture_subprocess.h (support_capture_subprogram): New
1152 prototype.
1153 * support/support_capture_subprocess.c (support_capture_subprocess):
1154 Refactor to use support_subprocess and support_capture_poll.
1155 (support_capture_subprogram): New function.
1156 * support/tst-support_capture_subprocess.c (write_mode_to_str,
1157 str_to_write_mode, test_common, parse_int, handle_restart,
1158 do_subprocess, do_subprogram, do_multiple_tests): New functions.
1159 (do_test): Add support_capture_subprogram tests.
1160 * support/subprocess.h: New file.
1161 * support/support_subprocess.c: Likewise.
1162 * support/xposix_spawn.c: Likewise.
1163 * support/xposix_spawn_file_actions_addclose.c: Likewise.
1164 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
1165 * support/xspawn.h: Likewise.
1166
1167 2019-04-17 Mike Gerow <gerow@google.com>
1168
1169 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
1170 groups limit.
1171
1172 2019-04-11 Florian Weimer <fweimer@redhat.com>
1173
1174 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
1175 domain with empty string.
1176 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1177
1178 2019-04-11 Florian Weimer <fweimer@redhat.com>
1179
1180 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
1181 comment.
1182 (alloc_buffer_next): Change return type to non-const. Update
1183 comment.
1184
1185 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
1186
1187 * manual/time.texi (Formatting Calendar Time): Add missing percent
1188 sign to conversion specifier.
1189
1190 2019-04-09 Carlos O'Donell <carlos@redhat.com>
1191 Kwok Cheung Yeung <kcy@codesourcery.com>
1192
1193 [BZ #16573]
1194 * malloc/mtrace.c: Define prototypes for all hooks.
1195 (set_default_hooks): New function.
1196 (set_trace_hooks): Likewise.
1197 (save_default_hooks): Likewise.
1198 (tr_freehook): Use new s*_hooks functions.
1199 (tr_mallochook): Likewise.
1200 (tr_reallochook): Likewise.
1201 (tr_memalignhook): Likewise.
1202 (mtrace): Likewise.
1203 (muntrace): Likewise.
1204
1205 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1206
1207 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
1208 (generic_stpcpy): New function.
1209 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
1210 (generic_stpncpy): New function.
1211 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
1212 (generic_strcat): New function.
1213 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
1214 (generic_strcpy): New function.
1215 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
1216 (STUPID_STRNCAT): Remove function.
1217 (generic_strncat): New function.
1218 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
1219 (STUPID_STRNCPY): Remove function.
1220 (generic_strncpy): New function.
1221 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
1222 (generic_strnlen): New function.
1223 (memchr_strnlen): New function.
1224 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
1225 (memchr_strlen): Likewise.
1226
1227 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1228
1229 * benchtests/bench-strstr.c (input): Add realistic input text.
1230 (stupid_strstr): Remove function.
1231 (basic_strstr): Add function.
1232 (twoway_strstr): Add function.
1233 (do_one_test): Add result checking.
1234 (do_test): Use new input text. Remove accidental early matches.
1235 (test_main): Improve range of tests, reduce unaligned cases.
1236
1237 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1238
1239 * benchtests/bench-memmem.c (simple_memmem): Remove function.
1240 (basic_memmem): Add function.
1241 (twoway_memmem): Add function.
1242
1243 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1244
1245 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
1246 * benchtests/bench-malloc-thread.c: Likewise.
1247 * benchtests/bench-skeleton.c: Likewise.
1248 * benchtests/bench-strtod.c: Likewise.
1249 * benchtests/bench-timing.h: Likewise.
1250
1251 2019-04-08 Florian Weimer <fweimer@redhat.com>
1252
1253 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
1254 definitions.
1255 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
1256 RES_INSECURE2 security checks.
1257 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
1258 RES_INSECURE2 handling.
1259
1260 2019-04-08 Florian Weimer <fweimer@redhat.com>
1261
1262 resolv: Remove support for RES_USE_INET6 and the inet6 option.
1263 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
1264 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
1265 GETHOSTBYNAME.
1266 * resolv/Makefile (tests): Remove tst-res_use_inet6.
1267 (tests-internal): Update justification for tst-resolv-res_init,
1268 tst-resolv-res_init-thread.
1269 (tst-res_use_inet6): Remove target.
1270 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
1271 * resolv/res_debug.c (p_option): Remove "inet6" support.
1272 * resolv/res_init.c (res_setoptions): Likewise.
1273 * resolv/res_use_inet6.h: Remove file.
1274 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
1275 definition.
1276 (res_use_inet6): Always return false.
1277 * resolv/resolv.h (RES_USE_INET6): Remove definition.
1278 * resolv/resolv_context.h: Adjust file comment.
1279 (struct resolv_context): Update comment on __next field.
1280 (__resolv_context_put): Update comment.
1281 * resolv/tst-res_use_inet6.c: Remove file.
1282 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
1283 "inet6" support.
1284 (test_cases): Adjust test case.
1285 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
1286 (thread_byname2_af_inet6): Use old byname_inet6 code.
1287 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
1288 (gai): Remove do_inet6 argument.
1289 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
1290 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
1291 (thread_gai_unspec_inet6): Remove functions.
1292 (do_test): Adjust thread_funcs.
1293 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
1294 RES_USE_INET6 flag.
1295 (gaih_inet): Do not disable RES_USE_INET6 flag.
1296
1297 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
1298
1299 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
1300 and remove redundant code.
1301
1302 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1303
1304 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
1305 New rule.
1306 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
1307 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
1308 Likewise.
1309 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
1310 Likewise.
1311 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
1312 Likewise.
1313 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
1314 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
1315 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
1316 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
1317 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
1318 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
1319 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1320 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
1321 wcsrchr-power7.
1322 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
1323 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1324 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1325 Remove wcsrchr optimizations.
1326 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1327
1328 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
1329 the loop unroll.
1330
1331 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
1332 New rule.
1333 * sysdeps/powerpc/power6/wcschr.c: Remove file.
1334 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
1335 Likewise.
1336 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
1337 Likewise.
1338 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
1339 Likewise.
1340 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
1341 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
1342 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
1343 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
1344 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
1345 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
1346 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1347 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
1348 wcschr-power7.
1349 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
1350 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1351 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1352 Remove wcschr optimizations.
1353 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1354
1355 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
1356 the loop unroll.
1357
1358 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
1359 New rule.
1360 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
1361 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
1362 Likewise.
1363 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
1364 Likewise.
1365 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
1366 Likewise.
1367 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
1368 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
1369 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
1370 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
1371 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1372 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
1373 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1374 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
1375 wcscpy-power7.
1376 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
1377 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1378 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1379 Remove wcscpy optimizations.
1380 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1381
1382 * include/loop_unroll.h: New file.
1383 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
1384 besides generic implementation.
1385
1386 2019-04-03 DJ Delorie <dj@redhat.com>
1387
1388 * time/tst-strftime3.c (tm_to_printed): Disable warning about
1389 snprintf truncating output.
1390
1391 2019-04-02 DJ Delorie <dj@redhat.com>
1392
1393 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
1394 warning.
1395
1396 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1397
1398 [BZ #22964]
1399 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
1400 era.
1401 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
1402 (mkreftable): Add rules for the new Japanese era and the new dates.
1403
1404 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1405 Rafal Luzynski <digitalfreak@lingonborough.com>
1406
1407 * time/tst-strftime2.c (date_t): Explicitly define the type.
1408 (dates): Use natural month and year numbers to express a date.
1409 (is_before): New function to compare dates.
1410 (mkreftable): Minor improvements to simplify maintenance.
1411 (do_test): Reflect the changes in dates array.
1412
1413 [BZ #24293]
1414 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
1415 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
1416 * time/tst-strftime2.c (locales): Likewise.
1417 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
1418 2010-04-01, and 2011-04-01.
1419 (mkreftable): Add rules for the new locales and the new dates.
1420
1421 2019-04-01 Carlos O'Donell <carlos@redhat.com>
1422
1423 * localedata/locales/ja_JP: Add comments to era entries.
1424
1425 2019-04-01 DJ Delorie <dj@redhat.com>
1426
1427 [BZ #24394]
1428 * time/strptime_l.c (%Ey): Fix fencepost error.
1429 * time/tst-strftime3.c: New.
1430 * time/Makefile (tests): Add tst-strftime3.
1431
1432 2019-04-01 Uros Bizjak <ubizjak@gmail.com>
1433
1434 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
1435 conditional branch to DIVBYZERO. Fix unwind info.
1436 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
1437 excb after conditional branch to $powerof2. Add missing unop
1438 instructions and .align directives and reorder instructions to
1439 match __divqu.
1440
1441 2019-04-01 Richard Henderson <rth@twiddle.net>
1442
1443 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
1444 Do not redefine.
1445 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
1446 Do not redefine.
1447
1448 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
1449
1450 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
1451 $libc_cv_riscv_float_abi in `test' invocation.
1452 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
1453
1454 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
1455
1456 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
1457 asm with builtin.
1458 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
1459 Likewise.
1460 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1461 (_GET_SI_FPSCR): Likewise.
1462 (_SET_SI_FPSCR): Likewise.
1463
1464 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1465
1466 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
1467 clang 2.8.
1468 (signbit): Use builtin for clang 3.3.
1469 (isinf): Use builtin for clang 3.7.
1470
1471 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1472
1473 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
1474
1475 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
1476
1477 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
1478 quote in printf.
1479
1480 2019-03-25 Mike Crowe <mac@mcrowe.com>
1481
1482 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
1483 pthread_rwlock_timedrdlock with calls to
1484 pthread_rwlock_timedwrlock to ensure that the latter is tested
1485 too. Use new function name in diagnostic messages too.
1486
1487 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
1488 (do_test) Use libsupport test macros rather than hand-coded
1489 conditionals and error messages. Ensure that sem_init returns zero
1490 rather than not -1. Use <support/test-driver.c> rather than
1491 test-skeleton.c.
1492
1493 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
1494 test macros rather than hand-coded conditionals and error messages.
1495 Use <support/test-driver.c> rather than test-skeleton.c.
1496
1497 2019-03-25 Joseph Myers <joseph@codesourcery.com>
1498
1499 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
1500
1501 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
1502 (NT_MIPS_MSA): Likewise.
1503
1504 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1505
1506 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
1507 * benchtests/README: Update description.
1508 * benchtests/bench-timing.h: Default to hp-timing.
1509 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
1510 HP_TIMING_PRINT): Remove.
1511 (HP_TIMING_NOW): Add generic implementation.
1512 (hp_timing_t): Change to uint64_t.
1513
1514 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
1515 HP_TIMING_INLINE.
1516 * nptl/descr.h: Likewise.
1517 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
1518 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
1519 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
1520 Abstract hp-timing usage with RTLD_* macros.
1521 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
1522 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
1523 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
1524 HP_TIMING_NONAVAIL): Likewise.
1525 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
1526 Likewise.
1527 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
1528 HP_SMALL_TIMING_AVAIL): Likewise.
1529 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
1530 HP_SMALL_TIMING_AVAIL): Likewise.
1531 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
1532 HP_SMALL_TIMING_AVAIL): Likewise.
1533 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
1534 HP_SMALL_TIMING_AVAIL): Likewise.
1535 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
1536 Likewise.
1537 * sysdeps/generic/hp-timing-common.h: Update comment with
1538 HP_TIMING_AVAIL removal.
1539
1540 * include/random-bits.h: New file.
1541 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
1542 (__res_context_mkquery): Remove usage hp-timing usage and replace with
1543 random_bits.
1544 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
1545 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
1546 Likewise.
1547
1548 * include/libc-internal.h (__get_clockfreq): Remove prototype.
1549 * rt/Makefile (clock-routines): Remove get_clockfreq.
1550 * rt/get_clockfreq.c: Remove file.
1551 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
1552 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
1553 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
1554 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
1555 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
1556
1557 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
1558 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
1559 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
1560 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
1561 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
1562
1563 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
1564 pthread_clock_settime.
1565 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
1566 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
1567 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
1568 * elf/rtld.c (_dl_start_final): Likewise.
1569 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
1570 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
1571 Remove.
1572 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
1573 (_dl_cpuclock_offset): Remove.
1574 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
1575 cpuclock_offset_ununsed.
1576 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
1577 cpuclock_offset set.
1578 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
1579 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1580 * nptl/pthread_clock_gettime.c: Remove file.
1581 * nptl/pthread_clock_settime.c: Likewise.
1582 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
1583 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
1584 and CLOCK_PROCESS_CPUTIME_ID support.
1585 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
1586 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
1587 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
1588 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
1589 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
1590 Likewise.
1591 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
1592
1593 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1594
1595 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
1596 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
1597 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
1598 New defines.
1599 * sysdeps/s390/memmem-arch13.S: New file.
1600 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
1601 if it is only used as fallback.
1602 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
1603 * sysdeps/s390/multiarch/ifunc-impl-list.c
1604 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
1605
1606 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1607
1608 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
1609 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
1610 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
1611 New defines.
1612 * sysdeps/s390/multiarch/ifunc-impl-list.c
1613 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
1614 * sysdeps/s390/strstr-arch13.S: New file.
1615 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
1616 if it is only used as fallback.
1617 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
1618
1619 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1620
1621 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
1622 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
1623 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
1624 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
1625 ifunc selector.
1626 * sysdeps/s390/multiarch/ifunc-impl-list.c
1627 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
1628 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
1629 S390_IS_ARCH13_MIE3): New defines.
1630
1631 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1632
1633 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
1634 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
1635 * sysdeps/s390/configure.ac: Add checks for arch13 support.
1636 * sysdeps/s390/configure: Regenerated.
1637
1638 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1639
1640 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
1641 Add vxe2, vxp, dflt, sort flags.
1642 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
1643 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
1644 capabilities.
1645 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
1646 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
1647 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
1648 HWCAP_S390_DFLT): Define.
1649
1650 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1651
1652 [BZ #24372]
1653 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
1654 of compiler warning.
1655 * locale/programs/ld-collate.c (collate_output): Likewise.
1656
1657 2019-03-21 DJ Delorie <dj@redhat.com>
1658
1659 [BZ #24372]
1660 * iconv/iconvconfig.c (write_output): Replace floating point math
1661 with integer math to avoid imprecise results.
1662 * locale/programs/ld-collate.c (collate_output): Likewise.
1663
1664 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
1665
1666 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
1667 Add HWCAP_S390_VX and HWCAP_S390_VXE.
1668
1669 2019-03-20 mansayk <6688000@gmail.com>
1670
1671 [BZ #24296]
1672 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
1673 (abday): Likewise, but remove the trailing dots.
1674
1675 2019-03-19 Joseph Myers <joseph@codesourcery.com>
1676
1677 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
1678 macro.
1679 (HWCAP_PACA): Likewise.
1680 (HWCAP_PACG): Likewise.
1681 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
1682 Increase to 32.
1683 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
1684
1685 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1686
1687 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
1688 should be handled.
1689
1690 2019-03-15 Joseph Myers <joseph@codesourcery.com>
1691
1692 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1693 version to 5.0.
1694 (old_getpagesize): New syscall.
1695
1696 2019-03-15 Felix Yan <felixonmars@archlinux.org>
1697
1698 [BZ #24293]
1699 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
1700 * localedata/locales/cmn_TW (era): Likewise.
1701 * localedata/locales/hak_TW (era): Likewise.
1702 * localedata/locales/lzh_TW (era): Likewise.
1703 * localedata/locales/nan_TW (era): Likewise.
1704
1705 2019-03-14 Adam Maris <amaris@redhat.com>
1706
1707 * malloc/malloc.c (_int_malloc): Check for large bin list
1708 corruption when inserting unsorted chunk.
1709
1710 2019-03-14 Florian Weimer <fweimer@redhat.com>
1711
1712 Remove obsolete, never-implemented XSI STREAMS declarations.
1713 * manual/terminal.texi (Allocation): Remove portability note and
1714 adjust example.
1715 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
1716 _SC_STREAMS.
1717 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
1718 * sysdeps/unix/inet/Subdirs (streams): Remove.
1719 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
1720 (conformtest-headers-UNIX98): Likewise.
1721 (conformtest-headers-XOPEN2K): Likewise.
1722 (conformtest-headers-POSIX2008): Likewise.
1723 * posix/compat-streams.c: New file.
1724 * posix/Makefile (routines): Add it.
1725 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
1726 getpmsg, isastream, putmsg, putpmsg.
1727 (GLIBC_2.30): New section.
1728 * bits/stropts.h: Remove file.
1729 * bits/xtitypes.h: Likewise.
1730 * conform/data/stropts.h-data: Likewise.
1731 * include/stropts.h: Likewise.
1732 * include/sys/stropts.h: Likewise.
1733 * include/xtitypes.h: Likewise.
1734 * streams/Makefile: Likewise.
1735 * streams/fattach.c: Likewise.
1736 * streams/fdetach.c: Likewise.
1737 * streams/getmsg.c: Likewise.
1738 * streams/getpmsg.c: Likewise.
1739 * streams/isastream.c: Likewise.
1740 * streams/putmsg.c: Likewise.
1741 * streams/putpmsg.c: Likewise.
1742 * streams/stropts.h: Likewise.
1743 * streams/sys/stropts.h: Likewise.
1744 * sysdeps/ia64/bits/xtitypes.h: Likewise.
1745 * sysdeps/s390/bits/xtitypes.h: Likewise.
1746 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
1747 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
1748 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
1749 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
1750 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
1751 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
1752 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
1753 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
1754 * sysdeps/x86/bits/xtitypes.h: Likewise.
1755
1756 2019-03-14 Florian Weimer <fweimer@redhat.com>
1757
1758 * nss/tst-nss-files-alias-truncated.c (do_test): Load
1759 libnss_files.
1760 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
1761 but not with libnss_files.
1762 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
1763
1764 2019-03-14 Zack Weinberg <zackw@panix.com>
1765
1766 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
1767 Specify encoding="utf-8" when opening headers to check.
1768
1769 2019-03-13 Joseph Myers <joseph@codesourcery.com>
1770
1771 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1772 version to 5.0.
1773 (Context.checkout_tar): Handle variable major version for Linux
1774 kernel.
1775
1776 2019-03-13 Florian Weimer <fweimer@redhat.com>
1777
1778 [BZ #24047]
1779 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
1780
1781 2019-03-13 Zack Weinberg <zackw@panix.com>
1782
1783 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
1784 Move to stdlib.
1785 * include/inttypes.h: Adjust to match.
1786 * include/stdint.h: New wrapper.
1787
1788 2019-03-13 Zack Weinberg <zackw@panix.com>
1789
1790 * scripts/check-obsolete-constructs.py: New test script.
1791 * scripts/check-installed-headers.sh: Remove tests for
1792 obsolete typedefs, superseded by check-obsolete-constructs.py.
1793 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
1794 as a special test. Update commentary.
1795 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
1796 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
1797 Update commentary.
1798 * posix/sys/types.h (__u_intN_t): Remove.
1799 (u_int8_t): Typedef using __uint8_t.
1800 (u_int16_t): Typedef using __uint16_t.
1801 (u_int32_t): Typedef using __uint32_t.
1802 (u_int64_t): Typedef using __uint64_t.
1803
1804 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
1805
1806 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
1807 call _dl_procinfo.
1808 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
1809 Ignore types other than AT_HWCAP.
1810 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
1811 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
1812 Likewise.
1813 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
1814 in the case of falling back to generic output mechanism.
1815 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
1816 Likewise.
1817
1818 2019-03-12 Florian Weimer <fweimer@redhat.com>
1819
1820 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
1821
1822 2019-03-12 Florian Weimer <fweimer@redhat.com>
1823
1824 [BZ #24047]
1825 resolv: Enable full ICMP errors for UDP DNS sockets
1826 * resolv/res_enable_icmp.c: New file.
1827 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
1828 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
1829 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
1830 socket.
1831
1832 2019-03-11 Mao Han <han_mao@c-sky.com>
1833
1834 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
1835 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
1836
1837 2019-03-11 Mao Han <han_mao@c-sky.com>
1838
1839 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
1840 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
1841 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
1842
1843 2019-03-11 Mao Han <han_mao@c-sky.com>
1844
1845 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
1846 directly.
1847 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
1848 definition.
1849
1850 2019-03-11 Mao Han <han_mao@c-sky.com>
1851
1852 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
1853 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
1854 in mcontext_t
1855
1856 2019-03-08 Mike FABIAN <mfabian@redhat.com>
1857
1858 [BZ #24307]
1859 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
1860 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
1861 Unicode 12.0.0.
1862 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
1863 * localedata/unicode-gen/PropList.txt: Likewise.
1864 * localedata/unicode-gen/UnicodeData.txt: Likewise.
1865 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
1866 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
1867 * localedata/charmaps/UTF-8: Regenerate.
1868 * localedata/locales/i18n_ctype: Likewise.
1869 * localedata/locales/tr_TR: Likewise.
1870 * localedata/locales/translit_circle: Likewise.
1871 * localedata/locales/translit_cjk_compat: Likewise.
1872 * localedata/locales/translit_combining: Likewise.
1873 * localedata/locales/translit_compat: Likewise.
1874 * localedata/locales/translit_font: Likewise.
1875 * localedata/locales/translit_fraction: Likewise.
1876
1877 2019-03-07 Joseph Myers <joseph@codesourcery.com>
1878
1879 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
1880 than after operators.
1881 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
1882 (setitimer_locked): Likewise.
1883 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
1884 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
1885 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
1886 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
1887 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
1888 (PPC_CPU_SUPPORTED): Likewise.
1889 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
1890 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
1891 (stat_overflow): Likewise.
1892 (statfs_overflow): Likewise.
1893 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
1894 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
1895 (eq_ttyname_r): Likewise.
1896 (run_chroot_tests): Likewise.
1897
1898 2019-03-07 Florian Weimer <fweimer@redhat.com>
1899
1900 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
1901 header check.
1902
1903 2019-03-07 Martin Liska <mliska@suse.cz>
1904
1905 * math/Makefile: Change location where math-vector-fortran.h is
1906 installed.
1907 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
1908 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
1909 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
1910 * scripts/check-installed-headers.sh: Skip Fortran header files.
1911 * scripts/check-wrapper-headers.py: Likewise.
1912
1913 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1914
1915 * nptl/nptl-init.c (__have_futex_clock_realtime,
1916 __have_futex_clock_realtime): Remove definition.
1917 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
1918 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
1919 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
1920 __ASSUME_FUTEX_CLOCK_REALTIME support.
1921 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
1922 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1923 * sysdeps/unix/sysv/linux/kernel-features.h
1924 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
1925 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
1926 Adjust comment.
1927
1928 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1929
1930 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
1931 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
1932 __GI___wcscpy and wcscpy.
1933
1934 2019-03-04 Florian Weimer <fweimer@redhat.com>
1935
1936 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
1937 declaration.
1938 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
1939 defined.
1940
1941 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
1942
1943 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
1944 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1945
1946 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1947
1948 [BZ #24162]
1949 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
1950 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
1951
1952 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1953
1954 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
1955 tests.
1956 (do_test): Likewise.
1957 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
1958 (do_test_call_varg): Likewise.
1959 (do_test_call_rarg): Likewise.
1960 * sysdeps/ieee754/ldbl-opt/Makefile
1961 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
1962 tst-nldbl-error.
1963 ($(objpfx)tst-nldbl-warn.c): New rule.
1964 ($(objpfx)tst-nldbl-error.c): Likewise.
1965 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
1966 New variables.
1967
1968 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1969
1970 [BZ #23984]
1971 * include/bits/error-ldbl.h: New file.
1972 * include/error.h: Include stdarg.h. Declare internal functions
1973 __error_internal and __error_at_line_internal.
1974 * misc/Makefile (headers): Add bits/error-ldbl.h.
1975 * misc/bits/error-ldbl.h: New file.
1976 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
1977 avoid the inclusion of bits/error.h.
1978 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
1979 and __nldbl_error_at_line.
1980 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
1981 (__nldbl_error, __ndlbl_error_at_line): New functions.
1982 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
1983 Redirect error and error_at_line.
1984 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1986 Likewise.
1987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1988 Likewise.
1989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1990 Likewise.
1991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1992 Likewise.
1993 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1994 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1995 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1996
1997 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1998
1999 [BZ #23984]
2000 * include/bits/err-ldbl.h: New file.
2001 * include/err.h: Add prototypes for the internal functions:
2002 __vwarnx_internal and __vwarn_internal.
2003 * misc/Makefile (headers): Add bits/err-ldbl.h.
2004 * misc/bits/err-ldbl.h: New file.
2005 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
2006 defined, i.e.: when -mlong-double-64 is in use.
2007 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
2008 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
2009 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
2010 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
2011 (VA_CALL): New macro.
2012 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
2013 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
2014 functions.
2015 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
2016 declare prototypes for the new functions.
2017 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2019 Likewise.
2020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2021 Likewise.
2022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2023 Likewise.
2024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2025 Likewise.
2026 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2027 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2028 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2029
2030 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2031
2032 * sysdeps/ieee754/ldbl-opt/Makefile
2033 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
2034 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
2035 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
2036
2037 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2038
2039 [BZ #23983]
2040 * argp/Makefile (headers): Add bits/argp-ldbl.h.
2041 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
2042 * argp/bits/argp-ldbl.h: New file.
2043 * include/argp.h: Include stdarg.h. Add prototypes for internal
2044 functions: __argp_error_internal and __argp_failure_internal.
2045 * include/bits/argp-ldbl.h: New file.
2046 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
2047 __nldbl_argp_error and __nldbl_argp_failure.
2048 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
2049 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
2050 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
2051 Redirect argp_error and argp_failure calls.
2052 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2054 Likewise.
2055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2056 Likewise.
2057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2058 Likewise.
2059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2060 Likewise.
2061 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2062 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2063 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2064
2065 2019-03-01 Florian Weimer <fweimer@redhat.com>
2066
2067 [BZ #20419]
2068 * elf/tst-big-note-lib.S: Create a syntactically valid note.
2069 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
2070 code, to avoid creating an ABI tag note.
2071 (modules-names-nobuild): Add tst-big-note-lib.
2072
2073 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
2074
2075 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
2076 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
2077
2078 2019-03-01 Florian Weimer <fweimer@redhat.com>
2079
2080 [BZ #20271]
2081 * sysdeps/unix/sysv/linux/netlink_assert_response.c
2082 (__netlink_assert_response): Add additional missing newlines.
2083
2084 2019-02-28 Joseph Myers <joseph@codesourcery.com>
2085
2086 * sysdeps/powerpc/powerpc32/dl-machine.c
2087 (__elf_machine_fixup_plt): Use space before '('.
2088 (__process_machine_rela): Likewise.
2089 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
2090 Likewise.
2091 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
2092 Likewise.
2093 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
2094 Likewise.
2095 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
2096 (pattern): Likewise.
2097 (delta): Likewise.
2098 (check_result): Likewise.
2099 (check_excepts): Likewise.
2100 (check_op): Likewise.
2101 (fail_xr): Likewise.
2102 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
2103 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
2104 (SCNHSZ): Likewise.
2105 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
2106 Likewise.
2107 (ARGS): Likewise.
2108 (__makecontext): Likewise.
2109 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
2110 Likewise.
2111
2112 2019-02-28 Florian Weimer <fweimer@redhat.com>
2113
2114 [BZ #23937]
2115 elf: Add test with a local IFUNC resolver.
2116 * elf/ifuncmain9.c: New file.
2117 * elf/ifuncmain9pic.c: Likewise.
2118 * elf/ifuncmain9picstatic.c: Likewise.
2119 * elf/ifuncmain9pie.c: Likewise.
2120 * elf/ifuncmain9static.c: Likewise.
2121 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
2122 ifuncmain9static, ifuncmain9picstatic.
2123 * elf/Makefile [multi-arch && build-shared] (tests-internal):
2124 Add ifuncmain9, ifuncmain9pic.
2125 * elf/Makefile [multi-arch && build-shared && have-fpie]
2126 (ifunc-pie-tests): Add ifuncmain9pie.
2127 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
2128 (CFLAGS-ifuncmain9picstatic.c): Likewise.
2129 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
2130
2131 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
2132
2133 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
2134 * configure: Regenerated.
2135 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
2136
2137 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2138
2139 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
2140 symbol as __wcspcy instead of wcscpy.
2141
2142 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2143
2144 * include/stdio.h (__renameat2): New hidden prototype.
2145 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
2146 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
2147 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
2148 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
2149
2150 2019-02-27 Joseph Myers <joseph@codesourcery.com>
2151
2152 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
2153 if statement.
2154
2155 * benchtests/bench-strcpy.c (do_test): Use space before '('.
2156 * benchtests/bench-string.h (cmdline_process_function): Likewise.
2157 * benchtests/bench-strlen.c (do_test): Likewise.
2158 (test_main): Likewise.
2159 * catgets/gencat.c (read_old): Likewise.
2160 * elf/cache.c (load_aux_cache): Likewise.
2161 * iconvdata/bug-iconv8.c (do_test): Likewise.
2162 * math/test-tgmath-ret.c (do_test): Likewise.
2163 * nis/nis_call.c (rec_dirsearch): Likewise.
2164 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2165 * nptl/tst-audit-threads.c (do_test): Likewise.
2166 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
2167 * nss/nss_test1.c (init): Likewise.
2168 * nss/test-netdb.c (test_hosts): Likewise.
2169 * posix/execvpe.c (maybe_script_execute): Likewise.
2170 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
2171 * stdio-common/tst-printf.c (do_test): Likewise.
2172 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
2173 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
2174 * stdlib/qsort.c (STACK_SIZE): Likewise.
2175 * stdlib/test-canon.c (do_test): Likewise.
2176 * stdlib/tst-swapcontext1.c (do_test): Likewise.
2177 * string/memcmp.c (OPSIZ): Likewise.
2178 * string/test-strcpy.c (do_test): Likewise.
2179 (do_random_tests): Likewise.
2180 * string/test-strlen.c (do_test): Likewise.
2181 (test_main): Likewise.
2182 * string/test-strrchr.c (do_test): Likewise.
2183 (do_random_tests): Likewise.
2184 * string/tester.c (test_memrchr): Likewise.
2185 (test_memchr): Likewise.
2186 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
2187 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
2188 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
2189 (read_encoded_value_with_base): Likewise.
2190 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
2191 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
2192 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
2193 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
2194 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
2195 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
2196 Likewise.
2197 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
2198 Likewise.
2199 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
2200 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
2201 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
2202 Likewise.
2203 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
2204 Likewise.
2205 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
2206 Likewise.
2207 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
2208 Likewise.
2209 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
2210 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
2211 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2212 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
2213 * time/test_time.c (main): Likewise.
2214
2215 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2216
2217 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
2218
2219 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
2220 wmemcpy.
2221
2222 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
2223 wmemcpy.
2224
2225 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
2226
2227 * include/wchar.h (__wcscpy): New prototype.
2228 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
2229 (__wcscpy): Route internal symbol to generic implementation.
2230 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
2231 Add internal __wcscpy alias.
2232 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
2233 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
2234 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
2235 * wcsmbs/wcscpy.c (wcscpy): Add
2236 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
2237 use generic implementation.
2238 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
2239
2240 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
2241 wmemset.
2242
2243 * sysdeps/m68k/wcpcpy.c: Remove file.
2244 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
2245
2246 2019-02-26 Joseph Myers <joseph@codesourcery.com>
2247
2248 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
2249 than after operators.
2250 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
2251 * sysdeps/mach/hurd/getcwd.c
2252 (__hurd_canonicalize_directory_name_internal): Likewise.
2253 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
2254 (pthread_mutex_consistent): Likewise.
2255 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
2256 Likewise.
2257 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
2258 (__pthread_mutex_transfer_np): Likewise.
2259 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
2260 (__pthread_mutex_unlock): Likewise.
2261 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
2262 (mtx_owned_p): Likewise.
2263 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
2264 (pthread_mutexattr_getrobust): Likewise.
2265 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
2266 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
2267 Likewise.
2268 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2269 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
2270 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
2271 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
2272 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
2273 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2274 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
2275 Likewise.
2276 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
2277 Likewise.
2278 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
2279 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
2280 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
2281 (____longjmp_chk): Likewise.
2282 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
2283 Likewise.
2284 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2285 (INTERNAL_SYSCALL): Likewise.
2286 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2287 (INTERNAL_SYSCALL): Likewise.
2288 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2289 (__get_clockfreq_via_cpuinfo): Likewise.
2290
2291 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
2292 comments.
2293 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
2294 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
2295 (WORD_COPY_BWD): Likewise.
2296 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2297 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2298 Likewise.
2299 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
2300 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
2301 comment.
2302 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
2303
2304 2019-02-25 Joseph Myers <joseph@codesourcery.com>
2305
2306 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
2307 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
2308 rather than after operators.
2309 * elf/cache.c (print_cache): Likewise.
2310 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
2311 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
2312 * hurd/hurdinit.c (_hurd_setproc): Likewise.
2313 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
2314 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
2315 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
2316 (reauth_proc): Likewise.
2317 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
2318 (__file_name_split_at): Likewise.
2319 (__directory_name_split_at): Likewise.
2320 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
2321 * hurd/port2fd.c (_hurd_port2fd): Likewise.
2322 * iconv/gconv_dl.c (do_print): Likewise.
2323 * inet/netinet/in.h (struct sockaddr_in): Likewise.
2324 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
2325 * locale/setlocale.c (new_composite_name): Likewise.
2326 * malloc/memusagestat.c (main): Likewise.
2327 * misc/fstab.c (fstab_convert): Likewise.
2328 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
2329 Likewise.
2330 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
2331 (getgrent_next_file): Likewise.
2332 (internal_getgrnam_r): Likewise.
2333 (internal_getgrgid_r): Likewise.
2334 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
2335 Likewise.
2336 (internal_getgrent_r): Likewise.
2337 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
2338 (getpwent_next_nss): Likewise.
2339 (getpwent_next_file): Likewise.
2340 (internal_getpwnam_r): Likewise.
2341 (internal_getpwuid_r): Likewise.
2342 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
2343 Likewise.
2344 (getspent_next_nss): Likewise.
2345 (internal_getspnam_r): Likewise.
2346 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
2347 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
2348 * string/strchr.c (STRCHR): Likewise.
2349 * string/strchrnul.c (STRCHRNUL): Likewise.
2350 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
2351 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2352 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
2353 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
2354 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
2355 Likewise.
2356 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
2357 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
2358 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
2359 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
2360 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
2361 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
2362 (open_file): Likewise.
2363 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
2364 (pthread_mutexattr_setprotocol): Likewise.
2365 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2366 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
2367 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
2368 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
2369 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
2370 Likewise.
2371 (elf_machine_rela): Likewise.
2372 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2373 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2374 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
2375 * sysdeps/posix/rename.c (rename): Likewise.
2376 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
2377 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
2378 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
2379 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
2380 * sysdeps/unix/grantpt.c (grantpt): Likewise.
2381 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
2382 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
2383 Likewise.
2384 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
2385 Likewise.
2386 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
2387 * time/tzfile.c (__tzfile_compute): Likewise.
2388
2389 2019-02-22 Joseph Myers <joseph@codesourcery.com>
2390
2391 * benchtests/bench-memmem.c (simple_memmem): Break lines before
2392 rather than after operators.
2393 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
2394 * crypt/md5.c (md5_finish_ctx): Likewise.
2395 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
2396 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
2397 * elf/cache.c (load_aux_cache): Likewise.
2398 * elf/dl-load.c (open_verify): Likewise.
2399 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
2400 * elf/readelflib.c (process_elf_file): Likewise.
2401 * elf/rtld.c (dl_main): Likewise.
2402 * elf/sprof.c (generate_call_graph): Likewise.
2403 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
2404 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
2405 * hurd/dtable.c (reauth_dtable): Likewise.
2406 * hurd/getdport.c (__getdport): Likewise.
2407 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
2408 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
2409 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
2410 Likewise.
2411 * hurd/hurdioctl.c (fioctl): Likewise.
2412 * hurd/hurdselect.c (_hurd_select): Likewise.
2413 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
2414 (STOPSIGS): Likewise.
2415 * hurd/hurdstartup.c (_hurd_startup): Likewise.
2416 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
2417 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
2418 * hurd/msgportdemux.c (msgport_server): Likewise.
2419 * hurd/setauth.c (_hurd_setauth): Likewise.
2420 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
2421 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
2422 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
2423 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
2424 * login/tst-utmp.c (do_check): Likewise.
2425 (simulate_login): Likewise.
2426 * mach/lowlevellock.h (lll_lock): Likewise.
2427 (lll_trylock): Likewise.
2428 * math/test-fenv.c (ALL_EXC): Likewise.
2429 * math/test-fenvinline.c (ALL_EXC): Likewise.
2430 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
2431 * nis/nis_call.c (__do_niscall3): Likewise.
2432 * nis/nis_callback.c (cb_prog_1): Likewise.
2433 * nis/nis_defaults.c (searchaccess): Likewise.
2434 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2435 * nis/nis_ismember.c (internal_ismember): Likewise.
2436 * nis/nis_local_names.c (nis_local_principal): Likewise.
2437 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
2438 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
2439 Likewise.
2440 * nis/ypclnt.c (yp_match): Likewise.
2441 (yp_first): Likewise.
2442 (yp_next): Likewise.
2443 (yp_master): Likewise.
2444 (yp_order): Likewise.
2445 * nscd/hstcache.c (cache_addhst): Likewise.
2446 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2447 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
2448 (internal_getpwuid_r): Likewise.
2449 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
2450 * posix/glob.h (__GLOB_FLAGS): Likewise.
2451 * posix/regcomp.c (peek_token): Likewise.
2452 (peek_token_bracket): Likewise.
2453 (parse_expression): Likewise.
2454 * posix/regexec.c (sift_states_iter_mb): Likewise.
2455 (check_node_accept_bytes): Likewise.
2456 * posix/tst-spawn3.c (do_test): Likewise.
2457 * posix/wordexp-test.c (testit): Likewise.
2458 * posix/wordexp.c (parse_tilde): Likewise.
2459 (exec_comm): Likewise.
2460 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
2461 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
2462 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
2463 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
2464 * stdio-common/tst-fileno.c (do_test): Likewise.
2465 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
2466 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
2467 * stdlib/strtod_l.c (round_and_return): Likewise.
2468 (____STRTOF_INTERNAL): Likewise.
2469 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
2470 * string/strcspn.c (STRCSPN): Likewise.
2471 * string/test-memmem.c (simple_memmem): Likewise.
2472 * termios/tcsetattr.c (tcsetattr): Likewise.
2473 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
2474 * time/asctime.c (asctime_internal): Likewise.
2475 * time/strptime_l.c (__strptime_internal): Likewise.
2476 * time/sys/time.h (timercmp): Likewise.
2477 * time/tzfile.c (__tzfile_compute): Likewise.
2478
2479 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
2480
2481 [BZ #21915]
2482 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
2483
2484 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2485
2486 * argp/argp-help.c (__argp_error_internal): New function,
2487 renamed from __argp_error, but that takes a 'mode_flags'
2488 parameter to control the format of long double parameters.
2489 (__argp_error): Converted into a call __argp_error_internal.
2490 (__argp_failure_internal): New function, renamed from
2491 __argp_failure, but that takes a 'mode_flags' parameter.
2492 (__argp_failure): Converted into a call __argp_failure_internal.
2493 * misc/err.c (__vwarnx_internal): New function, renamed from
2494 vwarnx, but that takes a 'mode_flags' parameter.
2495 (vwarnx): Converted into a call to __vwarnx_internal.
2496 (__vwarn_internal): New function, renamed from vwarn, but that
2497 takes a 'mode_flags' parameter.
2498 (vwarn): Converted into a call to __vwarn_internal.
2499 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
2500 call to __vfxprintf with 'mode_flags'.
2501 (__error_internal): New function, renamed from error, but that
2502 takes a 'mode_flags' parameter.
2503 (error): Converted into a call to __error_internal.
2504 (__error_at_line_internal): New function, renamed from
2505 error_at_line, but that takes a 'mode_flags' parameter.
2506 (error_at_line): Converted into a call to
2507 __error_at_line_internal.
2508 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
2509 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
2510 Likewise.
2511
2512 2019-02-20 Martin Liska <mliska@suse.cz>
2513
2514 * math/Makefile: Install math-vector-fortran.h.
2515 * bits/math-vector-fortran.h: New file.
2516 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
2517
2518 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2519
2520 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
2521 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
2522
2523 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
2524
2525 * nptl/pthread_mutex_trylock.c: Fix comment.
2526
2527 2019-02-19 Carlos O'Donell <carlos@redhat.com>
2528
2529 * nptl/pthread_tryjoin.c: Fix comment.
2530
2531 2019-02-18 Joseph Myers <joseph@codesourcery.com>
2532
2533 [BZ #24231]
2534 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
2535 after R_SPARC_H34 case.
2536
2537 2019-02-18 Florian Weimer <fweimer@redhat.com>
2538
2539 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
2540 (getanswer): Do not call Dprintf.
2541 (res_gethostbyname2_context): Likewise.
2542 (res_gethostbyaddr_context): Likewise.
2543
2544 2019-02-18 Florian Weimer <fweimer@redhat.com>
2545
2546 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
2547 declaration.
2548 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
2549 Remove definitions.
2550 * libio/stdfiles.c: Update comment.
2551 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
2552 set _IO_stdin, _IO_stdout, _IO_stderr.
2553 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
2554 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
2555 inline function.
2556 (_IO_deallocate_file): New inline function.
2557 * libio/iolibio.h (_IO_vprintf): Remove definition.
2558 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
2559 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
2560 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
2561 _IO_legacy_file.
2562 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
2563 __builtin_expect. Use _IO_legacy_file.
2564
2565 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
2566
2567 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
2568 Initialize ctid with a known value and remove update of ctid
2569 after clone.
2570 (wait_tid): Adjust arguments and call futex_wait with ctid_val
2571 as assumed current value of ctid_ptr.
2572
2573 2019-02-16 Florian Weimer <fweimer@redhat.com>
2574
2575 Check that non-sysdeps headers have wrapper headers.
2576 * scripts/check-wrapper-headers.py: New file.
2577 * Makefile (tests-special): Add check-wrapper-headers.out.
2578 (check-wrapper-headers.out): New target.
2579 * Rules (tests-special): Add check-wrapper-headers.out.
2580 (check-wrapper-headers.out): New target.
2581
2582 2019-02-16 Florian Weimer <fweimer@redhat.com>
2583
2584 Add missing header wrappers under include/.
2585 * include/ar.h: New file.
2586 * include/bits/mqueue2.h: Likewise.
2587 * include/bits/stdio.h: Likewise.
2588 * include/bits/stdio2.h: Likewise.
2589 * include/fstab.h: Likewise.
2590 * include/fts.h: Likewise.
2591 * include/lastlog.h: Likewise.
2592 * include/netinet/icmp6.h: Likewise.
2593 * include/netinet/igmp.h: Likewise.
2594 * include/netinet/ip6.h: Likewise.
2595 * include/re_comp.h: Likewise.
2596 * include/regexp.h: Likewise.
2597 * include/rpcsvc/bootparam.h: Likewise.
2598 * include/rpcsvc/yp_prot.h: Likewise.
2599 * include/sys/random.h: Likewise.
2600 * include/sys/stropts.h: Likewise.
2601 * include/sys/ttychars.h: Likewise.
2602 * include/sys/vfs.h: Likewise.
2603 * include/wait.h: Likewise.
2604
2605 2019-02-16 Florian Weimer <fweimer@redhat.com>
2606
2607 * nptl_db/proc_service.h: Move to ...
2608 * sysdeps/nptl/proc_service.h: ... here.
2609 * nptl_db/thread_db.h: Move to ...
2610 * sysdeps/nptl/thread_db.h: ... here.
2611 * nptl/descr.h: Include <thread_db.h>.
2612
2613 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2614
2615 * io/Makefile (tests): Add tst-lockf.
2616 * io/lockf.c (lockf): Use __fcntl and only define for
2617 !__OFF_T_MATCHES_OFF64_T.
2618 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
2619 __OFF_T_MATCHES_OFF64_T case.
2620 * io/tst-lockf.c: New file.
2621 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
2622 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
2623 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
2624 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
2625 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
2626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
2627 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
2628 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
2629 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
2630
2631 2019-02-15 Florian Weimer <fweimer@redhat.com>
2632
2633 [BZ #24211]
2634 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
2635 pd->result after the thread descriptor has been freed.
2636
2637 2019-02-15 Joseph Myers <joseph@codesourcery.com>
2638
2639 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
2640 from function return type.
2641
2642 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
2643
2644 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2645
2646 * scripts/test_printers_common.py: Set TERM to a known harmless
2647 value.
2648
2649 2019-02-14 Joseph Myers <joseph@codesourcery.com>
2650
2651 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
2652 (xdr_u_int): Likewise.
2653 (xdr_enum): Likewise.
2654 (xdr_bytes): Reword fall-through comment.
2655 (xdr_string): Likewise.
2656
2657 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2658
2659 [BZ #2421]
2660 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
2661 (tests): Add tst-join8 tst-join9.
2662 * nptl/lll_timedwait_tid.c: Remove file.
2663 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
2664 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
2665 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
2666 * nptl/pthread_join_common.c (timedwait_tid): New function.
2667 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
2668 is set.
2669 * nptl/tst-join5.c (thread_join): New function.
2670 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
2671 check.
2672 * nptl/tst-join8.c: New file.
2673 * nptl/tst-join9.c: Likewise.
2674 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
2675 lll_futex_timed_wait_cancel): Add generic macros.
2676 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
2677 Remove definitions.
2678 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2679 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2680 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2681 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
2682 Remove function.
2683 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
2684 Likewise.
2685 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2686 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
2687 (lll_futex_timed_wait_cancel): New macro.
2688
2689 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
2690
2691 * benchtests/Makefile: Add malloc-simple benchmark.
2692 * benchtests/bench-malloc-simple.c: New benchmark.
2693
2694 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
2695
2696 * benchtests/bench-memmove.c (do_one_test): Remove unused
2697 ORIG_SRC.
2698 (do_test): Adjust.
2699 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
2700 ORIG_SRC.
2701 (do_test): Adjust.
2702
2703 2019-01-13 Jim Wilson <jimw@sifive.com>
2704
2705 [BZ #24040]
2706 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
2707 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
2708 (func): New.
2709 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
2710 call func directly.
2711 * nptl/Makefile (tests): Add tst-unwind-thread.
2712 (CFLAGS-tst-unwind-thread.c): Define.
2713 * nptl/tst-unwind-thread.c: New file.
2714 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
2715 as undefined.
2716
2717 2019-02-13 Joseph Myers <joseph@codesourcery.com>
2718
2719 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
2720 comment wording.
2721 * nis/nis_call.c (__do_niscall3): Likewise.
2722
2723 * catgets/gencat.c (normalize_line): Use braces around empty
2724 'else' body.
2725 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2726 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
2727 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
2728 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
2729 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
2730 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
2731 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
2732 definition.
2733
2734 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
2735 execlp returns.
2736
2737 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
2738
2739 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
2740 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
2741 * benchtests/bench-strchr.c (stupid_strchr): Remove.
2742 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
2743 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
2744 * benchtests/bench-strlen.c (builtin_strlen): Remove.
2745 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
2746 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
2747 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
2748 * benchtests/bench-strspn.c (stupid_strspn): Remove.
2749 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
2750 * benchtests/bench-bcopy.c: Delete file.
2751 * benchtests/bench-bzero.c: Likewise.
2752 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
2753 (simple_memccpy): Remove.
2754 (generic_memccpy): Add function.
2755 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
2756 * benchtests/bench-memmove.c (simple_bcopy): Remove.
2757 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
2758 (generic_mempcpy): Add new function.
2759 * benchtests/bench-memset.c (simple_bzero): Remove.
2760 (builtin_bzero): Remove.
2761 (builtin_memset): Remove.
2762 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
2763 (generic_rawmemchr): Add new function.
2764
2765 2019-02-12 Florian Weimer <fweimer@redhat.com>
2766
2767 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
2768
2769 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2770
2771 [BZ #24122]
2772 * elf/Makefile (tests): Add tst-audit13.
2773 (modules-names): Add tst-audit13mod1.
2774 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
2775 rule.
2776 * elf/tst-audit13.c: New file.
2777 * elf/tst-audit13mod1.c: Likewise.
2778
2779 2019-02-12 Florian Weimer <fweimer@redhat.com>
2780
2781 [BZ #24122]
2782 * elf/rtld.c (unload_audit_module): New function.
2783 (report_audit_module_load_error): Likewise.
2784 (load_audit_module): Likewise. Extracted from dl_main. Call
2785 _dl_close if the laversion symbol cannot be found. Use early
2786 returns for error handling. Add malloc error check. Check for a
2787 zero return value from la_version. Remove spurious comment about
2788 static TLS initialization. Remove useless casts.
2789 (notify_audit_modules_of_loaded_object): New function. Extracted
2790 from dl_main.
2791 (load_audit_module): Likewise.
2792 (dl_main): Call load_audit_modules.
2793
2794 2019-02-12 Joseph Myers <joseph@codesourcery.com>
2795
2796 * elf/dl-exception.c (_dl_exception_create_format): Add
2797 fall-through comments.
2798 * elf/ldconfig.c (parse_conf_include): Likewise.
2799 * elf/rtld.c (print_statistics): Likewise.
2800 * locale/programs/charmap.c (parse_charmap): Likewise.
2801 * misc/mntent_r.c (__getmntent_r): Likewise.
2802 * posix/wordexp.c (parse_arith): Likewise.
2803 (parse_backtick): Likewise.
2804 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
2805 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
2806 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2807
2808 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
2809
2810 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
2811 Use float instead of double.
2812
2813 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
2814
2815 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
2816
2817 2019-02-08 Joseph Myers <joseph@codesourcery.com>
2818
2819 * sysdeps/powerpc/bits/mathinline.h: Remove.
2820
2821 2019-02-08 Florian Weimer <fweimer@redhat.com>
2822
2823 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
2824 * math/bits/math-finite.h: Move to ...
2825 * bits/math-finite.h: ... here.
2826
2827 2019-02-08 Florian Weimer <fweimer@redhat.com>
2828
2829 * sysdeps/generic/bits/unistd_ext.h: Move to ...
2830 * bits/unistd_ext.h: here.
2831
2832 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
2833
2834 [BZ #21915]
2835 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
2836 * nss/tst-nss-files-hosts-long.c: New file.
2837 * nss/tst-nss-files-hosts-long.root: New directory.
2838 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
2839 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
2840
2841 2019-02-08 Florian Weimer <fweimer@redhat.com>
2842
2843 * include/bits/unistd_ext.h: Remove file.
2844 * posix/bits/unistd_ext.h: Move to ...
2845 * sysdeps/generic/bits/unistd_ext.h: ... here.
2846
2847 2019-02-08 Florian Weimer <fweimer@redhat.com>
2848
2849 * include/bits/unistd_ext.h: New file.
2850
2851 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
2852
2853 * time/tst-strftime2.c: Use array_length macros instead of magic
2854 numbers.
2855
2856 2019-02-08 Florian Weimer <fweimer@redhat.com>
2857
2858 [BZ #24161]
2859 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
2860 argument.
2861 * nptl/register-atfork.c (__run_fork_handlers): Only perform
2862 locking if the new do_locking argument is true.
2863 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
2864 __run_fork_handlers.
2865
2866 2019-02-08 Florian Weimer <fweimer@redhat.com>
2867
2868 [BZ #6399]
2869 Linux: Add gettid system call wrapper.
2870 * posix/Makefile (headers): Add bits/unistd_ext.h.
2871 * posix/bits/unistd_ext.h: New file.
2872 * posix/unistd.h: Include it.
2873 * manual/process.texi (Process Identification): Document gettid.
2874 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
2875 tst-gettid, tst-gettid-kill.
2876 (tst-gettid): Link with $(shared-thread-library).
2877 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
2878 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
2879 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
2880 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
2881 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
2882 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
2883 Add gettid.
2884 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
2885 Likewise.
2886 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
2887 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
2888 Likewise.
2889 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
2890 Likewise.
2891 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
2892 Likewise.
2893 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
2894 Likewise.
2895 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
2896 Likewise.
2897 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
2898 Likewise.
2899 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
2900 Likewise.
2901 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2902 (GLIBC_2.30): Likewise.
2903 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2904 (GLIBC_2.30): Likewise.
2905 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2906 (GLIBC_2.30): Likewise.
2907 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2908 (GLIBC_2.30): Likewise.
2909 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
2910 Likewise.
2911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2912 (GLIBC_2.30): Likewise.
2913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2914 (GLIBC_2.30): Likewise.
2915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
2916 (GLIBC_2.30): Likewise.
2917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
2918 (GLIBC_2.30): Likewise.
2919 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
2920 Likewise.
2921 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
2922 Likewise.
2923 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
2924 Likewise.
2925 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
2926 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
2927 Likewise.
2928 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
2929 Likewise.
2930 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
2931 Likewise.
2932 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
2933 Likewise.
2934 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
2935
2936 2019-02-08 Florian Weimer <fweimer@redhat.com>
2937
2938 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
2939 compatibility symbols.
2940
2941 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
2942
2943 [BZ #24180]
2944 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
2945 Add compiler barriers and comments.
2946
2947 2019-02-07 Florian Weimer <fweimer@redhat.com>
2948
2949 * include/array_length.h (array_length): Do not use a statement
2950 expression and _Static_assert, so that array_length can be used at
2951 file scope and as a constant expression.
2952
2953 2019-02-07 Florian Weimer <fweimer@redhat.com>
2954
2955 * support/xdlfcn.h (xdlmopen): Declare.
2956 * support/xdlmopen.c: New file.
2957 * support/Makefile (libsupport-routines): Add xdlmopen.
2958
2959 2019-02-06 Joseph Myers <joseph@codesourcery.com>
2960
2961 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
2962 before return type, without separate inline.
2963 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
2964 * elf/dl-tunables.h (tunable_is_name): Likewise.
2965 * malloc/malloc.c (do_set_trim_threshold): Likewise.
2966 (do_set_top_pad): Likewise.
2967 (do_set_mmap_threshold): Likewise.
2968 (do_set_mmaps_max): Likewise.
2969 (do_set_mallopt_check): Likewise.
2970 (do_set_perturb_byte): Likewise.
2971 (do_set_arena_test): Likewise.
2972 (do_set_arena_max): Likewise.
2973 (do_set_tcache_max): Likewise.
2974 (do_set_tcache_count): Likewise.
2975 (do_set_tcache_unsorted_limit): Likewise.
2976 * nis/nis_subr.c (count_dots): Likewise.
2977 * nptl/allocatestack.c (advise_stack_range): Likewise.
2978 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
2979 (do_sin): Likewise.
2980 (reduce_sincos): Likewise.
2981 (do_sincos): Likewise.
2982 * sysdeps/unix/sysv/linux/x86/elision-conf.c
2983 (do_set_elision_enable): Likewise.
2984 (TUNABLE_CALLBACK_FNDECL): Likewise.
2985
2986 2019-02-06 Florian Weimer <fweimer@redhat.com>
2987
2988 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
2989 (xdlsym): Use dlerror to detect a NULL symbol.
2990
2991 2019-02-06 Florian Weimer <fweimer@redhat.com>
2992
2993 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
2994 <stap-probe.h>.
2995 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2996
2997 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
2998
2999 * libio/tst-bz24153.c (wide): Use wide char format specifier.
3000
3001 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
3002
3003 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
3004 __wmemcmp and weak alias to wmemcmp.
3005
3006 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
3007
3008 [BZ #23403]
3009 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
3010 TLS_TCB_AT_TP tls variant.
3011 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
3012 Add alignment checks.
3013 * support/Makefile (libsupport-routines): Add xposix_memalign and
3014 xpthread_setstack.
3015 * support/support.h: Add xposix_memalign.
3016 * support/xthread.h: Add xpthread_attr_setstack.
3017 * support/xposix_memalign.c: New File.
3018 * support/xpthread_attr_setstack.c: Likewise.
3019
3020 2019-02-05 Florian Weimer <fweimer@redhat.com>
3021
3022 [BZ #24164]
3023 arm: Use "nr" constraint for Systemtap probes, to avoid the
3024 compiler using memory operands for constants, due to the "o"
3025 alternative in the default "nor" constraint.
3026 * include/stap-probe.h [USE_STAP_PROBE]: Include
3027 <stap-probe-machine.h>
3028 * sysdeps/generic/stap-probe-machine.h: New file.
3029 * sysdeps/arm/stap-probe-machine.h: Likewise.
3030
3031 2019-02-04 Joseph Myers <joseph@codesourcery.com>
3032
3033 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
3034 with 0, not tcache->entries[tc_idx].
3035
3036 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
3037 once.
3038
3039 2019-02-04 Andreas Schwab <schwab@suse.de>
3040
3041 [BZ #16976]
3042 [BZ #17396]
3043 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
3044 looking up collating elements match against (wide) character
3045 sequence instead of name. Correct alignment adjustment.
3046 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
3047 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
3048 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
3049 (LOCALES): Add cs_CZ.ISO-8859-2.
3050 * posix/tst-fnmatch4.c: New file.
3051 * posix/tst-fnmatch5.c: New file.
3052 * include/wchar.h (__wmemcmp): Declare.
3053 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
3054 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
3055 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
3056 * sysdeps/s390/wmemcmp.c: Likewise.
3057
3058 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
3059
3060 [BZ #24155]
3061 CVE-2019-7309
3062 * NEWS: Updated for CVE-2019-7309.
3063 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
3064 upper 32 bits of RDX register for x32. Use unsigned Jcc
3065 instructions, instead of signed.
3066 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
3067 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
3068
3069 2019-02-04 Florian Weimer <fweimer@redhat.com>
3070
3071 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
3072 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
3073 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
3074 Likewise.
3075 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
3076 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
3077 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
3078 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
3079 Likewise.
3080 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
3081 Likewise.
3082 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
3083 Likewise.
3084 (posix_spawn_file_actions_addopen): Likewise.
3085 (posix_spawn_file_actions_addclose): Likewise.
3086 (posix_spawn_file_actions_adddup2): Likewise.
3087 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
3088 qualifiers.
3089 (posix_spawn_file_actions_addfchdir_np): Likewise.
3090
3091 2019-02-04 David Newall <glibc@davidnewall.com>
3092
3093 elf: Implement --preload option for the dynamic linker.
3094 * elf/rtld.c (preloadarg): New variable.
3095 (handle_preload_list): Pass through “where” argument to
3096 do_preload.
3097 (dl_main): Handle "--preload" and add second call to
3098 handle_preload_list.
3099 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
3100 (tst-rtld-preload-OBJS): Set variable.
3101 (tst-rtld-preload.out): New target.
3102 * elf/tst-rtld-preload.sh: New file.
3103
3104 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
3105
3106 * Makefile (testrun.sh): Exit in case of incorrect argument.
3107
3108 2019-02-04 Florian Weimer <fweimer@redhat.com>
3109
3110 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
3111 alignment gaps.
3112
3113 2019-02-03 Florian Weimer <fweimer@redhat.com>
3114
3115 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
3116 implicit overflow checks.
3117
3118 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
3119
3120 * stdlib/isomac.c: Include <unistd.h>.
3121
3122 2019-02-03 Florian Weimer <fweimer@redhat.com>
3123
3124 * include/time.h (__tzfile_default): Use int, not long int, for
3125 the GMT offsets.
3126 * time/tzfile.c (struct ttinfo): Change type of the offset member
3127 to int.
3128 (__tzfile_read): Remove useless cast.
3129 (__tzfile_default): Adjust prototype.
3130 * time/tzset.c (tz_rule): Change type of the offset member to int.
3131 (parse_offset): Change the type of the sign variable to int.
3132
3133 2019-02-03 Florian Weimer <fweimer@redhat.com>
3134
3135 [BZ #24153]
3136 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
3137 * libio/getchar.c (getchar): Likewise.
3138 * libio/getchar_u.c (getchar_unlocked): Likewise.
3139 * libio/getwchar.c (getwchar): Likewise.
3140 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
3141 * libio/iogets.c (_IO_gets): Likewise.
3142 * libio/vscanf.c (_IO_vscanf): Likewise.
3143 * libio/vwscanf.c (__vwscanf): Likewise.
3144 * libio/tst-bz24153.c: New file.
3145 * libio/Makefile (tests): Add it.
3146
3147 2019-02-02 Florian Weimer <fweimer@redhat.com>
3148
3149 [BZ #14829]
3150 * manual/resource.texi (Basic Scheduling Functions): Add
3151 portability note. Change process to task throughout the section.
3152 Remove incorrect comment about sched_yield as it affects
3153 tasks/threads, not entire processes.
3154 * sysdeps/unix/sysv/linux/bits/posix_opt.h
3155 (_POSIX_PRIORITY_SCHEDULING): Update comment.
3156
3157 2019-02-01 Joseph Myers <joseph@codesourcery.com>
3158
3159 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
3160 * configure: Regenerated.
3161 * manual/install.texi (Tools for Compilation): Update minimum GCC
3162 version.
3163 * INSTALL: Regenerated.
3164
3165 2019-02-01 Florian Weimer <fweimer@redhat.com>
3166
3167 * support/support_test_compare_string.c
3168 (support_test_compare_string): Use "string" in error message.
3169 * support/tst-test_compare_string.c (do_test): Adjust.
3170
3171 2019-02-01 Florian Weimer <fweimer@redhat.com>
3172
3173 * support/support_format_address_family.c
3174 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
3175
3176 2019-02-01 Florian Weimer <fweimer@redhat.com>
3177
3178 * manual/socket.texi (Internet Address Formats): Clarify the byte
3179 order of struct sockaddr_in, struct sockaddr_in6. Document
3180 sin6_flowinfo and sin6_scope_id.
3181
3182 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
3183
3184 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
3185 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
3186 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
3187 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
3188 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
3189 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
3190
3191 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3192
3193 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
3194 [!MEMCHR](MEMCHR): Set to __memchr.
3195 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
3196 Add memchr_generic and memchr_nosimd.
3197 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
3198 (__libc_ifunc_impl_list): Add memchr ifuncs.
3199 * sysdeps/aarch64/multiarch/memchr.c: New file.
3200 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
3201 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
3202
3203 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3204
3205 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
3206 Add memset_emag.
3207 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
3208 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
3209 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
3210 Add IS_EMAG check for ifunc dispatch.
3211 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
3212 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
3213
3214 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3215
3216 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
3217 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
3218 Add emag.
3219 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
3220 New macro.
3221
3222 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
3223
3224 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
3225
3226 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
3227
3228 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
3229 syscall-template file.
3230
3231 2019-01-31 Carlos O'Donell <carlos@redhat.com>
3232 Torvald Riegel <triegel@redhat.com>
3233 Rik Prohaska <prohaska7@gmail.com>
3234
3235 [BZ# 23844]
3236 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
3237 tst-rwlock-trywrlock-stall.
3238 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3239 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
3240 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
3241 Set __wrphase_fute to 1 only if we started the write phase.
3242 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
3243 * nptl/tst-rwlock-trywrlock-stall.c: New file.
3244 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
3245 * support/xpthread_rwlock_destroy.c: New file.
3246 * support/xthread.h: Declare xpthread_rwlock_destroy.
3247
3248 2019-02-01 Joseph Myers <joseph@codesourcery.com>
3249
3250 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
3251 version to 4.0.2.
3252
3253 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
3254
3255 [BZ #24051]
3256 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
3257 * libio/fileops.c (_IO_new_file_underflow): Likewise
3258 * libio/wfileops.c (_IO_wfile_underflow): Likewise
3259 * libio/putchar.c (putchar): Likewise.
3260 * libio/putchar_u.c (putchar_unlocked): Likewise.
3261 * libio/putwchar.c (putchar): Likewise.
3262 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
3263 * libio/tst-bz24051.c: New test.
3264 * libio/Makefile (tests): Add tst-bz24051
3265
3266 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
3267
3268 CVE-2019-9169
3269 regex: fix read overrun [BZ #24114]
3270 Problem found by AddressSanitizer, reported by Hongxu Chen in:
3271 https://debbugs.gnu.org/34140
3272 * posix/regexec.c (proceed_next_node):
3273 Do not read past end of input buffer.
3274
3275 2019-01-31 Florian Weimer <fweimer@redhat.com>
3276
3277 [BZ #24059]
3278 * nss/nss_files/files-alias.c (get_next_alias): Handle
3279 continuation line without newline at the end.
3280 * nss/tst-nss-files-alias-truncated.c: New file.
3281 * nss/Makefile [$(build-shared)] (tests): Add
3282 tst-nss-files-alias-truncated.
3283 (tst-nss-files-alias-truncated): Link with libnss_files.so.
3284 * support/namespace.h (struct support_chroot_configuration): Add
3285 aliases member.
3286 (struct support_chroot): Add path_aliases member.
3287 * support/support_chroot.c (support_chroot_create): Handle
3288 aliases.
3289 (support_chroot_free): Free path_aliases.
3290
3291 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
3292
3293 * version.h (RELEASE): Set to "development".
3294 (VERSION): Set to "2.29.9000".
3295 * NEWS: Add section for 2.30.
3296
3297 * version.h (RELEASE): Set to "stable".
3298 (VERSION): Set to "2.29".
3299 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
3300
3301 * NEWS: Add the list of bugs fixed in 2.29.
3302 * manual/contrib.texi: Update contributors list with some more
3303 names.
3304 * manual/install.texi: Update latest versions of packages
3305 tested.
3306 * INSTALL: Regenerated.
3307
3308 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
3309
3310 * po/be.po: Update translations.
3311 * po/bg.po: Likewise.
3312 * po/ca.po: Likewise.
3313 * po/cs.po: Likewise.
3314 * po/da.po: Likewise.
3315 * po/de.po: Likewise.
3316 * po/el.po: Likewise.
3317 * po/eo.po: Likewise.
3318 * po/es.po: Likewise.
3319 * po/fi.po: Likewise.
3320 * po/fr.po: Likewise.
3321 * po/gl.po: Likewise.
3322 * po/hr.po: Likewise.
3323 * po/hu.po: Likewise.
3324 * po/ia.po: Likewise.
3325 * po/id.po: Likewise.
3326 * po/it.po: Likewise.
3327 * po/ja.po: Likewise.
3328 * po/ko.po: Likewise.
3329 * po/lt.po: Likewise.
3330 * po/nb.po: Likewise.
3331 * po/nl.po: Likewise.
3332 * po/pl.po: Likewise.
3333 * po/pt_BR.po: Likewise.
3334 * po/ru.po: Likewise.
3335 * po/rw.po: Likewise.
3336 * po/sk.po: Likewise.
3337 * po/sl.po: Likewise.
3338 * po/sv.po: Likewise.
3339 * po/tr.po: Likewise.
3340 * po/uk.po: Likewise.
3341 * po/vi.po: Likewise.
3342 * po/zh_CN.po: Likewise.
3343 * po/zh_TW.po: Likewise.
3344
3345 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
3346
3347 [BZ #24130]
3348 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
3349 of $f3 register on $y_is_neg path.
3350
3351 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
3352
3353 [BZ #24110]
3354 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
3355 sigaltstack.ss_flags.
3356
3357 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
3358
3359 [BZ #23758]
3360 * manual/time.texi (strftime): Document "%Ey".
3361 * time/strftime_l.c (__strftime_internal): Set the default width
3362 padding with zero of "%Ey" to 2.
3363
3364 [BZ #24096]
3365 * manual/time.texi (strftime): Document "%EC" and "%EY".
3366 * time/Makefile (tests): Add tst-strftime2.
3367 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
3368 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
3369 override padding for "%Ey".
3370 If an optional flag ('_' or '-') is specified to "%EY", interpret the
3371 "%Ey" in the subformat as if decorated with that flag.
3372 * time/tst-strftime2.c: New file.
3373
3374 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3375
3376 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
3377 are not defined.
3378
3379 [BZ #24122]
3380 * elf/Makefile (tests): Add tst-audit13.
3381 (modules-names): Add tst-audit13mod1.
3382 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
3383 rule.
3384 * elf/rtld.c (dl_main): Handle invalid audit module version.
3385 * elf/tst-audit13.c: New file.
3386 * elf/tst-audit13mod1.c: Likewise.
3387
3388 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
3389
3390 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
3391 returned by __hurd_at_flags.
3392 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
3393 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
3394 directly instead of __hurd_file_name_lookup.
3395
3396 2019-01-21 Joseph Myers <joseph@codesourcery.com>
3397
3398 * scripts/build-many-glibcs.py (Context.checkout): Default
3399 binutils version to 2.32 branch.
3400
3401 2019-01-21 Florian Weimer <fweimer@redhat.com>
3402
3403 [BZ #20018]
3404 CVE-2016-10739
3405 resolv: Reject trailing characters in host names
3406 * include/arpa/inet.h (__inet_aton_exact): Declare.
3407 (inet_aton): Remove hidden prototype. No longer used internally.
3408 * nscd/gai.c (__inet_aton): Do not define.
3409 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
3410 * nss/digits_dots.c (__inet_aton): Likewise.
3411 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
3412 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
3413 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
3414 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
3415 (tst-resolv-trailing): Likewise.
3416 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
3417 libc.
3418 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
3419 Make static. Add endp parameter.
3420 (__inet_aton_exact): New function.
3421 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
3422 (__inet_addr): Call inet_aton_end.
3423 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
3424 not just IPv6. Call __inet_aton_exact.
3425 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
3426 (tests): Make const. Add additional test cases with trailing
3427 characters.
3428 (do_test): Use array_length.
3429 * resolv/tst-inet_aton_exact.c: New file.
3430 * resolv/tst-resolv-trailing.c: Likewise.
3431 * resolv/tst-resolv-nondecimal.c: Likewise.
3432 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
3433
3434 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3435
3436 [BZ# 24097]
3437 CVE-2019-6488
3438 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
3439 Clear the upper 32 bits of RSI register.
3440 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
3441 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
3442 and tst-size_t-wcsnlen.
3443 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
3444 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
3445
3446 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3447
3448 [BZ# 24097]
3449 CVE-2019-6488
3450 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
3451 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3452 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3453 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
3454 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
3455
3456 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3457
3458 [BZ# 24097]
3459 CVE-2019-6488
3460 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
3461 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3462 * sysdeps/x86_64/strcmp.S: Likewise.
3463 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
3464 tst-size_t-strncmp and tst-size_t-wcsncmp.
3465 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
3466 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
3467 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
3468
3469 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3470
3471 [BZ# 24097]
3472 CVE-2019-6488
3473 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
3474 RDX_LP for length. Clear the upper 32 bits of RDX register.
3475 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
3476 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
3477 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
3478 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
3479
3480 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3481
3482 [BZ# 24097]
3483 CVE-2019-6488
3484 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
3485 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
3486 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
3487 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
3488
3489 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3490
3491 [BZ# 24097]
3492 CVE-2019-6488
3493 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
3494 length. Clear the upper 32 bits of RDX register.
3495 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3496 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
3497 Likewise.
3498 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
3499 Likewise.
3500 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
3501 tst-size_t-wmemchr.
3502 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
3503
3504 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3505
3506 [BZ# 24097]
3507 CVE-2019-6488
3508 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
3509 length. Clear the upper 32 bits of RDX register.
3510 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3511 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3512 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
3513 tst-size_t-wmemcmp.
3514 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
3515 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
3516
3517 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3518
3519 [BZ# 24097]
3520 CVE-2019-6488
3521 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
3522 upper 32 bits of RDX register.
3523 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
3524 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
3525 tst-size_t-wmemchr.
3526 * sysdeps/x86_64/x32/test-size_t.h: New file.
3527 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
3528 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
3529
3530 2019-01-18 Florian Weimer <fweimer@redhat.com>
3531
3532 [BZ #24112]
3533 resolv: Do not send queries for non-host-names in nss_dns.
3534 * resolv/nss_dns/dns-host.c (check_name): New function.
3535 (_nss_dns_gethostbyname2_r): Use it.
3536 (_nss_dns_gethostbyname_r): Likewise.
3537 (_nss_dns_gethostbyname4_r): Likewise.
3538
3539 2019-01-21 Florian Weimer <fweimer@redhat.com>
3540
3541 * resolv/inet_addr.c: Reformat to GNU style.
3542 (__inet_addr, __inet_aton): Update comment.
3543
3544 2019-01-18 Florian Weimer <fweimer@redhat.com>
3545
3546 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
3547 ("malloc: Use current (C11-style) atomics for fastbin access").
3548 This commit introduces a substantial performance regression on
3549 POWER and Aarch64.
3550 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
3551 (REMOVE_FB): Define.
3552 (_int_malloc): Use it and reindent.
3553 (_int_free): Use CAS loop with
3554 catomic_compare_and_exchange_val_rel.
3555 (malloc_consolidate): Use atomic_exchange_acq.
3556
3557
3558 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
3559
3560 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
3561 -Wl,-z,now.
3562 (LDFLAGS-tst-minsigstksz-2): Likewise.
3563 (LDFLAGS-tst-minsigstksz-3): Likewise.
3564 (LDFLAGS-tst-minsigstksz-3a): Likewise.
3565 (LDFLAGS-tst-minsigstksz-4): Likewise.
3566
3567 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
3568
3569 * manual/time.texi (strftime): Fix the wording to "alternative" rather
3570 than "alternate".
3571
3572 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
3573
3574 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
3575
3576 2019-01-16 Zack Weinberg <zackw@panix.com>
3577
3578 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
3579 (xget_sigstack_location): New test support functions.
3580 * support/xsigstack.c: New file, implementing them.
3581 * support/tst-xsigstack.c: New test for them.
3582 * support/Makefile: Update.
3583
3584 * signal/tst-minsigstksz-1.c
3585 * signal/tst-minsigstksz-2.c
3586 * signal/tst-minsigstksz-3.c
3587 * signal/tst-minsigstksz-3a.c
3588 * signal/tst-minsigstksz-4.c: New tests.
3589 * signal/Makefile: Run them.
3590
3591 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
3592
3593 * po/libc.pot: Regenerate.
3594
3595 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3596
3597 * math/libm-test-fma.inc (fma_test_data): Set
3598 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
3599
3600 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
3601
3602 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
3603 (do_test): Changed __vector __int128_t to __vector unsigned int.
3604
3605 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3606
3607 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3608 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
3609 stpcpy-avx2 and stpncpy-avx2.
3610 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
3611 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
3612 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
3613 and __stpncpy_avx2.
3614 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
3615 ifunc-strcpy.h}: rename header for a more generic name.
3616 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
3617 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
3618 AVX unaligned load is fast and vzeroupper is preferred.
3619 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
3620 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
3621 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
3622 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
3623 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
3624 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
3625
3626 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
3627
3628 * argp/argp-help.c: Fix typo in comment.
3629 * misc/sys/cdefs.h: Likewise.
3630 * posix/regexec.c (sift_states_iter_mb): Likewise.
3631 * socket/sockatmark.c: Likewise.
3632 * socket/sys/socket.h: Likewise.
3633 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
3634 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
3635 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
3636 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3637 * sysdeps/unix/sockatmark.c: Likewise.
3638 * time/strptime_l.c: Likewise.
3639
3640 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
3641
3642 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
3643 missing space after the cast of "_NL_CURRENT".
3644
3645 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
3646
3647 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
3648 ifdef to fix read of VSCR.
3649 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
3650 tst-ucontext-ppc64-vscr.c to test list.
3651 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
3652
3653 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
3654
3655 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
3656 fall-through.
3657
3658 2019-01-09 Jim Wilson <jimw@sifive.com>
3659
3660 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
3661
3662 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
3663
3664 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
3665 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
3666 __memcpy_falkor for ares.
3667 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
3668 Add new define.
3669 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
3670 Add ares cpu.
3671
3672 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
3673
3674 [BZ #24066]
3675 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
3676 4_FP_W_TYPEs are used for IEEE quad precision.
3677 * soft-fp/extendhftf2.c: Likewise.
3678 * soft-fp/extendsftf2.c: Likewise.
3679 * soft-fp/extendxftf2.c: Likewise.
3680 * soft-fp/trunctfdf2.c: Likewise.
3681 * soft-fp/trunctfhf2.c: Likewise.
3682 * soft-fp/trunctfsf2.c: Likewise.
3683 * soft-fp/trunctfxf2.c: Likewise.
3684 * sysdeps/alpha/ots_cvttx.c: Likewise.
3685 * sysdeps/alpha/ots_cvtxt.c: Likewise.
3686 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
3687 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
3688 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
3689 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
3690 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
3691 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
3692 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
3693 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
3694 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
3695 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
3696 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
3697 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
3698 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
3699 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
3700 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
3701 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
3702
3703 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
3704
3705 [BZ #24024]
3706 * Makeconfig: Build libm with -fno-math-errno but build the remaining
3707 code with -fmath-errno.
3708 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
3709 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
3710 * string/test-strerror-errno.c: New file.
3711
3712 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
3713
3714 [BZ #24046]
3715 * localedata/locales/en_US (date_fmt): Add, set to
3716 "%a %d %b %Y %r %Z".
3717
3718 2019-01-07 Florian Weimer <fweimer@redhat.com>
3719
3720 [BZ #24063]
3721 * manual/arith.texi (Math Error Reporting): Use @code{errno}
3722 instead of @var{errno}.
3723 (Parsing of Integers): Likewise.
3724 (Parsing of Floats): Likewise.
3725 * manual/filesys.texi (Working with Directory Trees): Likewise.
3726 (Temporary Files): Likewise.
3727 * manual/job.texi (Terminal Access Functions): Likewise.
3728 * manual/llio.texi (Synchronizing I/O): Likewise.
3729 * manual/math.texi (SVID Random): Likewise.
3730 * manual/message.texi (The catgets Functions): Likewise.
3731 (Translation with gettext): Likewise.
3732 (Locating gettext catalog): Likewise.
3733 (Charset conversion in gettext): Likewise.
3734 * manual/nss.texi (NSS Module Function Internals): Likewise.
3735 * manual/search.texi (Hash Search Function): Likewise.
3736 * manual/setjmp.texi (System V contexts): Likewise.
3737 * manual/time.texi (Sleeping): Likewise.
3738 * manual/users.texi (Lookup User): Likewise.
3739 (Lookup Group): Likewise.
3740
3741 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3742
3743 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
3744 fix typo.
3745
3746 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
3747
3748 [BZ #19444]
3749 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
3750 __builtin_unreachable for default case in switch.
3751 (__ieee754_yn): Likewise.
3752 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3753 (__ieee754_ynl): Likewise.
3754 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3755 (__ieee754_ynl): Likewise.
3756 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3757 (__ieee754_ynl): Likewise.
3758
3759 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
3760
3761 * manual/maint.texi: Use @{ and @}.
3762
3763 2019-01-04 Florian Weimer <fweimer@redhat.com>
3764
3765 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
3766 function.
3767 (do_in_chroot_1): Call it.
3768 (run_chroot_tests):
3769 Improve error reporting in case it is not possible to create a
3770 collision for the PTY name required by the test.
3771
3772 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3773
3774 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
3775 lll_wait_tid with timeout.
3776 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
3777 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
3778 futex_reltimed_wait_cancelable for cancelabla mode.
3779 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
3780 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
3781 macros.
3782 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
3783 * sysdeps/posix/waitid.c (__sigwait): Likewise.
3784 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
3785 SYSCALL_CANCEL_NCS): New macro.
3786 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
3787 (lll_timedwait_tid): Remove macro.
3788 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
3789 Likewise.
3790 (lll_timedwait_tid): Likewise.
3791 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
3792 Likewise.
3793 (lll_timedwait_tid): Likewise.
3794 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
3795 Likewise.
3796 (lll_timedwait_tid): Likewise.
3797 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
3798 Use INTERNAL_SYSCALL_CANCEL.
3799 * sysdeps/unix/sysv/linux/futex-internal.h
3800 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
3801 instead of __pthread_{enable,disable}_asynccancel.
3802 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
3803 (lll_futex_wait_cancel): New macro.
3804
3805 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
3806 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
3807
3808 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
3809 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
3810
3811 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
3812 in backtrace analysis.
3813 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
3814 side-effects.
3815 (tf_send): Likewise.
3816
3817 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
3818 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
3819 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
3820 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
3821 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
3822 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
3823 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
3824 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
3825 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
3826 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
3827 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
3828 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
3829 Likewise.
3830 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
3831 tst-cancel-wrappers.sh.
3832 (generated): Remove tst-cancel-wrappers.out.
3833 (tst-cancel-wrappers.out): Remove rule.
3834 * nptl/tst-cancel-wrappers.sh: Remove file.
3835
3836 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
3837
3838 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
3839 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
3840 Update.
3841
3842 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3843
3844 [BZ #23640]
3845 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
3846 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
3847 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
3848 close-on-exec reset for adddup2 file action.
3849 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
3850
3851 2019-01-03 Zack Weinberg <zackw@panix.com>
3852
3853 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
3854 parameter. Only use deprecated scanf when __USE_GNU is defined
3855 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
3856 than 201103L, whichever is relevant for the language being compiled.
3857
3858 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
3859 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
3860 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
3861 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
3862 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
3863
3864 * libio/iovsscanf.c
3865 * libio/fwscanf.c
3866 * libio/iovswscanf.c
3867 * libio/swscanf.c
3868 * libio/vscanf.c
3869 * libio/vwscanf.c
3870 * libio/wscanf.c
3871 * stdio-common/fscanf.c
3872 * stdio-common/scanf.c
3873 * stdio-common/vfscanf.c
3874 * stdio-common/vfwscanf.c
3875 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
3876 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
3877 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
3878 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
3879 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
3880 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
3881 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
3882 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
3883 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
3884 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
3885 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
3886 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
3887 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
3888 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
3889 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
3890
3891 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
3892 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
3893 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
3894 not sscanf.
3895 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
3896 with a preprocessor macro.
3897
3898 * stdio-common/bug21.c, stdio-common/scanf14.c:
3899 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
3900 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
3901 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
3902 to xscanf, xfscanf, xsscanf.
3903
3904 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
3905 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
3906 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
3907 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
3908 xfscanf, xsscanf.
3909 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
3910 override feature selection macros or provide definitions of u_char etc.
3911 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
3912 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
3913 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
3914 with -std=gnu89.
3915
3916 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3917
3918 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3919 bits/termios-misc.h.
3920 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
3921 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3922 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3923 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3924 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
3925 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
3926
3927 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
3928 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
3929 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
3930 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
3931 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
3932 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
3933 termios-misc.h.
3934 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
3935 (sysdep_headers): Add termios-misc.h.
3936
3937 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
3938 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3939 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3940
3941 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3942 termios-tcflow.h.
3943 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
3944 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
3945 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
3946 TCSAFLUSH): Move to termios-tcflow.h.
3947 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3948 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3949 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3950 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3951
3952 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3953 termios-c_lflag.h.
3954 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
3955 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
3956 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
3957 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
3958 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
3959 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
3960 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
3961 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
3962 Likewise.
3963 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3964 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3965 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3966 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3967
3968 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3969 termios-c_cflag.h.
3970 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
3971 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
3972 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
3973 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
3974 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
3975 termios-c_cflag.h.
3976 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3977 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3978 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3979 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3980
3981 [BZ #23783]
3982 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3983 termios-baud.h.
3984 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
3985 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
3986 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
3987 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
3988 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
3989 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
3990 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
3991 __MAX_BAUD): Move to termios-baud.h.
3992 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
3993 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
3994 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3995 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3996 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3997
3998 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
3999 termios-c_oflag.h.
4000 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
4001 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
4002 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
4003 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
4004 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
4005 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
4006 termios-c_oflag.h.
4007 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
4008 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
4009 FFR1): Likewise.
4010 [USE_MISC] (XTABS): Likewise.
4011 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4012 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4013 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4014 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
4015
4016 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
4017 termios-c_iflag.h.
4018 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
4019 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
4020 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
4021 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
4022 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
4023 IUTF8): Move to termios-c_iflag.h.
4024 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4025 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4026 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4027 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4028
4029 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
4030 termios-cc.h.
4031 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
4032 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
4033 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
4034 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
4035 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
4036 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
4037 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
4038 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
4039 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4040 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4041 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4042 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4043
4044 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
4045 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
4046 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
4047 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
4048 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4049 termios-struct.h.
4050 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
4051 termios-struct.h.
4052 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
4053 Likewise.
4054 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
4055 Likewise.
4056 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
4057 Likewise.
4058 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
4059 Likewise.
4060 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
4061 _HAVE_C_OSPEED): Define.
4062 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
4063 _HAVE_C_OSPEED): Likewise.
4064 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
4065 _HAVE_C_OSPEED): Likewise.
4066 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
4067 (cfsetospeed): Check for define value instead of existence.
4068 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
4069 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
4070 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
4071 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
4072 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
4073
4074 [BZ #17783]
4075 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
4076 Define.
4077 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
4078 (TIOCSER_TEMT): Likewise.
4079 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
4080 (TEOCSER_TEMT): Likewise.
4081
4082 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
4083
4084 [BZ #24011]
4085 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
4086
4087 2019-01-02 Joseph Myers <joseph@codesourcery.com>
4088
4089 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
4090
4091 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
4092
4093 * sysdeps/htl/pt-barrierattr-setpshared.c
4094 (pthread_barrierattr_setpshared): Add stub warning.
4095 * sysdeps/htl/pt-condattr-setpshared.c
4096 (pthread_condattr_setpshared): Likewise.
4097 * sysdeps/htl/pt-mutexattr-setpshared.c
4098 (pthread_mutexattr_setpshared): Likewise.
4099 * sysdeps/htl/pt-rwlockattr-setpshared.c
4100 (pthread_rwlockattr_setpshared): Likewise.
4101 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
4102 (pthread_mutexattr_setpshared): Likewise.
4103
4104 2019-01-02 Joseph Myers <joseph@codesourcery.com>
4105
4106 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
4107 constants to match with Linux 4.20.
4108
4109 * sysdeps/mips/mips32/libm-test-ulps: Update.
4110 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4111
4112 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
4113
4114 [BZ #24034]
4115 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
4116 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
4117 than __typeof (...) for the a_ptr variable.
4118
4119 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4120
4121 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
4122 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
4123 * libio/Makefile (tests): Add tst-sprintf-ub and
4124 tst-sprintf-chk-ub.
4125 (CFLAGS-tst-sprintf-ub.c): New variable.
4126 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
4127 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
4128 destination buffer and check for overflows in fortified mode.
4129 * libio/libioP.h (PRINTF_CHK): New macro.
4130 * libio/tst-sprintf-chk-ub.c: New file.
4131 * libio/tst-sprintf-ub.c: Likewise.
4132
4133 2019-01-02 Florian Weimer <fweimer@redhat.com>
4134
4135 [BZ #24018]
4136 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
4137 failure.
4138
4139 2019-01-02 Florian Weimer <fweimer@redhat.com>
4140
4141 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
4142
4143 2019-01-01 Joseph Myers <joseph@codesourcery.com>
4144
4145 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
4146 macro.
4147
4148 * sysdeps/unix/sysv/linux/netpacket/packet.h
4149 (PACKET_IGNORE_OUTGOING): New macro.
4150
4151 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
4152 macro.
4153
4154 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4155 version to 4.20.
4156 (riscv_flush_icache): New syscall.
4157
4158 * manual/texinfo.tex: Update to version 2018-12-28.17 with
4159 trailing whitespace removed.
4160 * scripts/config.guess: Update to version 2019-01-01.
4161 * scripts/config.sub: Update to version 2019-01-01.
4162 * scripts/move-if-change: Update from gnulib.
4163
4164 * NEWS: Update copyright dates.
4165 * catgets/gencat.c (print_version): Likewise.
4166 * csu/version.c (banner): Likewise.
4167 * debug/catchsegv.sh: Likewise.
4168 * debug/pcprofiledump.c (print_version): Likewise.
4169 * debug/xtrace.sh (do_version): Likewise.
4170 * elf/ldconfig.c (print_version): Likewise.
4171 * elf/ldd.bash.in: Likewise.
4172 * elf/pldd.c (print_version): Likewise.
4173 * elf/sotruss.sh: Likewise.
4174 * elf/sprof.c (print_version): Likewise.
4175 * iconv/iconv_prog.c (print_version): Likewise.
4176 * iconv/iconvconfig.c (print_version): Likewise.
4177 * locale/programs/locale.c (print_version): Likewise.
4178 * locale/programs/localedef.c (print_version): Likewise.
4179 * login/programs/pt_chown.c (print_version): Likewise.
4180 * malloc/memusage.sh (do_version): Likewise.
4181 * malloc/memusagestat.c (print_version): Likewise.
4182 * malloc/mtrace.pl: Likewise.
4183 * manual/libc.texinfo: Likewise.
4184 * nptl/version.c (banner): Likewise.
4185 * nscd/nscd.c (print_version): Likewise.
4186 * nss/getent.c (print_version): Likewise.
4187 * nss/makedb.c (print_version): Likewise.
4188 * posix/getconf.c (main): Likewise.
4189 * scripts/test-installation.pl: Likewise.
4190 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
4191
4192 * All files with FSF copyright notices: Update copyright dates
4193 using scripts/update-copyrights.
4194 * locale/programs/charmap-kw.h: Regenerated.
4195 * locale/programs/locfile-kw.h: Likewise.
4196
4197 2018-12-31 Joseph Myers <joseph@codesourcery.com>
4198
4199 * timezone/zdump.c: Update from tzcode 2018i.
4200 * timezone/zic.c: Likewise.
4201
4202 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
4203
4204 regex: improve Gnulib port to AIX
4205 From the glibc point of view, this removes duplicate macro
4206 definitions and is obviously safe.
4207 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
4208 * posix/regex_internal.h:
4209 (__attribute__, __attribute_warn_unused_result__):
4210 Remove; already defined elsewhere.
4211
4212 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
4213
4214 [BZ #24027]
4215 * malloc/malloc.c (_int_realloc): Always call memcpy for the
4216 copying operation. (ncopies had the wrong type, resulting in an
4217 integer wraparound and too few elements being copied.)
4218
4219 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
4220
4221 [BZ #24022]
4222 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
4223 <asm/syscalls.h> exists with __has_include__ before including it.
4224
4225 2018-12-31 Joseph Myers <joseph@codesourcery.com>
4226
4227 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4228 version to 4.20.
4229
4230 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
4231
4232 * hurd/lookup-retry: Include <unistd.h>.
4233 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
4234 Release it on return. Handle "pid" magical lookup retry.
4235
4236 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
4237
4238 [BZ #10496]
4239 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
4240 (t_fmt_ampm): Likewise.
4241 * localedata/locales/aa_ER (t_fmt): Likewise.
4242 (t_fmt_ampm): Likewise.
4243 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
4244 (t_fmt_ampm): Likewise.
4245 * localedata/locales/aa_ET (t_fmt): Likewise.
4246 (t_fmt_ampm): Likewise.
4247 * localedata/locales/am_ET (t_fmt): Likewise.
4248 (t_fmt_ampm): Likewise.
4249 * localedata/locales/byn_ER (t_fmt): Likewise.
4250 (t_fmt_ampm): Likewise.
4251 * localedata/locales/om_ET (t_fmt): Likewise.
4252 (t_fmt_ampm): Likewise.
4253 * localedata/locales/sid_ET (t_fmt): Likewise.
4254 (t_fmt_ampm): Likewise.
4255 * localedata/locales/so_DJ (t_fmt): Likewise.
4256 (t_fmt_ampm): Likewise.
4257 * localedata/locales/so_ET (t_fmt): Likewise.
4258 (t_fmt_ampm): Likewise.
4259 * localedata/locales/so_SO (t_fmt): Likewise.
4260 (t_fmt_ampm): Likewise.
4261 * localedata/locales/ti_ER (t_fmt): Likewise.
4262 (t_fmt_ampm): Likewise.
4263 * localedata/locales/ti_ET (t_fmt): Likewise.
4264 (t_fmt_ampm): Likewise.
4265 * localedata/locales/tig_ER (t_fmt): Likewise.
4266 (t_fmt_ampm): Likewise.
4267 * localedata/locales/wal_ET (t_fmt): Likewise.
4268 (t_fmt_ampm): Likewise.
4269
4270 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
4271 * localedata/locales/ar_IN (t_fmt): Likewise.
4272 * localedata/locales/bhb_IN (t_fmt): Likewise.
4273 * localedata/locales/bho_IN (t_fmt): Likewise.
4274 * localedata/locales/bi_VU (t_fmt): Likewise.
4275 * localedata/locales/bn_BD (t_fmt): Likewise.
4276 * localedata/locales/bn_IN (t_fmt): Likewise.
4277 * localedata/locales/brx_IN (t_fmt): Likewise.
4278 * localedata/locales/doi_IN (t_fmt): Likewise.
4279 * localedata/locales/en_HK (t_fmt): Likewise.
4280 (t_fmt_ampm): Likewise.
4281 * localedata/locales/en_IN (t_fmt): Likewise.
4282 * localedata/locales/en_PH (t_fmt): Likewise.
4283 * localedata/locales/gu_IN (t_fmt): Likewise.
4284 * localedata/locales/hi_IN (t_fmt): Likewise.
4285 * localedata/locales/hif_FJ (t_fmt): Likewise.
4286 * localedata/locales/hne_IN (t_fmt): Likewise.
4287 * localedata/locales/kn_IN (t_fmt): Likewise.
4288 * localedata/locales/kok_IN (t_fmt): Likewise.
4289 * localedata/locales/ks_IN (t_fmt): Likewise.
4290 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
4291 * localedata/locales/mag_IN (t_fmt): Likewise.
4292 * localedata/locales/mai_IN (t_fmt): Likewise.
4293 * localedata/locales/mjw_IN (t_fmt): Likewise.
4294 * localedata/locales/ml_IN (t_fmt): Likewise.
4295 * localedata/locales/mni_IN (t_fmt): Likewise.
4296 * localedata/locales/mr_IN (t_fmt): Likewise.
4297 * localedata/locales/ms_MY (t_fmt): Likewise.
4298 * localedata/locales/pa_IN (t_fmt): Likewise.
4299 * localedata/locales/raj_IN (t_fmt): Likewise.
4300 * localedata/locales/sa_IN (t_fmt): Likewise.
4301 * localedata/locales/sat_IN (t_fmt): Likewise.
4302 * localedata/locales/sd_IN (t_fmt): Likewise.
4303 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
4304 * localedata/locales/tcy_IN (t_fmt): Likewise.
4305 * localedata/locales/the_NP (t_fmt): Likewise.
4306 * localedata/locales/to_TO (t_fmt): Likewise.
4307 * localedata/locales/ur_IN (t_fmt): Likewise.
4308
4309 * localedata/locales/hif_FJ (d_t_fmt): Set to
4310 "%A %d %b %Y %I:%M:%S %p".
4311 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
4312
4313 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
4314 * localedata/locales/ar_BH (t_fmt): Likewise.
4315 * localedata/locales/ar_DZ (t_fmt): Likewise.
4316 * localedata/locales/ar_EG (t_fmt): Likewise.
4317 * localedata/locales/ar_IQ (t_fmt): Likewise.
4318 * localedata/locales/ar_JO (t_fmt): Likewise.
4319 * localedata/locales/ar_KW (t_fmt): Likewise.
4320 * localedata/locales/ar_LB (t_fmt): Likewise.
4321 * localedata/locales/ar_LY (t_fmt): Likewise.
4322 * localedata/locales/ar_OM (t_fmt): Likewise.
4323 * localedata/locales/ar_QA (t_fmt): Likewise.
4324 * localedata/locales/ar_SD (t_fmt): Likewise.
4325 * localedata/locales/ar_SS (t_fmt): Likewise.
4326 * localedata/locales/ar_SY (t_fmt): Likewise.
4327 * localedata/locales/ar_TN (t_fmt): Likewise.
4328 * localedata/locales/ar_YE (t_fmt): Likewise.
4329
4330 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
4331 (t_fmt_ampm): Likewise.
4332 * localedata/locales/gez_ET (t_fmt): Likewise.
4333 (t_fmt_ampm): Likewise.
4334
4335 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
4336 (t_fmt_ampm): Likewise.
4337 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
4338
4339 * localedata/locales/zh_HK (t_fmt):
4340 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
4341
4342 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
4343 because this locale does not use the 12-hour clock.
4344 (t_fmt): Set to "%Z %H:%M:%S".
4345 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
4346
4347 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
4348 because this locale does not use the 12-hour clock.
4349 (t_fmt): Set to "%H:%M:%S %Z".
4350 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
4351
4352 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
4353 because this locale does not use the 12-hour clock.
4354 (t_fmt): Set to "%T".
4355 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
4356 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
4357
4358 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
4359 because this locale does not use the 12-hour clock.
4360 (t_fmt): Set to "%H:%M:%S %Z".
4361 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
4362
4363 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
4364 because this locale does not use the 12-hour clock.
4365 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
4366 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
4367
4368 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
4369
4370 [BZ #10496]
4371 [BZ #23724]
4372 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
4373 (t_fmt_ampm): Likewise.
4374 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
4375 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
4376 (d_fmt): Set to "%-d.%-m.%y".
4377
4378 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4379
4380 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
4381 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
4382 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
4383 Likewise.
4384 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
4385 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
4386 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
4387 function.
4388 * support/blob_repeat.c (check_mul_overflow_size_t,
4389 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
4390
4391 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
4392
4393 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
4394
4395 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
4396
4397 regex: simplify Gnulib port
4398 This simplifies the code, by removing stuff intended for porting
4399 to Gnulib but no longer needed there.
4400 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
4401 uses of libc_hidden_def, weak_alias.
4402 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
4403 _Restrict_ except for public-facing headers.
4404 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
4405 Remove; already defined elsewhere.
4406 * posix/regex.c, posix/regex_internal.h:
4407 Use __GNUC_PREREQ instead of rolling our own.
4408 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
4409
4410 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
4411
4412 * benchtests/bench-strlen.c (generic_strlen): New function.
4413 (memchr_strlen): New function.
4414
4415 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4416
4417 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
4418 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
4419 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
4420
4421 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4422
4423 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4424
4425 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4426
4427 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
4428 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
4429 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
4430 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
4431 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
4432 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
4433 <sysdeps/ieee754/flt-32/s_sincosf.c>.
4434
4435 2018-12-21 Joseph Myers <joseph@codesourcery.com>
4436
4437 [BZ #24023]
4438 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
4439 PLT reference in libc.so.
4440 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
4441 _Q_lltoq and _Q_qtod PLT references in libc.so.
4442
4443 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
4444
4445 * benchtests/bench-memchr.c: Cleanup defines.
4446 * benchtests/bench-memcmp.c: Likewise.
4447 * benchtests/bench-memset.c: Likewise.
4448 * benchtests/bench-memset-large.c: Likewise.
4449 * benchtests/bench-memset-walk.c: Likewise.
4450 * benchtests/bench-stpcpy.c: Likewise.
4451 * benchtests/bench-stpncpy.c: Likewise.
4452 * benchtests/bench-strcat.c: Likewise.
4453 * benchtests/bench-strchr.c: Likewise.
4454 * benchtests/bench-strcmp.c: Likewise.
4455 * benchtests/bench-strcpy.c: Likewise.
4456 * benchtests/bench-strcspn.c: Likewise.
4457 * benchtests/bench-string.h: Likewise.
4458 * benchtests/bench-strlen.c: Likewise.
4459 * benchtests/bench-strncat.c: Likewise.
4460 * benchtests/bench-strncmp.c: Likewise.
4461 * benchtests/bench-strncpy.c: Likewise.
4462 * benchtests/bench-strnlen.c: Likewise.
4463 * benchtests/bench-strpbrk.c: Likewise.
4464 * benchtests/bench-strrchr.c: Likewise.
4465 * benchtests/bench-strspn.c: Likewise.
4466
4467 2018-12-21 Joseph Myers <joseph@codesourcery.com>
4468
4469 * stdlib/longlong.h: Update from GCC.
4470
4471 [BZ #23993]
4472 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
4473 * configure: Regenerated.
4474 * manual/install.texi (Tools for Compilation): Update minimum GCC
4475 version.
4476 * INSTALL: Regenerated.
4477
4478 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
4479
4480 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
4481
4482 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
4483
4484 * malloc/malloc.c (mremap_chunk): Additional checks.
4485
4486 2018-12-21 Mao Han <han_mao@c-sky.com>
4487
4488 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
4489 * scripts/build-many-glibcs.py: Add C-SKY targets.
4490 * sysdeps/csky/Implies: New file.
4491 * sysdeps/csky/Makefile: Likewise.
4492 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
4493 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
4494 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
4495 * sysdeps/csky/abiv2/memcmp.S: Likewise.
4496 * sysdeps/csky/abiv2/memcpy.S: Likewise.
4497 * sysdeps/csky/abiv2/memmove.S: Likewise.
4498 * sysdeps/csky/abiv2/memset.S: Likewise.
4499 * sysdeps/csky/abiv2/setjmp.S: Likewise.
4500 * sysdeps/csky/abiv2/start.S: Likewise.
4501 * sysdeps/csky/abiv2/strcmp.S: Likewise.
4502 * sysdeps/csky/abiv2/strcpy.S: Likewise.
4503 * sysdeps/csky/abiv2/strlen.S: Likewise.
4504 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
4505 * sysdeps/csky/abort-instr.h: Likewise.
4506 * sysdeps/csky/atomic-machine.h: Likewise.
4507 * sysdeps/csky/bits/endian.h: Likewise.
4508 * sysdeps/csky/bits/fenv.h: Likewise.
4509 * sysdeps/csky/bits/link.h: Likewise.
4510 * sysdeps/csky/bits/setjmp.h: Likewise.
4511 * sysdeps/csky/bsd-_setjmp.S: Likewise.
4512 * sysdeps/csky/bsd-setjmp.S: Likewise.
4513 * sysdeps/csky/configure: Likewise.
4514 * sysdeps/csky/configure.ac: Likewise.
4515 * sysdeps/csky/dl-machine.h: Likewise.
4516 * sysdeps/csky/dl-procinfo.c: Likewise.
4517 * sysdeps/csky/dl-procinfo.h: Likewise.
4518 * sysdeps/csky/dl-sysdep.h: Likewise.
4519 * sysdeps/csky/dl-tls.h: Likewise.
4520 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
4521 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
4522 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
4523 * sysdeps/csky/fpu/fegetenv.c: Likewise.
4524 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
4525 * sysdeps/csky/fpu/fegetmode.c: Likewise.
4526 * sysdeps/csky/fpu/fegetround.c: Likewise.
4527 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
4528 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
4529 * sysdeps/csky/fpu/fenv_private.h: Likewise.
4530 * sysdeps/csky/fpu/fesetenv.c: Likewise.
4531 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
4532 * sysdeps/csky/fpu/fesetmode.c: Likewise.
4533 * sysdeps/csky/fpu/fesetround.c: Likewise.
4534 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
4535 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
4536 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
4537 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
4538 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
4539 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
4540 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
4541 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
4542 * sysdeps/csky/fpu_control.h: Likewise.
4543 * sysdeps/csky/gccframe.h: Likewise.
4544 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
4545 * sysdeps/csky/ldsodefs.h: Likewise.
4546 * sysdeps/csky/libc-tls.c: Likewise.
4547 * sysdeps/csky/linkmap.h: Likewise.
4548 * sysdeps/csky/machine-gmon.h: Likewise.
4549 * sysdeps/csky/memusage.h: Likewise.
4550 * sysdeps/csky/nofpu/Implies: Likewise.
4551 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
4552 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
4553 * sysdeps/csky/nptl/Makefile: Likewise.
4554 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
4555 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
4556 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
4557 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
4558 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
4559 * sysdeps/csky/nptl/tls.h: Likewise.
4560 * sysdeps/csky/preconfigure: Likewise.
4561 * sysdeps/csky/sfp-machine.h: Likewise.
4562 * sysdeps/csky/sotruss-lib.c: Likewise.
4563 * sysdeps/csky/stackinfo.h: Likewise.
4564 * sysdeps/csky/sysdep.h: Likewise.
4565 * sysdeps/csky/tininess.h: Likewise.
4566 * sysdeps/csky/tst-audit.h: Likewise.
4567 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
4568 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
4569 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
4570 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
4571 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
4572 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
4573 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
4574 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
4575 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
4576 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
4577 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
4578 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
4579 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
4580 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
4581 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
4582 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
4583 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
4584 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
4585 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
4586 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
4587 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
4588 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
4589 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
4590 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
4591 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
4592 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
4593 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
4594 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
4595 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
4596 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
4597 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
4598 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
4599 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
4600 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
4601 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
4602 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
4603 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
4604 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
4605 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
4606 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
4607 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
4608 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
4609 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
4610 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
4611
4612 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
4613
4614 * include/time.h (__difftime64): Add.
4615 * time/difftime.c (subtract): convert to 64-bit time.
4616 * time/difftime.c (__difftime64): Add.
4617 * time/difftime.c (__difftime): Wrap around __difftime64.
4618
4619 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
4620
4621 * manual/examples/add.c: Remove redundant "if not".
4622 * manual/examples/argp-ex1.c: Likewise.
4623 * manual/examples/argp-ex2.c: Likewise.
4624 * manual/examples/argp-ex3.c: Likewise.
4625 * manual/examples/argp-ex4.c: Likewise.
4626 * manual/examples/atexit.c: Likewise.
4627 * manual/examples/db.c: Likewise.
4628 * manual/examples/dir.c: Likewise.
4629 * manual/examples/dir2.c: Likewise.
4630 * manual/examples/execinfo.c: Likewise.
4631 * manual/examples/filecli.c: Likewise.
4632 * manual/examples/filesrv.c: Likewise.
4633 * manual/examples/fmtmsgexpl.c: Likewise.
4634 * manual/examples/genpass.c: Likewise.
4635 * manual/examples/inetcli.c: Likewise.
4636 * manual/examples/inetsrv.c: Likewise.
4637 * manual/examples/isockad.c: Likewise.
4638 * manual/examples/longopt.c: Likewise.
4639 * manual/examples/memopen.c: Likewise.
4640 * manual/examples/memstrm.c: Likewise.
4641 * manual/examples/mkdirent.c: Likewise.
4642 * manual/examples/mkfsock.c: Likewise.
4643 * manual/examples/mkisock.c: Likewise.
4644 * manual/examples/mygetpass.c: Likewise.
4645 * manual/examples/pipe.c: Likewise.
4646 * manual/examples/popen.c: Likewise.
4647 * manual/examples/rprintf.c: Likewise.
4648 * manual/examples/search.c: Likewise.
4649 * manual/examples/select.c: Likewise.
4650 * manual/examples/setjmp.c: Likewise.
4651 * manual/examples/sigh1.c: Likewise.
4652 * manual/examples/sigusr.c: Likewise.
4653 * manual/examples/stpcpy.c: Likewise.
4654 * manual/examples/strdupa.c: Likewise.
4655 * manual/examples/strftim.c: Likewise.
4656 * manual/examples/subopt.c: Likewise.
4657 * manual/examples/swapcontext.c: Likewise.
4658 * manual/examples/termios.c: Likewise.
4659 * manual/examples/testopt.c: Likewise.
4660 * manual/examples/testpass.c: Likewise.
4661 * manual/examples/timeval_subtract.c: Likewise.
4662
4663 2018-12-19 Joseph Myers <joseph@codesourcery.com>
4664
4665 * sysdeps/x86/fpu/math_private.h: New file.
4666 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
4667
4668 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
4669 definition.
4670 (cosh): Likewise.
4671 (tanh): Likewise.
4672
4673 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4674
4675 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
4676 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
4677 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
4678 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
4679 fields.
4680 (_dl_show_auxv): Give a special treatment to
4681 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
4682 and AT_L3_CACHEGEOMETRY.
4683 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
4684 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
4685 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
4686 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
4687
4688 2018-12-19 Andreas Schwab <schwab@suse.de>
4689
4690 * nscd/connections.c (check_use): Don't abort on invalid len.
4691
4692 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
4693
4694 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
4695 values in the 64bit value cases.
4696
4697 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
4698
4699 * include/time.h
4700 (__ctime64_r): Add.
4701 * time/ctime_r.c
4702 (__ctime64_r): Add.
4703 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
4704
4705 * include/time.h
4706 (__ctime64): Add.
4707 * time/gmtime.c
4708 (__ctime64): Add.
4709 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
4710
4711 * include/time.h
4712 (__gmtime64_r): Add.
4713 * time/gmtime.c
4714 (__gmtime64_r): Add.
4715 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
4716
4717 * include/time.h
4718 (__gmtime64): Add.
4719 * time/gmtime.c
4720 (__gmtime64): Add.
4721 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
4722
4723 * include/time.h
4724 (__localtime64_r): Add.
4725 * time/localtime.c
4726 (__localtime64_r): Add.
4727 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
4728
4729 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4730
4731 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
4732 kernel_sigction definition.
4733
4734 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
4735
4736 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
4737
4738 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
4739 __syscall_rt_sigaction.
4740 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
4741 (kernel_sigaction): Use Linux generic defintion.
4742 (STUB): Define.
4743 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
4744 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
4745 (__syscall_rt_sigaction): Remove implementation.
4746 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
4747 hidden.
4748 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
4749 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
4750 INTERNAL_SYSCALL): Remove definitions.
4751 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
4752 action and signal set size.
4753 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
4754 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
4755
4756 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4757 James Clarke <jrtc27@jrtc27.com>
4758
4759 [BZ #23967]
4760 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
4761 Define if SA_RESTORER is defined.
4762 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
4763 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
4764 already defined.
4765 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
4766 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
4767 definitions.
4768 (HAS_SA_RESTORER): Define.
4769 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
4770 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
4771 (HAS_SA_RESTORER): Define.
4772 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
4773 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
4774 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
4775 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
4776 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4777
4778 2018-12-18 Joseph Myers <joseph@codesourcery.com>
4779
4780 * sysdeps/unix/sysv/linux/kernel-features.h
4781 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
4782 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4783 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
4784 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4785 (__ASSUME_ST_INO_64_BIT): Likewise.
4786 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
4787 <kernel-features.h>.
4788 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4789 Remove conditional code.
4790 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
4791 <kernel-features.h>.
4792 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4793 Remove conditional code.
4794 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
4795 <kernel-features.h>.
4796 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4797 Remove conditional code.
4798 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
4799 <kernel-features.h>.
4800 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
4801 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
4802
4803 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4804
4805 * sysdeps/s390/multiarch/ifunc-resolve.h
4806 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
4807 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
4808 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
4809 Delete macro definition.
4810 (s390_libc_ifunc_init): Rename to
4811 s390_libc_ifunc_expr_stfle_init.
4812 * sysdeps/s390/bzero: Use
4813 s390_libc_ifunc_expr_stfle_init instead of
4814 s390_libc_ifunc_init.
4815 * sysdeps/s390/memcmp.c: Likewise.
4816 * sysdeps/s390/memcpy.c: Likewise.
4817 * sysdeps/s390/mempcpy.c: Likewise.
4818 * sysdeps/s390/memset.c: Likewise.
4819
4820 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4821
4822 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
4823 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
4824
4825 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4826
4827 * sysdeps/s390/multiarch/Makefile
4828 (sysdep_routines): Remove wmemcmp variants.
4829 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
4830 * sysdeps/s390/multiarch/ifunc-impl-list.c
4831 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
4832 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
4833 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
4834 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
4835 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
4836 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
4837 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
4838 * sysdeps/s390/ifunc-wmemcmp.h: New file.
4839
4840 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4841
4842 * sysdeps/s390/multiarch/Makefile
4843 (sysdep_routines): Remove wmemset variants.
4844 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
4845 * sysdeps/s390/multiarch/ifunc-impl-list.c
4846 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
4847 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
4848 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
4849 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
4850 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
4851 * sysdeps/s390/multiarch/wmemset.c: Move to ...
4852 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
4853 * sysdeps/s390/ifunc-wmemset.h: New file.
4854
4855 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4856
4857 * sysdeps/s390/multiarch/Makefile
4858 (sysdep_routines): Remove wmemchr variants.
4859 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
4860 * sysdeps/s390/multiarch/ifunc-impl-list.c
4861 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
4862 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
4863 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
4864 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
4865 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
4866 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
4867 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
4868 * sysdeps/s390/ifunc-wmemchr.h: New file.
4869
4870 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4871
4872 * sysdeps/s390/multiarch/Makefile
4873 (sysdep_routines): Remove wcscspn variants.
4874 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
4875 * sysdeps/s390/multiarch/ifunc-impl-list.c
4876 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
4877 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
4878 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
4879 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
4880 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
4881 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
4882 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
4883 * sysdeps/s390/ifunc-wcscspn.h: New file.
4884
4885 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4886
4887 * sysdeps/s390/multiarch/Makefile
4888 (sysdep_routines): Remove wcspbrk variants.
4889 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
4890 * sysdeps/s390/multiarch/ifunc-impl-list.c
4891 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
4892 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
4893 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
4894 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
4895 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
4896 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
4897 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
4898 * sysdeps/s390/ifunc-wcspbrk.h: New file.
4899
4900 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4901
4902 * sysdeps/s390/multiarch/Makefile
4903 (sysdep_routines): Remove wcsspn variants.
4904 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
4905 * sysdeps/s390/multiarch/ifunc-impl-list.c
4906 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
4907 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
4908 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
4909 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
4910 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
4911 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
4912 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
4913 * sysdeps/s390/ifunc-wcsspn.h: New file.
4914
4915 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4916
4917 * sysdeps/s390/multiarch/Makefile
4918 (sysdep_routines): Remove wcsrchr variants.
4919 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
4920 * sysdeps/s390/multiarch/ifunc-impl-list.c
4921 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
4922 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
4923 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
4924 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
4925 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
4926 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
4927 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
4928 * sysdeps/s390/ifunc-wcsrchr.h: New file.
4929
4930 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4931
4932 * sysdeps/s390/multiarch/Makefile
4933 (sysdep_routines): Remove wcschrnul variants.
4934 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
4935 * sysdeps/s390/multiarch/ifunc-impl-list.c
4936 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
4937 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
4938 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
4939 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
4940 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
4941 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
4942 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
4943 * sysdeps/s390/ifunc-wcschrnul.h: New file.
4944
4945 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4946
4947 * sysdeps/s390/multiarch/Makefile
4948 (sysdep_routines): Remove wcschr variants.
4949 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
4950 * sysdeps/s390/multiarch/ifunc-impl-list.c
4951 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
4952 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
4953 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
4954 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
4955 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
4956 * sysdeps/s390/multiarch/wcschr.c: Move to ...
4957 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
4958 * sysdeps/s390/ifunc-wcschr.h: New file.
4959
4960 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4961
4962 * sysdeps/s390/multiarch/Makefile
4963 (sysdep_routines): Remove wcsncmp variants.
4964 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
4965 * sysdeps/s390/multiarch/ifunc-impl-list.c
4966 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
4967 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
4968 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
4969 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
4970 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
4971 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
4972 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
4973 * sysdeps/s390/ifunc-wcsncmp.h: New file.
4974
4975 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4976
4977 * sysdeps/s390/multiarch/Makefile
4978 (sysdep_routines): Remove wcscmp variants.
4979 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
4980 * sysdeps/s390/multiarch/ifunc-impl-list.c
4981 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
4982 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
4983 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
4984 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
4985 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
4986 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
4987 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
4988 * sysdeps/s390/ifunc-wcscmp.h: New file.
4989
4990 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4991
4992 * sysdeps/s390/multiarch/Makefile
4993 (sysdep_routines): Remove wcsncat variants.
4994 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
4995 * sysdeps/s390/multiarch/ifunc-impl-list.c
4996 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
4997 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
4998 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
4999 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
5000 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
5001 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
5002 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
5003 * sysdeps/s390/ifunc-wcsncat.h: New file.
5004
5005 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5006
5007 * sysdeps/s390/multiarch/Makefile
5008 (sysdep_routines): Remove wcscat variants.
5009 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
5010 * sysdeps/s390/multiarch/ifunc-impl-list.c
5011 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
5012 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
5013 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
5014 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
5015 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
5016 * sysdeps/s390/multiarch/wcscat.c: Move to ...
5017 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
5018 * sysdeps/s390/ifunc-wcscat.h: New file.
5019
5020 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5021
5022 * sysdeps/s390/multiarch/Makefile
5023 (sysdep_routines): Remove wcpncpy variants.
5024 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
5025 * sysdeps/s390/multiarch/ifunc-impl-list.c
5026 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
5027 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
5028 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
5029 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
5030 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
5031 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
5032 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
5033 * sysdeps/s390/ifunc-wcpncpy.h: New file.
5034
5035 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5036
5037 * sysdeps/s390/multiarch/Makefile
5038 (sysdep_routines): Remove wcsncpy variants.
5039 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
5040 * sysdeps/s390/multiarch/ifunc-impl-list.c
5041 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
5042 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
5043 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
5044 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
5045 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
5046 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
5047 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
5048 * sysdeps/s390/ifunc-wcsncpy.h: New file.
5049
5050 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5051
5052 * sysdeps/s390/multiarch/Makefile
5053 (sysdep_routines): Remove wcpcpy variants.
5054 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
5055 * sysdeps/s390/multiarch/ifunc-impl-list.c
5056 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
5057 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
5058 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
5059 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
5060 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
5061 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
5062 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
5063 * sysdeps/s390/ifunc-wcpcpy.h: New file.
5064
5065 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5066
5067 * sysdeps/s390/multiarch/Makefile
5068 (sysdep_routines): Remove wcscpy variants.
5069 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
5070 * sysdeps/s390/multiarch/ifunc-impl-list.c
5071 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
5072 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
5073 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
5074 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
5075 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
5076 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
5077 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
5078 * sysdeps/s390/ifunc-wcscpy.h: New file.
5079
5080 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5081
5082 * sysdeps/s390/multiarch/Makefile
5083 (sysdep_routines): Remove wcsnlen variants.
5084 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
5085 * sysdeps/s390/multiarch/ifunc-impl-list.c
5086 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
5087 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
5088 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
5089 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
5090 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
5091 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
5092 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
5093 * sysdeps/s390/ifunc-wcsnlen.h: New file.
5094
5095 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5096
5097 * sysdeps/s390/multiarch/Makefile
5098 (sysdep_routines): Remove wcslen variants.
5099 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
5100 * sysdeps/s390/multiarch/ifunc-impl-list.c
5101 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
5102 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
5103 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
5104 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
5105 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
5106 * sysdeps/s390/multiarch/wcslen.c: Move to ...
5107 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
5108 * sysdeps/s390/ifunc-wcslen.h: New file.
5109
5110 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5111
5112 * sysdeps/s390/multiarch/Makefile
5113 (sysdep_routines): Remove memrchr variants.
5114 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
5115 * sysdeps/s390/multiarch/ifunc-impl-list.c
5116 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
5117 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
5118 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
5119 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
5120 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
5121 * sysdeps/s390/multiarch/memrchr.c: Move to ...
5122 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
5123 * sysdeps/s390/ifunc-memrchr.h: New file.
5124
5125 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5126
5127 * sysdeps/s390/multiarch/Makefile
5128 (sysdep_routines): Remove memccpy variants.
5129 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
5130 * sysdeps/s390/multiarch/ifunc-impl-list.c
5131 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
5132 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
5133 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
5134 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
5135 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
5136 * sysdeps/s390/multiarch/memccpy.c: Move to ...
5137 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
5138 * sysdeps/s390/ifunc-memccpy.h: New file.
5139
5140 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5141
5142 * sysdeps/s390/multiarch/Makefile
5143 (sysdep_routines): Remove rawmemchr variants.
5144 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
5145 * sysdeps/s390/multiarch/ifunc-impl-list.c
5146 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
5147 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
5148 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
5149 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
5150 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
5151 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
5152 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
5153 * sysdeps/s390/ifunc-rawmemchr.h: New file.
5154
5155 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5156
5157 * sysdeps/s390/multiarch/Makefile
5158 (sysdep_routines): Remove memchr variants.
5159 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
5160 * sysdeps/s390/multiarch/ifunc-impl-list.c
5161 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
5162 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
5163 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
5164 * sysdeps/s390/multiarch/memchr.c: Move to ...
5165 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
5166 * sysdeps/s390/ifunc-memchr.h: New file.
5167 * sysdeps/s390/s390-64/memchr.S: Move to ...
5168 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
5169 for 31/64bit and ifunc handling.
5170 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
5171 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
5172 * sysdeps/s390/s390-32/memchr.S: Likewise.
5173
5174 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5175
5176 * sysdeps/s390/multiarch/Makefile
5177 (sysdep_routines): Remove strcspn variants.
5178 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
5179 * sysdeps/s390/multiarch/ifunc-impl-list.c
5180 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
5181 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
5182 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
5183 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
5184 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
5185 * sysdeps/s390/multiarch/strcspn.c: Move to ...
5186 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
5187 * sysdeps/s390/ifunc-strcspn.h: New file.
5188
5189 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5190
5191 * sysdeps/s390/multiarch/Makefile
5192 (sysdep_routines): Remove strpbrk variants.
5193 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
5194 * sysdeps/s390/multiarch/ifunc-impl-list.c
5195 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
5196 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
5197 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
5198 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
5199 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
5200 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
5201 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
5202 * sysdeps/s390/ifunc-strpbrk.h: New file.
5203
5204 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5205
5206 * sysdeps/s390/multiarch/Makefile
5207 (sysdep_routines): Remove strspn variants.
5208 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
5209 * sysdeps/s390/multiarch/ifunc-impl-list.c
5210 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
5211 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
5212 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
5213 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
5214 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
5215 * sysdeps/s390/multiarch/strspn.c: Move to ...
5216 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
5217 * sysdeps/s390/ifunc-strspn.h: New file.
5218
5219 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5220
5221 * sysdeps/s390/multiarch/Makefile
5222 (sysdep_routines): Remove strrchr variants.
5223 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
5224 * sysdeps/s390/multiarch/ifunc-impl-list.c
5225 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
5226 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
5227 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
5228 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
5229 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
5230 * sysdeps/s390/multiarch/strrchr.c: Move to ...
5231 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
5232 * sysdeps/s390/ifunc-strrchr.h: New file.
5233
5234 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5235
5236 * sysdeps/s390/multiarch/Makefile
5237 (sysdep_routines): Remove strchrnul variants.
5238 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
5239 * sysdeps/s390/multiarch/ifunc-impl-list.c
5240 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
5241 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
5242 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
5243 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
5244 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
5245 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
5246 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
5247 * sysdeps/s390/ifunc-strchrnul.h: New file.
5248
5249 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5250
5251 * sysdeps/s390/multiarch/Makefile
5252 (sysdep_routines): Remove strchr variants.
5253 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
5254 * sysdeps/s390/multiarch/ifunc-impl-list.c
5255 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
5256 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
5257 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
5258 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
5259 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
5260 * sysdeps/s390/multiarch/strchr.c: Move to ...
5261 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
5262 * sysdeps/s390/ifunc-strchr.h: New file.
5263
5264 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5265
5266 * sysdeps/s390/multiarch/Makefile
5267 (sysdep_routines): Remove strncmp variants.
5268 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
5269 * sysdeps/s390/multiarch/ifunc-impl-list.c
5270 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
5271 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
5272 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
5273 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
5274 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
5275 * sysdeps/s390/multiarch/strncmp.c: Move to ...
5276 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
5277 * sysdeps/s390/ifunc-strncmp.h: New file.
5278
5279 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5280
5281 * sysdeps/s390/multiarch/Makefile
5282 (sysdep_routines): Remove strcmp variants.
5283 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
5284 * sysdeps/s390/multiarch/ifunc-impl-list.c
5285 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
5286 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
5287 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
5288 * sysdeps/s390/multiarch/strcmp.c: Move to ...
5289 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
5290 * sysdeps/s390/ifunc-strcmp.h: New file.
5291 * sysdeps/s390/s390-64/strcmp.S: Move to ...
5292 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
5293 for 31/64bit and ifunc handling.
5294 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
5295 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
5296 * sysdeps/s390/s390-32/strcmp.S: Likewise.
5297
5298 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5299
5300 * sysdeps/s390/multiarch/Makefile
5301 (sysdep_routines): Remove strncat variants.
5302 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
5303 * sysdeps/s390/multiarch/ifunc-impl-list.c
5304 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
5305 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
5306 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
5307 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
5308 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
5309 * sysdeps/s390/multiarch/strncat.c: Move to ...
5310 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
5311 * sysdeps/s390/ifunc-strncat.h: New file.
5312
5313 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5314
5315 * sysdeps/s390/multiarch/Makefile
5316 (sysdep_routines): Remove strcat variants.
5317 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
5318 * sysdeps/s390/multiarch/ifunc-impl-list.c
5319 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
5320 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
5321 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
5322 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
5323 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
5324 * sysdeps/s390/multiarch/strcat.c: Move to ...
5325 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
5326 * sysdeps/s390/ifunc-strcat.h: New file.
5327
5328 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5329
5330 * sysdeps/s390/multiarch/Makefile
5331 (sysdep_routines): Remove stpncpy variants.
5332 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
5333 * sysdeps/s390/multiarch/ifunc-impl-list.c
5334 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
5335 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
5336 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
5337 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
5338 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
5339 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
5340 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
5341 * sysdeps/s390/ifunc-stpncpy.h: New file.
5342
5343 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5344
5345 * sysdeps/s390/multiarch/Makefile
5346 (sysdep_routines): Remove strncpy variants.
5347 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
5348 * sysdeps/s390/multiarch/ifunc-impl-list.c
5349 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
5350 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
5351 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
5352 * sysdeps/s390/multiarch/strncpy.c: Move to ...
5353 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
5354 * sysdeps/s390/ifunc-strncpy.h: New file.
5355 * sysdeps/s390/s390-64/strncpy.S: Move to ...
5356 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
5357 and adjust ifunc handling.
5358 * sysdeps/s390/s390-32/strncpy.S: Move to ...
5359 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
5360 and adjust ifunc handling.
5361 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
5362 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
5363
5364 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5365
5366 * sysdeps/s390/multiarch/Makefile
5367 (sysdep_routines): Remove stpcpy variants.
5368 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
5369 * sysdeps/s390/multiarch/ifunc-impl-list.c
5370 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
5371 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
5372 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
5373 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
5374 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
5375 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
5376 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
5377 * sysdeps/s390/ifunc-stpcpy.h: New file.
5378
5379 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5380
5381 * sysdeps/s390/multiarch/Makefile
5382 (sysdep_routines): Remove strcpy variants.
5383 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
5384 * sysdeps/s390/multiarch/ifunc-impl-list.c
5385 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
5386 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
5387 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
5388 * sysdeps/s390/multiarch/strcpy.c: Move to ...
5389 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
5390 * sysdeps/s390/ifunc-strcpy.h: New file.
5391 * sysdeps/s390/s390-64/strcpy.S: Move to ...
5392 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
5393 for 31/64bit and ifunc handling.
5394 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
5395 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
5396 * sysdeps/s390/s390-32/strcpy.S: Likewise.
5397
5398 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5399
5400 * sysdeps/s390/multiarch/Makefile
5401 (sysdep_routines): Remove strnlen variants.
5402 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
5403 * sysdeps/s390/multiarch/ifunc-impl-list.c
5404 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
5405 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
5406 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
5407 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
5408 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
5409 * sysdeps/s390/multiarch/strnlen.c: Move to ...
5410 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
5411 * sysdeps/s390/ifunc-strnlen.h: New file.
5412
5413 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5414
5415 * sysdeps/s390/multiarch/Makefile
5416 (sysdep_routines): Remove strlen variants.
5417 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
5418 * sysdeps/s390/multiarch/ifunc-impl-list.c
5419 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
5420 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
5421 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
5422 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
5423 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
5424 * sysdeps/s390/multiarch/strlen.c: Move to ...
5425 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
5426 * sysdeps/s390/ifunc-strlen.h: New file.
5427
5428 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5429
5430 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
5431 * sysdeps/s390/multiarch/ifunc-impl-list.c
5432 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
5433 * sysdeps/s390/ifunc-memmem.h: New file.
5434 * sysdeps/s390/memmem.c: Likewise.
5435 * sysdeps/s390/memmem-c.c: Likewise.
5436 * sysdeps/s390/memmem-vx.c: Likewise.
5437
5438 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5439
5440 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
5441 * sysdeps/s390/multiarch/ifunc-impl-list.c
5442 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
5443 * sysdeps/s390/ifunc-strstr.h: New file.
5444 * sysdeps/s390/strstr.c: Likewise.
5445 * sysdeps/s390/strstr-c.c: Likewise.
5446 * sysdeps/s390/strstr-vx.c: Likewise.
5447
5448 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5449
5450 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
5451 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
5452 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
5453 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
5454 New defines.
5455 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
5456 * sysdeps/s390/memmove-c.c: New file.
5457 * sysdeps/s390/memmove.c: Likewise.
5458 * sysdeps/s390/multiarch/ifunc-impl-list.c
5459 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
5460
5461 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5462
5463 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
5464 * sysdeps/s390/configure.ac: Add check for z13 support.
5465 * sysdeps/s390/configure: Regenerated.
5466
5467 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5468
5469 * sysdeps/s390/memcopy.h: New file.
5470
5471 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5472
5473 * sysdeps/s390/s390-32/bcopy.S: Remove.
5474 * sysdeps/s390/s390-64/bcopy.S: Likewise.
5475
5476 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5477
5478 * sysdeps/s390/ifunc-memcpy.h: New File.
5479 * sysdeps/s390/memcpy.S: Move to ...
5480 * sysdeps/s390/memcpy-z900.S ... here.
5481 Move implementations from memcpy-s390x.s to here.
5482 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
5483 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5484 Remove memcpy/mempcpy variants.
5485 * sysdeps/s390/Makefile (sysdep_routines):
5486 Add memcpy/mempcpy variants.
5487 * sysdeps/s390/multiarch/ifunc-impl-list.c
5488 (__libc_ifunc_impl_list): Adjust ifunc variants for
5489 memcpy and mempcpy.
5490 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
5491 to ...
5492 * sysdeps/s390/memcpy.c: ... here.
5493 Adjust ifunc variants for memcpy.
5494 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
5495 * sysdeps/s390/mempcpy.c: ... here.
5496 Adjust ifunc variants for mempcpy.
5497 * sysdeps/s390/mempcpy.S: Delete file.
5498
5499 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5500
5501 * sysdeps/s390/s390-64/memcpy.S: Move to ...
5502 * sysdeps/s390/memcpy.S: ... here.
5503 Adjust to be usable for 31/64bit.
5504 * sysdeps/s390/s390-32/memcpy.S: Delete File.
5505 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
5506 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
5507 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5508 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
5509 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
5510 Adjust to be usable for 31/64bit.
5511 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
5512 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
5513 * sysdeps/s390/multiarch/memcpy.c: ... here.
5514 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
5515
5516 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5517
5518 * sysdeps/s390/ifunc-memcmp.h: New File.
5519 * sysdeps/s390/memcmp.S: Move to ...
5520 * sysdeps/s390/memcmp-z900.S ... here.
5521 Move implementations from memcmp-s390x.s to here.
5522 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
5523 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5524 Remove memcmp variants.
5525 * sysdeps/s390/Makefile (sysdep_routines):
5526 Add memcmp variants.
5527 * sysdeps/s390/multiarch/ifunc-impl-list.c
5528 (__libc_ifunc_impl_list): Adjust ifunc variants for
5529 memcmp.
5530 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
5531 to ...
5532 * sysdeps/s390/memcmp.c: ... here.
5533 Adjust ifunc variants for memcmp.
5534
5535 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5536
5537 * sysdeps/s390/s390-64/memcmp.S: Move to ...
5538 * sysdeps/s390/memcmp.S: ... here.
5539 Adjust to be usable for 31/64bit.
5540 * sysdeps/s390/s390-32/memcmp.S: Delete File.
5541 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
5542 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
5543 Remove memcmp.
5544 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5545 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
5546 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
5547 Adjust to be usable for 31/64bit.
5548 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
5549 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
5550 * sysdeps/s390/multiarch/memcmp.c: ... here.
5551 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
5552
5553 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5554
5555 * sysdeps/s390/s390-32/bzero.S: Delete file.
5556 * sysdeps/s390/s390-64/bzero.S: Likewise.
5557 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
5558 * sysdeps/s390/bzero.c: New file.
5559 * sysdeps/s390/memset-z900.S: Add bzero entry points.
5560 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
5561 * sysdeps/s390/multiarch/ifunc-impl-list.c
5562 (__libc_ifunc_impl_list): Add bzero ifunc variants.
5563
5564 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5565
5566 * sysdeps/s390/ifunc-memset.h: New File.
5567 * sysdeps/s390/memset.S: Move to ...
5568 * sysdeps/s390/memset-z900.S ... here.
5569 Move implementations from memset-s390x.s to here.
5570 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
5571 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5572 Remove memset variants.
5573 * sysdeps/s390/Makefile (sysdep_routines):
5574 Add memset variants.
5575 * sysdeps/s390/multiarch/ifunc-impl-list.c
5576 (__libc_ifunc_impl_list): Adjust ifunc variants for
5577 memset.
5578 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
5579 to ...
5580 * sysdeps/s390/memset.c: ... here.
5581 Adjust ifunc variants for memset.
5582
5583 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5584
5585 * sysdeps/s390/s390-64/memset.S: Move to ...
5586 * sysdeps/s390/memset.S: ... here.
5587 Adjust to be usable for 31/64bit.
5588 * sysdeps/s390/s390-32/memset.S: Delete File.
5589 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
5590 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
5591 Remove memset.
5592 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5593 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
5594 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
5595 Adjust to be usable for 31/64bit.
5596 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
5597 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
5598 * sysdeps/s390/multiarch/memset.c: ... here.
5599 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
5600
5601 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5602
5603 * sysdeps/s390/multiarch/ifunc-resolve.h
5604 (s390_libc_ifunc_init, s390_libc_ifunc,
5605 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
5606
5607 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5608
5609 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
5610 * sysdeps/s390/configure.ac: Add check for z10 support.
5611 * sysdeps/s390/configure: Regenerated.
5612
5613 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
5614
5615 * sysdeps/i386/atomic-machine.h: Merged with ...
5616 * sysdeps/x86_64/atomic-machine.h: To ...
5617 * sysdeps/x86/atomic-machine.h: This. New file.
5618
5619 2018-12-18 Florian Weimer <fweimer@redhat.com>
5620
5621 Rewrite locale/gen-translit.pl in Python.
5622 * locale/Makefile (generated): Add C-translit.h.
5623 (before-compile): Add $(objpfx)C-translit.h.
5624 (C-translit.h): Move to $(objpfx). Create target directory.
5625 Build using Python script.
5626 * locale/gen-translit.py: New file.
5627 * locale/gen-translit.pl: Remove file.
5628 * locale/C-translit.h.in: Change comment character to '#' for
5629 easier parsing without a C preprocessor.
5630 * locale/C-translit.h: Remove generated file.
5631 * manual/install.texi (Tools for Compilation): Do not mention
5632 C-translit.h.
5633 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
5634 Remove locale/C-translit.h.
5635 * scripts/update-copyrights: Likewise.
5636 * INSTALL: Regenerate.
5637
5638 2018-12-18 Florian Weimer <fweimer@redhat.com>
5639
5640 [BZ #23995]
5641 * localedata/locales/bi_VU: Remove executable bit from file.
5642
5643 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
5644
5645 * include/time.h
5646 (__localtime64): Add.
5647 * manual/maint.texi: Document Y2038 symbol handling.
5648 * time/localtime.c
5649 (__localtime64): Add.
5650 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
5651
5652 2018-12-17 Joseph Myers <joseph@codesourcery.com>
5653
5654 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
5655 Do not clobber r12.
5656
5657 * scripts/glibcextract.py (compare_macro_consts): Take parameters
5658 to allow extra macros from first or second sources.
5659 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
5660 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5661 (tests-special): Add $(objpfx)tst-mman-consts.out.
5662 ($(objpfx)tst-mman-consts.out): New makefile target.
5663
5664 2018-12-17 Mao Han <han_mao@c-sky.com>
5665
5666 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
5667 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
5668 without stat64 system call support.
5669 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
5670 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
5671 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
5672 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
5673 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
5674 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
5675 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
5676 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
5677 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
5678 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
5679 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
5680
5681 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
5682
5683 regex: fix storage-exhaustion error
5684 [BZ #18040]
5685 * posix/regexec.c (get_subexp):
5686 Do not continue if storage is exhausted.
5687
5688 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
5689
5690 regex: fix heap-use-after-free error
5691 [BZ #18040]
5692 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
5693 https://debbugs.gnu.org/32592
5694 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
5695 call extend_buffers which reallocates the re_string_t internal buffer.
5696 Local variable 'buf' was not updated in such case, resulting in
5697 use-after-free.
5698 * posix/regexec.c (get_subexp): Update 'buf' after call to
5699 get_subexp_sub.
5700
5701 2018-12-15 Florian Weimer <fweimer@redhat.com>
5702
5703 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
5704 (minimum_stride_size): Use it.
5705 (support_blob_repeat_allocate): Likewise.
5706
5707 2018-12-14 Joseph Myers <joseph@codesourcery.com>
5708
5709 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
5710 definition.
5711 (acosh): Likewise.
5712 (atanh): Likewise.
5713
5714 2018-12-14 Florian Weimer <fweimer@redhat.com>
5715
5716 * manual/process.texi (Process Creation Concepts): Remove
5717 documentation of process (ID) lifetime. List more process
5718 creation functions. Reference Process Identification section.
5719 (Process Identification): Add information about process ID
5720 lifetime. Describe Linux thread/task IDs.
5721 * manual/signal.texi (Signaling Another Process): Mention that the
5722 signal is always sent to the process.
5723
5724 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5725
5726 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
5727 and tst-ldbl-efgcvt.
5728 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
5729 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
5730 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
5731 (fcvt_tests, output_error, output_r_error, do_test): Use the
5732 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
5733 select the type of floating-point variables and arguments; to
5734 produce extra tests for double and conversion specifiers for
5735 printf; and to set the names of called functions.
5736 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
5737 in tst-efgcvt-template.c.
5738 * misc/tst-ldbl-efgcvt.c: Likewise.
5739
5740 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
5741
5742 * nss/Makefile (tst-nss-test3.out): New rule.
5743
5744 2018-12-13 Joseph Myers <joseph@codesourcery.com>
5745
5746 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
5747 clobber sp.
5748
5749 2018-12-13 fanjinke <fanjinke@hygon.cn>
5750
5751 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
5752 "HygonGenuine".
5753
5754 2018-12-13 Andreas Schwab <schwab@suse.de>
5755
5756 [BZ #23861]
5757 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
5758 (__pthread_rwlock_rdlock_full): Update expected value for
5759 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
5760 * nptl/tst-rwlock-pwn.c: New file.
5761 * nptl/Makefile (tests): Add tst-rwlock-pwn.
5762
5763 2018-12-12 Joseph Myers <joseph@codesourcery.com>
5764
5765 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
5766 definition.
5767
5768 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5769
5770 * benchtests/scripts/compare_bench.py (do_compare): write to
5771 stderr in casestat is not present.
5772 * benchtests/scripts/compare_bench.py (plot_graphs): write to
5773 stderr in case timings field is not present. Also string showing
5774 the output filename goes into the stderr.
5775
5776 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5777
5778 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
5779 and ZeroDivisorError exceptions.
5780 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
5781 argument to loop through user provided statistics.
5782 * benchtests/scripts/compare_bench.py (main): Include the --stats
5783 argument.
5784
5785 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5786
5787 * benchtests/scripts/compare_bench.py (compare_runs): Continue
5788 instead of return.
5789
5790 2018-12-12 Florian Weimer <fweimer@redhat.com>
5791
5792 * sysdeps/posix/timespec_get.c: Add missing “any later version”
5793 clause to copyright header.
5794
5795 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5796
5797 [BZ #23614]
5798 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
5799 registers saved in the stack frame.
5800 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
5801 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
5802
5803 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5804
5805 * include/bits/monetary-ldbl.h: New file.
5806 * include/bits/printf-ldbl.h: Likewise.
5807 * include/bits/stdio-ldbl.h: Likewise.
5808 * include/bits/stdlib-ldbl.h: Likewise.
5809 * include/bits/syslog-ldbl.h: Likewise.
5810 * include/bits/wchar-ldbl.h: Likewise.
5811
5812 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5813
5814 * libio/libio.h: Remove redirection for _IO_vfprintf.
5815
5816 2018-12-11 Andreas Schwab <schwab@suse.de>
5817
5818 * Makerules: Remove all references to abilist-pattern.
5819 (update-all-abi): Simplify find expression.
5820
5821 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
5822
5823 [BZ #23961]
5824 * math/auto-libm-test-in: Add new test case.
5825 * math/auto-libm-test-out-pow: Regenerated.
5826 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
5827
5828 2018-12-10 DJ Delorie <dj@redhat.com>
5829
5830 [BZ #23948]
5831 * support/test-container.c: Move postclean step to before we
5832 change namespaces.
5833
5834 2018-12-10 Joseph Myers <joseph@codesourcery.com>
5835
5836 * scripts/gen-as-const.py (main): Handle --python option.
5837 * scripts/gen-py-const.awk: Remove.
5838 * Makerules (py-const-script): Use gen-as-const.py.
5839 ($(py-const)): Likewise.
5840 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
5841 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
5842 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
5843 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
5844 ~PTHREAD_MUTEX_NO_ELISION_NP.
5845 * manual/README.pretty-printers: Update reference to
5846 gen-py-const.awk.
5847
5848 * scripts/glibcextract.py: New file.
5849 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
5850 or tempfile. Import glibcexctract.
5851 (compute_c_consts): Remove. Moved to glibcextract.py.
5852 (gen_test): Update reference to compute_c_consts.
5853 (main): Likewise.
5854 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
5855 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
5856 * sysdeps/unix/sysv/linux/Makefile
5857 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
5858 Redirect stderr as well as stdout.
5859
5860 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
5861
5862 [BZ #19767]
5863 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
5864 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
5865 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
5866 ALWAYS_USE_VSYSCALL.
5867 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
5868 ALWAYS_USE_VSYSCALL.
5869 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
5870 ALWAYS_USE_VSYSCALL.
5871
5872 2018-12-10 Florian Weimer <fweimer@redhat.com>
5873
5874 [BZ #23972]
5875 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
5876 offset instead of count for clarity. Fix typo in comment.
5877 (__old_getdents64): Keep track of previous offset. Use it to call
5878 handle_overflow.
5879 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
5880 that d_off is never zero.
5881
5882 2018-12-10 Andreas Schwab <schwab@suse.de>
5883
5884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
5885 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
5886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
5887 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
5888 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
5889
5890 2018-12-10 Joseph Myers <joseph@codesourcery.com>
5891
5892 * timezone/private.h: Update from tzcode 2018g.
5893 * timezone/tzfile.h: Likewise.
5894 * timezone/tzselect.ksh: Likewise.
5895 * timezone/zdump.c: Likewise.
5896 * timezone/zic.c: Likewise.
5897
5898 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5899
5900 [BZ #23490]
5901 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
5902 (do_test): Adjust buffer size and fix format.
5903
5904 2018-12-07 DJ Delorie <dj@redhat.com>
5905
5906 [BZ #23907]
5907 * malloc/tst-tcfree3.c: New.
5908 * malloc/Makefile: Add it.
5909
5910 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
5911
5912 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
5913
5914 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5915
5916 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
5917 used as a mask for the mode argument of __vfscanf_internal and
5918 __vfwscanf_internal.
5919 * stdio-common/vfscanf-internal.c
5920 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
5921 (__strtof128_internal): Define to __wcstof128_internal.
5922 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
5923 __strtof128_internal or __wcstof128_internal when the format of
5924 long double is the same as _Float128.
5925
5926 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
5927
5928 * include/unistd.h (__confstr): Add prototype and hidden prototype.
5929 * posix/confstr.c (confstr): Rename to __confstr.
5930 (__confstr): Add hidden def.
5931 (confstr): Add weak alias for __confstr.
5932 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
5933 confstr.
5934
5935 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
5936
5937 * NEWS: Mention getcpu.
5938 * include/sched.h (__getcpu): New libc_hidden_proto.
5939 * manual/resource.texi: Document getcpu.
5940 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
5941 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
5942 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
5943 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5944 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5945 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5946 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5947 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5948 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5949 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5950 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5951 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5952 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
5953 Likewise.
5954 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5955 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5956 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5958 Likewise.
5959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5960 Likewise.
5961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5962 Likewise.
5963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5964 Likewise.
5965 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
5966 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5967 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5968 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5969 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5970 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5971 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5972 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5973 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
5974 * sysdeps/unix/sysv/linux/getcpu.c: New file.
5975 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
5976 Also check getcpu.
5977
5978 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
5979
5980 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
5981 functions.
5982 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
5983
5984 2018-12-07 Florian Weimer <fweimer@redhat.com>
5985
5986 [BZ #17405]
5987 * posix/Makefile (routines): Add spawn_faction_addfchdir.
5988 * posix/Versions (GLIBC_2.29): Export
5989 posix_spawn_file_actions_addfchdir_np.
5990 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
5991 * posix/spawn_faction_destroy.c
5992 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
5993 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
5994 and the field action.fchdir_action.
5995 * posix/tst-spawn-chdir.c (add_chdir): New function.
5996 (do_test): Add do_fchdir loop. Call add_chdir.
5997 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
5998 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5999 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
6000 posix_spawn_file_actions_addfchdir_np.
6001 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
6002 Likewise.
6003 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
6004 Likewise.
6005 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
6006 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
6007 Likewise.
6008 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
6009 Likewise.
6010 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
6011 Likewise.
6012 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
6013 Likewise.
6014 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
6015 Likewise.
6016 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
6017 Likewise.
6018 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6019 (GLIBC_2.29): Likewise.
6020 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6021 (GLIBC_2.29): Likewise.
6022 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6023 (GLIBC_2.29): Likewise.
6024 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6025 (GLIBC_2.29): Likewise.
6026 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
6027 Likewise.
6028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6029 (GLIBC_2.29): Likewise.
6030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6031 (GLIBC_2.29): Likewise.
6032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6033 (GLIBC_2.29): Likewise.
6034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6035 (GLIBC_2.29): Likewise.
6036 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
6037 Likewise.
6038 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
6039 Likewise.
6040 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
6041 Likewise.
6042 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
6043 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
6044 Likewise.
6045 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
6046 Likewise.
6047 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
6048 Likewise.
6049 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
6050 Likewise.
6051
6052 2018-12-06 Joseph Myers <joseph@codesourcery.com>
6053
6054 * manual/texinfo.tex: Update to version 2018-09-21.20 with
6055 trailing whitespace removed.
6056 * scripts/config.guess: Update to version 2018-11-28.
6057 * scripts/config.sub: Update to version 2018-11-28.
6058 * scripts/install-sh: Update to version 2018-03-11.20.
6059 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
6060 * scripts/move-if-change: Update to version 2018-03-07 03:47.
6061
6062 2018-12-07 Florian Weimer <fweimer@redhat.com>
6063
6064 [BZ #23927]
6065 CVE-2018-19591
6066 * inet/tst-if_index-long.c: New file.
6067 * inet/Makefile (tests): Add tst-if_index-long.
6068
6069 2018-12-07 Florian Weimer <fweimer@redhat.com>
6070
6071 * support/check.h (support_record_failure_is_failed): Declare.
6072 * support/descriptors.h: New file.
6073 * support/support_descriptors.c: Likewise.
6074 * support/tst-support_descriptors.c: Likewise.
6075 * support/support_record_failure.c
6076 (support_record_failure_is_failed): New function.
6077 * support/Makefile (libsupport-routines): Add support_descriptors.
6078 (tests): Add tst-support_descriptors.
6079
6080 2018-12-05 Zack Weinberg <zackw@panix.com>
6081 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6082
6083 * stdio-common/vfprintf-internal.c
6084 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
6085 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
6086 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
6087 and __no_long_double.
6088 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
6089 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
6090 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
6091 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
6092 and __nldbl_*syslog* functions.
6093 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
6094 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
6095 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
6096 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
6097 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
6098 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
6099 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
6100 (__nldbl_vwprintf, __nldbl_wprintf):
6101 Directly call the appropriate __v*printf_internal routine, passing
6102 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
6103 variable names.
6104 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
6105 (__nldbl___printf_chk, __nldbl___snprintf_chk)
6106 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
6107 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
6108 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
6109 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
6110 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
6111 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
6112 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
6113 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
6114 Likewise, and also pass PRINTF_FORTIFY when appropriate.
6115 (__nldbl_syslog, __nldbl_vsyslog):
6116 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
6117 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
6118 appropriate.
6119 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
6120 appropriate.
6121
6122 2018-12-05 Zack Weinberg <zackw@panix.com>
6123 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6124
6125 [BZ #11319]
6126 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
6127 Moved here from debug/vsprintf_chk.c.
6128 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
6129 and completion logic for the strfile to match exactly what
6130 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
6131 _IO_str_init_static_internal instead of maxlen-1.
6132 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
6133 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
6134 __vsprintf_internal.
6135
6136 * debug/vsprintf_chk.c (__vsprintf_chk)
6137 * debug/sprintf_chk.c (__sprintf_chk):
6138 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
6139 'flags' argument is positive, and slen as maxlen. No need to lock
6140 the FILE and/or construct a temporary FILE. Minimize and normalize
6141 header inclusions and variable names. Do not libc_hidden_def anything.
6142
6143 * debug/asprintf_chk.c (__asprintf_chk)
6144 * debug/dprintf_chk.c (__dprintf_chk)
6145 * debug/fprintf_chk.c (__fprintf_chk)
6146 * debug/fwprintf_chk.c (__fwprintf_chk)
6147 * debug/printf_chk.c (__printf_chk)
6148 * debug/snprintf_chk.c (__snprintf_chk)
6149 * debug/swprintf_chk.c (__swprintf_chk)
6150 * debug/vasprintf_chk.c (__vasprintf_chk)
6151 * debug/vdprintf_chk.c (__vdprintf_chk)
6152 * debug/vfprintf_chk.c (__vfprintf_chk)
6153 * debug/vfwprintf_chk.c (__vfwprintf_chk)
6154 * debug/vprintf_chk.c (__vprintf_chk)
6155 * debug/vsnprintf_chk.c (__vsnprintf_chk)
6156 * debug/vswprintf_chk.c (__vswprintf_chk)
6157 * debug/vwprintf_chk.c (__vwprintf_chk)
6158 * debug/wprintf_chk.c (__wprintf_chk):
6159 Directly call the corresponding vxxprintf_internal function, passing
6160 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
6161 the FILE and/or construct a temporary FILE. Minimize and normalize
6162 header inclusions and variable names. Do not libc_hidden_def anything.
6163
6164 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
6165 __obstack_vprintf_internal.
6166 (__obstack_vprintf_chk): Convert into a wrapper that calls
6167 __obstack_vprintf_internal (these two functions already had the
6168 same code) and move to new file...
6169 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
6170 file.
6171 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
6172 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
6173 * debug/Makefile (routines): Add vobprintf_chk.
6174
6175 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
6176 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
6177 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
6178 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
6179 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
6180 (__nldbl___obstack_vfprintf_chk):
6181 Directly call the corresponding vxxprintf_internal function,
6182 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
6183 duplicate comparison of slen with 0 or maxlen from the corresponding
6184 non-__nldbl function.
6185
6186 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
6187 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
6188 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
6189 Remove libc_hidden_proto.
6190
6191 * stdio-common/vfprintf-internal.c
6192 (__vfprintf_internal, __vfwprintf_internal):
6193 Do not check _IO_FLAGS2_FORTIFY.
6194 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
6195 * libio/libioP.h: Update prototype of __vsprintf_internal and add
6196 a comment explaining why it has the maxlen argument.
6197 (_IO_acquire_lock_clear_flags2_fct): Remove.
6198 (_IO_acquire_lock_clear_flags2): Remove.
6199 (_IO_release_lock): Remove conditional statement which will
6200 now never execute.
6201 (_IO_acquire_lock): Remove variable which is now unused.
6202 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
6203 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
6204
6205 * stdio-common/Makefile (tests): Add tst-bz11319 and
6206 tst-bz11319-fortify2.
6207 (CFLAGS-tst-bz11319-fortify2.c): New macro.
6208 * stdio-common/tst-bz11319-fortify2.c: New file.
6209 * stdio-common/tst-bz11319.c: Likewise.
6210
6211 2018-12-05 Zack Weinberg <zackw@panix.com>
6212 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6213
6214 * misc/syslog.c: Include libioP.h, not iolibio.h.
6215 (__vsyslog_internal): New function with the former body of
6216 __vsyslog_chk; takes mode_flags argument same as
6217 __v*printf_internal. Call __vfprintf_internal directly.
6218
6219 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
6220 Remove libc_hidden_def.
6221 (__syslog, __syslog_chk): Use __vsyslog_internal.
6222 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
6223
6224 * include/sys/syslog.h: Add multiple inclusion guard.
6225 Add prototype for __vsyslog_internal.
6226 Remove declaration and libc_hidden_proto for __vsyslog_chk.
6227
6228 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
6229 Use __vsyslog_internal.
6230
6231 2018-12-05 Zack Weinberg <zackw@panix.com>
6232 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6233
6234 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
6235 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
6236 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
6237 New functions.
6238 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
6239 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
6240
6241 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
6242 Include wctype.h here if COMPILE_WPRINTF is defined.
6243 Define __vfprintf_internal or __vfwprintf_internal, depending
6244 on COMPILE_WPRINTF.
6245 Temporarily, on entry to this function, update mode_flags
6246 according to the environmental settings corresponding to
6247 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
6248 Throughout, check mode_flags instead of __ldbl_is_dbl and
6249 _IO_FLAGS2_FORTIFY on the destination FILE.
6250 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
6251 Include vfprintf-internal.c. Don't include wctype.h.
6252 * stdio-common/vfprintf.c: New file. Just define __vfprintf
6253 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
6254 and vfprintf.
6255 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
6256 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
6257 and vfwprintf.
6258 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
6259
6260 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
6261 and add mode_flags argument; use __vfprintf_internal.
6262 (__vdprintf): New function. Alias vdprintf to this.
6263 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
6264 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
6265 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
6266 (__obstack_printf): Use __obstack_printf_internal.
6267 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
6268 public aliases __vsnprintf and vsnprintf.
6269 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
6270 called internally.
6271 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
6272 public aliases _IO_vsprintf and vsprintf.
6273 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
6274 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
6275 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
6276 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
6277 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
6278
6279 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
6280 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
6281 * stdio-common/fprintf.c, stdio-common/fxprintf.c
6282 * stdio-common/printf.c: Use __vfprintf_internal.
6283
6284 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
6285 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
6286 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
6287
6288 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
6289 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
6290 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
6291 __vfwprintf_internal.
6292
6293 * libio/libio.h: Remove libc_hidden_proto and declaration for
6294 _IO_vfprintf.
6295 Remove declaration of _IO_vfwprintf.
6296 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
6297 _IO_vsprintf.
6298 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
6299 _IO_obstack_printf.
6300 * include/stdio.h: Add prototype for __vasprintf.
6301 (__vsnprintf): Remove declaration, because there are no more
6302 internal calls.
6303 * include/wchar.h (__vfwprintf, __vswprintf): Remove
6304 declaration, because there are no more internal calls.
6305
6306 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
6307 __vsnprintf_internal, instead of _IO_vsnprintf.
6308 * argp/argp-help.c (__argp_error, __argp_failure): Use
6309 __vasprintf_internal, instead of _IO_vasprintf.
6310 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
6311 redefine, because there are no more internal calls.
6312
6313 2018-12-05 Zack Weinberg <zackw@panix.com>
6314 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6315
6316 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
6317 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
6318 Include libio/strfile.h instead of libioP.h.
6319 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
6320 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
6321 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
6322 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
6323 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
6324 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
6325 necessary. Do not set __no_long_double. Normalize variable names.
6326 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
6327 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
6328 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
6329 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
6330 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
6331 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
6332 Call __vfscanf_internal / __vfwscanf_internal directly, passing
6333 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
6334 Do not set __no_long_double. Normalize variable names.
6335
6336 2018-12-05 Zack Weinberg <zackw@panix.com>
6337 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6338
6339 * stdio-common/isoc99_scanf.c
6340 * stdio-common/isoc99_fscanf.c
6341 * stdio-common/isoc99_sscanf.c
6342 * stdio-common/isoc99_vscanf.c
6343 * stdio-common/isoc99_vfscanf.c
6344 * stdio-common/isoc99_vsscanf.c
6345 * wcsmbs/isoc99_wscanf.c
6346 * wcsmbs/isoc99_fwscanf.c
6347 * wcsmbs/isoc99_swscanf.c
6348 * wcsmbs/isoc99_vwscanf.c
6349 * wcsmbs/isoc99_vfwscanf.c
6350 * wcsmbs/isoc99_vswscanf.c:
6351 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
6352 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
6353 No need to lock and unlock the FILE passed to that function.
6354
6355 * stdio-common/vfscanf-internal.c
6356 (__vfscanf_internal, __vfwscanf_internal):
6357 Don't look at _IO_FLAGS2_SCANF_STD.
6358 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
6359 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
6360 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
6361
6362 2018-12-05 Zack Weinberg <zackw@panix.com>
6363 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6364
6365 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
6366 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
6367 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
6368 * libio/strfile.h: Add multiple inclusion guard.
6369 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
6370
6371 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
6372 consistency with the other version of this file.
6373 (ldbl_compat_symbol): New macro.
6374 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
6375 New macro.
6376
6377 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
6378 Define __vfscanf_internal or __vfwscanf_internal, depending on
6379 COMPILE_WSCANF; don't define any other public symbols.
6380 Remove errval and code to set errp.
6381 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
6382 as the mode_flags argument.
6383 (encode_error, conv_error, input_error): Don't set errval.
6384 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
6385 Include vfscanf-internal.c.
6386 * stdio-common/vfscanf.c: New file defining the public entry
6387 point vfscanf, which calls __vfscanf_internal.
6388 * stdio-common/vfwscanf.c: New file defining the public entry
6389 point vfwscanf, which calls __vfwscanf_internal.
6390
6391 * stdio-common/iovfscanf.c: New file.
6392 * stdio-common/iovfwscanf.c: Likewise.
6393
6394 * stdio-common/Makefile (routines): Add vfscanf-internal,
6395 vfwscanf-internal, iovfscanf, iovfwscanf.
6396 * stdio-common/Versions: Mention GLIBC_2.29, so that
6397 it can be used in SHLIB_COMPAT expressions.
6398 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
6399 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
6400 Call __vfscanf_internal, instead of _IO_vfscanf.
6401 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
6402 _IO_vfscanf.
6403 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
6404 _IO_vfwscanf.
6405
6406 * libio/iovsscanf.c: Clean up includes, when possible. Use
6407 _IO_strfile_read or _IO_strfile_readw, when needed. Call
6408 __vfscanf_internal or __vfwscanf_internal directly.
6409 * libio/iovswscanf.c: Likewise.
6410 * libio/swscanf.c: Likewise.
6411 * libio/vscanf.c: Likewise.
6412 * libio/vwscanf.c: Likewise.
6413 * libio/wscanf.c: Likewise.
6414 * stdio-common/isoc99_fscanf.c: Likewise.
6415 * stdio-common/isoc99_scanf.c: Likewise.
6416 * stdio-common/isoc99_sscanf.c: Likewise.
6417 * stdio-common/isoc99_vfscanf.c: Likewise.
6418 * stdio-common/isoc99_vscanf.c: Likewise.
6419 * stdio-common/isoc99_vsscanf.c: Likewise.
6420 * stdio-common/scanf.c: Likewise.
6421 * stdio-common/sscanf.c: Likewise.
6422 * wcsmbs/isoc99_fwscanf.c: Likewise.
6423 * wcsmbs/isoc99_swscanf.c: Likewise.
6424 * wcsmbs/isoc99_vfwscanf.c: Likewise.
6425 * wcsmbs/isoc99_vswscanf.c: Likewise.
6426 * wcsmbs/isoc99_vwscanf.c: Likewise.
6427 * wcsmbs/isoc99_wscanf.c: Likewise.
6428
6429 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
6430
6431 * include/time.h
6432 (__tz_compute): Replace time_t with __time64_t.
6433 (__tz_convert): Replace time_t* with __time64_t.
6434 (__offtime): Replace time_t* with __time64_t.
6435 * time/gmtime.c
6436 (__gmtime_r): Adjust call to __tz_convert.
6437 (gmtime): Likewise.
6438 * time/localtime.c
6439 (__localtime_r): Likewise.
6440 (localtime): Likewise.
6441 * time/offtime.c: Replace time_t with __time64_t.
6442 * time/tzset.c: Likewise.
6443
6444 2018-12-04 Joseph Myers <joseph@codesourcery.com>
6445
6446 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
6447 dynamic linker unless [$(run-built-tests) = yes].
6448
6449 2018-12-03 DJ Delorie <dj@delorie.com>
6450
6451 * support/test-container.c (check_for_unshare_hints): New.
6452 (main): Call it if unshare fails. Add support for "su" scriptlet
6453 command.
6454
6455 2018-12-03 Joseph Myers <joseph@codesourcery.com>
6456
6457 * scripts/gen-as-const.py (compute_c_consts): Take an argument
6458 'START' to indicate that start text should be output.
6459 (gen_test): Likewise.
6460 (main): Generate 'START' for first symbol or '--' line, or at end
6461 of input if not previously generated.
6462
6463 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
6464
6465 [BZ #19767]
6466 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
6467 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
6468 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
6469 ALWAYS_USE_VSYSCALL.
6470
6471 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6472
6473 [BZ #23913]
6474 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
6475 new_argv by one.
6476
6477 2018-12-03 Carlos O'Donell <carlos@redhat.com>
6478
6479 [BZ #23923]
6480 * locale/programs/localedef.c: Declare boolean hard_links default true.
6481 (options): Add --no-hard-links option.
6482 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
6483 * locale/programs/localedef.h: Declare prototype for hard_links.
6484 * locale/programs/locfile.c (write_locale_data): Don't use hard
6485 links if hard_links is false.
6486
6487 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
6488
6489 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
6490 cpu_features_basic.
6491 (__cache_sysconf): Likewise.
6492 (init_cacheinfo): Likewise.
6493 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
6494 populate COMMON_CPUID_INDEX_80000007 and
6495 COMMON_CPUID_INDEX_80000008.
6496 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
6497 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
6498 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
6499 (init_cpu_features): Use _Static_assert on
6500 index_arch_Fast_Unaligned_Load.
6501 __get_cpuid_registers and __get_arch_feature. Updated for
6502 cpu_features_basic. Set stepping in cpu_features.
6503 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
6504 (FEATURE_INDEX_2): New.
6505 (FEATURE_INDEX_MAX): Changed to enum.
6506 (COMMON_CPUID_INDEX_D_ECX_1): New.
6507 (COMMON_CPUID_INDEX_80000007): Likewise.
6508 (COMMON_CPUID_INDEX_80000008): Likewise.
6509 (cpuid_registers): Likewise.
6510 (cpu_features_basic): Likewise.
6511 (CPU_FEATURE_USABLE): Likewise.
6512 (bit_arch_XXX_Usable): Likewise.
6513 (cpu_features): Use cpuid_registers and cpu_features_basic.
6514 (bit_arch_XXX): Reweritten.
6515 (bit_cpu_XXX): Likewise.
6516 (index_cpu_XXX): Likewise.
6517 (reg_XXX): Likewise.
6518 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
6519 <support/check.h>.
6520 (CHECK_CPU_FEATURE): New.
6521 (CHECK_CPU_FEATURE_USABLE): Likewise.
6522 (cpu_kinds): Likewise.
6523 (do_test): Print vendor, family, model and stepping. Check
6524 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
6525 (TEST_FUNCTION): Removed.
6526 Include <support/test-driver.c> instead of
6527 "../../test-skeleton.c".
6528 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
6529 Check POPCNT instead of POPCOUNT.
6530 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
6531
6532 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
6533
6534 * scripts/gen-as-const.py (main): Avoid emitting empty line when
6535 there is no element in `consts'.
6536
6537 2018-12-01 Florian Weimer <fweimer@redhat.com>
6538
6539 * support/support_capture_subprocess.c
6540 (support_capture_subprocess): Check that pipe descriptors have
6541 expected values. Close original pipe descriptors in subprocess.
6542
6543 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
6544
6545 [BZ #23032]
6546 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
6547 attr with __pthread_default_barrierattr.
6548 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
6549 attr with __pthread_default_condattr.
6550 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
6551 attr with __pthread_default_mutexattr.
6552 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
6553 attr with __pthread_default_rwlockattr.
6554
6555 2018-12-01 Kemi Wang <kemi.wang@intel.com>
6556
6557 * manual/tunables.texi (POSIX Thread Tunables): New node.
6558 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
6559 * nptl/nptl-init.c: Include pthread_mutex_conf.h
6560 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
6561 __pthread_tunables_init.
6562 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
6563 (max_adaptive_count): Define.
6564 * nptl/pthread_mutex_conf.c: New file.
6565 * nptl/pthread_mutex_conf.h: New file.
6566 * sysdeps/generic/adaptive_spin_count.h: New file.
6567 * sysdeps/nptl/dl-tunables.list: New file.
6568 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
6569 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
6570 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
6571 Likewise.
6572
6573 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
6574
6575 [BZ #20544]
6576 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
6577 * stdlib/on_exit.c (__on_exit): Likewise.
6578 * stdlib/Makefile (tests): Add tst-bz20544.
6579 * stdlib/tst-bz20544.c: New test.
6580
6581 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
6582
6583 [BZ #19767]
6584 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
6585 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
6586 New.
6587
6588 2018-11-30 Florian Weimer <fweimer@redhat.com>
6589
6590 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
6591 Extend error logging.
6592 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
6593 symbol.
6594
6595 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6596
6597 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
6598 __sigismember instead of sigismember.
6599 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
6600 cancel_handler): New definitions.
6601 (do_system): Use posix_spawn instead of fork and execl and remove
6602 reentracy code.
6603 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
6604 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
6605 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
6606 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
6607 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
6608 * sysdeps/unix/sysv/linux/system.c: Likewise.
6609
6610 [BZ #22834]
6611 [BZ #17490]
6612 * NEWS: Add new semantic for atfork with popen and system.
6613 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
6614 fork and execl.
6615
6616 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6617
6618 [BZ #23690]
6619 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
6620 modification order when accessing reloc_result->addr.
6621 * include/link.h (reloc_result): Add field init.
6622 * nptl/Makefile (tests): Add tst-audit-threads.
6623 (modules-names): Add tst-audit-threads-mod1 and
6624 tst-audit-threads-mod2.
6625 Add rules to build tst-audit-threads.
6626 * nptl/tst-audit-threads-mod1.c: New file.
6627 * nptl/tst-audit-threads-mod2.c: Likewise.
6628 * nptl/tst-audit-threads.c: Likewise.
6629 * nptl/tst-audit-threads.h: Likewise.
6630
6631 2018-11-30 Joseph Myers <joseph@codesourcery.com>
6632
6633 * scripts/gen-as-const.py: New file.
6634 * scripts/gen-as-const.awk: Remove.
6635 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
6636 gen-as-const.py.
6637 ($(objpfx)test-as-const-%.c): Likewise.
6638
6639 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
6640
6641 * elf/dl-exception.c: Include <_itoa.h>.
6642
6643 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
6644
6645 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
6646 returned by __f_setlk.
6647
6648 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
6649 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6650
6651 * elf/Makefile (tests-internal): Add tst-create_format1.
6652 * elf/dl-exception.c (_dl_exception_create_format): Support
6653 %x, %lx and %zx.
6654 * elf/tst-create_format1.c: New file.
6655
6656 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
6657
6658 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
6659 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
6660 gnulib.)
6661 * argp/argp-help.c (__argp_failure): Likewise.
6662
6663 2018-11-29 Mao Han <han_mao@c-sky.com>
6664
6665 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
6666 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
6667 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
6668 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
6669 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
6670 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
6671 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
6672 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
6673 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
6674 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
6675 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
6676 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
6677 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
6678 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
6679 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
6680 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
6681 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
6682 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
6683 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
6684 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
6685 (R_CKCORE_TLS_TPOFF32): New defines.
6686
6687 2018-11-29 Florian Weimer <fweimer@redhat.com>
6688
6689 * posix/Makefile (before-compile): Remove testcases.h and
6690 ptestcases.h.
6691 (generated): Add testcases.h and ptestcases.h.
6692 (testcases.h, ptestcases.h): Move to $(objpfx).
6693 (runtests.o): Add dependency on testcases.h.
6694 (runptests.o): Add dependency on ptestcases.h.
6695 * posix/testcases.h, posix/ptestcases.h: Remove files.
6696 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
6697 not touch posix/testcases.h and posix/ptestcases.h.
6698
6699 2018-11-28 Florian Weimer <fweimer@redhat.com>
6700
6701 support: Add signal support to support_capture_subprocess_check.
6702 * support/capture_subprocess.h (support_capture_subprocess_check):
6703 Adjust comment and rename parameter.
6704 * support/support_capture_subprocess_check.c
6705 (print_actual_status): New function.
6706 (support_capture_subprocess_check): Support negative
6707 status_or_signal. Call print_actual_status.
6708 * support/tst-support_capture_subprocess.c (do_test): Call
6709 support_capture_subprocess_check.
6710 * libio/tst-vtables-common.c (termination_status)
6711 (init_termination_status): Remove.
6712 (check_for_termination): Adjust support_capture_subprocess_check
6713 call.
6714 (do_test): Remove call to init_termination_status.
6715
6716 2018-11-28 Joseph Myers <joseph@codesourcery.com>
6717
6718 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
6719 source directory instead of a copy.
6720 (CommandList.create_copy_dir): Remove.
6721
6722 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
6723
6724 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6725
6726 2018-11-28 Florian Weimer <fweimer@redhat.com>
6727
6728 * support/support.h (support_quote_string): Do not use str
6729 parameter name.
6730
6731 2018-11-27 Joseph Myers <joseph@codesourcery.com>
6732
6733 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
6734 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
6735
6736 2018-11-27 Florian Weimer <fweimer@redhat.com>
6737
6738 * support/support.h (support_quote_string): Declare.
6739 * support/support_quote_string.c: New file.
6740 * support/tst-support_quote_string.c: Likewise.
6741 * support/Makefile (libsupport-routines): Add
6742 support_quote_string.
6743 (tests): Add tst-support_quote_string.
6744
6745 2018-11-27 Florian Weimer <fweimer@redhat.com>
6746
6747 [BZ #23927]
6748 CVE-2018-19591
6749 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
6750 descriptor leak in case of ENODEV error.
6751
6752 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
6753
6754 [BZ #19767]
6755 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
6756 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
6757 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
6758
6759 2018-11-26 Carlos O'Donell <carlos@redhat.com>
6760
6761 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
6762 Error for unknown lines.
6763
6764 2018-11-26 Joseph Myers <joseph@codesourcery.com>
6765
6766 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
6767 Touch additional files.
6768
6769 2018-11-26 Florian Weimer <fweimer@redhat.com>
6770
6771 [BZ #23907]
6772 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
6773 double-frees.
6774
6775 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
6776
6777 [BZ #19767]
6778 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
6779 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
6780 SHARED. Include sysdep.h.
6781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
6782 ALWAYS_USE_VSYSCALL.
6783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
6784 ALWAYS_USE_VSYSCALL.
6785
6786 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
6787
6788 [BZ #19767]
6789 * nptl/Makefile (tests-static): Add tst-cond11-static.
6790 (tests): Likewise.
6791 * nptl/tst-cond11-static.c: New File.
6792 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
6793 tst-affinity-static.
6794 (tests): Likewise.
6795 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
6796 instead of SHARED.
6797 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
6798 (USE_VSYSCALL): Likewise.
6799 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
6800 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
6801 instead of SHARED.
6802 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
6803 SHARED.
6804 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
6805 New.
6806
6807 2018-11-23 Joseph Myers <joseph@codesourcery.com>
6808
6809 [BZ #23915]
6810 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6811 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
6812 Undefine.
6813
6814 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
6815
6816 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
6817 (tst-cet-legacy-1a-ARGS): New.
6818 ($(objpfx)tst-cet-legacy-1a): New target.
6819 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
6820
6821 2018-11-22 Joseph Myers <joseph@codesourcery.com>
6822
6823 * conform/conformtest.py (CompileSubTest.__init__): Set
6824 self.run_early to False.
6825 (ExecuteSubTest.__init__): Likewise.
6826 (HeaderTests.run): Try running all non-optional, non-XFAILed
6827 compilation tests in a single execution of the compiler.
6828
6829 * conform/conformtest.py (CompileSubTest): New class.
6830 (ExecuteSubTest): Likewise.
6831 (ElementTest.run): Rename to gen_subtests. Append tests to
6832 self.subtests instead of running them.
6833 (ConstantTest.run): Likewise.
6834 (SymbolTest.run): Likewise.
6835 (TypeTest.run): Likewise.
6836 (TagTest.run): Likewise.
6837 (FunctionTest.run): Likewise.
6838 (VariableTest.run): Likewise.
6839 (MacroFunctionTest.run): Likewise.
6840 (MacroStrTest.run): Likewise.
6841 (HeaderTests.handle_test_line): Generate subtests for tests.
6842 (HeaderTests.run): Run subtests for tests.
6843
6844 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6845
6846 * math/Versions (GLIBC_2.29): Add pow.
6847 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
6848 symbol.
6849 * math/w_pow.c: New file.
6850 * sysdeps/i386/fpu/w_pow.c: New file.
6851 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
6852 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
6853 and add necessary aliases.
6854 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
6855 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
6856 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6857 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6858 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6859 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6860 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6861 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6862 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6863 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6864 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6865 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6866 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6867 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6868 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6873 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6874 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6875 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6876 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6877 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6878 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6879 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6880 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
6881 __pow.
6882 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
6883 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
6884 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
6885
6886 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6887
6888 * math/Versions (GLIBC_2.29): Add log2.
6889 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
6890 symbol.
6891 * math/w_log2.c: New file.
6892 * sysdeps/i386/fpu/w_log2.c: New file.
6893 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
6894 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
6895 and add necessary aliases.
6896 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
6897 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
6898 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6899 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6900 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6901 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6902 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6903 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6904 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6905 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6906 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6907 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6908 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6909 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6910 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6915 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6916 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6917 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6918 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6919 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6920 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6921 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6922
6923 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6924
6925 * math/Versions (GLIBC_2.29): Add log.
6926 * math/w_log_compat.c (__log_compat): Change to versioned compat
6927 symbol.
6928 * math/w_log.c: New file.
6929 * sysdeps/i386/fpu/w_log.c: New file.
6930 * sysdeps/ia64/fpu/e_log.S: Update.
6931 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
6932 and add necessary aliases.
6933 * sysdeps/ieee754/dbl-64/w_log.c: New file.
6934 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
6935 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6936 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6937 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6938 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6939 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6940 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6941 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6942 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6943 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6944 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6945 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6946 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6947 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6952 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6953 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6954 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6955 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6956 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6957 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6958 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6959 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
6960 __log.
6961 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
6962 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
6963 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
6964 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
6965
6966 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6967
6968 * math/Versions (GLIBC_2.29): Add exp and exp2.
6969 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
6970 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
6971 * math/w_exp_compat.c (__exp_compat): Likewise.
6972 * math/w_exp.c: New file.
6973 * math/w_exp2.c: New file.
6974 * sysdeps/i386/fpu/w_exp.c: New file.
6975 * sysdeps/i386/fpu/w_exp2.c: New file.
6976 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
6977 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
6978 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
6979 and add necessary aliases.
6980 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
6981 and add necessary aliases.
6982 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
6983 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
6984 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
6985 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
6986 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6987 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6988 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6989 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6990 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6991 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6992 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6993 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6994 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6995 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6996 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6997 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6998 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7003 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7004 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7005 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7006 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7007 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7008 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7009 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7010 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
7011 (__ieee754_exp): Rename to __exp.
7012 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
7013 (__ieee754_exp): Rename to __exp.
7014 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
7015 (__ieee754_exp): Rename to __exp.
7016 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
7017 __exp.
7018 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
7019
7020 2018-11-20 DJ Delorie <dj@redhat.com>
7021
7022 * malloc/malloc.c (tcache_entry): Add key field.
7023 (tcache_put): Set it.
7024 (tcache_get): Likewise.
7025 (_int_free): Check for double free in tcache.
7026 * malloc/tst-tcfree1.c: New.
7027 * malloc/tst-tcfree2.c: New.
7028 * malloc/Makefile: Run the new tests.
7029 * manual/probes.texi: Document memory_tcache_double_free probe.
7030
7031 * dlfcn/dlerror.c (check_free): Prevent double frees.
7032
7033 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
7034
7035 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
7036
7037 2018-11-20 Joseph Myers <joseph@codesourcery.com>
7038
7039 * conform/conformtest.py (ElementTest.run): Use unique identifiers
7040 in tests. Use names for format arguments.
7041 (ConstantTest.run): Likewise.
7042 (SymbolTest.run): Likewise.
7043 (TypeTest.run): Likewise.
7044 (TagTest.run): Likewise.
7045 (FunctionTest.run): Likewise.
7046 (VariableTest.run): Likewise.
7047 (MacroFunctionTest.run): Likewise.
7048 (MacroStrTest.run): Likewise.
7049 (HeaderTests.__init__): Set self.num_tests.
7050 (HeaderTests.handle_test_line): Set test.num. Increment
7051 self.num_tests.
7052
7053 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
7054
7055 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
7056 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
7057 SEEK_SET.
7058
7059 2018-11-19 Mao Han <han_mao@c-sky.com>
7060
7061 * scripts/config.guess: Update to version 2018-08-29.
7062 * scripts/config.sub: Update to version 2018-08-29.
7063
7064 2018-11-19 Florian Weimer <fweimer@redhat.com>
7065
7066 support: Print timestamps in timeout handler.
7067 * support/support_test_main.c (print_timestamp): New function.
7068 (signal_handler): Use it to print the termination time and the
7069 time of the last write to standard output.
7070
7071 2018-11-16 Zack Weinberg <zackw@panix.com>
7072 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7073
7074 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
7075 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
7076 argument.
7077 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
7078 and add flags argument. Check flags instead of __ldbl_is_dbl when
7079 deciding whether to set is_long_double.
7080 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
7081 passing zero for flags argument.
7082 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
7083
7084 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
7085 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
7086 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
7087 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
7088 variable names. Remove libc_hidden_def/libc_hidden_proto from
7089 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
7090 longer called from within the library.
7091 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
7092 for __nldbl___vstrfmon_l, declare it explicitly.
7093
7094 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
7095
7096 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
7097
7098 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
7099 macros
7100 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
7101 F_SETLK64, F_SETLKW64, respectively.
7102 * sysdeps/mach/hurd/f_setlk.c: New file.
7103 * sysdeps/mach/hurd/f_setlk.h: New file.
7104 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
7105 f_setlk.
7106 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
7107 (__libc_fcntl): Move non-flock operations to...
7108 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
7109 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
7110
7111 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
7112
7113 mktime: DEBUG_MKTIME cleanup
7114 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
7115 And it’s no longer needed now that glibc and Gnulib both have
7116 their own testing mechanisms for mktime.
7117 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
7118
7119 mktime: fix non-EOVERFLOW errno handling
7120 [BZ#23789]
7121 mktime was not properly reporting failures when the underlying
7122 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
7123 them like EOVERFLOW failures, and set errno to EOVERFLOW.
7124 The problem could happen on non-glibc platforms, with Gnulib.
7125 * time/mktime.c (guess_time_tm): Remove, replacing with ...
7126 (tm_diff): ... this simpler function, which does not change errno.
7127 All callers changed to deal with errno themselves.
7128 (ranged_convert, __mktime_internal): Return failure immediately if
7129 the underlying function reports any failure other than EOVERFLOW.
7130 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
7131 gap code fails.
7132
7133 mktime: fix bug with Y2038 DST transition
7134 [BZ#23789]
7135 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
7136 mishandle a DST transition that jumps over the Y2038 boundary.
7137 No such DST transitions are known so this is only a theoretical
7138 bug, but we might as well do things right.
7139
7140 mktime: make more room for overflow
7141 [BZ#23789]
7142 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
7143 This is so that we can add tm_diff results to a previous guess,
7144 which will be useful in a later patch.
7145
7146 mktime: simplify offset guess
7147 [BZ#23789]
7148 * time/mktime.c (__mktime_internal): Omit excess precision.
7149
7150 mktime: new test for mktime failure
7151 [BZ#23789]
7152 Based on a test suggested by Albert Aribaud in:
7153 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
7154 * time/Makefile (tests): Add bug-mktime4.
7155 * time/bug-mktime4.c: New file.
7156
7157 mktime: fix EOVERFLOW bug
7158 [BZ#23789]
7159 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
7160 Include libc-config.h, not config.h, for __set_errno.
7161 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
7162
7163 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
7164
7165 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
7166 __attribute_copy__ to copy attributes from name. Drop static qualifier
7167 to avoid warnings about leaf attribute not having effect on static
7168 functions.
7169
7170 2018-11-13 Florian Weimer <fweimer@redhat.com>
7171
7172 * malloc/malloc.c (fastbin_push_entry): New function.
7173 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
7174 (REMOVE_FB): Remove macro.
7175 (_int_malloc): Use fastbin_pop_entry and reindent.
7176 (_int_free): Use fastbin_push_entry.
7177 (malloc_consolidate): Use atomic_exchange_acquire.
7178
7179 2018-11-13 Joseph Myers <joseph@codesourcery.com>
7180
7181 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
7182 alias attribute, not with strong_alias.
7183
7184 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
7185 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
7186 with additional parameter thread.
7187 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
7188 in terms of __hidden_ver2.
7189 (hidden_tls_def): New macro.
7190 (libc_hidden_tls_def): Likewise.
7191 (rtld_hidden_tls_def): Likewise.
7192 (libm_hidden_tls_def): Likewise.
7193 (libmvec_hidden_tls_def): Likewise.
7194 (libresolv_hidden_tls_def): Likewise.
7195 (librt_hidden_tls_def): Likewise.
7196 (libdl_hidden_tls_def): Likewise.
7197 (libnss_files_hidden_tls_def): Likewise.
7198 (libnsl_hidden_tls_def): Likewise.
7199 (libnss_nisplus_hidden_tls_def): Likewise.
7200 (libutil_hidden_tls_def): Likewise.
7201 (libutil_hidden_tls_def): Likweise.
7202 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
7203 libc_hidden_tls_def.
7204 (__sim_disabled_exceptions_thread): Likewise.
7205 (__sim_round_mode_thread): Likewise.
7206
7207 * sysdeps/sparc/sparc-ifunc.h [SHARED]
7208 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
7209 copy attributes from name.
7210
7211 2018-11-12 Joseph Myers <joseph@codesourcery.com>
7212
7213 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
7214 Use __attribute_copy__ to copy attributes from name.
7215
7216 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
7217 with __hidden_ver1 call.
7218 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
7219 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
7220 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
7221 (__cosf): Do not declare here.
7222 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
7223 (__sincosf): Do not declare here.
7224 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
7225 (__sinf): Do not declare here.
7226
7227 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
7228 (__BIG_ENDIAN): Likewise.
7229 (__BYTE_ORDER): Likewise.
7230 (strong_alias): Likewise.
7231 (_strong_alias): Likewise.
7232
7233 2018-11-12 Florian Weimer <fweimer@redhat.com>
7234
7235 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
7236 function. Move after the definition of in_smallbin_range. Do not
7237 use __builtin_expect for paths that lead to a noreturn function.
7238 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
7239 because it is unclear whether this is in fact an unlikely
7240 condition.
7241 (_int_malloc, _int_free): Adjust.
7242 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
7243 variables.
7244 * malloc/arena.c (heap_trim): Likewise.
7245
7246 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7247
7248 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
7249 it, free it if needed.
7250 (reauthenticate): Test and use ccwdir.
7251 (child_init_port): In non-resetids case, test and use ccwdir.
7252 (child_chdir): New nested function to set ccwdir.
7253 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
7254 * hurd/hurd/port.h (_hurd_port_move): New function.
7255 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
7256 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
7257 * hurd/Versions (_hurd_port_move): Export function.
7258 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
7259 symbol.
7260 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
7261 of dtablesize for allocating dtable_cloexec.
7262
7263 2018-11-09 Martin Sebor <msebor@redhat.com>
7264
7265 * include/libc-symbols.h (__attribute_copy__): Define macro unless
7266 it's already defined.
7267 (_strong_alias): Use __attribute_copy__.
7268 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
7269 * misc/sys/cdefs.h (__attribute_copy__): New macro.
7270 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
7271 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
7272 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
7273 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
7274 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
7275 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
7276 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
7277 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
7278 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
7279 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
7280 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
7281 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
7282 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
7283 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
7284 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
7285 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
7286 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
7287
7288 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7289
7290 * misc/tst-efgcvt.c: Include support/check.h and
7291 support/test-driver.c. Do not include test-skeleton.c.
7292 (error_count): Remove.
7293 (output_error): Replace increments to error_count with calls to
7294 support_record_failure.
7295 (output_r_error): Likewise.
7296 (special): Likewise.
7297 (do_test): Unconditionally return zero.
7298 (TEST_FUNCTION): Remove.
7299
7300 2018-11-09 Joseph Myers <joseph@codesourcery.com>
7301
7302 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
7303 not $(@D)/scratch.
7304 ($(linknamespace-header-tests)): Likewise.
7305
7306 * conform/conformtest.py: New file.
7307 * conform/conformtest.pl: Remove.
7308 * conform/GlibcConform.pm: Likewise.
7309 * conform/glibcconform.py (KEYWORDS_C90): New constant.
7310 (KEYWORDS_C99): Likewise.
7311 (KEYWORDS): Likewise.
7312 * conform/Makefile ($(conformtest-header-tests)): Use
7313 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
7314 option. Use --header instead of --headers.
7315 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
7316 function entries.
7317 * conform/data/spawn.h-data: Likewise.
7318 * conform/data/fcntl.h-data (openat): Add space after function
7319 name.
7320 * conform/data/wchar.h-data (wcscasecmp): Likewise.
7321 (wcscasecmp_l): Likewise.
7322 * conform/data/termios.h-data (c_cc): Add space after element
7323 name.
7324
7325 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7326
7327 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
7328 instead of manually comparing and reporting mismatching strings.
7329 * misc/tst-ldbl-error.c (do_one_test): Likewise.
7330 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
7331
7332 2018-11-08 Joseph Myers <joseph@codesourcery.com>
7333
7334 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
7335 __ASSUME_SOCKETCALL.
7336 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7337 (__ASSUME_SOCKETCALL): Remove.
7338 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7339 (__ASSUME_SOCKETCALL): Likewise.
7340 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7341 (__ASSUME_SOCKETCALL): Likewise.
7342 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7343 (__ASSUME_SOCKETCALL): Likewise.
7344 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7345 (__ASSUME_SOCKETCALL): Likewise.
7346 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7347 (__ASSUME_SOCKETCALL): Likewise.
7348 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7349 (__ASSUME_SOCKETCALL): Likewise.
7350
7351 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
7352
7353 [BZ #23509]
7354 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
7355 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
7356 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
7357 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
7358 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
7359 lc_unknown.
7360
7361 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
7362
7363 [BZ #17630]
7364 * resolv/tst-resolv-network.c: Add test for getnetbyname.
7365
7366 2018-11-07 Joseph Myers <joseph@codesourcery.com>
7367
7368 [BZ #23867]
7369 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7370 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
7371 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7372 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
7373
7374 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7375
7376 * support/support_test_compare_string.c
7377 (support_test_compare_string): Fix printf format.
7378
7379 2018-11-07 Florian Weimer <fweimer@redhat.com>
7380
7381 Implement TEST_COMPARE_STRING.
7382 * support/check.h (TEST_COMPARE_STRING): Define.
7383 (support_test_compare_string): Declare.
7384 * support/Makefile (libsupport-routines): Add
7385 support_test_compare_string.
7386 (tests): Add tst-test_compare_string.
7387 * support/support_test_compare_string.c: New file.
7388 * support/tst-test_compare_string.c: Likewise.
7389
7390 2018-11-07 Andreas Schwab <schwab@suse.de>
7391
7392 [BZ #23864]
7393 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
7394 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
7395 Undef.
7396
7397 2018-11-06 Joseph Myers <joseph@codesourcery.com>
7398
7399 [BZ #23862]
7400 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7401 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
7402 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
7403 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
7404 Likewise.
7405
7406 2018-11-06 Florian Weimer <fweimer@redhat.com>
7407
7408 [BZ #17405]
7409 * posix/Makefile (routines): Add spawn_faction_addchdir.
7410 (tests): Add tst-spawn-chdir.
7411 * posix/Versions (GLIBC_2.29): Add
7412 posix_spawn_file_actions_addchdir_np.
7413 * posix/spawn_faction_addchdir.c: New file.
7414 * posix/spawn_faction_destroy.c
7415 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
7416 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
7417 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
7418 chdir_action.
7419 * posix/tst-spawn-chdir.c: New file.
7420 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
7421 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
7422 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
7423 posix_spawn_file_actions_addchdir_np.
7424 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
7425 Likewise.
7426 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
7427 Likewise.
7428 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
7429 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
7430 Likewise.
7431 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
7432 Likewise.
7433 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
7434 Likewise.
7435 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
7436 Likewise.
7437 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
7438 Likewise.
7439 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
7440 Likewise.
7441 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7442 (GLIBC_2.29): Likewise.
7443 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7444 (GLIBC_2.29): Likewise.
7445 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7446 (GLIBC_2.29): Likewise.
7447 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7448 (GLIBC_2.29): Likewise.
7449 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
7450 Likewise.
7451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7452 (GLIBC_2.29): Likewise.
7453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7454 (GLIBC_2.29): Likewise.
7455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7456 (GLIBC_2.29): Likewise.
7457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7458 (GLIBC_2.29): Likewise.
7459 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
7460 Likewise.
7461 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
7462 Likewise.
7463 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
7464 Likewise.
7465 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
7466 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
7467 Likewise.
7468 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
7469 Likewise.
7470 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
7471 Likewise.
7472 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
7473 Likewise.
7474
7475 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7476
7477 * misc/Makefile (tests): Add tst-ldbl-error.
7478 * misc/tst-ldbl-error.c: New file.
7479
7480 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7481
7482 * misc/Makefile (tests): Add tst-ldbl-warn.
7483 * misc/tst-ldbl-warn.c: New file.
7484
7485 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7486
7487 * argp/Makefile (tests): Add tst-ldbl-argp.
7488 * argp/tst-ldbl-argp.c: New file.
7489
7490 2018-11-05 Arjun Shankar <arjun@redhat.com>
7491
7492 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
7493 __gconv_path_elem and call __gconv_get_path unconditionally.
7494
7495 2018-11-05 Andreas Schwab <schwab@suse.de>
7496
7497 [BZ #22927]
7498 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
7499 creating the first helper thread failed.
7500
7501 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
7502
7503 * sysdeps/mach/hurd/msync.c: New file.
7504
7505 2018-11-02 Florian Weimer <fweimer@redhat.com>
7506
7507 * support/shell-container.c (copy_func): Call
7508 support_copy_file_range instead of copy_file_range to support
7509 cross-device copies.
7510
7511 2018-11-02 Florian Weimer <fweimer@redhat.com>
7512
7513 * support/test-container.c: Include <libc-pointer-arith.h> for
7514 ALIGN_UP.
7515
7516 2018-11-01 Zong Li <zong@andestech.com>
7517
7518 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
7519 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
7520 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
7521 (__FP_FRAC_SET_8): Add implementation for RV32 use.
7522
7523 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
7524 variable to avoid overlap arguments.
7525
7526 2018-11-01 Joseph Myers <joseph@codesourcery.com>
7527
7528 * posix/bug-regex22.c (main): Use puts with distinct error
7529 messages for unexpected success of re_compile_pattern, not printf
7530 with NULL argument to %s.
7531
7532 * stdio-common/bug22.c: Include <libc-diag.h>.
7533 (do_test): Disable -Wformat-overflow= warnings around fprintf
7534 calls outputting more than INT_MAX characters.
7535 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
7536 around printf call with NULL %s argument.
7537
7538 [BZ #23848]
7539 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
7540 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
7541 Undefine.
7542 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7543 (__ASSUME_RECVMSG_SYSCALL): Likewise.
7544 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7545 (__ASSUME_SENDTO_SYSCALL): Likewise.
7546 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7547 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
7548 [!__arch64__].
7549 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7550 (__ASSUME_CONNECT_SYSCALL): Likewise.
7551 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7552 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7553 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
7554 Define.
7555 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
7556 Likewise.
7557 [__LINUX_KERNEL_VERSION >= 0x040400]
7558 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7559 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
7560 Remove.
7561 (listen): Likewise.
7562 (setsockopt): Likewise.
7563
7564 2018-11-01 Fredrik Noring <noring@nocrew.org>
7565
7566 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
7567 with the ISA override.
7568
7569 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
7570
7571 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
7572 #endif.
7573
7574 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
7575
7576 * manual/errno.texi (EIEIO): Document how translators should
7577 translate the error message.
7578 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
7579 printing trailing whitespaces refused by git.
7580 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
7581 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
7582 * hurd/Makefile (user-interfaces): Add pci.
7583
7584 2018-10-30 Joseph Myers <joseph@codesourcery.com>
7585
7586 * conform/linknamespace.py: New file.
7587 * conform/linknamespace.pl: Remove file.
7588 * conform/Makefile ($(linknamespace-header-tests)): Use
7589 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
7590 option.
7591
7592 2018-10-30 Florian Weimer <fweimer@redhat.com>
7593
7594 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
7595 memory leaks.
7596
7597 2018-10-30 Florian Weimer <fweimer@redhat.com>
7598
7599 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
7600
7601 2018-10-30 Florian Weimer <fweimer@redhat.com>
7602
7603 * stdlib/tst-strtod-overflow.c (do_test): Switch to
7604 support_blob_repeat.
7605
7606 2018-10-30 Florian Weimer <fweimer@redhat.com>
7607
7608 Avoid spurious test failures in stdlib/test-bz22786.
7609 * support/Makefile (libsupport-routines): Add blob_repeat.
7610 (tests): Add tst-support_blob_repeat.
7611 * support/blob_repeat.h: New file.
7612 * support/blob_repeat.c: Likewise.
7613 * support/tst-support_blob_repeat.c: Likewise.
7614 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
7615 support_blob_repeat_allocate.
7616
7617 2018-10-30 Andreas Schwab <schwab@suse.de>
7618
7619 [BZ #23125]
7620 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
7621 Don't use tail call.
7622 * elf/tst-unwind-main.c: New file.
7623 * elf/Makefile (tests): Add tst-unwind-main.
7624 (CFLAGS-tst-unwind-main.c): Define.
7625
7626 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
7627
7628 [BZ #23791]
7629 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
7630 n_cs_precedes to 0.
7631 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
7632
7633 2018-10-29 Joseph Myers <joseph@codesourcery.com>
7634
7635 * conform/glibcconform.py: Do not import shutil.
7636 (list_exported_functions): Use tempfile.TemporaryDirectory instead
7637 of mkdtemp.
7638
7639 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
7640 critic_missing for versions before 3.4.
7641 * configure: Regenerated.
7642 * manual/install.texi (Tools for Compilation): Document
7643 requirement for Python to build glibc.
7644 * INSTALL: Regenerated.
7645 * Rules [PYTHON]: Make code unconditional.
7646 * benchtests/Makefile [PYTHON]: Likewise.
7647 * conform/Makefile [PYTHON]: Likewise.
7648 * manual/Makefile [PYTHON]: Likewise.
7649 * math/Makefile [PYTHON]: Likewise.
7650
7651 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7652
7653 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
7654 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
7655 answer to interrupt_operation, return EIEIO instead of EINTR.
7656 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
7657 _hurd_intr_rpc_msg_about_to global point to start of controlled
7658 assembly snippet. Make it check canceled flag.
7659 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
7660 the _hurd_intr_rpc_msg_about_to point.
7661 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
7662 issue, remove cancel flag check.
7663
7664 2018-10-26 Joseph Myers <joseph@codesourcery.com>
7665
7666 * scripts/build-many-glibcs.py: Remove compatibility for missing
7667 os.cpu_count and re.fullmatch.
7668
7669 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
7670
7671 [BZ #23822]
7672 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
7673 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
7674 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
7675
7676 2018-10-25 Joseph Myers <joseph@codesourcery.com>
7677
7678 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
7679 macro.
7680
7681 2018-10-25 Florian Weimer <fweimer@redhat.com>
7682
7683 [BZ #23562]
7684 [BZ #23821]
7685 XFAIL siginfo_t si_band conform test on sparc64.
7686 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
7687 (__SI_BAND_TYPE): Only override long int default type on sparc64.
7688 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
7689 (conformtest-xfail-conds): Add sparc64-linux.
7690 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
7691 sparc64.
7692 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
7693
7694 2018-10-25 Joseph Myers <joseph@codesourcery.com>
7695
7696 * elf/elf.h (NT_MIPS_DSP): New macro.
7697 (NT_MIPS_FP_MODE): Likewise.
7698
7699 2018-10-25 Zong Li <zong@andestech.com>
7700
7701 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
7702 name by adding the file extension (.so).
7703
7704 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
7705
7706 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
7707 (test-xfail-ISO11/threads.h/linknamespace,
7708 test-xfail-ISO11/threads.h/conform): Add.
7709
7710 2018-10-24 Joseph Myers <joseph@codesourcery.com>
7711
7712 * math/gen-libm-test.py: Import os.
7713 (ALL_FLOATS_MANUAL): New constant.
7714 (ALL_FLOATS_SUFFIX): Likewise.
7715 (Ulps.all_functions): New function.
7716 (real_all_ulps): Likewise.
7717 (generate_err_table_sub): Likewise.
7718 (generate_err_table): Likewise.
7719 (main): Handle -s and -m options.
7720 * manual/libm-err-tab.pl: Remove.
7721 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
7722 instead of libm-err-tab.pl.
7723 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
7724 != no].
7725 * manual/install.texi (Tools for Compilation): Document
7726 requirement for Python to build manual.
7727 * INSTALL: Regenerated.
7728
7729 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
7730
7731 * bits/time64.h: New file.
7732 * include/time.h: Replace internal_time_t with __time64_t.
7733 * posix/bits/types (__time64_t): Add.
7734 * stdlib/Makefile: Add bits/time64.h to includes.
7735 * time/tzfile.c: Replace internal_time_t with __time64_t.
7736
7737 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7738
7739 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
7740 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
7741 __posix_spawn_file_actions_init, __posix_spawnattr_init,
7742 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
7743 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
7744 prototype.
7745 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
7746 * posix/spawn_faction_addclose.c
7747 (__posix_spawn_file_actions_addclose): Add hidden definition.
7748 * posix/spawn_faction_adddup2.c
7749 (__posix_spawn_file_actions_adddup2): Likewise.
7750 * posix/spawn_faction_destroy.c
7751 (__posix_spawn_file_actions_destroy): Likewise.
7752 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
7753 Likewise.
7754 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
7755 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
7756 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
7757 Likewise.
7758 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
7759 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
7760 Likewise.
7761
7762 2018-10-24 Andreas Schwab <schwab@suse.de>
7763
7764 [BZ #18093]
7765 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
7766 format cache.
7767 * elf/cache.c (print_cache): Likewise.
7768
7769 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
7770
7771 * bits/timesize.h: New file.
7772 * stdlib/Makefile (headers): Add bits/timesize.h.
7773 * sysdeps/unix/sysv/linux/bits/msq-pad.h
7774 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
7775 * sysdeps/unix/sysv/linux/bits/sem-pad.h
7776 (__SEM_PAD_AFTER_TIME): Likewise.
7777 * sysdeps/unix/sysv/linux/bits/shm-pad.h
7778 (__SHM_PAD_AFTER_TIME): Likewise.
7779 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
7780 (__MSQ_PAD_BEFORE_TIME): Likewise.
7781 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
7782 (__SEM_PAD_BEFORE_TIME): Likewise.
7783 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
7784 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
7785 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
7786 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
7787 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
7788 (__MSQ_PAD_BEFORE_TIME): Likewise.
7789 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
7790 (__SEM_PAD_BEFORE_TIME): Likewise.
7791 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
7792 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
7793 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
7794 (__MSQ_PAD_BEFORE_TIME): Likewise.
7795 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
7796 (__SEM_PAD_BEFORE_TIME): Likewise.
7797 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
7798 (__SHM_PAD_BEFORE_TIME): Likewise.
7799 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
7800 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
7801 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
7802
7803 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
7804
7805 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
7806 USE_RDTSCP is defined.
7807 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
7808 USE_RDTSCP is defined.
7809
7810 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7811
7812 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
7813 defined.
7814
7815 [BZ #23709]
7816 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
7817 independently of other flags.
7818
7819 2018-10-23 Florian Weimer <fweimer@redhat.com>
7820
7821 * time/tst-mktime2.c (N_STRINGS): Remove.
7822 (set_timezone): New function.
7823 (spring_forward_gap): Call it. Use FAIL_EXIT1.
7824 (mktime_test1): Report localtime failure and check errno value.
7825 Use TEST_COMPARE.
7826 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
7827 (do_test): Remove alarm call. Use set_timezone and array_length.
7828
7829 2018-10-23 Andreas Schwab <schwab@suse.de>
7830
7831 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
7832 (__start_context): Use END instead of PSEUDO_END.
7833
7834 2018-10-22 Joseph Myers <joseph@codesourcery.com>
7835
7836 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7837 version to 4.19.
7838
7839 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7840 version to 4.19.
7841
7842 [BZ #23793]
7843 * wcsmbs/c32rtomb.c: New file.
7844 * wcsmbs/mbrtoc32.c: Likewise.
7845 * wcsmbs/tst-c32-state.c: Likewise.
7846 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
7847 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
7848 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
7849 (tests): Add tst-c32-state.
7850 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
7851 $(gen-locales).
7852
7853 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
7854
7855 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
7856 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
7857
7858 2018-10-19 Joseph Myers <joseph@codesourcery.com>
7859
7860 [BZ #23794]
7861 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
7862 pair and return 0 in that case, and use saved character to
7863 interpret following character.
7864 * wcsmbs/tst-c16-surrogate.c: New file.
7865 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
7866 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
7867 Depend on $(gen-locales)
7868
7869 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
7870
7871 [BZ #23562]
7872 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
7873 (struct siginfo_t): Use correct type for si_band.
7874
7875 2018-10-19 Florian Weimer <fweimer@redhat.com>
7876
7877 [BZ #23689]
7878 * resource/bits/types/struct_rusage.h (struct rusage): Update
7879 comment on struct. Remove extraneous field comment.
7880
7881 2018-10-18 David S. Miller <davem@davemloft.net>
7882
7883 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
7884 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
7885 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
7886 sysdep_routines in subdir elf.
7887 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
7888 version for __vdso_clock_gettime.
7889 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
7890 Define.
7891 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
7892 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
7893
7894 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
7895
7896 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
7897
7898 * sysdeps/i386/init-arch.h: Removed.
7899 * sysdeps/i386/i586/init-arch.h: Likewise.
7900 * sysdeps/i386/i686/init-arch.h: Likewise.
7901 * sysdeps/i386/i686/hp-timing.h: Likewise.
7902 * sysdeps/x86_64/hp-timing.h: Likewise.
7903 * sysdeps/i386/isa.h: New file.
7904 * sysdeps/i386/i586/isa.h: Likewise.
7905 * sysdeps/i386/i686/isa.h: Likewise.
7906 * sysdeps/x86_64/isa.h: Likewise.
7907 * sysdeps/x86/hp-timing.h: New file.
7908 * sysdeps/x86/init-arch.h: Include <isa.h>.
7909
7910 2018-10-17 Joseph Myers <joseph@codesourcery.com>
7911
7912 * math/libm-test-pow.inc (pow_test_data): Do not allow
7913 divide-by-zero exception for pow(+/- 0, -Inf).
7914
7915 2018-10-17 Zack Weinberg <zackw@panix.com>
7916
7917 * manual/job.texi (Job Control is Optional): Remove node, as
7918 job control has not been optional in quite some time.
7919 (Job Control): Mention briefly that systems older than
7920 POSIX.1-2001 might not support job control.
7921 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
7922 defined on systems conforming to POSIX.1-2001.
7923
7924 2018-10-17 Arjun Shankar <arjun@redhat.com>
7925
7926 [BZ #22062]
7927 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
7928 indentation.
7929 * (__gconv_read_conf): Mark function static.
7930 * (once): New static variable.
7931 * (__gconv_load_conf): New function.
7932 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
7933 * iconv/gconv_db.c (once): Remove static variable.
7934 * (__gconv_compare_alias): Use __gconv_load_conf instead of
7935 __gconv_read_conf.
7936 * (__gconv_find_transform): Likewise.
7937 * iconv/tst-iconv-mt.c: New test.
7938 * iconv/Makefile: Add tst-iconv_mt.
7939
7940 2018-10-17 Joseph Myers <joseph@codesourcery.com>
7941
7942 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7943 bits/shm-pad.h.
7944 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
7945 (shmatt_t): Define as __syscall_ulong_t.
7946 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
7947 and [__SHM_PAD_AFTER_TIME].
7948 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
7949 Define shm_segsz and associated padding based on
7950 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
7951 Use __syscall_ulong_t instead of unsigned long int.
7952 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
7953 unsigned long int.
7954 [__USE_MISC] (struct shm_info): Likewise.
7955 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
7956 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
7957 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
7958 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
7959 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
7960 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
7961 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
7962 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
7963 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7964 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7965 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7966
7967 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7968 bits/shmlba.h.
7969 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
7970 (SHMLBA): Remove macro.
7971 (__getpagesize): Remove function declaration.
7972 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
7973 <bits/shmlba.h>.
7974 (SHMLBA): Remove macro.
7975 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
7976 <bits/shmlba.h>.
7977 (SHMLBA): Remove macro.
7978 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
7979 <bits/shmlba.h>.
7980 (SHMLBA): Remove macro.
7981 (__getpagesize): Remove function declaration.
7982 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
7983 <bits/shmlba.h>.
7984 (SHMLBA): Remove macro.
7985 (__getshmlba): Remove function declaration.
7986 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
7987 (SHMLBA): Remove macro.
7988 (__getpagesize): Remove function declaration.
7989 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
7990 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
7991 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7992 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
7993 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
7994 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
7995 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
7996 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
7997 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
7998 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
7999
8000 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
8001
8002 [BZ #23275]
8003 * nptl/tst-mutex10.c: New File.
8004 * nptl/Makefile (tests): Add tst-mutex10.
8005 (tst-mutex10-ENV): New variable.
8006 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
8007 Ensure that elision path is used if elision is available.
8008 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
8009 Likewise.
8010 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
8011 Likewise.
8012 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
8013 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
8014 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
8015 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
8016 Likewise.
8017 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
8018 (__pthread_mutex_cond_lock_adjust): Likewise.
8019 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
8020 Likewise.
8021 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
8022 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
8023 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8024 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
8025 Add comments.
8026 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
8027 Use atomic_load_relaxed and atomic_store_relaxed.
8028 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
8029 Use atomic_store_relaxed.
8030
8031 2018-10-17 Andreas Schwab <schwab@suse.de>
8032
8033 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
8034 * crypt/badsalttest.c (TIMEOUT): Likewise.
8035 * crypt/sha256c-test.c (TIMEOUT): Likewise.
8036 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
8037 * io/test-lfs.c (TIMEOUT): Likewise.
8038 * libio/tst-atime.c (TIMEOUT): Likewise.
8039 * localedata/tst-leaks.c (TIMEOUT): Likewise.
8040 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
8041 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
8042 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
8043 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
8044 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
8045 * nptl/tst-cond11.c (TIMEOUT): Likewise.
8046 * nptl/tst-cond14.c (TIMEOUT): Likewise.
8047 * nptl/tst-cond15.c (TIMEOUT): Likewise.
8048 * nptl/tst-cond24.c (TIMEOUT): Likewise.
8049 * nptl/tst-cond25.c (TIMEOUT): Likewise.
8050 * nptl/tst-kill2.c (TIMEOUT): Likewise.
8051 * nptl/tst-kill3.c (TIMEOUT): Likewise.
8052 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
8053 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
8054 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
8055 * nptl/tst-once2.c (TIMEOUT): Likewise.
8056 * nptl/tst-once3.c (TIMEOUT): Likewise.
8057 * nptl/tst-once4.c (TIMEOUT): Likewise.
8058 * nptl/tst-robust8.c (TIMEOUT): Likewise.
8059 * nptl/tst-robust9.c (TIMEOUT): Likewise.
8060 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
8061 * nptl/tst-sem14.c (TIMEOUT): Likewise.
8062 * nptl/tst-sem6.c (TIMEOUT): Likewise.
8063 * nptl/tst-signal3.c (TIMEOUT): Likewise.
8064 * nptl/tst-spin4.c (TIMEOUT): Likewise.
8065 * nptl/tst-tls3.c (TIMEOUT): Likewise.
8066 * nptl/tst-tls4.c (TIMEOUT): Likewise.
8067 * posix/tst-chmod.c (TIMEOUT): Likewise.
8068 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
8069 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
8070 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
8071 * posix/tst-regex2.c (TIMEOUT): Likewise.
8072 * posix/tst-waitid.c (TIMEOUT): Likewise.
8073 * rt/tst-aio.c (TIMEOUT): Likewise.
8074 * rt/tst-aio10.c (TIMEOUT): Likewise.
8075 * rt/tst-aio4.c (TIMEOUT): Likewise.
8076 * rt/tst-aio5.c (TIMEOUT): Likewise.
8077 * rt/tst-aio6.c (TIMEOUT): Likewise.
8078 * rt/tst-aio64.c (TIMEOUT): Likewise.
8079 * rt/tst-aio7.c (TIMEOUT): Likewise.
8080 * rt/tst-aio9.c (TIMEOUT): Likewise.
8081 * rt/tst-clock.c (TIMEOUT): Likewise.
8082 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
8083 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
8084 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
8085 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
8086 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
8087 * rt/tst-timer4.c (TIMEOUT): Likewise.
8088 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
8089 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
8090 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
8091 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
8092 * time/tst-ftime.c (TIMEOUT): Likewise.
8093 * timezone/tst-tzset.c (TIMEOUT): Likewise.
8094
8095 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
8096
8097 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
8098 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
8099 for thunderX2.
8100
8101 2018-10-15 Joseph Myers <joseph@codesourcery.com>
8102
8103 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8104 bits/sem-pad.h.
8105 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
8106 instead of <bits/wordsize.h>.
8107 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
8108 and [__SEM_PAD_AFTER_TIME].
8109 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
8110 __syscall_ulong_t instead of unsigned long int.
8111 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
8112 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
8113 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
8114 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
8115 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
8116 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
8117 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
8118 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
8119 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8120 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8121 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8122
8123 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
8124
8125 regex: simplify by using intprops.h
8126 [BZ#23744]
8127 * posix/regex_internal.h [_LIBC]: Include intprops.h.
8128 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
8129 intprops.h defines them.
8130
8131 regex: __builtin_expect → __glibc_unlikely
8132 [BZ#23744]
8133 This refactoring was prompted by a problem when the regex code is
8134 used as part of Gnulib and when the builder’s compiler does not grok
8135 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
8136 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
8137 Although this refactoring does not fix the problem directly,
8138 we might as well have Gawk use the now-preferred glibc style for when
8139 __builtin_expect is unavailable.
8140 * posix/regex_internal.h (BE): Remove.
8141 All uses replaced by __glibc_unlikely or __glibc_likely.
8142
8143 2018-10-11 Joseph Myers <joseph@codesourcery.com>
8144
8145 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8146 bits/msq-pad.h.
8147 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
8148 instead of <bits/wordsize.h>.
8149 (msgqnum_t): Define as __syscall_ulong_t.
8150 (msglen_t): Likewise.
8151 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
8152 and [__MSQ_PAD_AFTER_TIME].
8153 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
8154 __syscall_ulong_t instead of unsigned long int.
8155 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
8156 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
8157 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
8158 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
8159 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
8160 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
8161 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
8162 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
8163 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8164 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8165 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8166
8167 2018-10-10 Joseph Myers <joseph@codesourcery.com>
8168
8169 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
8170 (struct shmid_ds): Condition padding after time fields on
8171 [__WORDSIZE == 32].
8172 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
8173 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
8174 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8175
8176 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
8177 (struct semid_ds): Condition padding after time fields on
8178 [__WORDSIZE == 32].
8179 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
8180 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
8181 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
8182 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8183
8184 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
8185 (struct msqid_ds): Condition padding after time fields on
8186 [__WORDSIZE == 32].
8187 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
8188 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
8189 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
8190 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8191
8192 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
8193
8194 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
8195
8196 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
8197
8198 * libio/tst-readline.c (TIMEOUT): Define.
8199
8200 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
8201
8202 mktime fix for Gnulib + coreutils
8203 [BZ#23745]
8204 This fix affects only Gnulib. Problem discovered when
8205 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
8206 * time/mktime.c:
8207 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
8208 Do not define since it is not used. Defining an unused static
8209 function prompts a warning from GCC when Coreutils is configured
8210 with --enable-gcc-warnings.
8211
8212 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8213
8214 * benchtests/scripts/compare_bench.py (main): set float type on
8215 threshold argument.
8216
8217 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
8218
8219 [BZ #23740]
8220 * localedata/locales/kl_GL (mon): Update, the relative case.
8221 (alt_mon): Add, fill with month names in the nominative case.
8222 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
8223 (d_fmt): Set to "%b %d %Y".
8224
8225 2018-10-04 Joseph Myers <joseph@codesourcery.com>
8226
8227 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
8228 <bits/mman-linux.h>.
8229 (PROT_READ): Don't define here.
8230 (PROT_WRITE): Likewise.
8231 (PROT_EXEC): Likewise.
8232 (PROT_NONE): Likewise.
8233 (PROT_GROWSDOWN): Likewise.
8234 (PROT_GROWSUP): Likewise.
8235 (MAP_SHARED): Likewise.
8236 (MAP_PRIVATE): Likewise.
8237 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
8238 [__USE_MISC] (MAP_FILE): Likewise.
8239 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
8240 [__USE_MISC] (MAP_ANON): Likewise.
8241 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
8242 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
8243 (MCL_CURRENT): Likewise.
8244 (MCL_FUTURE): Likewise.
8245 (MCL_ONFAULT): Likewise.
8246 [__USE_MISC] (MADV_NORMAL): Likewise.
8247 [__USE_MISC] (MADV_RANDOM): Likewise.
8248 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
8249 [__USE_MISC] (MADV_WILLNEED): Likewise.
8250 [__USE_MISC] (MADV_DONTNEED): Likewise.
8251 [__USE_MISC] (MADV_FREE): Likewise.
8252 [__USE_MISC] (MADV_REMOVE): Likewise.
8253 [__USE_MISC] (MADV_DONTFORK): Likewise.
8254 [__USE_MISC] (MADV_DOFORK): Likewise.
8255 [__USE_MISC] (MADV_HWPOISON): Likewise.
8256 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
8257 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
8258 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
8259 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
8260 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
8261 (__MAP_ANONYMOUS): New macro.
8262 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
8263 <bits/mman-linux.h> inclusion.
8264 (MAP_FIXED): Likewise.
8265 (MS_SYNC): Likewise.
8266 (MS_ASYNC): Likewise.
8267 (MS_INVALIDATE): Likewise.
8268 [__USE_MISC] (MADV_MERGEABLE): Likewise.
8269 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
8270 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
8271 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
8272 [__USE_MISC] (MADV_DONTDUMP): Likewise.
8273 [__USE_MISC] (MADV_DODUMP): Likewise.
8274 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
8275 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
8276
8277 [BZ #23735]
8278 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
8279 Define.
8280 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
8281 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
8282 Add test-nldbl-redirect.
8283 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
8284 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
8285 $(objpfx)libnldbl_nonshared.a.
8286
8287 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
8288
8289 * support/support.h (support_objdir_elf_ldso): New variable.
8290 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
8291 * support/Makefile (CFLAGS-support_paths.c): Add definition
8292 for OBJDIR_ELF_LDSO_PATH.
8293 * support/test-container.c (main): Search for the ld.so
8294 which is also used by the testsuite.
8295
8296 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
8297
8298 [BZ #20209]
8299 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
8300 should be "sap" rather than "sab".
8301 (day): Fix spelling of Sunday, should be "sapaat" rather than
8302 "sabaat".
8303
8304 2018-10-02 Joseph Myers <joseph@codesourcery.com>
8305
8306 * math/libm-test-fma.inc (fma_test_data): Add more tests.
8307
8308 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
8309
8310 [BZ #19444]
8311 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
8312 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
8313 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
8314
8315 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8316
8317 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
8318
8319 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
8320
8321 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
8322 Add -mrtm.
8323 (CFLAGS-elision-unlock.c): Likewise.
8324 (CFLAGS-elision-timed.c): Likewise.
8325 (CFLAGS-elision-trylock.c): Likewise.
8326 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
8327
8328 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8329
8330 [BZ #21037]
8331 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
8332 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
8333 new fd_to_filename interface.
8334 * libio/freopen64.c (freopen64): Likewise.
8335 * libio/tst-memstream.h: New file.
8336 * libio/tst-memstream4.c: Likewise.
8337 * libio/tst-wmemstream4.c: Likewise.
8338 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
8339 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
8340 and remove internal dynamic allocation.
8341
8342 2018-10-01 Joseph Myers <joseph@codesourcery.com>
8343
8344 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
8345 (MREMAP_MAYMOVE): Do not define here.
8346 [__USE_GNU] (MREMAP_FIXED): Likewise.
8347 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
8348 (MREMAP_MAYMOVE): Define here instead.
8349 [__USE_GNU] (MREMAP_FIXED): Likewise.
8350 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
8351 (MREMAP_MAYMOVE): Remove.
8352 [__USE_GNU] (MREMAP_FIXED): Likewise.
8353
8354 2018-09-28 Joseph Myers <joseph@codesourcery.com>
8355
8356 * math/fromfp.h: Do not include <math_private.h>.
8357 * math/s_cacosh_template.c: Likewise.
8358 * math/s_casin_template.c: Likewise.
8359 * math/s_casinh_template.c: Likewise.
8360 * math/s_ccos_template.c: Likewise.
8361 * math/s_cproj_template.c: Likewise.
8362 * math/s_fdim_template.c: Likewise.
8363 * math/s_fmaxmag_template.c: Likewise.
8364 * math/s_fminmag_template.c: Likewise.
8365 * math/s_iseqsig_template.c: Likewise.
8366 * math/s_ldexp_template.c: Likewise.
8367 * math/s_nextdown_template.c: Likewise.
8368 * math/w_log1p_template.c: Likewise.
8369 * math/w_scalbln_template.c: Likewise.
8370 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
8371 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
8372 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
8373 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
8374 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
8375 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
8376 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
8377 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
8378 * sysdeps/i386/fpu/s_atanl.c: Likewise.
8379 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
8380 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
8381 * sysdeps/i386/fpu/s_fdim.c: Likewise.
8382 * sysdeps/i386/fpu/s_logbl.c: Likewise.
8383 * sysdeps/i386/fpu/s_rintl.c: Likewise.
8384 * sysdeps/i386/fpu/s_significandl.c: Likewise.
8385 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
8386 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
8387 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8388 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8389 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
8390 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8391 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8392 * sysdeps/ieee754/k_standardf.c: Likewise.
8393 * sysdeps/ieee754/k_standardl.c: Likewise.
8394 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8395 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
8396 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
8397 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
8398 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
8399 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
8400 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
8401 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
8402 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
8403 * sysdeps/ieee754/s_signgam.c: Likewise.
8404 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
8405 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
8406 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
8407 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
8408 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
8409 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
8410 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8411 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
8412 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
8413 * sysdeps/riscv/rvd/s_finite.c: Likewise.
8414 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
8415 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
8416 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
8417 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
8418 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
8419 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
8420 * sysdeps/riscv/rvf/fegetround.c: Likewise.
8421 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
8422 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
8423 * sysdeps/riscv/rvf/fesetround.c: Likewise.
8424 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
8425 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
8426 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
8427 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
8428 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
8429 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
8430 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
8431 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
8432 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
8433 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
8434 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
8435 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
8436 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
8437 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
8438 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8439 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8440 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
8441 <math_private.h>.
8442 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
8443
8444 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
8445
8446 [BZ #23716]
8447 * sysdeps/i386/dl-cet.c: Removed.
8448 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
8449 prototype.
8450 (_dl_runtime_profile_shstk): Likewise.
8451 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
8452 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
8453
8454 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8455
8456 [BZ #23579]
8457 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
8458 do_test_with_invalid_iov): New tests.
8459 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
8460 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
8461 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
8462 errno is ENOSYS.
8463 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
8464 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
8465 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
8466
8467 2018-09-27 Joseph Myers <joseph@codesourcery.com>
8468
8469 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8470 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
8471 (MATH_REDIRECT_BINARY_ARGS): New macro.
8472 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8473 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
8474 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
8475 header inclusion.
8476 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
8477 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8478 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
8479 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8480 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8481 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8482 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
8484 Likewise.
8485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
8486 Likewise.
8487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
8488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
8489 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
8490 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
8491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
8492 Likewise.
8493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
8494 Likewise.
8495 * sysdeps/generic/math_private_calls.h
8496 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
8497 Do not declare and define as an inline function.
8498 * math/divtc3.c (__divtc3): Use copysign functions instead of
8499 __copysign variants.
8500 * math/multc3.c (__multc3): Likewise.
8501 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
8502 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
8503 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8504 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
8505 Likewise.
8506 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8507 (__ieee754_yn): Likewise.
8508 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8509 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
8510 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
8511 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8512 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
8513 (__sin): Likewise.
8514 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
8515 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8516 Likewise.
8517 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
8518 Likewise.
8519 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
8520 Likewise.
8521 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8522 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8523 Likewise.
8524 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8525 (__ieee754_ynf): Likewise.
8526 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
8527 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
8528 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
8529 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8530 Likewise.
8531 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8532 (__ieee754_ynl): Likewise.
8533 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
8534 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
8535 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8536 Likewise.
8537 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8538 (__ieee754_ynl): Likewise.
8539 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
8540 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8541 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8542 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8543 Likewise.
8544 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8545 (__ieee754_ynl)
8546 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
8547 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
8548 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
8549 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8550 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8551
8552 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8553 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
8554 using MATH_REDIRECT.
8555 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
8556 header inclusion.
8557 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
8558 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8559 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8560 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
8561 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8562 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8563 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
8565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
8566 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
8567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
8568 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8569 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8570 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8571 (round): Redirect to __round.
8572 (__roundl): Call round instead of __round.
8573 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
8574 Remove macro.
8575 [_ARCH_PWR5X] (__roundf): Likewise.
8576 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
8577 functions instead of __round variants.
8578 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
8579 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
8580 Likewise.
8581 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
8582 Likewise.
8583 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
8584 Likewise.
8585 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
8586 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
8587 __lroundl.
8588 (__ieee754_expl): Call roundl instead of __roundl.
8589
8590 2018-09-27 Andreas Schwab <schwab@suse.de>
8591
8592 [BZ #23717]
8593 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
8594 (do_test): Make st1 static.
8595
8596 2018-09-26 Andreas Schwab <schwab@suse.de>
8597
8598 [BZ #23707]
8599 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
8600 * elf/Makefile (tests): Add tst-unwind-ctor.
8601 (modules-names): Add tst-unwind-ctor-lib.
8602 ($(objpfx)tst-unwind-ctor): Depend on
8603 $(objpfx)tst-unwind-ctor-lib.so.
8604
8605 2018-09-26 Joseph Myers <joseph@codesourcery.com>
8606
8607 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
8608 file. Most contents moved from ....
8609 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
8610 and include <bits/mman-map-flags-generic.h>.
8611 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8612 (sysdep_headers): Add bits/mman-map-flags-generic.h.
8613 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
8614 <bits/mman-map-flags-generic.h>.
8615 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
8616 macros defined in <bits/mman-map-flags-generic.h>.
8617 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
8618 <bits/mman-map-flags-generic.h>.
8619 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
8620 defined in <bits/mman-map-flags-generic.h>.
8621
8622 2018-09-26 Andreas Schwab <schwab@suse.de>
8623
8624 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
8625 output.
8626
8627 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
8628 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8629 Fangrui Song <maskray@google.com>
8630
8631 [BZ #20480]
8632 * config.make.in (have-textrel_ifunc): New define.
8633 * configure.ac: Add check if linker supports textrel relocation with
8634 ifunc.
8635 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
8636 tst-ifunc-textrel.
8637 (CFLAGS-tst-ifunc-textrel.c): New rule.
8638 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
8639 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
8640 * elf/tst-ifunc-textrel.c: New file.
8641
8642 2018-09-25 Joseph Myers <joseph@codesourcery.com>
8643
8644 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
8645 <bits/procfs-prregset.h>.
8646 (prgregset_t): Define using __prgregset_t.
8647 (prfpregset_t): Define using __prfpregset_t.
8648 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8649 (sysdep_headers): Add bits/procfs-prregset.h.
8650 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
8651 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
8652 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
8653 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
8654
8655 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
8656 <bits/procfs-id.h> and <bits/procfs-extra.h>.
8657 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
8658 pr_uid and pr_gid.
8659 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8660 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
8661 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
8662 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
8663 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
8664 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
8665 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
8666 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
8667 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
8668 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
8669 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
8670 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
8671 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
8672 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
8673 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
8674 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
8675 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
8676 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
8677 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
8678 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
8679 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
8680 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
8681 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8682 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
8683
8684 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
8685 AArch64 version. Include <bits/procfs.h>.
8686 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8687 (sysdep_headers): Add bits/procfs.h.
8688 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
8689 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
8690 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
8691 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
8692 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
8693 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
8694 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
8695 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
8696 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
8697 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
8698 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
8699 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
8700 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
8701 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
8702 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
8703 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
8704 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
8705
8706 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8707
8708 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
8709 Use libsupport.
8710
8711 2018-09-25 Arjun Shankar <arjun@redhat.com>
8712
8713 * iconv/gconv_int.h (__gconv_path_elem): Remove.
8714 (__gconv_max_path_elem_len): Likewise.
8715 (__gconv_nmodules): Likewise.
8716 (__gconv_get_path): Likewise.
8717 (path_elem): Move to ...
8718 * iconv/gconv_conf.c: ... here.
8719 (__gconv_get_path): Mark function static.
8720 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
8721 * iconv/gconv_open.c: ... here.
8722
8723 2018-09-24 Andreas Schwab <schwab@suse.de>
8724
8725 * scripts/haveversions.awk: New file.
8726 * Makerules ($(common-objpfx)Versions.def)
8727 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
8728 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
8729 Move rules ...
8730 * Makeconfig ($(common-objpfx)Versions.def)
8731 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
8732 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
8733 ... here.
8734 ($(common-objpfx)Versions.mk): New rule. Include it.
8735 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
8736 Emit error if build-obsolete-nsl = yes.
8737 * manual/install.texi (Configuring and compiling): Describe
8738 --enable-obsolete-nsl as unavaiable after version 2.28.
8739 * INSTALL: Regenerate.
8740
8741 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8742
8743 * NEWS: Add note about new TLE support on powerpc64le.
8744 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
8745 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
8746 __ununsed1.
8747 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
8748 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
8749 * sysdeps/powerpc/powerpc32/sysdep.h,
8750 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
8751 ABORT_TRANSACTION): Remove macros.
8752 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
8753 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
8754 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
8755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
8756 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8757 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
8758 usage.
8759 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
8760
8761 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
8762
8763 [BZ #10425]
8764 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
8765 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
8766 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
8767 which is the same as in it_IT.
8768 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
8769 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
8770
8771 2018-09-20 Joseph Myers <joseph@codesourcery.com>
8772
8773 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8774 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
8775 using MATH_REDIRECT.
8776 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
8777 header inclusion.
8778 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
8779 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8780 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
8781 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8782 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8783 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
8785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
8786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
8787 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
8788 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
8789 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8790 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
8791 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
8792 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
8793 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
8794 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
8795 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8796 (ceil): Redirect to __ceil.
8797 (floor): Redirect to __floor.
8798 (trunc): Redirect to __trunc.
8799 (__truncl): Call trunc instead of __trunc.
8800 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
8801 Remove macro.
8802 [_ARCH_PWR5X] (__truncf): Likewise.
8803 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
8804 trunc functions instead of __trunc variants.
8805 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8806 Likewise.
8807 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8808 Likewise.
8809 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8810 Likewise.
8811 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8812 Likewise.
8813
8814 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
8815 [__i586__ || __pentium__].
8816 [__i486__]: Handle explicitly.
8817 (HAS_CPUID): Define to 1 if above macros are undefined.
8818 (HAS_I586): Likewise.
8819 (HAS_I686): Likewise.
8820
8821 2018-09-20 Florian Weimer <fweimer@redhat.com>
8822
8823 * misc/tst-gethostid.c: New file.
8824 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
8825 (tst-gethostid): Link with -ldl.
8826
8827 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
8828
8829 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
8830 value from gethostbyname_r.
8831
8832 2018-09-19 Carlos O'Donell <carlos@redhat.com>
8833
8834 * stdlib/tst-setcontext9.c (f1): Rename to...
8835 (f1a): ... this.
8836 (f1b): New function implementing lower half of f1 in alternate stack.
8837
8838 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
8839
8840 Fix mktime localtime offset confusion
8841 [BZ #23603]
8842 * include/time.h (__mktime_internal): The localtime offset is now
8843 of type long int instead of time_t. This is the longstanding type
8844 in glibc, and it is more than enough to represent difference
8845 between localtime and gmtime even if it is 32 bits and time_t is
8846 64. Changing it now will let us avoid an unnecessary change when
8847 time_t is widened to 64 bits on 32-bit platforms.
8848 * time/mktime-internal.h (mktime_offset_t): Now long int.
8849
8850 Merge mktime, timegm from upstream Gnulib
8851 [BZ #23603][BZ #16346]
8852 This fixes some obscure problems with integer overflow.
8853 Although it looks scary, it is almost all a byte-for-byte copy
8854 from Gnulib, and the Gnulib code has been tested reasonably well.
8855 * include/intprops.h: New file, copied from Gnulib.
8856 * include/verify.h, time/mktime-internal.h:
8857 New tiny files, simplified from Gnulib.
8858 * time/mktime.c: Copy from Gnulib. This has the following changes:
8859 Do not include config.h if DEBUG_MKTIME is nonzero.
8860 Include stdbool.h, intprops.h, verify.h.
8861 Include string.h only if needed.
8862 Include stdlib.h on MS-Windows.
8863 Include mktime-internal.h.
8864 (DEBUG_MKTIME): Default to 0, and simplify later uses.
8865 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
8866 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
8867 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
8868 simplify later conditionals; default the others to zero. Use
8869 these conditionals to express only the code needed on the current
8870 platform. In uses of these conditionals, explicitly spell out how
8871 _LIBC affects things, so it’s easier to review from a glibc
8872 viewpoint.
8873 (WRAPV): Remove; no longer needed now that we have
8874 systematic overflow checking.
8875 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
8876 compartmentalize tzset issues. Move system-dependent tzsettish
8877 code here from mktime.
8878 (verify): Remove; now done by verify.h. All uses changed.
8879 (long_int): Use a more-conservative definition, to avoid
8880 integer overflow.
8881 (SHR): Remove, replacing with ...
8882 (shr): New function, which means we needn’t worry about side
8883 effects in args, and conversion analysis is simpler.
8884 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
8885 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
8886 (time_t_avg, time_t_add_ok): Remove.
8887 (mktime_min, mktime_max): New constants.
8888 (leapyear, isdst_differ): Use bool for booleans.
8889 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
8890 Use long_int, not time_t, for mktime differences.
8891 (long_int_avg): New function, replacing time_t_avg.
8892 INT_ADD_WRAPV replaces time_t_add_ok.
8893 (guess_time_tm): 6th arg is now long_int, not time_t const *.
8894 All uses changed.
8895 (convert_time): New function.
8896 (ranged_convert): Use it.
8897 (__mktime_internal): Last arg now points to mktime_offset_t, not
8898 time_t. All uses changed. This is a no-op on glibc, where
8899 mktime_offset_t is always time_t. Use int, not time_t, for UTC
8900 offset guess. Directly check for integer overflow instead of
8901 using a heuristic that works only 99.9...% of the time.
8902 Access *OFFSET only once, to avoid an unlikely race if the
8903 compiler delays a load and if this cascades into a signed integer
8904 overflow.
8905 (mktime): Move tzsettish code to my_tzset, and move
8906 localtime_offset to within mktime so that it doesn’t
8907 need a separate ifdef.
8908 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
8909 instead of localtime.
8910 * time/timegm.c: Copy from Gnulib. This has the following changes:
8911 Include mktime-internal.h.
8912 [!_LIBC]: Include config.h and time.h. Do not include
8913 timegm.h or time_r.h. Make __mktime_internal a macro,
8914 and include mktime-internal.h to get its declaration.
8915 (timegm): Temporary is now mktime_offset_t, not time_t.
8916 This affects only Gnulib.
8917
8918 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
8919
8920 [BZ #23637]
8921 * string/test-strstr.c (pr23637): New function.
8922 (test_main): Add tests with longer needles.
8923 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
8924 * string/strstr.c (AVAILABLE): Likewise.
8925
8926 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
8927
8928 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
8929
8930 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
8931
8932 * NEWS: Mention pow improvements.
8933 * math/Makefile (type-double-routines): Add e_pow_log_data.
8934 * sysdeps/generic/math_private.h (__exp1): Remove.
8935 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
8936 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
8937 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
8938 contraction.
8939 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
8940 (exp_inline): Remove.
8941 (__ieee754_exp): Only single double input is handled.
8942 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
8943 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
8944 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
8945 (__pow_log_data): Define.
8946 * sysdeps/ieee754/dbl-64/upow.h: Remove.
8947 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
8948 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
8949 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
8950 contraction.
8951 (CFLAGS-e_pow-fma4.c): Likewise.
8952
8953 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
8954
8955 Simplify tzfile fstat failure code
8956 [BZ #21716]
8957 * time/tzfile.c (__tzfile_read): Simplify slightly.
8958
8959 Fix tzfile low-memory assertion failure
8960 [BZ #21716]
8961 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
8962 when registering time zone abbreviations.
8963
8964 2018-09-18 Joseph Myers <joseph@codesourcery.com>
8965
8966 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
8967 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
8968 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
8969 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
8970 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
8971 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
8972 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
8973 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8974 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8975
8976 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
8977 __ceil.
8978 (__ceill): Call ceil instead of __ceil.
8979 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
8980 __floor.
8981 (__floorl): Call floor instead of __floor.
8982
8983 2018-09-17 Joseph Myers <joseph@codesourcery.com>
8984
8985 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8986 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
8987 using MATH_REDIRECT.
8988 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
8989 header inclusion.
8990 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
8991 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8992 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8993 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
8994 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8995 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8996 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8997 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
8998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
8999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
9000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
9001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
9002 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
9003 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9004 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
9005 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
9006 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
9007 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
9008 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
9009 Remove macro.
9010 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
9011 functions instead of __ceil variants.
9012 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
9013 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
9014 Likewise.
9015 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
9016 Likewise.
9017 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
9018 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
9019 Likewise.
9020 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
9021 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9022
9023 [BZ #21286]
9024 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
9025 constant.
9026 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
9027 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
9028 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
9029 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
9030 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
9031 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
9032 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
9033 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
9034 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
9035 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
9036 (ILL_BADIADDR): Remove constant.
9037 (TRAP_BRANCH): Likewise.
9038 (TRAP_HWBKPT): Likewise.
9039
9040 2018-09-14 Joseph Myers <joseph@codesourcery.com>
9041
9042 [BZ #23656]
9043 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
9044 Remove [_MIPS_SIM = _ABIN32] conditional case.
9045 (struct elf_prpsinfo): Likewise.
9046
9047 [BZ #23649]
9048 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
9049 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
9050 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
9051 Likewise.
9052 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
9053 elf_prpsinfo): Likewise.
9054 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
9055 elf_prpsinfo): Likewise.
9056 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
9057 Likewise.
9058
9059 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9060 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
9061 using MATH_REDIRECT.
9062 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
9063 header inclusion.
9064 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
9065 * sysdeps/alpha/fpu/s_rint.c: Likewise.
9066 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
9067 * sysdeps/i386/fpu/s_rintl.c: Likewise.
9068 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9069 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9070 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
9071 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9072 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9073 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9074 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
9075 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
9076 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
9077 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
9078 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
9079 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9080 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9081 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
9082 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
9083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
9084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
9085 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
9086 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
9087 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
9088 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
9089 * sysdeps/x86_64/fpu/math_private.h: Remove file.
9090 * math/e_scalb.c (invalid_fn): Use rint functions instead of
9091 __rint variants.
9092 * math/e_scalbf.c (invalid_fn): Likewise.
9093 * math/e_scalbl.c (invalid_fn): Likewise.
9094 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
9095 Likewise.
9096 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9097 Likewise.
9098 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
9099 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
9100 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9101 Likewise.
9102 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9103 Likewise.
9104 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9105 Likewise.
9106 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
9107 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
9108
9109 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9110 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
9111 New macro.
9112 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9113 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
9114 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9115 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
9116 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9117 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
9118 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9119 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
9120 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9121 && !NO_MATH_REDIRECT] (floor): Likewise.
9122 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
9123 header inclusion.
9124 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
9125 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9126 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9127 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
9128 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9129 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9130 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9131 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
9132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
9133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
9134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
9135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
9136 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9137 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9138 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
9139 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
9140 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
9141 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
9142 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
9143 Remove macro.
9144 [_ARCH_PWR5X] (__floorf): Likewise.
9145 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
9146 inline function.
9147 [__SSE4_1__] (__floorf): Likewise.
9148 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
9149 instead of __floor variants.
9150 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
9151 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
9152 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
9153 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
9154 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
9155 * math/w_tgamma_compat.c (__tgamma): Likewise.
9156 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
9157 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
9158 * math/w_tgammal_compat.c (__tgammal): Likewise.
9159 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
9160 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
9161 Likewise.
9162 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
9163 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
9164 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
9165 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9166 Likewise.
9167 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
9168 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
9169 Likewise.
9170 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
9171 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
9172 Likewise.
9173 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9174 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
9175 Likewise.
9176 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9177 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
9178 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
9179 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
9180 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
9181 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9182
9183 2018-09-12 Joseph Myers <joseph@codesourcery.com>
9184
9185 * elf/Makefile (modules-names-tests): New variable.
9186
9187 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
9188
9189 * NEWS: Mention log2 improvements.
9190 * math/Makefile (type-double-routines): Add e_log2_data.
9191 * sysdeps/i386/fpu/e_log2_data.c: New file.
9192 * sysdeps/ia64/fpu/e_log2_data.c: New file.
9193 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
9194 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
9195 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
9196 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
9197 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
9198
9199 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
9200
9201 * NEWS: Mention log improvement.
9202 * math/Makefile (type-double-routines): Add e_log_data.
9203 * sysdeps/i386/fpu/e_log_data.c: New file.
9204 * sysdeps/ia64/fpu/e_log_data.c: New file.
9205 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
9206 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
9207 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
9208 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
9209 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
9210 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
9211
9212 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
9213 Xuepeng Guo <xuepeng.guo@intel.com>
9214
9215 [BZ #23606]
9216 * sysdeps/i386/start.S: Include <sysdep.h>
9217 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
9218 enabled. Add cfi_undefined (eip).
9219
9220 2018-09-11 Joseph Myers <joseph@codesourcery.com>
9221
9222 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
9223 (MOVQ): Likewise.
9224 (EXTRACT_WORDS64): Likewise.
9225 (INSERT_WORDS64): Likewise.
9226 (GET_FLOAT_WORD): Likewise.
9227 (SET_FLOAT_WORD): Likewise.
9228
9229 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
9230 argument.
9231 (Config.build_gcc): Use --disable-libsanitizer for first GCC
9232 build, but not for second build if --full-gcc. Use
9233 --enable-languages=all for second build if --full-gcc.
9234 (get_parser): Add --full-gcc option.
9235 (main): Update call to Context.
9236
9237 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
9238
9239 [BZ #10797]
9240 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
9241 Single Quotation Mark).
9242 (thousands_sep): Likewise.
9243 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
9244 * localedata/locales/it_IT (thousands_sep): Use ".".
9245 (grouping): Use "3;3".
9246
9247 2018-09-10 Joseph Myers <joseph@codesourcery.com>
9248
9249 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
9250 x86_64 and i686 configs using --enable-obsolete-rpc
9251 --enable-obsolete-nsl.
9252
9253 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
9254
9255 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9256
9257 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
9258
9259 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
9260 Increment size of new_argv by one.
9261
9262 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
9263
9264 [BZ #17426]
9265 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
9266 * localedata/locales/ar_IN (d_fmt): Likewise.
9267 * localedata/locales/bhb_IN (d_fmt): Likewise.
9268 * localedata/locales/bho_IN (d_fmt): Likewise.
9269 * localedata/locales/bn_BD (d_fmt): Likewise.
9270 * localedata/locales/bn_IN (d_fmt): Likewise.
9271 * localedata/locales/doi_IN (d_fmt): Likewise.
9272 * localedata/locales/gu_IN (d_fmt): Likewise.
9273 * localedata/locales/hi_IN (d_fmt): Likewise.
9274 * localedata/locales/hne_IN (d_fmt): Likewise.
9275 * localedata/locales/kn_IN (d_fmt): Likewise.
9276 * localedata/locales/mag_IN (d_fmt): Likewise.
9277 * localedata/locales/mai_IN (d_fmt): Likewise.
9278 * localedata/locales/mjw_IN (d_fmt): Likewise.
9279 * localedata/locales/ml_IN (d_fmt): Likewise.
9280 * localedata/locales/mni_IN (d_fmt): Likewise.
9281 * localedata/locales/mr_IN (d_fmt): Likewise.
9282 * localedata/locales/pa_IN (d_fmt): Likewise.
9283 * localedata/locales/raj_IN (d_fmt): Likewise.
9284 * localedata/locales/sat_IN (d_fmt): Likewise.
9285 * localedata/locales/sd_IN (d_fmt): Likewise.
9286 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
9287 * localedata/locales/ta_IN (d_fmt): Likewise.
9288 * localedata/locales/ta_LK (d_fmt): Likewise.
9289 * localedata/locales/tcy_IN (d_fmt): Likewise.
9290 * localedata/locales/ur_IN (d_fmt): Likewise.
9291
9292 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
9293 * localedata/locales/ks_IN (d_fmt): Likewise.
9294 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
9295
9296 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
9297 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
9298 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
9299 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
9300
9301 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
9302
9303 * NEWS: Mention exp and exp2 improvements.
9304 * math/Makefile (libm-support): Remove t_exp.
9305 (type-double-routines): Add math_err and e_exp_data.
9306 * sysdeps/aarch64/libm-test-ulps: Update.
9307 * sysdeps/arm/libm-test-ulps: Update.
9308 * sysdeps/i386/fpu/e_exp_data.c: New file.
9309 * sysdeps/i386/fpu/math_err.c: New file.
9310 * sysdeps/i386/fpu/t_exp.c: Remove.
9311 * sysdeps/ia64/fpu/e_exp_data.c: New file.
9312 * sysdeps/ia64/fpu/math_err.c: New file.
9313 * sysdeps/ia64/fpu/t_exp.c: Remove.
9314 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
9315 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
9316 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
9317 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
9318 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
9319 * sysdeps/ieee754/dbl-64/math_config.h: New file.
9320 * sysdeps/ieee754/dbl-64/math_err.c: New file.
9321 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
9322 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
9323 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
9324 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
9325 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
9326 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
9327 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
9328 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9329 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9330
9331 2018-09-05 Joseph Myers <joseph@codesourcery.com>
9332
9333 * sysdeps/alpha/fpu/math_private.h: Remove.
9334
9335 * sysdeps/generic/math_private.h
9336 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
9337 Move this inline function ....
9338 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
9339 * include/math.h [!_ISOMAC]: To here....
9340
9341 2018-09-04 Joseph Myers <joseph@codesourcery.com>
9342
9343 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
9344 code ....
9345 [!FE_HAVE_ROUNDING_MODES]: And this code ....
9346 * include/fenv.h [!_ISOMAC]: ... to here.
9347 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
9348 (feraiseexcept): Likewise.
9349 * math/fromfp.h: Do not include <fenv_private.h>.
9350 * math/s_cexp_template.c: Likewise.
9351 * math/s_csin_template.c: Likewise.
9352 * math/s_csinh_template.c: Likewise.
9353 * math/s_ctan_template.c: Likewise.
9354 * math/s_ctanh_template.c: Likewise.
9355 * math/s_iseqsig_template.c: Likewise.
9356 * math/w_acos_compat.c: Likewise.
9357 * math/w_acosf_compat.c: Likewise.
9358 * math/w_acosl_compat.c: Likewise.
9359 * math/w_asin_compat.c: Likewise.
9360 * math/w_asinf_compat.c: Likewise.
9361 * math/w_asinl_compat.c: Likewise.
9362 * math/w_j0_compat.c: Likewise.
9363 * math/w_j0f_compat.c: Likewise.
9364 * math/w_j0l_compat.c: Likewise.
9365 * math/w_j1_compat.c: Likewise.
9366 * math/w_j1f_compat.c: Likewise.
9367 * math/w_j1l_compat.c: Likewise.
9368 * math/w_jn_compat.c: Likewise.
9369 * math/w_jnf_compat.c: Likewise.
9370 * math/w_log10_compat.c: Likewise.
9371 * math/w_log10f_compat.c: Likewise.
9372 * math/w_log10l_compat.c: Likewise.
9373 * math/w_log2_compat.c: Likewise.
9374 * math/w_log2f_compat.c: Likewise.
9375 * math/w_log2l_compat.c: Likewise.
9376 * math/w_log_compat.c: Likewise.
9377 * math/w_logf_compat.c: Likewise.
9378 * math/w_logl_compat.c: Likewise.
9379 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9380 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9381 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9382 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9383 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9384 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9385 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9386 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9387 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9388 * sysdeps/ieee754/k_standardl.c: Likewise.
9389 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9390 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9391 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9392 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9393 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9394 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9395 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9396 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9397 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9398 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9399 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9400 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9401 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9402 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9403 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9404 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9405 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9406 * math/w_ilogb_template.c: Include <fenv.h> instead of
9407 <fenv_private.h>.
9408 * math/w_llogb_template.c: Likewise.
9409 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9410 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9411
9412 2018-09-03 Joseph Myers <joseph@codesourcery.com>
9413
9414 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
9415 * math/fromfp.h: Include <fenv_private.h>.
9416 * math/math-narrow.h: Likewise.
9417 * math/s_cexp_template.c: Likewise.
9418 * math/s_csin_template.c: Likewise.
9419 * math/s_csinh_template.c: Likewise.
9420 * math/s_ctan_template.c: Likewise.
9421 * math/s_ctanh_template.c: Likewise.
9422 * math/s_iseqsig_template.c: Likewise.
9423 * math/w_acos_compat.c: Likewise.
9424 * math/w_acosf_compat.c: Likewise.
9425 * math/w_acosl_compat.c: Likewise.
9426 * math/w_asin_compat.c: Likewise.
9427 * math/w_asinf_compat.c: Likewise.
9428 * math/w_asinl_compat.c: Likewise.
9429 * math/w_ilogb_template.c: Likewise.
9430 * math/w_j0_compat.c: Likewise.
9431 * math/w_j0f_compat.c: Likewise.
9432 * math/w_j0l_compat.c: Likewise.
9433 * math/w_j1_compat.c: Likewise.
9434 * math/w_j1f_compat.c: Likewise.
9435 * math/w_j1l_compat.c: Likewise.
9436 * math/w_jn_compat.c: Likewise.
9437 * math/w_jnf_compat.c: Likewise.
9438 * math/w_llogb_template.c: Likewise.
9439 * math/w_log10_compat.c: Likewise.
9440 * math/w_log10f_compat.c: Likewise.
9441 * math/w_log10l_compat.c: Likewise.
9442 * math/w_log2_compat.c: Likewise.
9443 * math/w_log2f_compat.c: Likewise.
9444 * math/w_log2l_compat.c: Likewise.
9445 * math/w_log_compat.c: Likewise.
9446 * math/w_logf_compat.c: Likewise.
9447 * math/w_logl_compat.c: Likewise.
9448 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
9449 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
9450 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
9451 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
9452 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9453 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9454 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9455 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9456 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9457 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9458 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9459 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9460 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
9461 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
9462 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9463 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
9464 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9465 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9466 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9467 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9468 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9469 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9470 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9471 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9472 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9473 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9474 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9475 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
9476 * sysdeps/ieee754/float128/float128_private.h: Likewise.
9477 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9478 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9479 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9480 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
9481 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9482 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9483 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9484 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9485 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9486 * sysdeps/ieee754/k_standardl.c: Likewise.
9487 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9488 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9489 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9490 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9491 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9492 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
9493 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9494 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9495 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9496 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9497 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9498 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9499 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9500 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9501 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9502 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
9503 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9504 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
9505 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9506 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9507 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9508 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9509 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9510 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9511 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9512 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9513 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9514 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9515 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
9516 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9517 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9518 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9519 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9520 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9521 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9522 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
9523 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9524 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9525 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
9526 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9527 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
9528 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
9529 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
9530 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
9531 * sysdeps/riscv/rvd/s_finite.c: Likewise.
9532 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
9533 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
9534 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
9535 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
9536 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
9537 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
9538 * sysdeps/riscv/rvf/fegetround.c: Likewise.
9539 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
9540 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
9541 * sysdeps/riscv/rvf/fesetround.c: Likewise.
9542 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
9543 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
9544 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
9545 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9546 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
9547 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9548 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
9549 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
9550 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
9551 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
9552 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
9553 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
9554 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
9555 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
9556 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
9557 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
9558
9559 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9560
9561 [BZ #20271]
9562 * include/stdio.h (__libc_fatal): Mention newline in comment.
9563 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
9564 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
9565 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9566 * nss/nsswitch.c (__nss_next2): Likewise.
9567 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
9568 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
9569 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
9570 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9571 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
9572 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
9573 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
9574 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
9575 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
9576 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
9577 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
9578 * sysdeps/unix/sysv/linux/netlink_assert_response.c
9579 (__netlink_assert_response): Likewise.
9580
9581 2018-08-31 Joseph Myers <joseph@codesourcery.com>
9582
9583 * conform/glibcconform.py: New file.
9584 * conform/list-header-symbols.py: Likewise.
9585 * conform/list-header-symbols.pl: Remove.
9586 * conform/Makefile (tests-special): Only add linknamespace tests
9587 if [PYTHON].
9588 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
9589
9590 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
9591
9592 [BZ #23597]
9593 * support/Makefile (libsupport-routines): Add
9594 support_copy_file_range and xcopy_file_range.
9595 * support/support.h: Include <sys/types.h>.
9596 (support_copy_file_range): New prototype.
9597 * support/support_copy_file_range.c: New file. Copied and
9598 modified from io/copy_file_range-compat.c.
9599 * support/test-container.c (copy_one_file): Call xcopy_file_rang
9600 instead of copy_file_range.
9601 * support/xcopy_file_range.c: New file.
9602 * support/xunistd.h (xcopy_file_range): New prototype.
9603
9604 2018-08-30 Carlos O'Donell <carlos@redhat.com>
9605
9606 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
9607 xpthread_create and xpthread_join.
9608
9609 2018-08-30 Florian Weimer <fweimer@redhat.com>
9610
9611 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
9612
9613 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
9614
9615 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
9616 if malloc fails.
9617
9618 2018-08-29 Joseph Myers <joseph@codesourcery.com>
9619
9620 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
9621 and minus_oflow as non-finite.
9622
9623 2018-08-28 Joseph Myers <joseph@codesourcery.com>
9624
9625 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
9626 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
9627 moved to fenv_private.h except for ...
9628 (TOINT_INTRINSICS): Kept in math_private.h.
9629 (roundtoint): Likewise.
9630 (converttoint): Likewise.
9631 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
9632 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9633 * sysdeps/arm/math_private.h: Remove.
9634 * sysdeps/generic/fenv_private.h: New file. Contents moved from
9635 ....
9636 * sysdeps/generic/math_private.h: ... this file. Include
9637 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
9638 Include <fenv_private.h>. Remove functions and macros moved to
9639 fenv_private.h.
9640 * sysdeps/i386/fpu/math_private.h: Remove.
9641 * sysdeps/mips/math_private.h: Move to ....
9642 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
9643 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
9644 [__mips_hard_float] conditional. Include next <fenv_private.h>.
9645 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
9646 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9647 * sysdeps/powerpc/fpu/math_private.h: Do not include
9648 <fenv_private.h>.
9649 * sysdeps/riscv/rvf/math_private.h: Move to ....
9650 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
9651 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
9652 <fenv_private.h>.
9653 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
9654 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9655 * sysdeps/sparc/fpu/math_private.h: Remove.
9656 * sysdeps/i386/fpu/fenv_private.h: Move to ....
9657 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
9658 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
9659 <fenv_private.h>.
9660 * sysdeps/x86_64/fpu/math_private.h: Do not include
9661 <sysdeps/i386/fpu/fenv_private.h>.
9662
9663 2018-08-28 Florian Weimer <fweimer@redhat.com>
9664
9665 [BZ #23578]
9666 * posix/tst-regcomp-truncated.c: New file.
9667 * posix/Makefile (tests): Add it.
9668 (tst-regcomp-truncated.out): Depend on generated locales.
9669
9670 2018-08-28 Florian Weimer <fweimer@redhat.com>
9671
9672 * support/test-container.c (main): Treat unshare failure with
9673 EPERM as an unsupported test.
9674
9675 2018-08-28 Florian Weimer <fweimer@redhat.com>
9676
9677 [BZ #23520]
9678 nscd: Fix use-after-free in addgetnetgrentX and its callers.
9679 * nscd/netgroupcache.c
9680 (addgetnetgrentX): Add tofreep parameter. Do not free
9681 heap-allocated buffer.
9682 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
9683 (addgetnetgrentX_ignore): New function.
9684 (addgetnetgrent): Call it.
9685 (readdgetnetgrent): Likewise.
9686
9687 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9688
9689 * string/memmem.c: Use memcmp for first match.
9690
9691 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
9692
9693 [BZ #17426]
9694 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
9695
9696 2018-08-27 DJ Delorie <dj@redhat.com>
9697
9698 * support/Makefile (others): Don't list programs explicitly as a
9699 dependency of "others".
9700
9701 2018-08-27 Joseph Myers <joseph@codesourcery.com>
9702
9703 * sysdeps/generic/math-tests-trap-force.h: New file.
9704 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
9705 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
9706 * sysdeps/powerpc/math-tests.h: Remove file.
9707 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
9708
9709 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
9710 Torvald Riegel <triegel@redhat.com>
9711
9712 [BZ #23538]
9713 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
9714 Update r to include the set wake-request flag if waiters are
9715 remaining after spinning.
9716
9717 2018-08-27 Joseph Myers <joseph@codesourcery.com>
9718
9719 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
9720
9721 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
9722
9723 [BZ #23578]
9724 regex: fix uninitialized memory access
9725 I introduced this bug into gnulib in commit
9726 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
9727 eventually it was merged into glibc. The bug was found by
9728 project-repo <bugs@feusi.co> and reported here:
9729 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
9730 Diagnosis and draft fix reported by Assaf Gordon here:
9731 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
9732 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
9733 * posix/regex_internal.c (build_wcs_upper_buffer):
9734 Fix bug when mbrtowc returns 0.
9735
9736 2018-08-24 Carlos O'Donell <carlos@redhat.com>
9737
9738 * po/be.po: Update translation.
9739
9740 2018-08-24 DJ Delorie <dj@delorie.com>
9741
9742 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
9743 $(libunwind).
9744
9745 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9746
9747 [BZ #23400]
9748 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
9749 create temporary files in source tree.
9750
9751 2018-08-24 Joseph Myers <joseph@codesourcery.com>
9752
9753 * sysdeps/generic/math-tests-trap.h: New file.
9754 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
9755 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
9756 * sysdeps/aarch64/math-tests.h: Remove file.
9757 * sysdeps/arm/math-tests.h: Likewise.
9758 * sysdeps/riscv/math-tests.h: Likewise.
9759 * sysdeps/aarch64/math-tests-trap.h: New file.
9760 * sysdeps/arm/math-tests-trap.h: Likewise.
9761 * sysdeps/riscv/math-tests-trap.h: Likewise.
9762
9763 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
9764
9765 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
9766 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
9767 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
9768 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
9769 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
9770 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
9771 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9772 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
9773 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
9774 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9775 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9776 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9777 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9778 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
9779 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
9780 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
9781 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9782 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9783
9784 2018-08-23 Joseph Myers <joseph@codesourcery.com>
9785
9786 * sysdeps/generic/math-tests-exceptions.h: New file.
9787 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
9788 (EXCEPTION_TESTS_float): Do not define here.
9789 (EXCEPTION_TESTS_double): Likewise.
9790 (EXCEPTION_TESTS_long_double): Likewise.
9791 (EXCEPTION_TESTS_float128): Likewise.
9792 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
9793 Likewise.
9794 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
9795 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
9796 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
9797 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
9798 * sysdeps/mips/math-tests.h: Likewise.
9799 * sysdeps/nios2/math-tests.h: Likewise.
9800 * sysdeps/riscv/math-tests.h [!__riscv_flen]
9801 (EXCEPTION_TESTS_float): Do not define here.
9802 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
9803 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
9804 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
9805
9806 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
9807
9808 * NEWS: Move optimized sinf entry to 2.29.
9809
9810 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
9811
9812 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
9813
9814 2018-08-22 DJ Delorie <dj@redhat.com>
9815
9816 * Makefile (testroot.pristine): New rules to initialize the
9817 test-in-container "testroot".
9818 * Makerules (all-testsuite): Add tests-container.
9819 * Rules (tests-expected): Add tests-container.
9820 (binaries-all-tests): Likewise.
9821 (tests-container): New, run these tests in the testroot container.
9822 * support/Makefile (others): Add *-container, support_paths.c,
9823 xmkdirp, and links-dso-program.
9824 * support/links-dso-program-c.c: New.
9825 * support/links-dso-program.cc: New.
9826 * support/test-container.c: New.
9827 * support/shell-container.c: New.
9828 * support/echo-container.c: New.
9829 * support/true-container.c: New.
9830 * support/xmkdirp.c: New.
9831 * support/xsymlink.c: New.
9832 * support/support_paths.c: New.
9833 * support/support.h: Add support paths prototypes.
9834 * support/xunistd.h: Add xmkdirp () and xsymlink ().
9835
9836 * nss/tst-nss-test3.c: Convert to test-in-container.
9837 * nss/tst-nss-test3.root/: New.
9838
9839 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
9840
9841 regex: port Gnulib code to z/OS POSIX environment
9842 Problem reported by Arnold Robbins in:
9843 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
9844 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
9845 Undef.
9846
9847 2018-08-22 Joseph Myers <joseph@codesourcery.com>
9848
9849 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
9850 (ROUNDING_TESTS_double): Remove.
9851 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
9852 (ROUNDING_TESTS_double): Remove.
9853 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
9854 (ROUNDING_TESTS_double): Remove.
9855 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
9856 (ROUNDING_TESTS_float): Remove.
9857 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
9858 (ROUNDING_TESTS_float): Remove.
9859 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
9860 (ROUNDING_TESTS_float): Remove.
9861 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
9862 !TEST_MATHVEC here.
9863 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9864 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9865
9866 * sysdeps/generic/math-tests-rounding.h: New file.
9867 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
9868 (ROUNDING_TESTS_float): Do not define here.
9869 (ROUNDING_TESTS_double): Likewise.
9870 (ROUNDING_TESTS_long_double): Likewise.
9871 (ROUNDING_TESTS_float128): Likewise.
9872 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
9873 (ROUNDING_TESTS_double): Undefine before defining.
9874 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
9875 (ROUNDING_TESTS_double): Undefine before defining.
9876 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
9877 (ROUNDING_TESTS_double): Undefine before defining.
9878 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
9879 (ROUNDING_TESTS_float): Undefine before defining.
9880 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
9881 (ROUNDING_TESTS_float): Undefine before defining.
9882 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
9883 (ROUNDING_TESTS_float): Undefine before defining.
9884 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
9885 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
9886 not define here.
9887 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
9888 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
9889 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
9890 * sysdeps/riscv/math-tests.h [!__riscv_flen]
9891 (ROUNDING_TESTS_float): Do not define here.
9892 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
9893 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
9894 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
9895 (ROUNDING_TESTS_float): Likewise.
9896 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
9897 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
9898 * sysdeps/mips/math-tests.h [__mips_soft_float]
9899 (ROUNDING_TESTS_float): Likewise.
9900 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
9901 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
9902 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
9903 (ROUNDING_TESTS_double): Likewise.
9904 (ROUNDING_TESTS_long_double): Likewise.
9905
9906 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
9907
9908 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
9909 (PF_XDP): New macro.
9910 (AF_XDP): New macro.
9911 (SOL_XDP): New macro.
9912
9913 2018-08-21 Joseph Myers <joseph@codesourcery.com>
9914
9915 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
9916 (TCP_INQ): Likewise.
9917 (TCP_CM_INQ): Likewise.
9918 (TCP_REPAIR_ON): Likewise.
9919 (TCP_REPAIR_OFF): Likewise.
9920 (TCP_REPAIR_OFF_NO_WP): Likewise.
9921 (struct tcp_zerocopy_receive): New type.
9922
9923 2018-08-21 Florian Weimer <fweimer@redhat.com>
9924
9925 * support/support.h (support_descriptor_supports_holes): Declare.
9926 * support/Makefile (libsupport-routines): Add
9927 support_descriptor_supports_holes.
9928 * support/support_descriptor_supports_holes.c: New file.
9929 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
9930 and stop testing if holes are not supported.
9931 * io/test-lfs.c (do_prepare): Likewise.
9932 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
9933 Likewise.
9934 * timezone/tst-tzset.c (create_tz_file): Likewise.
9935 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
9936 variable.
9937 (do_prepare): Set it.
9938 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
9939
9940 2018-08-21 Florian Weimer <fweimer@redhat.com>
9941
9942 [BZ #17248]
9943 * Makeconfig (+cflags): Do not sort (and deduplicate).
9944
9945 2018-08-21 Florian Weimer <fweimer@redhat.com>
9946
9947 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
9948 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
9949
9950 2018-08-20 Florian Weimer <fweimer@redhat.com>
9951
9952 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
9953 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
9954
9955 2018-08-20 Joseph Myers <joseph@codesourcery.com>
9956
9957 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
9958 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
9959 and ssi_arch members.
9960
9961 * elf/elf.c (NT_VMCOREDD): New macro.
9962 (AT_MINSIGSTKSZ): Likewise.
9963
9964 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9965
9966 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
9967 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
9968 s_cosf-ppc64 and s_cosf-power8.
9969 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
9970 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9971 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9972 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
9974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
9975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
9976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
9977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
9978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
9979 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
9980 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
9981
9982 2018-08-17 Florian Weimer <fweimer@redhat.com>
9983
9984 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9985
9986 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
9987
9988 * malloc/malloc.c (_int_malloc): Additional binning code checks.
9989
9990 2018-08-16 Florian Weimer <fweimer@redhat.com>
9991
9992 * configure.ac: Add --with-nonshared-cflags option.
9993 * config.make.in (extra-nonshared-cflags): Set variable.
9994 * Makeconfig (CFLAGS-.oS): Use it.
9995 * manual/install.texi (Configuring and compiling): Document
9996 --with-nonshared-cflags.
9997 * configure: Regenerate.
9998 * INSTALL: Likewise.
9999
10000 2018-08-16 Florian Weimer <fweimer@redhat.com>
10001
10002 * Makeconfig (ASFLAGS): Always append required assembler flags.
10003
10004 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
10005
10006 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
10007 (malloc_consolidate): Likewise.
10008
10009 2018-08-16 Pochang Chen <johnchen902@gmail.com>
10010
10011 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
10012
10013 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
10014
10015 * benchtests/bench-strlen.c (do_test): Allocate buffers before
10016 every strlen call.
10017
10018 * benchtests/bench-strlen.c: Print performance numbers in json.
10019
10020 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10021
10022 * sysdeps/powerpc/powerpc64/multiarch/Makefile
10023 (sysdep_routines): Build strcmp-power9 and strncmp-power9
10024 only for little endian.
10025 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10026 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
10027 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
10028 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
10029 Add check for little endian.
10030 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
10031 (__strcmp_power9): Add check for little endian.
10032 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
10033 Add check for little endian.
10034 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
10035 (__strncmp_power9): Add check for little endian.
10036 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
10037 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
10038 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
10039 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
10040 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
10041
10042 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
10043
10044 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
10045 [!STRLEN](STRLEN): Set to __strlen.
10046 * sysdeps/aarch64/multiarch/strlen.c: New file.
10047 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
10048 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
10049 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
10050 (__libc_ifunc_impl_list): Add strlen.
10051 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
10052 strlen_generic and strlen_asimd.
10053
10054 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
10055
10056 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
10057 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
10058 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
10059
10060 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
10061
10062 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
10063
10064 2018-08-14 Florian Weimer <fweimer@redhat.com>
10065
10066 [BZ #23519]
10067 * include/stdio.h (__vfxprintf): Declare.
10068 * stdio-common/fxprintf.c (__vfxprintf): New function.
10069 (__fxprintf): Call it.
10070 * misc/err.c (convert_and_print): Remove function.
10071 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
10072 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
10073 * misc/Makefile (tests): Add tst-warn-wide.
10074 * misc/tst-warn-wide.c: New file.
10075
10076 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
10077 Szabolcs Nagy <szabolcs.nagy@arm.com>
10078
10079 * NEWS: Mention sinf, cosf, sincosf.
10080 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
10081 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
10082 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
10083 constants rather than including generic sincosf.h.
10084 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
10085 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
10086 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
10087 (reduced_cos): Remove.
10088 (sinf_poly): New function.
10089 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
10090
10091 2018-08-14 Florian Weimer <fweimer@redhat.com>
10092
10093 [BZ #23521]
10094 [BZ #23522]
10095 * nss/nss_files/files-alias.c (get_next_alias): During :include:
10096 processing, bail out if no room, and close the stream before
10097 returning ERANGE.
10098 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
10099 (tst-nss-files-alias-leak): Link with libdl.
10100 (tst-nss-files-alias-leak.out): Depend on nss_files.
10101
10102 * nss/tst-nss-files-alias-leak.c: New file.
10103
10104 2018-08-14 Florian Weimer <fweimer@redhat.com>
10105
10106 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
10107 server_user, stat_user.
10108
10109 2018-08-13 Joseph Myers <joseph@codesourcery.com>
10110
10111 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
10112 version to 4.18.
10113 (io_pgetevents): New syscall.
10114 (rseq): Likewise.
10115
10116 * manual/install.texi (Configuring and compiling): Do not list
10117 tools used for testing pretty printers here.
10118 (Tools for Compilation): List Python, PExpect and GDB here.
10119 Update descriptions of uses of Perl and Python.
10120 * INSTALL: Regenerate.
10121
10122 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10123 version to 4.18.
10124
10125 2018-08-13 Florian Weimer <fweimer@redhat.com>
10126
10127 * misc/error.c (error): Add missing va_end call.
10128 (error_at_line): Likewise.
10129
10130 2018-08-13 Florian Weimer <fweimer@redhat.com>
10131
10132 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
10133
10134 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10135
10136 * benchtests/scripts/benchout.schema.json (properties): Add
10137 new properties.
10138
10139 * benchtests/bench-skeleton.c (main): Add duration and
10140 iterations attributes.
10141
10142 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
10143
10144 regex: Gnulib unibyte RRI uses bytes not chars
10145 Adjust the non-glibc code to agree with what Gawk needs for
10146 rational range interpretation (RRI) for regular expression ranges.
10147 In unibyte locales, Gawk wants ranges to use the underlying byte
10148 rather than the character code point. This change does not affect
10149 glibc proper.
10150 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
10151 In unibyte locales, use the byte value rather than
10152 running it through btowc.
10153
10154 2018-08-10 Joseph Myers <joseph@codesourcery.com>
10155
10156 * sysdeps/generic/math-tests-snan.h: New file.
10157 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
10158 (SNAN_TESTS_float): Do not define here.
10159 (SNAN_TESTS_double): Likewise.
10160 (SNAN_TESTS_long_double): Likewise.
10161 (SNAN_TESTS_float128): Likewise.
10162 * sysdeps/i386/fpu/math-tests-snan.h: New file.
10163 * sysdeps/i386/fpu/math-tests.h: Remove file.
10164 * sysdeps/ia64/math-tests-snan.h: New file.
10165 * sysdeps/ia64/math-tests.h: Remove file.
10166 * sysdeps/x86/math-tests.h: Likewise.
10167 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
10168
10169 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
10170 Szabolcs Nagy <szabolcs.nagy@arm.com>
10171
10172 * math/Makefile: Add s_sincosf_data.c.
10173 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
10174 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
10175 (sincosf_poly): Likewise.
10176 (reduce_small): Likewise.
10177 (reduce_large): Likewise.
10178 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
10179 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
10180 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
10181 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
10182
10183 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
10184 Szabolcs Nagy <szabolcs.nagy@arm.com>
10185
10186 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
10187 (converttoint): Use lround.
10188 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
10189 document the semantics when TOINT_INTRINSICS is set.
10190 (converttoint): Likewise.
10191 (TOINT_RINT): Remove.
10192 (TOINT_SHIFT): Remove.
10193 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
10194 path.
10195
10196 2018-08-10 Florian Weimer <fweimer@redhat.com>
10197
10198 [BZ #23497]
10199 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
10200 function.
10201 (__old_getdents64): Use getdents64. Convert entries without
10202 moving them.
10203 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
10204 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
10205 tst-readdir64-compat.
10206
10207 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10208
10209 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
10210 Fix unwind.
10211
10212 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10213
10214 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
10215 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
10216 code to s390x-mcount.h and #include it.
10217 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
10218 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
10219 (__fentry__): Add.
10220
10221 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10222
10223 * stdlib/Versions: Remove __fentry__.
10224 * sysdeps/i386/Versions: Add __fentry__.
10225 * sysdeps/x86_64/Versions: Add __fentry__.
10226
10227 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10228
10229 * sysdeps/s390/Makefile: Register the new tests.
10230 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
10231 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
10232 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
10233 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
10234 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
10235 * sysdeps/s390/tst-dl-runtime.c: New file.
10236
10237 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10238
10239 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10240 Do not clobber R0.
10241
10242 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10243
10244 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
10245 Do not clobber R0.
10246
10247 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10248
10249 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10250 Do not clobber R0.
10251
10252 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10253
10254 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
10255 Do not clobber R0.
10256
10257 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10258
10259 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10260 Use symbolic offsets for stack variables.
10261
10262 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10263
10264 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
10265 Use symbolic offsets for stack variables.
10266
10267 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10268
10269 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10270 Use symbolic offsets for stack variables.
10271
10272 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10273
10274 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
10275 Use symbolic offsets for stack variables.
10276
10277 2018-08-09 Joseph Myers <joseph@codesourcery.com>
10278
10279 * math/gen-libm-test.py: New file.
10280 * math/gen-libm-test.pl: Remove.
10281 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
10282 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
10283 gen-libm-test.pl.
10284 ($(libm-test-c-noauto-obj)): Likewise.
10285 ($(libm-test-c-auto-obj)): Likewise.
10286 ($(libm-test-c-narrow-obj)): Likewise.
10287 (regen-ulps): Likewise.
10288 * math/README.libm-test: Update references to gen-libm-test.pl.
10289 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
10290 referencing gen-libm-test.pl.
10291 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
10292 * math/libm-test-support.c: Likewise.
10293 * math/libm-test-support.h: Likewise.
10294 * sysdeps/generic/libm-test-ulps: Likewise.
10295
10296 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
10297
10298 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
10299 Fix value.
10300
10301 2018-08-08 Joseph Myers <joseph@codesourcery.com>
10302
10303 * math/libm-test-nextdown.inc (do_test): Move comment to ....
10304 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
10305
10306 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
10307
10308 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
10309 symbols.
10310 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
10311 __pthread_setspecific): Add hidden proto.
10312 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
10313 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
10314
10315 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
10316
10317 * benchtests/bench-string.h (buf1_size, buf2_size): New
10318 variables.
10319 (init_sizes): New function.
10320 (test_init): Use it.
10321 (alloc_buf, exit_error): New functions.
10322 (alloc_bufs): Use ALLOC_BUF.
10323 (realloc_bufs): Remove.
10324 * benchtests/bench-memcmp.c (do_test): Adjust.
10325 * benchtests/bench-memset-large.c (do_test): Likewise.
10326 * benchtests/bench-memset-walk.c (do_test): Likewise.
10327 * benchtests/bench-memset.c (do_test): Likewise.
10328 * benchtests/bench-strncmp.c (do_test): Likewise.
10329
10330 2018-08-06 Andreas Schwab <schwab@suse.de>
10331
10332 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
10333 of CONST_THREAD_AREA.
10334
10335 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
10336
10337 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
10338 (STATE_SAVE_MASK): Likewise.
10339 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
10340 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
10341 (STATE_SAVE_MASK): Likewise.
10342 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
10343 instead of <cpu-features.h>.
10344
10345 2018-08-03 DJ Delorie <dj@redhat.com>
10346
10347 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
10348 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
10349
10350 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
10351
10352 2018-08-03 Joseph Myers <joseph@codesourcery.com>
10353
10354 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
10355 after TEST_* calls.
10356 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
10357 * math/libm-test-logb.inc (logb_test_data): Likewise.
10358
10359 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
10360
10361 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
10362 * string/strstr.c (AVAILABLE): Likewise.
10363
10364 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
10365
10366 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
10367 <init-arch.h>.
10368 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
10369 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
10370 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
10371
10372 2018-08-03 Carlos O'Donell <carlos@redhat.com>
10373
10374 * po/be.po: Update translation.
10375
10376 * po/be.po: Update translation.
10377
10378 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
10379
10380 * sysdeps/x86/cpu-features-offsets.sym
10381 (rtld_global_ro_offsetof): Removed.
10382 (CPU_FEATURES_SIZE): Likewise.
10383 (CPUID_OFFSET): Likewise.
10384 (CPUID_SIZE): Likewise.
10385 (CPUID_EAX_OFFSET): Likewise.
10386 (CPUID_EBX_OFFSET): Likewise.
10387 (CPUID_ECX_OFFSET): Likewise.
10388 (CPUID_EDX_OFFSET): Likewise.
10389 (FAMILY_OFFSET): Likewise.
10390 (MODEL_OFFSET): Likewise.
10391 (FEATURE_OFFSET): Likewise.
10392 (FEATURE_SIZ): Likewise.
10393 (COMMON_CPUID_INDEX_1): Likewise.
10394 (COMMON_CPUID_INDEX_7): Likewise.
10395 (FEATURE_INDEX_1): Likewise.
10396 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
10397
10398 2018-08-02 Carlos O'Donell <carlos@redhat.com>
10399
10400 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
10401 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
10402 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
10403 (install-locales): Depend on install-locale-archive.
10404 (install-locale-archive): Define.
10405 (install-locale-files): Define.
10406 (build-one-locale): Define macro.
10407 * manual/install.texi (Running make install): Document.
10408 * manual/INSTALL: Regenerate.
10409
10410 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
10411
10412 * benchtests/scripts/compare_strings.py: Import traceback.
10413 (parse_file): Pretty-print error.
10414
10415 * NEWS: Mention the change.
10416 * elf/dl-tunables.list: Rename tune namespace to cpu.
10417 * sysdeps/powerpc/dl-tunables.list: Likewise.
10418 * sysdeps/x86/dl-tunables.list: Likewise.
10419 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
10420 cpu.name.
10421 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
10422 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
10423 * manual/README.tunables: Likewise.
10424 * manual/tunables.texi: Likewise.
10425 * sysdeps/powerpc/cpu-features.c: Likewise.
10426 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
10427 (init_cpu_features): Likewise.
10428 * sysdeps/x86/cpu-features.c: Likewise.
10429 * sysdeps/x86/cpu-features.h: Likewise.
10430 * sysdeps/x86/cpu-tunables.c: Likewise.
10431 * sysdeps/x86_64/Makefile: Likewise.
10432 * sysdeps/x86/dl-cet.c: Likewise.
10433
10434 2018-08-02 Joseph Myers <joseph@codesourcery.com>
10435
10436 [BZ #23479]
10437 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
10438 [__mips_hard_float].
10439 (FE_UNDERFLOW): Likewise.
10440 (FE_OVERFLOW): Likewise.
10441 (FE_DIVBYZERO): Likewise.
10442 (FE_INVALID): Likewise.
10443 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
10444 (FE_TOWARDZERO): Define only if [__mips_hard_float].
10445 (FE_UPWARD): Likewise.
10446 (FE_DOWNWARD): Likewise.
10447 (__FE_UNDEFINED): Define if [!__mips_hard_float]
10448 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
10449 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
10450 [__mips_hard_float].
10451 (FP_ROUNDMODE): Likewise.
10452 (FP_RND_NEAREST): Likewise.
10453 (FP_RND_ZERO): Likewise.
10454 (FP_RND_PINF): Likewise.
10455 (FP_RND_MINF): Likewise.
10456 (FP_EX_INVALID): Likewise.
10457 (FP_EX_OVERFLOW): Likewise.
10458 (FP_EX_UNDERFLOW): Likewise.
10459 (FP_EX_DIVZERO): Likewise.
10460 (FP_EX_INEXACT): Likewise.
10461 (FP_INIT_ROUNDMODE): Likewise.
10462 * sysdeps/mips/nofpu/fesetenv.c: New file.
10463 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
10464
10465 2018-08-01 Joseph Myers <joseph@codesourcery.com>
10466
10467 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
10468 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
10469 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
10470 conditional on [FE_UPWARD].
10471
10472 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
10473
10474 regex: fix memory leak in Gnulib
10475 Problem and fix reported by Assaf Gordon in:
10476 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
10477 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
10478 range_ends members too, as they are defined in 'struct
10479 re_charset_t' even if not _LIBC. This affects only Gnulib.
10480
10481 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
10482
10483 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
10484 ...
10485 (get_common_indices): This.
10486 (init_cpu_features): Updated.
10487
10488 2018-08-01 Joseph Myers <joseph@codesourcery.com>
10489
10490 * sysdeps/generic/math-tests-snan-payload.h: New file.
10491 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
10492 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
10493 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
10494 * sysdeps/generic/math-tests.h: Include
10495 <math-tests-snan-payload.h>.
10496 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
10497 * sysdeps/hppa/math-tests.h: Remove file.
10498 * sysdeps/mips/math-tests.h [!__mips_nan2008]
10499 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
10500 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
10501 Likewise.
10502
10503 * sysdeps/generic/math-tests-snan-cast.h: New file.
10504 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
10505 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
10506 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
10507 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
10508
10509 2018-08-01 Carlos O'Donel <carlos@redhat.com>
10510
10511 * version.h (RELEASE): Set to "development".
10512 (VERSION): Set to "2.28.9000".
10513 * NEWS (2.29): New section.
10514
10515 * version.h (RELEASE): Set to "stable".
10516 (VERSION): Set to "2.28".
10517 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
10518 * NEWS: Add the list of bugs fixed in 2.28.
10519
10520 * po/ca.po: Update to latest version.
10521 * po/cs.po: Likewise
10522 * po/da.po: Likewise
10523 * po/el.po: Likewise
10524 * po/eo.po: Likewise
10525 * po/es.po: Likewise
10526 * po/fi.po: Likewise
10527 * po/fr.po: Likewise
10528 * po/gl.po: Likewise
10529 * po/hu.po: Likewise
10530 * po/ia.po: Likewise
10531 * po/id.po: Likewise
10532 * po/it.po: Likewise
10533 * po/ja.po: Likewise
10534 * po/ko.po: Likewise
10535 * po/lt.po: Likewise
10536 * po/nb.po: Likewise
10537 * po/nl.po: Likewise
10538 * po/pt_BR.po: Likewise
10539 * po/ru.po: Likewise
10540 * po/rw.po: Likewise
10541 * po/sk.po: Likewise
10542 * po/sl.po: Likewise
10543 * po/tr.po: Likewise
10544 * po/zh_CN.po: Likewise
10545 * po/zh_TW.po: Likewise
10546
10547 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10548
10549 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
10550 initialization...
10551 (init): ... before initializing libpthread.
10552
10553 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
10554 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
10555 (__mach_setup_tls): ... new function.
10556 (mach_setup_tls): New alias.
10557 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
10558 __mach_setup_thread.
10559 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
10560 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
10561 * mach/Versions [libc] (mach_setup_tls): Add symbol.
10562 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
10563
10564 2018-07-31 Carlos O'Donell <carlos@redhat.com>
10565
10566 * manual/install.texi: Update versions.
10567 * INSTALL: Regenerate.
10568
10569 * manual/contrib.texi (Contributors): Update contributions.
10570
10571 2018-07-31 Carlos O'Donell <carlos@redhat.com>
10572
10573 * po/be.po: Update translations.
10574
10575 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10576
10577 * sysdeps/sh/libm-test-ulps: Update.
10578
10579 2018-07-30 Carlos O'Donell <carlos@redhat.com>
10580
10581 * po/bg.po: Update translations.
10582 * po/de.po: Likewise.
10583 * po/hr.po: Likewise.
10584 * po/pt_BR.po: Likewise.
10585 * po/sv.po: Likewise.
10586 * po/vi.po: Likewise.
10587
10588 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
10589
10590 [BZ #23467]
10591 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
10592 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
10593 (CFLAGS-tst-cet-property-1.o): New.
10594 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
10595 ($(objpfx)tst-cet-property-2): Likewise.
10596 ($(objpfx)tst-cet-property-2.out): Likewise.
10597 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
10598 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
10599 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
10600 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
10601 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
10602
10603 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
10604
10605 [BZ #23458]
10606 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
10607
10608 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
10609
10610 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
10611 __sbrk): Do not set attribute_hidden.
10612 * sysdeps/mach/hurd/not-errno.h: New file.
10613 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
10614 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
10615
10616 2018-07-27 Carlos O'Donell <carlos@redhat.com>
10617
10618 * po/uk.po: Update translations.
10619 * po/cs.po: Likewise.
10620 * po/pl.po: Likewise.
10621
10622 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
10623
10624 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
10625 parse beyond the note end.
10626
10627 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10628
10629 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
10630 kernel does not support OFD locks.
10631 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
10632
10633 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
10634
10635 * sysdeps/mach/hurd/Versions (libc): Make __access and
10636 __access_noerrno external so they can override the ld symbols.
10637 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
10638 __writev, __open64, __access_noerrno extern so they can be overrided.
10639 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
10640 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
10641
10642 2018-07-26 Carlos O'Donell <carlos@redhat.com>
10643
10644 * po/libc.pot: Regenerate.
10645
10646 2018-07-26 Joseph Myers <joseph@codesourcery.com>
10647
10648 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
10649
10650 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
10651
10652 [BZ #23459]
10653 * sysdeps/x86/cpu-features.c (get_extended_indices): New
10654 function.
10655 (init_cpu_features): Call get_extended_indices for both Intel
10656 and AMD CPUs.
10657 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
10658 Remove "for AMD" comment.
10659
10660 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
10661
10662 [BZ # 23456]
10663 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
10664 COMMON_CPUID_INDEX_80000001.
10665
10666 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
10667
10668 * string/tst-xbzero-opt.c (use_test_buffer): New function.
10669 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
10670
10671 2018-07-26 Florian Weimer <fweimer@redhat.com>
10672
10673 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
10674 aliases for symbols not in the implementation namespace.
10675
10676 2018-07-25 Carlos O'Donell <carlos@redhat.com>
10677
10678 [BZ #23393]
10679 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
10680 lowercase in LATIN script.
10681 * localedata/Makefile (test-input): Add en_US.UTF-8.
10682 * localedata/en_US.UTF-8.in: New file.
10683 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
10684 and restore old tests.
10685 * posix/tst-regexloc.c (do_test): Add back range expression test.
10686
10687 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10688
10689 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
10690
10691 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10692
10693 * nptl/threads.h: Move to ...
10694 * sysdeps/nptl/threads.h: ... here.
10695 * sysdeps/hurd/stdc-predef.h: New file.
10696
10697 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10698
10699 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
10700 tst-cet-setcontext-1 if CET is enabled.
10701 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
10702 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
10703
10704 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10705
10706 * include/threads.h: Move to ...
10707 * sysdeps/nptl/threads.h: ... here.
10708 * sysdeps/htl/threads.h: New file.
10709 * conform/Makefile (linknamespace-libs-ISO11): Use
10710 static-thread-library instead of linking libpthread.
10711 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
10712
10713 2018-07-25 Florian Weimer <fweimer@redhat.com>
10714
10715 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
10716 nanoseconds into seconds.
10717 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
10718 (do_test): Likewise.
10719 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
10720 (do_test): Likewise. Avoid nanosecond overflow and spurious
10721 timeouts due to system load.
10722 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
10723 (child_wait): Increment it.
10724 (do_test): Wait as long as necessary until all expected threads
10725 have arrived.
10726
10727 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
10728 H.J. Lu <hongjiu.lu@intel.com>
10729
10730 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
10731 __ssp.
10732 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
10733 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
10734 (__push___start_context): New.
10735 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
10736 <asm/prctl.h>.
10737 (__getcontext): Record the current shadow stack base. Save the
10738 caller's shadow stack pointer and base.
10739 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
10740 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
10741 (__push___start_context): New prototype.
10742 (__makecontext): Call __push___start_context to allocate a new
10743 shadow stack, push __start_context onto the new stack as well
10744 as the new shadow stack.
10745 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
10746 <asm/prctl.h>.
10747 (__setcontext): Restore the target shadow stack.
10748 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
10749 <asm/prctl.h>.
10750 (__swapcontext): Record the current shadow stack base. Save
10751 the caller's shadow stack pointer and base. Restore the target
10752 shadow stack.
10753 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
10754 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
10755 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
10756
10757 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10758
10759 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
10760 tst-setcontext8 and tst-setcontext9.
10761 * stdlib/tst-setcontext6.c: New file.
10762 * stdlib/tst-setcontext7.c: Likewise.
10763 * stdlib/tst-setcontext8.c: Likewise.
10764 * stdlib/tst-setcontext9.c: Likewise.
10765
10766 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10767
10768 * stdlib/Makefile ((tests): Add tst-setcontext5.
10769 * stdlib/tst-setcontext5.c: New file.
10770
10771 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10772
10773 * stdlib/Makefile (tests): Add tst-setcontext4.
10774 * stdlib/tst-setcontext4.c: New file.
10775
10776 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10777
10778 * stdlib/Makefile (tests): Add tst-swapcontext1.
10779 * stdlib/tst-swapcontext1.c: New test.
10780
10781 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10782
10783 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
10784 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
10785 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
10786 and tst-cet-legacy-4c.
10787 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
10788 and tst-cet-legacy-mod-4.
10789 (CFLAGS-tst-cet-legacy-2.c): New.
10790 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
10791 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
10792 (CFLAGS-tst-cet-legacy-3.c): Likewise.
10793 (CFLAGS-tst-cet-legacy-4.c): Likewise.
10794 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
10795 ($(objpfx)tst-cet-legacy-1): Likewise.
10796 ($(objpfx)tst-cet-legacy-2): Likewise.
10797 ($(objpfx)tst-cet-legacy-2.out): Likewise.
10798 ($(objpfx)tst-cet-legacy-2a): Likewise.
10799 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
10800 ($(objpfx)tst-cet-legacy-4): Likewise.
10801 ($(objpfx)tst-cet-legacy-4.out): Likewise.
10802 ($(objpfx)tst-cet-legacy-4a): Likewise.
10803 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
10804 (tst-cet-legacy-4a-ENV): Likewise.
10805 ($(objpfx)tst-cet-legacy-4b): Likewise.
10806 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
10807 (tst-cet-legacy-4b-ENV): Likewise.
10808 ($(objpfx)tst-cet-legacy-4c): Likewise.
10809 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
10810 (tst-cet-legacy-4c-ENV): Likewise.
10811 * sysdeps/x86/tst-cet-legacy-1.c: New file.
10812 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
10813 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
10814 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
10815 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
10816 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
10817 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
10818 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
10819 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
10820 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
10821 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
10822
10823 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10824
10825 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
10826 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
10827 with ssp_base.
10828 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
10829 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
10830 with ssp_base.
10831
10832 2018-07-25 Andreas Schwab <schwab@suse.de>
10833
10834 [BZ #23442]
10835 * locale/weightwc.h (findidx): Handle the case where usrc is a
10836 prefix of cp but one character too short.
10837
10838 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10839
10840 * NEWS: Add ISO C threads addition.
10841
10842 2018-07-24 Florian Weimer <fweimer@redhat.com>
10843
10844 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10845 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
10846 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
10847 4.13.
10848
10849 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10850
10851 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
10852 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
10853 <sys/prctl.h> and <asm/prctl.h>.
10854 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
10855 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
10856 and <asm/prctl.h>.
10857 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
10858 ARCH_CET_LEGACY_BITMAP.
10859 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
10860 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
10861 * sysdeps/x86/libc-start.c: Include <startup.h>.
10862
10863 2018-07-24 Florian Weimer <fweimer@redhat.com>
10864
10865 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
10866 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
10867
10868 2018-07-24 Rical Jasan <rj@2c3t.io>
10869 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10870 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
10871
10872 [BZ #14092]
10873 * manual/debug.texi: Update adjacent chapter name.
10874 * manual/probes.texi: Likewise.
10875 * manual/threads.texi (ISO C Threads): New section.
10876 (POSIX Threads): Convert to a section.
10877
10878 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10879 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
10880
10881 [BZ# 14092]
10882 * nptl/Makefile (tests): Add new test files.
10883 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
10884 * nptl/tst-cnd-basic.c: Likewise.
10885 * nptl/tst-cnd-broadcast.c: Likewise.
10886 * nptl/tst-cnd-timedwait.c: Likewise.
10887 * nptl/tst-mtx-basic.c: Likewise.
10888 * nptl/tst-mtx-recursive.c: Likewise.
10889 * nptl/tst-mtx-timedlock.c: Likewise.
10890 * nptl/tst-mtx-trylock.c: Likewise.
10891 * nptl/tst-thrd-basic.c: Likewise.
10892 * nptl/tst-thrd-detach.c: Likewise.
10893 * nptl/tst-thrd-sleep.c: Likewise.
10894 * nptl/tst-tss-basic.c: Likewise.
10895
10896 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10897
10898 [BZ #14092]
10899 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
10900 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
10901 symbols.
10902 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10903 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10904 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10905 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10906 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10907 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10908 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10909 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10910 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10911 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10912 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10913 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10915 Likewise.
10916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10917 Likewise.
10918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
10919 Likewise.
10920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10921 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
10922 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10923 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10924 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10925 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10926 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10927 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10928 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10929 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
10930 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
10931 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
10932 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
10933 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
10934 Likewise.
10935 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
10936 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
10937 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
10938 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
10939 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
10940 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
10941 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
10942 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
10943 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
10944 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
10945 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
10946 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
10947 ikewise.
10948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
10949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
10950 Likewise.
10951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
10952 Likewise.
10953 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
10954 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
10955 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
10956 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
10957 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
10958 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
10959 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
10960 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
10961
10962 [BZ #14092]
10963 * conform/data/threads.h-data (thread_local): New macro.
10964 (TSS_DTOR_ITERATIONS): Likewise.
10965 (tss_t): New type.
10966 (tss_dtor_t): Likewise.
10967 (tss_create): New function.
10968 (tss_get): Likewise.
10969 (tss_set): Likewise.
10970 (tss_delete): Likewise.
10971 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
10972 tss_get, and tss_set objects.
10973 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
10974 * nptl/tss_create.c: New file.
10975 * nptl/tss_delete.c: Likewise.
10976 * nptl/tss_get.c: Likewise.
10977 * nptl/tss_set.c: Likewise.
10978 * sysdeps/nptl/threads.h (thread_local): New define.
10979 (TSS_DTOR_ITERATIONS): Likewise.
10980 (tss_t): New typedef.
10981 (tss_dtor_t): Likewise.
10982 (tss_create): New prototype.
10983 (tss_get): Likewise.
10984 (tss_set): Likewise.
10985 (tss_delete): Likewise.
10986
10987 [BZ #14092]
10988 * conform/data/threads.h-data (cnd_t): New type.
10989 (cnd_init): New function.
10990 (cnd_signal): Likewise.
10991 (cnd_broadcast): Likewise.
10992 (cnd_wait): Likewise.
10993 (cnd_timedwait): Likewise.
10994 (cnd_destroy): Likewise.
10995 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
10996 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
10997 object.
10998 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
10999 * nptl/cnd_broadcast.c: New file.
11000 * nptl/cnd_destroy.c: Likewise.
11001 * nptl/cnd_init.c: Likewise.
11002 * nptl/cnd_signal.c: Likewise.
11003 * nptl/cnd_timedwait.c: Likewise.
11004 * nptl/cnd_wait.c: Likewise.
11005 * sysdeps/nptl/threads.h (cnd_t): New type.
11006 (cnd_init): New prototype.
11007 (cnd_signa): Likewise.
11008 (cnd_broadcast): Likewise.
11009 (cnd_wait): Likewise.
11010 (cnd_timedwait): Likewise.
11011 (cnd_destroy): Likewise.
11012
11013 [BZ #14092]
11014 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
11015 (once_flag): New type.
11016 (call_once): New function.
11017 * nptl/Makefile (libpthread-routines): Add call_once object.
11018 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
11019 * nptl/call_once.c: New file.
11020 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
11021 (once_flag): New type.
11022 (call_once): New prototype.
11023
11024 [BZ #14092]
11025 * conform/data/threads.h-data (mtx_plain): New constant.
11026 (mtx_recursive): Likewise.
11027 (mtx_timed): Likewise.
11028 (mtx_t): New type.
11029 (mtx_init): New function.
11030 (mtx_lock): Likewise.
11031 (mtx_timedlock): Likewise.
11032 (mtx_trylock): Likewise.
11033 (mtx_unlock): Likewise.
11034 (mtx_destroy): Likewise.
11035 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
11036 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
11037 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
11038 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
11039 * nptl/mtx_destroy.c: New file.
11040 * nptl/mtx_init.c: Likewise.
11041 * nptl/mtx_lock.c: Likewise.
11042 * nptl/mtx_timedlock.c: Likewise.
11043 * nptl/mtx_trylock.c: Likewise.
11044 * nptl/mtx_unlock.c: Likewise.
11045 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
11046 (mtx_recursive): Likewise.
11047 (mtx_timed): Likewise.
11048 (mtx_t): New type.
11049 (mtx_init): New prototype.
11050 (mtx_lock): Likewise.
11051 (mtx_timedlock): Likewise.
11052 (mtx_trylock): Likewise.
11053 (mtx_unlock): Likewise.
11054 (mtx_destroy): Likewise.
11055
11056 [BZ #14092]
11057 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
11058 (linknamespace-libs-ISO11): Add libpthread.a.
11059 * conform/data/threads.h-data: New file: add C11 thrd_* types and
11060 functions.
11061 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
11062 * nptl/Makefile (headers): Add threads.h.
11063 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
11064 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
11065 thrd_yield.
11066 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
11067 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
11068 thrd_join, thrd_sleep, and thrd_yield symbols.
11069 * nptl/descr.h (struct pthread): Add c11 field.
11070 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
11071 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
11072 routine with expected function prototype.
11073 (__pthread_create_2_1): Add C11 threads check based on attribute
11074 value.
11075 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
11076 * nptl/thrd_create.c: New file.
11077 * nptl/thrd_current.c: Likewise.
11078 * nptl/thrd_detach.c: Likewise.
11079 * nptl/thrd_equal.c: Likewise.
11080 * nptl/thrd_exit.c: Likewise.
11081 * nptl/thrd_join.c: Likewise.
11082 * nptl/thrd_priv.h: Likewise.
11083 * nptl/thrd_sleep.c: Likewise.
11084 * nptl/thrd_yield.c: Likewise.
11085 * include/threads.h: Likewise.
11086
11087 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11088
11089 * bits/indirect-return.h: New file.
11090 * misc/sys/cdefs.h (__glibc_has_attribute): New.
11091 * sysdeps/x86/bits/indirect-return.h: Likewise.
11092 * stdlib/Makefile (headers): Add bits/indirect-return.h.
11093 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
11094 (swapcontext): Add __INDIRECT_RETURN.
11095 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
11096 (prepare_test_buffer): Use it.
11097
11098 2018-07-24 Andreas Schwab <schwab@suse.de>
11099
11100 [BZ #23448]
11101 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
11102 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
11103
11104 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11105
11106 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
11107 Redefine if shadow stack is enabled.
11108 (SYSCALL_ERROR_LABEL): Likewise.
11109 (__vfork): Pop shadow stack and jump back to to caller directly
11110 when shadow stack is in use.
11111 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
11112 Redefine if shadow stack is enabled.
11113 (SYSCALL_ERROR_LABEL): Likewise.
11114 (__vfork): Pop shadow stack and jump back to to caller directly
11115 when shadow stack is in use.
11116
11117 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11118
11119 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
11120 enabled.
11121 (foo): Likewise.
11122 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
11123 (foo): Likewise.
11124
11125 2018-07-20 Joseph Myers <joseph@codesourcery.com>
11126
11127 * scripts/build-many-glibcs.py (Context.checkout): Default
11128 binutils version to 2.31 branch.
11129
11130 2018-07-20 Zong Li <zong@andestech.com>
11131
11132 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
11133 URL of gcc's tarball.
11134
11135 2018-07-20 Florian Weimer <fweimer@redhat.com>
11136
11137 [BZ #23396]
11138 * posix/regcomp.c (build_equiv_class): When comparing weights, do
11139 not compare an extra byte after the end of the weights.
11140
11141 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
11142
11143 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
11144 to 1.
11145 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
11146 hidden prototypes.
11147 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
11148 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
11149 * scripts/check-execstack.awk: Consider `xfail' variable containing a
11150 list of libraries whose stack executability is expected.
11151 * elf/Makefile ($(objpfx)check-execstack.out): Pass
11152 $(check-execstack-xfail) to check-execstack.awk through `xfail'
11153 variable.
11154 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
11155 libc.so libpthread.so.
11156
11157 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
11158
11159 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
11160 SOCK_NONBLOCK.
11161 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
11162 and SOCK_NONBLOCK.
11163 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
11164 implement __pipe2.
11165 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
11166
11167 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11168
11169 * benchtests/scripts/compare_bench.py (__main__): use the argparse
11170 library to improve command line parsing.
11171 (__main__): make schema file as optional parameter (--schema),
11172 defaulting to benchtests/scripts/benchout.schema.json.
11173 (main): move out of the parsing stuff to __main_  and leave it
11174 only as caller of main comparison functions.
11175
11176 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
11177
11178 * NEWS: Add a note for Intel CET status.
11179 * manual/install.texi: Likewise.
11180 * INSTALL: Regenerated.
11181
11182 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
11183
11184 [BZ #23140]
11185 * localedata/locales/oc_FR (mon): Rename to...
11186 (alt_mon): This, then update October (typo fix).
11187 (mon): New content (genitive case, month names preceded by
11188 "de" or "d’").
11189
11190 [BZ #23422]
11191 * localedata/locales/oc_FR (abday): Update all items.
11192 (day): Update Wednesday and Saturday (typo fixes).
11193 (abmon): Update all items, except May.
11194 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
11195 (LC_IDENTIFICATION): Bump the revision number and date.
11196 Keep the "category" entries in alphabetic order.
11197 (LC_ADDRESS): Remove no longer needed comment.
11198 (LC_COLLATE): Use “copy "ca_ES"”.
11199 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
11200 "name_mrs".
11201
11202 2018-07-18 Joseph Myers <joseph@codesourcery.com>
11203
11204 * grp/tst_fgetgrent.c: Include <unistd.h>.
11205 (main): Use mkstemp instead of tmpnam.
11206 * io/test-utime.c (main): Likewise.
11207 * posix/annexc.c (macrofile): Change to modifiable array.
11208 (main): Remove macrofile here.
11209 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
11210 macrofile here.
11211 (check_header): Do not remove macrofile here.
11212 * posix/bug-getopt1.c: Include <stdlib.h>.
11213 (do_test): Use mkstemp instead of tmpnam.
11214 * posix/bug-getopt2.c: Include <stdlib.h>.
11215 (do_test): Use mkstemp instead of tmpnam.
11216 * posix/bug-getopt3.c: Include <stdlib.h>.
11217 (do_test): Use mkstemp instead of tmpnam.
11218 * posix/bug-getopt4.c: Include <stdlib.h>.
11219 (do_test): Use mkstemp instead of tmpnam.
11220 * posix/bug-getopt5.c: Include <stdlib.h>.
11221 (do_test): Use mkstemp instead of tmpnam.
11222 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
11223 (main): Use mkstemp instead of tmpnam.
11224 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
11225 (main): Use mkstemp instead of tmpnam.
11226 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
11227 (main): use mkstemp instead of tmpnam.
11228 * stdlib/isomac.c (macrofile): Change to modifiable array.
11229 (main): Remove macrofile here.
11230 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
11231 macrofile here.
11232 (check_header): Do not remove macrofile here.
11233
11234 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11235
11236 * manual/tunables.texi: Document glibc.tune.x86_ibt and
11237 glibc.tune.x86_shstk.
11238
11239 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11240
11241 * NEWS: Mention --enable-cet.
11242 * manual/install.texi: Document --enable-cet.
11243 * INSTALL: Regenerated.
11244
11245 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11246
11247 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
11248 Add _CET_NOTRACK before indirect jump to jump table.
11249
11250 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11251
11252 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
11253 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11254 to jump table.
11255
11256 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11257
11258 * sysdeps/i386/i686/multiarch/strcat-sse2.S
11259 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11260 to jump table.
11261
11262 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11263
11264 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
11265 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11266 to jump table.
11267
11268 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11269
11270 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
11271 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11272 to jump table.
11273
11274 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11275
11276 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
11277 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11278 to jump table.
11279 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
11280
11281 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11282
11283 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
11284 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11285 to jump table.
11286
11287 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11288
11289 * sysdeps/i386/i686/multiarch/memset-sse2.S
11290 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11291 to jump table.
11292
11293 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11294
11295 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
11296 indirect jump to jump table.
11297
11298 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11299
11300 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
11301 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11302 to jump table.
11303 (MEMCPY): Likewise.
11304
11305 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11306
11307 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
11308 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11309 to jump table.
11310 (MEMCPY): Likewise.
11311
11312 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11313
11314 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
11315 _CET_NOTRACK before indirect jump to jump table.
11316
11317 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11318
11319 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
11320 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11321 to jump table.
11322
11323 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11324
11325 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
11326 indirect jump to jump table.
11327
11328 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
11329
11330 [BZ #22241]
11331 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
11332 (LOCALES): Likewise.
11333 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
11334 * localedata/locales/sah_RU: New file.
11335 * localedata/sah_RU.UTF-8.in: New file.
11336
11337 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11338
11339 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
11340 "sysdep.h".
11341 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
11342 _CET_ENDBR to indirect jump targets and adjust jump destination
11343 for _CET_ENDBR.
11344 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
11345 "sysdep.h".
11346 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
11347 _CET_ENDBR to indirect jump targets and adjust jump destination
11348 for _CET_ENDBR.
11349 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
11350 "sysdep.h".
11351 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
11352 _CET_ENDBR to indirect jump targets and adjust jump destination
11353 for _CET_ENDBR.
11354
11355 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11356
11357 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
11358 _CET_ENDBR.
11359
11360 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11361
11362 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
11363 _CET_ENDBR.
11364 (_dl_tlsdesc_undefweak): Likewise.
11365 (_dl_tlsdesc_dynamic): Likewise.
11366 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
11367 (_dl_tlsdesc_resolve_rel): Likewise.
11368 (_dl_tlsdesc_resolve_rela): Likewise.
11369 (_dl_tlsdesc_resolve_hold): Likewise.
11370 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
11371 (_dl_tlsdesc_undefweak): Likewise.
11372 (_dl_tlsdesc_dynamic): Likewise.
11373 (_dl_tlsdesc_resolve_rela): Likewise.
11374 (_dl_tlsdesc_resolve_hold): Likewise.
11375
11376 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11377
11378 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
11379 (_fini): Likewise.
11380 * sysdeps/x86_64/crti.S (_init): Likewise.
11381 (_fini): Likewise.
11382
11383 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
11384
11385 [BZ #23140]
11386 * localedata/locales/os_RU (mon): Rename to...
11387 (alt_mon): This.
11388 (mon): Import from CLDR (genitive case).
11389
11390 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11391
11392 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
11393 cet-tunables.h> when CET is enabled.
11394
11395 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
11396
11397 [BZ #21598]
11398 * configure.ac: Add --enable-cet.
11399 * configure: Regenerated.
11400 * elf/Makefille (all-built-dso): Add a comment.
11401 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
11402 Include <dl-prop.h>.
11403 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
11404 segment.
11405 * elf/dl-open.c: Include <dl-prop.h>.
11406 (dl_open_worker): Call _dl_open_check.
11407 * elf/rtld.c: Include <dl-prop.h>.
11408 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
11409 _rtld_main_check.
11410 * sysdeps/generic/dl-prop.h: New file.
11411 * sysdeps/i386/dl-cet.c: Likewise.
11412 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
11413 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
11414 * sysdeps/x86/cet-tunables.h: Likewise.
11415 * sysdeps/x86/check-cet.awk: Likewise.
11416 * sysdeps/x86/configure: Likewise.
11417 * sysdeps/x86/configure.ac: Likewise.
11418 * sysdeps/x86/dl-cet.c: Likewise.
11419 * sysdeps/x86/dl-procruntime.c: Likewise.
11420 * sysdeps/x86/dl-prop.h: Likewise.
11421 * sysdeps/x86/libc-start.h: Likewise.
11422 * sysdeps/x86/link_map.h: Likewise.
11423 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
11424 _CET_ENDBR.
11425 (_dl_runtime_profile): Likewise.
11426 (_dl_runtime_resolve_shstk): New.
11427 (_dl_runtime_profile_shstk): Likewise.
11428 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
11429 if CET is enabled.
11430 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
11431 (CFLAGS-.os): Likewise.
11432 (CFLAGS-.op): Likewise.
11433 (CFLAGS-.oS): Likewise.
11434 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
11435 is enabled.
11436 (tests-special): Add $(objpfx)check-cet.out.
11437 (cet-built-dso): New.
11438 (+$(cet-built-dso:=.note)): Likewise.
11439 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
11440 ($(objpfx)check-cet.out): New.
11441 (generated): Add check-cet.out.
11442 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
11443 <cet-tunables.h>.
11444 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
11445 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
11446 (init_cpu_features): Call get_cet_status to check CET status
11447 and update dl_x86_feature_1 with CET status. Call
11448 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
11449 (set_x86_shstk). Disable and lock CET in libc.a.
11450 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
11451 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
11452 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
11453 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
11454 (_CET_ENDBR): Define if not defined.
11455 (ENTRY): Add _CET_ENDBR.
11456 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
11457 x86_shstk.
11458 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
11459 _CET_ENDBR.
11460 (_dl_runtime_profile): Likewise.
11461
11462 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
11463
11464 [BZ #21895]
11465 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
11466 restore r2 on longjmp.
11467 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
11468 test list.
11469 Added rules to build test tst-setjmp-bug21895-static.
11470 Added module setjmp-bug21895 and rules to build a shared object from it.
11471 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
11472 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
11473
11474 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
11475
11476 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
11477 * benchtests/bench-strstr.c: Likewise.
11478 * string/memmem.c (FASTSEARCH): Define.
11479 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
11480 Add support for FASTSEARCH.
11481 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
11482 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
11483 (FASTSEARCH): Define.
11484 * string/test-strcasestr.c: Rename __strnlen to strnlen.
11485 * string/test-strstr.c: Likewise.
11486
11487 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
11488
11489 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
11490 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
11491
11492 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
11493 H.J. Lu <hongjiu.lu@intel.com>
11494
11495 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
11496 (__longjmp): Restore shadow stack pointer if shadow stack is
11497 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
11498 isn't defined for __longjmp_cancel.
11499 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
11500 (_setjmp): Save shadow stack pointer if shadow stack is enabled
11501 and SHADOW_STACK_POINTER_OFFSET is defined.
11502 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
11503 (setjmp): Save shadow stack pointer if shadow stack is enabled
11504 and SHADOW_STACK_POINTER_OFFSET is defined.
11505 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
11506 (__sigsetjmp): Save shadow stack pointer if shadow stack is
11507 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11508 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
11509 <jmp_buf-ssp.h>.
11510 (____longjmp_chk): Restore shadow stack pointer if shadow stack
11511 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11512 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
11513 Remove jmp_buf-ssp.sym.
11514 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
11515 <jmp_buf-ssp.h>.
11516 (____longjmp_chk): Restore shadow stack pointer if shadow stack
11517 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11518 * sysdeps/x86/Makefile (gen-as-const-headers): Add
11519 jmp_buf-ssp.sym.
11520 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
11521 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
11522 (__longjmp): Restore shadow stack pointer if shadow stack is
11523 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
11524 isn't defined for __longjmp_cancel.
11525 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
11526 (__sigsetjmp): Save shadow stack pointer if shadow stack is
11527 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11528
11529 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
11530
11531 [BZ #22563]
11532 * nptl/pthread_create.c: Include <tls-setup.h>.
11533 (__pthread_create_2_1): Call tls_setup_tcbhead.
11534 * sysdeps/generic/tls-setup.h: New file.
11535 * sysdeps/x86/nptl/tls-setup.h: Likewise.
11536 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
11537 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
11538 Likewise.
11539 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
11540 to feature_1.
11541 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
11542 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
11543 (X86_FEATURE_1_SHSTK): Likewise.
11544 (CET_ENABLED): Likewise.
11545 (IBT_ENABLED): Likewise.
11546 (SHSTK_ENABLED): Likewise.
11547
11548 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
11549
11550 [BZ #23208]
11551 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
11552 (LOCALES): Likewise.
11553 * localedata/dsb_DE.UTF-8.in: New file.
11554 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
11555
11556 2018-07-12 Florian Weimer <fweimer@redhat.com>
11557
11558 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
11559 __mprotect, not mprotect.
11560
11561 2018-07-11 Florian Weimer <fweimer@redhat.com>
11562
11563 * io/Makefile (headers): Add bits/statx.h.
11564
11565 2018-07-10 Mike FABIAN <mfabian@redhat.com>
11566
11567 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
11568 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
11569 and headers.
11570 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
11571 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
11572 for utf8_gen.py
11573
11574 2018-07-10 Florian Weimer <fweimer@redhat.com>
11575
11576 * io/Makefile (routines): Add statx.
11577 (tests-internal): Add tst-statx.
11578 * io/Versions (GLIBC_2.28): Export statx.
11579 * io/bits/statx.h: New file.
11580 * io/sys/stat.h [__USE_GNU]: Include it.
11581 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
11582 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
11583 Define.
11584 * io/statx.c: New file.
11585 * io/statx_generic.: Likewise.
11586 * io/tst-statx.: Likewise.
11587 * include/bits/statx.h: Likewise.
11588 * sysdeps/unix/sysv/linux/kernel-features.h
11589 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
11590 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11591 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
11592 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
11593 Undefine.
11594 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11595 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
11596 * sysdeps/unix/sysv/linux/statx.c: New file.
11597 * manual/filesys.texi: Note that statx is undocumented.
11598 * sysdeps/**/libc*.abilist: Update.
11599
11600 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11601
11602 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
11603 a kernel issue which lead to test failure in some cases.
11604
11605 2018-07-10 Florian Weimer <fweimer@redhat.com>
11606
11607 [BZ #23036]
11608 * posix/regexec.c (check_node_accept_bytes): When comparing
11609 weights, do not compare an extra byte after the end of the
11610 weights.
11611
11612 2018-07-10 Florian Weimer <fweimer@redhat.com>
11613
11614 * libio/readline.c: Fix copyright year.
11615 * libio/tst-readline.c Likewise.
11616 * nss/tst-nss-files-hosts-getent.c: Likewise.
11617
11618 2018-07-06 Florian Weimer <fweimer@redhat.com>
11619
11620 [BZ #18991]
11621 * nss/nss_files/files-XXX.c (internal_getent): Use
11622 __libc_readline_unlocked. Seek back to the start of the line if
11623 parsing failes with ERANGE.
11624 (get_contents_ret, get_contents): Remove.
11625 * nss/tst-nss-files-hosts-getent.c: New file.
11626 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
11627 (tst-nss-files-hosts-getent): Link with -ldl.
11628
11629 2018-07-06 Florian Weimer <fweimer@redhat.com>
11630
11631 * include/stdio.h (__libc_readline_unlocked): Declare.
11632 (__ftello64, __fseeko64): Declare aliases.
11633 * libio/readline.c: New file.
11634 * libio/tst-readline.c: Likewise.
11635 (routines): Add readline.
11636 (tests-internal): Add tst-readlime.
11637 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
11638 __libc_readline_unlocked.
11639 * libio/fseeko.c (__fseeko): Rename from fseeko.
11640 (fseeko): Add alias.
11641 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
11642 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
11643 (fseeko64): Add alias.
11644 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
11645 * libio/ftello64.c (__ftello64): Rename from ftello64.
11646 (ftello64): Add alias.
11647
11648 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
11649
11650 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
11651 HWCAP_ATOMICS.
11652
11653 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
11654
11655 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
11656 Use dl_hwcap without masking.
11657 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
11658 Remove HWCAP_CPUID.
11659
11660 2018-07-06 Florian Weimer <fweimer@redhat.com>
11661
11662 * conform/conformtest.pl (checknamespace): Escape literal braces
11663 in regular expressions.
11664
11665 2018-07-06 Amit Pawar <amit.pawar@amd.com>
11666
11667 * sysdeps/x86/cpu-features.c (get_common_indeces):
11668 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
11669 * sysdeps/x86/cpu-features.c (init_cpu_features):
11670 AVX_Fast_Unaligned_Load is disabled for Excavator core.
11671
11672 2018-07-05 Florian Weimer <fweimer@redhat.com>
11673
11674 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
11675 protector.
11676 (CFLAGS-elf-init.oS): Likewise.
11677
11678 2018-07-05 Florian Weimer <fweimer@redhat.com>
11679 Carlos O'Donell <carlos@redhat.com>
11680
11681 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
11682 $(no-stack-protector). stack_chk_fail_local.c can be compiled
11683 with stack protector enabled because there is no risk of infinite
11684 recursion.
11685
11686 2018-07-05 Maciej W. Rozycki <macro@mips.com>
11687
11688 [BZ #19818]
11689 [BZ #23307]
11690 * libc-abis (ABSOLUTE): New ABI.
11691 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
11692 * NEWS: Mention the new ABI.
11693
11694 2018-07-05 Florian Weimer <fweimer@redhat.com>
11695
11696 [BZ # 17662]
11697 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
11698 (RENAME_WHITEOUT): Define.
11699 [__USE_GNU] (renameat2): Declare.
11700 * stdio-common/Makefile (routines): Add renameat2.
11701 (tests): Add tst-renameat2.
11702 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
11703 * stdio-common/renameat2.c: New file.
11704 * stdio-common/tst-renameat2.c: Likewise.
11705 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
11706 * manual/filesys.texi (Temporary Files): Note that renameat2 is
11707 undocumented.
11708 * sysdeps/unix/sysv/linux/kernel-features.h
11709 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
11710 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11711 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
11712 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11713 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
11714 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11715 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
11716 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11717 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
11718 * include/stdio.h (__renameat): Add alias for renameat.
11719 * stdio-common/renameat.c (__renameat): Rename from renameat.
11720 Add hidden definition and alias.
11721 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
11722 * sysdeps/mach/hurd/renameat.c: Likewise.
11723 * sysdeps/**/libc*.abilist: Add renameat2.
11724
11725 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11726
11727 * posix/bug-regex33.c: Fix build after regex sync.
11728
11729 2018-07-04 Carlos O'Donell <carlos@redhat.com>
11730
11731 [BZ #23164]
11732 * localedata/tst-langinfo-setlocale.c: New file.
11733 * localedata/tst-langinfo-setlocale-static.c: New file.
11734 * localedata/tst-langinfo-newlocale.c: New file.
11735 * localedata/tst-langinfo-newlocale-static.c: New file.
11736 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
11737 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
11738 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
11739 (tests-static): Remove tst-langinfo-static. Add
11740 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
11741 (tests-special): Remove $(objpfx)tst-langinfo.out,
11742 $(objpfx)tst-langinfo-static.out. Add
11743 $(objpfx)tst-langinfo-setlocale.out,
11744 $(objpfx)tst-langinfo-newlocale.out,
11745 $(objpfx)tst-langinfo-setlocale-static.out,
11746 $(objpfx)tst-langinfo-newlocale-static.out.
11747 ($(objpfx)tst-langinfo.out): Remove.
11748 ($(objpfx)tst-langinfo-static.out): Remove.
11749 ($(objpfx)tst-langinfo-newlocale.out): New target.
11750 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
11751 (test-xfail-tst-langinfo-newlocale-static): Add.
11752 ($(objpfx)tst-langinfo-setlocale.out): New target.
11753 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
11754 * localedata/tst-langinfo.c: Call test_locale.
11755 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
11756 data.
11757
11758 2018-07-04 Florian Weimer <fweimer@redhat.com>
11759
11760 testrun.sh: Implement --tool=strace, --tool=valgrind
11761 * Makefile (testrun-script): Define variable.
11762 (testrun.sh): Use variable.
11763 * manual/install.texi (Tools for Compilation): make 4.0 or later
11764 is required.
11765 * configure.ac: Check for make 4.0 or later.
11766 * INSTALL: Regenerate.
11767 * configure: Likewise.
11768
11769 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11770
11771 [BZ #23233]
11772 [BZ #21163]
11773 [BZ #18986]
11774 [BZ #13762]
11775 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
11776 * posix/PCRE.tests: Remove invalid test.
11777 * posix/bug-regex28.c: Fix expected values for used syntax.
11778 * posix/bug-regex37.c: New file.
11779 * posix/bug-regex38.c: Likewise.
11780 * posix/regcomp.c: Sync with gnulib.
11781 * posix/regex.c: Likewise.
11782 * posix/regex.h: Likewise.
11783 * posix/regex_internal.c: Likewise.
11784 * posix/regex_internal.h: Likewise.
11785 * posix/regexec.c: Likewise.
11786
11787 2018-06-26 Mike FABIAN <mfabian@redhat.com>
11788
11789 [BZ #23308]
11790 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
11791 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
11792 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
11793 * localedata/unicode-gen/PropList.txt: likewise.
11794 * localedata/unicode-gen/UnicodeData.txt: likewise.
11795 * localedata/charmaps/UTF-8: Regenerate.
11796 * localedata/locales/i18n_ctype: likewise.
11797 * localedata/locales/tr_TR: likewise.
11798 * localedata/locales/translit_circle: likewise.
11799 * localedata/locales/translit_cjk_compat: likewise.
11800 * localedata/locales/translit_combining: likewise.
11801 * localedata/locales/translit_compat: likewise.
11802 * localedata/locales/translit_font: likewise.
11803 * localedata/locales/translit_fraction: likewise.
11804
11805 2018-07-03 Florian Weimer <fweimer@redhat.com>
11806
11807 [BZ #23363]
11808 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
11809 * stdio-common/tst-printf.sh: Adjust expected output.
11810 * LICENSES: Update.
11811
11812 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11813
11814 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
11815 symbol.
11816
11817 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11818
11819 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
11820 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
11821 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
11822 * stdio-common/tst-printfsz-islongdouble.c: New file.
11823 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
11824 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
11825 [subdir == stdio-common] (routines): Add ieee128-printf_size.
11826 [subdir == stdio-common] (tests-internal): Add
11827 test-printf-size-ieee128, and test-printf-size-ibm128.
11828 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
11829 (CFLAGS-test-printf-size-ibm128.c): New variables.
11830 [subdir == stdio-common] (tests-special): Add
11831 $(objpfx)test-printf-size-ieee128.out and
11832 $(objpfx)test-printf-size-ibm128.out.
11833 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
11834 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
11835 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
11836 __printf_sizeieee128.
11837 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
11838 New file.
11839 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
11840 Likewise.
11841 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
11842 Likewise.
11843
11844 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
11845
11846 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
11847 (exp2f_inline): Likewise.
11848 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
11849 (__math_uflowf): Likewise.
11850 (__math_may_uflowf): Likewise.
11851 (__math_divzerof): Likewise.
11852 (__math_invalidf): Likewise.
11853 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
11854 (__math_oflowf): Likewise.
11855 (__math_uflowf): Likewise.
11856 (__math_may_uflowf): Likewise.
11857 (__math_divzerof): Likewise.
11858 (__math_invalidf): Likewise.
11859
11860 2018-06-29 DJ Delorie <dj@redhat.com>
11861 Carlos O'Donell <carlos@redhat.com>
11862
11863 [BZ #23329]
11864 * include/libc-symbols.h: Comment the freeres framework.
11865 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
11866 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
11867 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
11868 * dlfcn/dlerror.c: Include libc-symbols.h
11869 (__dlerror_main_freeres): New function.
11870 * dlfcn/dlfreeres.c: New file.
11871 * dlfcn/sdlfreeres.c: New file.
11872 * include/dlfcn.h: Declare __dlerror_main_freeres.
11873 * malloc/set-freeres.c: Declare __libdl_freeres, and
11874 __libpthread_freeres.
11875 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
11876 the releavant libraries are loaded.
11877 * malloc/thread-freeres.c: Add comments.
11878 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
11879 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
11880 * nptl/allocatestack.c (__nptl_free_stacks): New function.
11881 (__free_stacks): Rename to...
11882 (free_stacks): ...this. Mark static.
11883 (queue_stack): Call free_stacks.
11884 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
11885 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
11886 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
11887 ptr_freeres element from struct.
11888 (pthread_functions): Remove .ptr_freeres from struct initializer.
11889 [SHARED] (nptl_freeres): Remove.
11890 * nptl/nptlfreeres.c: New file.
11891 * nptl/pthreadP.h
11892 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
11893 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
11894 attribute_hidden.
11895 (__free_stacks): Rename to...
11896 (__nptl_stacks_freeres): ...this.
11897 (__shm_directory_freeres): Declare.
11898 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
11899 (__nptl_unwind_freeres): ...this.
11900 * resolv/res-close.c: Add comment.
11901 * resolv/resolv_conf.c: Include libc-symbols.h.
11902 * string/strerror_l.c: Include libc-symbols.h.
11903 * sunrpc/rpc_thread.c: Include libc-symbols.h.
11904 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
11905 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
11906 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
11907
11908 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11909
11910 * stdlib/tst-strfmon_l.c: Add tests for long double.
11911
11912 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
11913
11914 [BZ #23208]
11915 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
11916 * localedata/locales/dsb_DE: New file.
11917
11918 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
11919
11920 [BZ #23140]
11921 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
11922 genitive case).
11923 (alt_mon): New entry, import from CLDR (nominative case).
11924
11925 2018-06-29 Sylvain Lesage <severo@rednegra.net>
11926
11927 [BZ #22996]
11928 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
11929
11930 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
11931
11932 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
11933 Use vector registers.
11934
11935 * sysdeps/aarch64/multiarch/memmove_falkor.S
11936 (__memcpy_falkor): Use vector registers.
11937
11938 2018-06-29 Martin Sebor <msebor@redhat.com>
11939
11940 * manual/stdio.texi (Customizing Printf): Mention interaction
11941 with GCC built-ins.
11942
11943 2018-06-29 Maciej W. Rozycki <macro@mips.com>
11944
11945 [BZ #23307]
11946 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
11947 `st_value' is 0 if `st_shndx' is SHN_ABS.
11948 * elf/tst-absolute-zero.c: New file.
11949 * elf/tst-absolute-zero-lib.c: New file.
11950 * elf/tst-absolute-zero-lib.lds: New file.
11951 * elf/Makefile (tests): Add `tst-absolute-zero'.
11952 (modules-names): Add `tst-absolute-zero-lib'.
11953 (LDLIBS-tst-absolute-zero-lib.so): New variable.
11954 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
11955 ($(objpfx)tst-absolute-zero: New dependency.
11956
11957 2018-06-29 Zack Weinberg <zackw@panix.com>
11958
11959 * configure.ac: New command-line option --disable-crypt.
11960 Force --disable-nss-crypt when --disable-crypt is given, with a
11961 warning if it was explicitly enabled.
11962 * configure: Regenerate.
11963 * config.make.in: New boolean substitution variable $(build-crypt).
11964 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
11965 when $(build-crypt).
11966 * manual/install.texi: Document --disable-crypt.
11967 * INSTALL: Regenerate.
11968
11969 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
11970 which is never set.
11971 * conform/Makefile: Only include libcrypt.a in
11972 linknamespace-libs-xsi and linknamespace-libs-XPG4
11973 when $(build-crypt).
11974 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
11975 USE_CRYPT to 1 when $(build-crypt).
11976 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
11977 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
11978 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
11979
11980 2018-06-29 Zack Weinberg <zackw@panix.com>
11981
11982 * crypt/crypt.h, posix/unistd.h: Update comments and
11983 prototypes for crypt and crypt_r.
11984
11985 * manual/crypt.texi (Cryptographic Functions): New initial
11986 exposition.
11987 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
11988 (Unpredictable Bytes): Improve initial exposition. Clarify error
11989 behavior of getentropy and getrandom.
11990 * manual/examples/genpass.c: Generate a salt using getentropy
11991 instead of the current time. Use hash $5$ (SHA-2-256).
11992 * manual/examples/testpass.c: Demonstrate validation against
11993 hashes generated with three different one-way functions.
11994
11995 * manual/intro.texi: crypt.texi does not need an overview
11996 anymore.
11997
11998 * manual/nss.texi, manual/memory.texi, manual/socket.texi
11999 * manual/terminal.texi: Consistently refer to "passphrases"
12000 * instead of "passwords", and to the "user database" instead
12001 * of the "password database".
12002 * manual/users.texi: Similarly. Add notes about how actual
12003 passphrase hashes are now stored in the shadow database.
12004 Remove 20-year-old junk todo note.
12005
12006 2018-06-29 Zack Weinberg <zackw@panix.com>
12007
12008 * manual/crypt.texi: Use a normal top-level @node declaration.
12009 Move most of the introductory text to the 'crypt' section.
12010 Move the example programs below the @deftypefun for 'crypt_r'.
12011 Move the 'getpass' section...
12012 * manual/terminal.texi: ...here.
12013
12014 2018-06-29 Zack Weinberg <zackw@panix.com>
12015 Florian Weimer <fweimer@redhat.com>
12016
12017 * posix/unistd.h: Do not declare encrypt.
12018 (_XOPEN_CRYPT): Remove macro definition.
12019 (crypt): Declare only for _USE_MISC.
12020 * stdlib/stdlib.h: Do not declare setkey.
12021 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
12022 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
12023
12024 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
12025 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
12026 into compat symbols. Don't define initial_perm if it's not
12027 going to be used.
12028 * crypt/cert.c: Link explicitly with the expected versions for
12029 setkey and encrypt. If they are not available at all, mark
12030 the test as unsupported.
12031
12032 * sunrpc/des_crypt.c: Unconditionally block linkage with
12033 cbc_crypt and ecb_crypt for new binaries.
12034 * sunrpc/des_soft.c: Unconditionally block linkage with
12035 des_setparity for new binaries.
12036
12037 * manual/crypt.texi: Remove the entire "DES Encryption"
12038 section. Also remove the paragraph talking about FIPS 140-2
12039 from the introduction.
12040 * manual/string.texi (strfry, memfrob): Revise. Recommend use
12041 of libgcrypt for "real" encryption, not DES.
12042 * manual/conf.texi (Constants for Sysconf): Mention that
12043 _XOPEN_CRYPT is no longer impelemented.
12044
12045 * conform/data/unistd.h-data: Remove crypt function declaration.
12046
12047 2018-06-29 Florian Weimer <fweimer@redhat.com>
12048
12049 [BZ #23351]
12050 * malloc/hooks.c: Update comments on restoring of dumped heaps.
12051 (disallow_malloc_check): Remove variable.
12052 (__malloc_check_init): Adjust.
12053 (malloc_set_state): Update comment.
12054 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
12055 declarations.
12056
12057 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
12058
12059 [BZ #23140]
12060 * localedata/locales/ast_ES (mon): Rename to...
12061 (alt_mon): This.
12062 (mon): Import from CLDR (genitive case).
12063
12064 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
12065 Jakub Sitnicki <jkbs@redhat.com>
12066
12067 [BZ #21812]
12068 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
12069 on NLM_F_DUMP_INTR.
12070
12071 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
12072
12073 * manual/llio.texi: Remove spurious space.
12074
12075 2018-06-28 Florian Weimer <fweimer@redhat.com>
12076
12077 [BZ #23349]
12078 * time/bits/types/struct_timespec.h: Change header inclusion guard to
12079 _STRUCT_TIMESPEC.
12080
12081 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12082
12083 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
12084 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
12085 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
12086 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
12087 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
12088 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
12089 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
12090
12091 2018-06-27 Maciej W. Rozycki <macro@mips.com>
12092
12093 [BZ #23266]
12094 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
12095 Copy and null-terminate entries that are not terminated, in
12096 addition to empty ones.
12097
12098 2018-06-27 Florian Weimer <fweimer@redhat.com>
12099
12100 [BZ #18023]
12101 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
12102 (extend_alloca_account): Remove.
12103 * manual/stdio.texi (Variable Arguments Output): Update comment.
12104
12105 2018-06-27 Joseph Myers <joseph@codesourcery.com>
12106
12107 * nptl/sockperf.c: Remove file.
12108
12109 2018-06-27 Florian Weimer <fweimer@redhat.com>
12110
12111 [BZ #18023]
12112 * elf/dl-deps.c (_dl_map_object_deps): Use struct
12113 scratch_buffer instead of extend_alloca.
12114
12115 2018-06-27 Florian Weimer <fweimer@redhat.com>
12116
12117 [BZ #18023]
12118 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
12119 scratch_buffer instead of extend_alloca. Update comments.
12120
12121 2018-06-27 Florian Weimer <fweimer@redhat.com>
12122
12123 [BZ #18023]
12124 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
12125 instead of extend_alloca.
12126
12127 2018-06-26 Joseph Myers <joseph@codesourcery.com>
12128
12129 [BZ #13888]
12130 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
12131 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
12132 /tmp.
12133 * scripts/test-installation.pl: Put temporary files in build
12134 directory, not /tmp.
12135 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
12136 (CFLAGS-bug4.c): Likewise.
12137 (CFLAGS-bug5.c): Likewise.
12138 (CFLAGS-test-fseek.c): Likewise.
12139 (CFLAGS-test-popen.c): Likewise.
12140 (CFLAGS-test_rdwr.c): Likewise.
12141 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
12142 /tmp.
12143 * stdio-common/bug4.c (main): Likewise.
12144 * stdio-common/bug5.c (main): Likewise.
12145 * stdio-common/test-fseek.c (TESTFILE): Likewise.
12146 * stdio-common/test-popen.c (do_test): Likewise.
12147 * stdio-common/test_rdwr.c (main): Likewise.
12148
12149 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
12150
12151 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
12152 (sem_open): Set sem.newsem.pad to zero for valgrind.
12153
12154 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12155
12156 [BZ #20251]
12157 * NEWS: Mention fcntl64 addition.
12158 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
12159 * login/utmp_file.c: Likewise.
12160 * sysdeps/posix/fdopendir.c: Likewise.
12161 * sysdeps/posix/opendir.c: Likewise.
12162 * sysdeps/unix/pt-fcntl.c: Likewise.
12163 * include/fcntl.h (__libc_fcntl64, __fcntl64,
12164 __fcntl64_nocancel_adjusted): New prototype.
12165 (__fcntl_nocancel_adjusted): Remove prototype.
12166 * io/Makefile (routines): Add fcntl64.
12167 (CFLAGS-fcntl64.c): New rule.
12168 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
12169 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
12170 * io/fcntl.h (fcntl64): Add prototype and redirect if
12171 __USE_FILE_OFFSET64 is defined.
12172 * io/fcntl64.c: New file.
12173 * manual/llio.text: Add a note for which commands fcntl acts a
12174 cancellation point.
12175 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
12176 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
12177 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
12178 New symbols.
12179 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
12180 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
12181 non-LFS case.
12182 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
12183 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
12184 to __fcntl64_nocancel.
12185 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
12186 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
12187 to __fcntl64_nocancel.
12188 * sysdeps/generic/not-cancel.h: Likewise.
12189 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
12190 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
12191 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
12192 (fcntl64): New symbol.
12193 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12194 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12195 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12198 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12199 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12200 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12201 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12202 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12203 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
12204 fcntl64): Likewise.
12205 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12206 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
12207 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12208 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12209 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12210 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12211 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12212 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12213 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12215 Likewise.
12216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12217 Likewise.
12218 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12219 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12220 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12221
12222 2018-06-26 Florian Weimer <fweimer@redhat.com>
12223
12224 Run thread shutdown functions in an explicit order.
12225 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
12226 definition.
12227 (__libc_thread_freeres): Call thread shutdown functions
12228 explicitly.
12229 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
12230 * include/string.h (__strerror_thread_freeres): Declare.
12231 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
12232 arena_thread_freeres. No longer static. Remove thread shutdown
12233 hook registration.
12234 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
12235 Declare.
12236 * resolv/res-close.c (__res_thread_freeres): Renamed from
12237 res_thread_freeres. No longer static. Remove thread shutdown
12238 hook registration.
12239 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
12240 * resolv/resolv_conf.c (freeres): Remove incorrect section
12241 attribute and use libc_freeres_fn.
12242 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
12243 strerror_thread_freeres. No longer static. Remove thread
12244 shutdown hook registration.
12245 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
12246 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
12247 shutdown hook registration.
12248 * Makerules (shlib.lds): Do not provide section boundary symbols
12249 for __libc_thread_subfreeres.
12250 * manual/memory.texi (Basic Allocation): Update comment.
12251
12252 2018-06-26 Florian Weimer <fweimer@redhat.com>
12253
12254 Remove always-defined _RPC_THREAD_SAFE_ macro.
12255 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
12256 Do not define _RPC_THREAD_SAFE_.
12257 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
12258 conditional.
12259 * sunrpc/clnt_perr.c: Likewise.
12260 * sunrpc/clnt_raw.c: Likewise.
12261 * sunrpc/clnt_simp.c: Likewise.
12262 * sunrpc/key_call.c: Likewise.
12263 * sunrpc/rpc_common.c: Likewise.
12264 * sunrpc/rpc_main.c: Likewise.
12265 * sunrpc/rpc_thread.c: Likewise.
12266 * sunrpc/svc.c: Likewise.
12267 * sunrpc/svc_raw.c: Likewise.
12268 * sunrpc/svc_simple.c: Likewise.
12269 * sumrpc/svcauth_des.c: Likewise.
12270
12271 2018-06-26 Florian Weimer <fweimer@redhat.com>
12272
12273 * libio/Makefile (tests-internal): Add tst-vtables,
12274 tst-vtables-interposed.
12275 * libio/tst-vtables.c: New file.
12276 * libio/tst-vtables-common.c: Likewise.
12277 * libio/tst-vtables-interposed.c: Likewise.
12278
12279 2018-06-26 Florian Weimer <fweimer@redhat.com>
12280
12281 * support/support_test_main.c (support_test_main): Only call
12282 setvbuf if not disables.
12283 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
12284 * support/test-driver.h (struct test_config): Add no_setvbuf member.
12285
12286 2018-06-26 Florian Weimer <fweimer@redhat.com>
12287
12288 [BZ #23313]
12289 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
12290
12291 2018-06-25 Florian Weimer <fweimer@redhat.com>
12292
12293 [BZ #18023]
12294 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12295 Use struct scratch_buffer instead of extend_alloca.
12296
12297 2018-06-25 Florian Weimer <fweimer@redhat.com>
12298
12299 [BZ #18023]
12300 * nss/getent.c (initgroups_keys): Use dynarray instead of
12301 extend_alloca.
12302
12303 2018-06-25 Florian Weimer <fweimer@redhat.com>
12304
12305 [BZ #18023]
12306 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
12307 Use struct scratch_buffer instead of extend_alloca.
12308
12309 2018-06-25 Florian Weimer <fweimer@redhat.com>
12310
12311 [BZ #18023]
12312 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
12313 back to malloc directly, without stack allocations.
12314
12315 2018-06-25 Florian Weimer <fweimer@redhat.com>
12316
12317 [BZ #18023]
12318 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
12319 of extend_alloca.
12320
12321 2018-06-25 Florian Weimer <fweimer@redhat.com>
12322
12323 [BZ #18023]
12324 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
12325 of extend_alloca.
12326 * nscd/hstcache.c (addhstbyX): Likewise.
12327 * nscd/pwdcache.c (addpwbyX): Likewise.
12328 * nscd/servicescache.c (addservbyX): Likewise.
12329
12330 2018-06-25 Florian Weimer <fweimer@redhat.com>
12331
12332 [BZ #18023]
12333 * nscd/connections.c (read_cmdline): New function.
12334 (restart): Use it. Update comment.
12335
12336 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
12337
12338 [BZ #23140]
12339 * localedata/locales/csb_PL (mon): Rename to...
12340 (alt_mon): This.
12341 (abmon): Rename to...
12342 (ab_alt_mon): This.
12343 (mon): Add with proper genitive forms, copy from Wikipedia.
12344 (abmon): Likewise.
12345
12346 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
12347
12348 [BZ #19485]
12349 * localedata/locales/csb_PL (mon): Fix typos:
12350 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
12351 (yesstr): Add, value is "jo".
12352 (nostr): Add, value is "nié".
12353
12354 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12355
12356 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
12357 all log1p and significand functions on m680x0.
12358 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
12359 of s_significand.c..
12360 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
12361 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
12362 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
12363 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
12364 s_log1p.c and include it..
12365
12366 2018-06-21 Vincent Chen <vincentc@andestech.com>
12367
12368 * elf/elf.h (R_NDS32_NONE): New define.
12369 (R_NDS32_32_RELA): Likewise.
12370 (R_NDS32_COPY): Likewise.
12371 (R_NDS32_GLOB_DAT): Likewise.
12372 (R_NDS32_JUMP_SLOT): Likewise.
12373 (R_NDS32_RELATIVE): Likewise.
12374 (R_NDS32_TLS_TPOFF): Likewise.
12375 (R_NDS32_TLS_DESC): Likewise.
12376
12377 2018-06-21 Mark Wielaard <mark@klomp.org>
12378
12379 * elf/elf.h (R_BPF_MAP_FD): Removed.
12380 (R_BPF_64_64, R_BPF_64_32): New.
12381
12382 2018-06-21 Florian Weimer <fweimer@redhat.com>
12383
12384 [BZ #23253]
12385 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
12386 Renamed from libc_feholdsetround_ctx.
12387 (default_libc_feresetround_ctx): Renamed from
12388 libc_feresetround_ctx.
12389 (default_libc_feholdsetround_noex_ctx): Renamed from
12390 libc_feholdsetround_noex_ctx.
12391 (default_libc_feresetround_noex_ctx): Renamed from
12392 libc_feresetround_noex_ctx.
12393 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
12394 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
12395 forwardning to the old implementations under the new names.
12396 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
12397 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
12398 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
12399 (libc_feresetround_ctx): Forward to default implements for i386
12400 and MATH_SET_BOTH_ROUNDING_MODES.
12401 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
12402 Add -DMATH_SET_BOTH_ROUNDING_MODES.
12403
12404 2018-06-20 Joseph Myers <joseph@codesourcery.com>
12405
12406 * string/tst-cmp.c: Include <libc-diag.h>.
12407 (strncmp_max): Disable -Wstringop-overflow= around call to
12408 strncmp.
12409 (strncasecmp_max): Disable -Wstringop-overflow= around call to
12410 strncasecmp.
12411
12412 * string/bug-strpbrk1.c: Include <libc-diag.h>.
12413 (main): Disable -Wunused-value around call to strpbrk.
12414 * string/bug-strspn1.c: Include <libc-diag.h>.
12415 (main): Disable -Wunused-value around call to strspn.
12416
12417 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12418 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12419
12420 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
12421 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
12422
12423 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12424
12425 * math/Makefile (libm-calls): Move s_significandF to...
12426 (gen-libm-calls): ... here.
12427 * math/s_significand_template.c: New file.
12428 * math/s_significand.c: Removed.
12429 * math/s_significandf.c: Removed.
12430 * math/s_significandl.c: Removed.
12431 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
12432 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
12433
12434 * math/e_exp2_template.c (declare_mgen_finite_alias,
12435 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
12436 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
12437 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
12438
12439 2018-06-20 Florian Weimer <fweimer@redhat.com>
12440
12441 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
12442
12443 2018-06-19 Joseph Myers <joseph@codesourcery.com>
12444
12445 [BZ #23280]
12446 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
12447 floating-point number to strtod functions rather than possibly
12448 negating result of those functions.
12449 * stdio-common/tst-scanf-round.c: New file.
12450 * stdio-common/Makefile (tests): Add tst-scanf-round.
12451 ($(objpfx)tst-scanf-round): Depend on $(libm).
12452
12453 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
12454
12455 * sysdeps/mach/hurd/localplt.data: Move to...
12456 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
12457 R_386_GLOB_DAT like on Linux i386.
12458
12459 2018-06-18 Joseph Myers <joseph@codesourcery.com>
12460
12461 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
12462 (SHM_STAT_ANY): New macro.
12463 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
12464 (SHM_STAT_ANY): Likewise.
12465 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
12466 (SHM_STAT_ANY): Likewise.
12467 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
12468 (SHM_STAT_ANY): Likewise.
12469 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
12470 (SHM_STAT_ANY): Likewise.
12471 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
12472 (SHM_STAT_ANY): Likewise.
12473 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
12474 (SHM_STAT_ANY): Likewise.
12475 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
12476 (SHM_STAT_ANY): Likewise.
12477 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
12478 (SHM_STAT_ANY): Likewise.
12479 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
12480 (SHM_STAT_ANY): Likewise.
12481 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
12482 (SHM_STAT_ANY): Likewise.
12483 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
12484 (SHM_STAT_ANY): Likewise.
12485
12486 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
12487 (SEM_STAT_ANY): New macro.
12488 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
12489 (SEM_STAT_ANY): Likewise.
12490 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
12491 (SEM_STAT_ANY): Likewise.
12492 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
12493 (SEM_STAT_ANY): Likewise.
12494 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
12495 (SEM_STAT_ANY): Likewise.
12496 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
12497 (SEM_STAT_ANY): Likewise.
12498 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
12499 (SEM_STAT_ANY): Likewise.
12500 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
12501 (SEM_STAT_ANY): Likewise.
12502 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
12503 (SEM_STAT_ANY): Likewise.
12504 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
12505 (SEM_STAT_ANY): Likewise.
12506
12507 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
12508 (MSG_STAT_ANY): New macro.
12509 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
12510 (MSG_STAT_ANY): Likewise.
12511 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
12512 (MSG_STAT_ANY): Likewise.
12513 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
12514 (MSG_STAT_ANY): Likewise.
12515 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
12516 (MSG_STAT_ANY): Likewise.
12517 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
12518 (MSG_STAT_ANY): Likewise.
12519 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
12520 (MSG_STAT_ANY): Likewise.
12521 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
12522 (MSG_STAT_ANY): Likewise.
12523 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
12524 (MSG_STAT_ANY): Likewise.
12525 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
12526 (MSG_STAT_ANY): Likewise.
12527
12528 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12529 (MAP_TYPE): Change value to 0x2b.
12530
12531 2018-06-18 Florian Weimer <fweimer@redhat.com>
12532
12533 [BZ #15722]
12534 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
12535 socket with SOCK_CLOEXEC.
12536
12537 2018-06-18 Joseph Myers <joseph@codesourcery.com>
12538
12539 [BZ #23303]
12540 * sysdeps/powerpc/powerpc64/le/Makefile
12541 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
12542 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
12543 (gnulib-tests): Also add $(f128-loader-link) for
12544 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
12545
12546 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
12547
12548 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
12549 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
12550 of sendfile.
12551 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
12552 (sendfile64): New strong alias.
12553 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
12554 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
12555 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
12556 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
12557 attribute.
12558 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
12559 ___pthread_get_cleanup_stack.
12560 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
12561 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
12562 * mach/shortcut.awk: Make syscall stubs include
12563 <mach-shortcuts-hidden.h> and add hidden definition.
12564 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
12565 (__mach_msg): Add hidden prototype.
12566 * mach/msg.c: Include <mach.h>.
12567 (__mach_msg): Add hidden definition.
12568 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
12569 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
12570 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
12571 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
12572 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
12573 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
12574 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
12575 prototype and definition.
12576 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
12577 hidden target for _hurd_self_sigstate.
12578
12579 2018-06-15 Joseph Myers <joseph@codesourcery.com>
12580
12581 [BZ #23007]
12582 * stdlib/tst-strtod-nan-sign-main.c: New file.
12583 * stdlib/tst-strtod-nan-sign.c: Likewise.
12584 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
12585 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
12586 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
12587 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
12588 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
12589
12590 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
12591
12592 [BZ #23007]
12593 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
12594 appropriate sign.
12595
12596 2018-06-14 Florian Weimer <fweimer@redhat.com>
12597
12598 [BZ #23290]
12599 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
12600 that the result stays within the ISO-8859-1 range.
12601 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
12602 characters are defined in IBM273.
12603
12604 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
12605
12606 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
12607 __mach_task_self): Remove attribute_hidden.
12608
12609 2018-06-14 Joseph Myers <joseph@codesourcery.com>
12610
12611 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
12612 ignore -Wrestrict for one test.
12613
12614 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
12615 Szabolcs Nagy <szabolcs.nagy@arm.com>
12616
12617 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
12618
12619 2018-06-14 Florian Weimer <fweimer@redhat.com>
12620
12621 * scripts/update-abilist.sh: Accept empty list of files to patch.
12622
12623 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
12624
12625 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
12626 test-xfail-check-abi-libmachuser): Add.
12627 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
12628 __libc_read and __libc_write to __read and __write.
12629 * sysdeps/hurd/include/hurd/port.h: New file.
12630 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
12631 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
12632 __thread_switch, __evc_wait): Move declarations to...
12633 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
12634 attribute_hidden.
12635 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
12636 use PLT to call _hurd_self_sigstate.
12637
12638 2018-06-13 Joseph Myers <joseph@codesourcery.com>
12639
12640 [BZ #23279]
12641 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
12642 MAX_EXP as overflowing.
12643 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
12644 overflow flag.
12645 (round_str): Output also whether result overflows in each rounding
12646 mode.
12647 * stdlib/tst-strtod-round-data: Add more tests.
12648 * stdlib/tst-strtod-round-data.h: Regenerated.
12649 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
12650 (TEST): Handle extra arguments for overflow flags.
12651 (struct test_overflow): New type.
12652 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
12653 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
12654 (test_in_one_mode): Take argument with overflow information.
12655 (do_test): Update calls to test_in_one_mode.
12656
12657 2018-06-12 Carlos O'Donell <carlos@redhat.com>
12658
12659 * elf/dl-load (_dl_dst_substitute): Correct comment.
12660 (_dl_dst_count): Likewise.
12661
12662 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
12663 lll_futex_timed_wait.
12664
12665 2018-06-12 Joseph Myers <joseph@codesourcery.com>
12666
12667 [BZ #23277]
12668 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
12669 attribute.
12670 * math/test-nan-const.c: New file.
12671 * math/Makefile (tests): Add test-nan-const.
12672 (CFLAGS-test-nan-const.c): New variable.
12673
12674 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
12675
12676 * benchtests/scripts/compare_strings.py (process_results): Add
12677 funcs argument. Compare only functions which are selected.
12678 (main): Check if base function is among selected functions.
12679 Pass selected functions to process_results.
12680 (__main__): Add -f/--functions argument.
12681
12682 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
12683 Hongbo Zhang <hongbo.zhang@linaro.org>
12684
12685 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
12686 __memcpy_falkor for phecda core.
12687 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
12688 __memmove_falkor for phecda core.
12689 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
12690 __memset_falkor for phecda core.
12691 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
12692 for phecda core.
12693 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
12694 macro to identify phecda core.
12695
12696 2018-06-12 Carlos O'Donell <carlos@redhat.com>
12697 Andreas Schwab <schwab@suse.de>
12698 Dmitry V. Levin <ldv@altlinux.org>
12699 Florian Weimer <fweimer@redhat.com>
12700
12701 [BZ #23102]
12702 [BZ #21942]
12703 [BZ #18018]
12704 [BZ #23259]
12705 CVE-2011-0536
12706 * elf/dl-dst.h: Remove DL_DST_COUNT.
12707 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
12708 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
12709 (is_dst): Comment. Support ELF gABI.
12710 (_dl_dst_count): Comment. Simplify and count DSTs.
12711 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
12712 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
12713 locals.
12714
12715 2018-06-12 Zack Weinberg <zackw@panix.com>
12716
12717 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
12718 * sysdeps/unix/sysv/linux/dl-sysdep.c
12719 Include not-cancel.h. Use __close_nocancel instead of __close,
12720 __open64_nocancel instead of __open, __read_nocancel instead of
12721 __libc_read, and __write_nocancel instead of __libc_write.
12722
12723 * csu/check_fds.c (check_one_fd)
12724 * sysdeps/posix/fdopendir.c (__fdopendir)
12725 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
12726 instead of __fcntl and/or __libc_fcntl.
12727
12728 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
12729 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
12730 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
12731 Use __open64_nocancel instead of __open_nocancel.
12732
12733 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
12734 hidden_proto declarations to the end and issue them if either
12735 IS_IN(libc) or IS_IN(rtld).
12736 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
12737 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
12738 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
12739 read_nocancel, waitpid_nocancel, write_nocancel.
12740
12741 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
12742 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
12743 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
12744
12745 * nptl/pt-fcntl.c: New file.
12746 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
12747 (libpthread-routines): Add pt-fcntl.
12748 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
12749 (__libc_fcntl): Remove attribute_hidden.
12750 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
12751 __fcntl_nocancel_adjusted, not fcntl_common.
12752 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
12753 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
12754 to fcntl_nocancel.c.
12755 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
12756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
12757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12758 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
12759
12760 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
12761 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
12762 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
12763 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
12764 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
12765 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
12766 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
12767 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
12768 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
12769 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
12770 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
12771 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
12772 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
12773 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
12774 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
12775 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
12776 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
12777 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
12778 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
12779 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
12780
12781 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
12782 libpthread-routines.
12783 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
12784 defines nothing.
12785
12786 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
12787 __libc_read, and __write instead of __libc_write. Define
12788 __open64 in addition to __open.
12789
12790 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
12791
12792 [BZ #23250]
12793 [BZ #10686]
12794 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
12795 to _private_tm[3] and add __glibc_reserved2.
12796 Add _Static_assert of offset of __private_ss == 0x30.
12797 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
12798 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
12799
12800 2018-06-12 Florian Weimer <fweimer@redhat.com>
12801
12802 x86: Make strncmp usable from rtld.
12803 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
12804 __strncmp_ia32 if in libc (and not in rtld).
12805 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
12806 strncmp if not in libc (and not to __strncmp_sse2).
12807
12808 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
12809
12810 [BZ #23140]
12811 * localedata/locales/gd_GB (mon): Rename to...
12812 (alt_mon): This.
12813 (mon): Import from CLDR (genitive case).
12814 * localedata/locales/hsb_DE (mon): Rename to...
12815 (alt_mon): This.
12816 (mon): Import from CLDR (genitive case).
12817 * localedata/locales/wa_BE (mon): Rename to...
12818 (alt_mon): This.
12819 (mon): Add, fill with the proper genitive forms, but CLDR data
12820 is incomplete; completed according to the comments in this file.
12821 (d_t_fmt): Do not use "di" before the month name, no longer needed.
12822
12823 * localedata/locales/wa_BE (country_name): Reword
12824 "Beljike" -> "Beldjike".
12825
12826 2018-06-11 Joseph Myers <joseph@codesourcery.com>
12827
12828 [BZ #23272]
12829 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
12830 cases of non-finite arguments.
12831 * math/libm-test-fma.inc (fma_test_data): Add more tests.
12832
12833 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
12834
12835 [BZ #23174]
12836 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
12837
12838 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12839
12840 [BZ #23264]
12841 * include/unistd.h (__execvpex): New prototype.
12842 * posix/Makefile (tests): Add tst-spawn4.
12843 (tests-internal): Add tst-spawn4-compat.
12844 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
12845 * posix/tst-spawn4-compat.c: New file.
12846 * posix/tst-spawn4.c: Likewise.
12847 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
12848 binaries as shell scripts.
12849 * sysdeps/posix/spawni.c (__spawni): Likewise.
12850
12851 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
12852
12853 [BZ #23145]
12854 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
12855 ($(all-built-dso:=.dynsym): New target.
12856 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
12857 ($(objpfx)check-initfini.out): New target.
12858 (generated): Add check-initfini.out.
12859 * scripts/check-initfini.awk: New file.
12860 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
12861 (_fini): Likewise.
12862 * sysdeps/alpha/crti.S (_init): Mark as hidden.
12863 (_fini): Likewise.
12864 * sysdeps/arm/crti.S (_init): Mark as hidden.
12865 (_fini): Likewise.
12866 * sysdeps/hppa/crti.S (_init): Mark as hidden.
12867 (_fini): Likewise.
12868 * sysdeps/i386/crti.S (_init): Mark as hidden.
12869 (_fini): Likewise.
12870 * sysdeps/ia64/crti.S (_init): Mark as hidden.
12871 (_fini): Likewise.
12872 * sysdeps/m68k/crti.S (_init): Mark as hidden.
12873 (_fini): Likewise.
12874 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
12875 (_fini): Likewise.
12876 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
12877 (_fini): Likewise.
12878 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
12879 (_fini): Likewise.
12880 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
12881 (_fini): Likewise.
12882 * sysdeps/nios2/crti.S (_init): Mark as hidden.
12883 (_fini): Likewise.
12884 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
12885 (_fini): Likewise.
12886 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
12887 (_fini): Likewise.
12888 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
12889 (_fini): Likewise.
12890 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
12891 (_fini): Likewise.
12892 * sysdeps/sh/crti.S (_init): Mark as hidden.
12893 (_fini): Likewise.
12894 * sysdeps/sparc/crti.S (_init): Mark as hidden.
12895 (_fini): Likewise.
12896 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
12897 (_fini): Likewise.
12898
12899 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12900
12901 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
12902 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
12903 and TF redirection to KFtype and KF only when the default
12904 long double type is not the IEEE 128-bit floating point type.
12905
12906 2018-06-05 Joseph Myers <joseph@codesourcery.com>
12907
12908 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
12909 macro.
12910 (HWCAP_USCAT): Likewise.
12911 (HWCAP_ILRCPC): Likewise.
12912 (HWCAP_FLAGM): Likewise.
12913 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
12914 Increase to 28.
12915 (_dl_aarch64_cap_flags): Add new flag names.
12916
12917 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
12918 (MAP_FIXED_NOREPLACE): New macro.
12919 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
12920 (MAP_FIXED_NOREPLACE): Likewise.
12921 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
12922 (MAP_FIXED_NOREPLACE): Likewise.
12923 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12924 (MAP_FIXED_NOREPLACE): Likewise.
12925 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
12926 (MAP_FIXED_NOREPLACE): Likewise.
12927 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
12928 (MAP_FIXED_NOREPLACE): Likewise.
12929 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
12930 (MAP_FIXED_NOREPLACE): Likewise.
12931 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
12932 (MAP_FIXED_NOREPLACE): Likewise.
12933 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
12934 (MAP_FIXED_NOREPLACE): Likewise.
12935 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
12936 (MAP_FIXED_NOREPLACE): Likewise.
12937 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
12938 (MAP_FIXED_NOREPLACE): Likewise.
12939 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
12940 (MAP_FIXED_NOREPLACE): Likewise.
12941 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
12942 (MAP_FIXED_NOREPLACE): Likewise.
12943 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
12944 (MAP_FIXED_NOREPLACE): Likewise.
12945 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
12946 (MAP_FIXED_NOREPLACE): Likewise.
12947
12948 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
12949 version to 4.17.
12950
12951 2018-06-04 Joseph Myers <joseph@codesourcery.com>
12952
12953 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12954 version to 4.17
12955
12956 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12957
12958 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
12959 int.
12960 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
12961
12962 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12963
12964 * benchtests/scripts/compare_string.py: (process_results) Catch
12965 exception in non-existent base_func and catch exception in
12966 non-existent attribute.
12967 (parse_file) Catch exception if input file does not exist.
12968
12969 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12970
12971 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
12972 options to avoid diff calculation and omit header, respectively.
12973 (main): process --no-diff and --no-header
12974
12975 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12976 H.J. Lu <hongjiu.lu@intel.com>
12977
12978 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12979 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
12980 wcsncmp-sse2.
12981 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12982 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
12983 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
12984 and __wcsncmp_sse2.
12985 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
12986 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
12987 AVX unaligned load is fast and vzeroupper is preferred.
12988 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
12989 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
12990 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
12991 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
12992 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
12993 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
12994 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
12995 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
12996 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
12997 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
12998 is undefined.
12999
13000 2018-06-01 Florian Weimer <fweimer@redhat.com>
13001
13002 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
13003 configuring with --disable-multi-arch, building with
13004 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
13005 Haswell-era CPU.
13006
13007 2018-06-01 Florian Weimer <fweimer@redhat.com>
13008
13009 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
13010 results from building with “-march=x86-64 -mtune=generic
13011 -mfpmath=sse” and running on a Haswell-era CPU.
13012
13013 2018-06-01 Joseph Myers <joseph@codesourcery.com>
13014
13015 [BZ #18473]
13016 * soft-fp/sqrttf2.c: Remove file.
13017 * soft-fp/sqrtdf2.c: Move to ....
13018 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
13019 <shlib-compat.h>.
13020 (__sqrtdf2): Make conditional on
13021 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
13022 symbol.
13023 * soft-fp/sqrtsf2.c: Move to ....
13024 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
13025 <shlib-compat.h>.
13026 (__sqrtsf2): Make conditional on
13027 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
13028 symbol.
13029 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
13030 (gcc-double-routines): Remove sqrtdf2.
13031 (gcc-quad-routines): Remove sqrttf2.
13032 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
13033 Do not filter out sqrtsf2 and sqrtdf2.
13034 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13035 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
13036
13037 2018-06-01 Florian Weimer <fweimer@redhat.com>
13038
13039 * sysdeps/generic/libcidn.abilist: Remove file.
13040
13041 2018-06-01 Florian Weimer <fweimer@redhat.com>
13042
13043 [BZ #23236]
13044 * libio/strfile.h (struct _IO_str_fields): Rename members to
13045 discourage their use and add comment.
13046 (_IO_STR_DYNAMIC): Remove unused macro.
13047 * libio/strops.c (_IO_str_init_static_internal): Do not use
13048 callback pointers. Call malloc and free.
13049 (_IO_str_overflow): Do not use callback pointers. Call malloc
13050 and free.
13051 (enlarge_userbuf): Likewise.
13052 (_IO_str_finish): Call free.
13053 * libio/wstrops.c (_IO_wstr_init_static): Initialize
13054 _allocate_buffer_unused.
13055 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
13056 and free.
13057 (enlarge_userbuf): Likewise.
13058 (_IO_wstr_finish): Call free.
13059 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
13060 _allocate_buffer_unused, _free_buffer_unused.
13061 * libio/memstream.c (__open_memstream): Likewise.
13062 * libio/vasprintf.c (_IO_vasprintf): Likewise.
13063 * libio/wmemstream.c (open_wmemstream): Likewise.
13064
13065 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
13066
13067 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
13068 AMD Ryzen 7 1800X.
13069
13070 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13071
13072 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
13073 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
13074 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
13075 New file.
13076 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
13077 Likewise.
13078 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
13079
13080 2018-05-29 Florian Weimer <fweimer@redhat.com>
13081
13082 * support/Makefile (libsupport-routines): Add
13083 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
13084 xpthread_barrierattr_setpshared.
13085 * support/xpthread_barrierattr_destroy.c: New file.
13086 * support/xpthread_barrierattr_init.c: Likewise.
13087 * support/xpthread_barrierattr_setpshared.c: Likewise.
13088
13089 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
13090
13091 [BZ #23206]
13092 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
13093 _r_debug and update DT_DEBUG for debugger.
13094
13095 2018-05-29 Florian Weimer <fweimer@redhat.com>
13096
13097 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
13098 (tst-strtod5i.out): Likewise.
13099
13100 2018-05-25 Joseph Myers <joseph@codesourcery.com>
13101
13102 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
13103 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
13104 (sparc64-quad-routines): New variable. Moved from ....
13105 [$(subdir) = soft-fp] (sysdep_routines): Add
13106 $(sparc64-quad-routines). Moved from ....
13107 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
13108 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
13109 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
13110 moved from ....
13111 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
13112 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
13113 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
13114 * sysdeps/sparc/sparc64/qp_add.c: ... here.
13115 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
13116 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
13117 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
13118 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
13119 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
13120 * sysdeps/sparc/sparc64/qp_div.c: ... here.
13121 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
13122 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
13123 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
13124 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
13125 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
13126 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
13127 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
13128 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
13129 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
13130 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
13131 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
13132 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
13133 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
13134 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
13135 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
13136 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
13137 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
13138 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
13139 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
13140 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
13141 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
13142 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
13143 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
13144 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
13145 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
13146 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
13147 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
13148 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
13149 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
13150 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
13151 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
13152 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
13153 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
13154 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
13155 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
13156 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
13157 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
13158 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
13159 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
13160 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
13161 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
13162 * sysdeps/sparc/sparc64/qp_util.c: ... here.
13163 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
13164 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
13165 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
13166 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
13167 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
13168 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
13169
13170 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
13171 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
13172 (sparc32-quad-routines): New variable. Moved from ....
13173 [$(subdir) = soft-fp] (sysdep_routines): Add
13174 $(sparc32-quad-routines). Moved from ....
13175 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
13176 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
13177 moved from ....
13178 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
13179 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
13180 * sysdeps/sparc/sparc32/q_add.c: ... here.
13181 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
13182 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
13183 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
13184 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
13185 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
13186 * sysdeps/sparc/sparc32/q_div.c: ... here.
13187 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
13188 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
13189 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
13190 * sysdeps/sparc/sparc32/q_feq.c: ... here.
13191 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
13192 * sysdeps/sparc/sparc32/q_fge.c: ... here.
13193 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
13194 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
13195 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
13196 * sysdeps/sparc/sparc32/q_fle.c: ... here.
13197 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
13198 * sysdeps/sparc/sparc32/q_flt.c: ... here.
13199 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
13200 * sysdeps/sparc/sparc32/q_fne.c: ... here.
13201 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
13202 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
13203 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
13204 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
13205 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
13206 * sysdeps/sparc/sparc32/q_mul.c: ... here.
13207 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
13208 * sysdeps/sparc/sparc32/q_neg.c: ... here.
13209 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
13210 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
13211 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
13212 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
13213 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
13214 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
13215 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
13216 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
13217 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
13218 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
13219 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
13220 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
13221 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
13222 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
13223 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
13224 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
13225 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
13226 * sysdeps/sparc/sparc32/q_sub.c: ... here.
13227 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
13228 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
13229 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
13230 * sysdeps/sparc/sparc32/q_util.c: ... here.
13231 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
13232 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
13233 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
13234 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
13235
13236 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13237 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13238
13239 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
13240 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
13241 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
13242 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
13243
13244 2018-05-24 Joseph Myers <joseph@codesourcery.com>
13245
13246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
13247 powerpc/soft-fp.
13248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13249 Likewise.
13250 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
13251 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
13252
13253 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13254
13255 [BZ #23171]
13256 * math/math.h [C++] (iseqsig): Fix parameter type for the long
13257 double version.
13258
13259 2018-05-23 Joseph Myers <joseph@codesourcery.com>
13260
13261 * sysdeps/sh/Implies: Remove sh/soft-fp.
13262 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
13263 * sysdeps/sh/sfp-machine.h: ... here.
13264
13265 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
13266
13267 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13268 (__mempcpy_erms): Skip zero length.
13269 (__memmove_erms): Likewise.
13270 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
13271 (__memset_erms): Likewise.
13272
13273 2018-05-23 Joseph Myers <joseph@codesourcery.com>
13274
13275 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
13276 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
13277 Add functions moved from ....
13278 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
13279 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
13280 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
13281 from ....
13282 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
13283 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
13284 * sysdeps/alpha/e_sqrtl.c: ... here.
13285 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
13286 * sysdeps/alpha/local-soft-fp.h: ... here.
13287 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
13288 * sysdeps/alpha/ots_add.c: ... here.
13289 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
13290 * sysdeps/alpha/ots_cmp.c: ... here.
13291 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
13292 * sysdeps/alpha/ots_cmpe.c: ... here.
13293 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
13294 * sysdeps/alpha/ots_cvtqux.c: ... here.
13295 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
13296 * sysdeps/alpha/ots_cvtqx.c: ... here.
13297 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
13298 * sysdeps/alpha/ots_cvttx.c: ... here.
13299 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
13300 * sysdeps/alpha/ots_cvtxq.c: ... here.
13301 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
13302 * sysdeps/alpha/ots_cvtxt.c: ... here.
13303 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
13304 * sysdeps/alpha/ots_div.c: ... here.
13305 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
13306 * sysdeps/alpha/ots_mul.c: ... here.
13307 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
13308 * sysdeps/alpha/ots_nintxq.c: ... here.
13309 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
13310 * sysdeps/alpha/ots_sub.c: ... here.
13311 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
13312 * sysdeps/alpha/sfp-machine.h: ... here.
13313
13314 2018-05-23 Florian Weimer <fweimer@redhat.com>
13315
13316 [BZ #19728]
13317 [BZ #19729]
13318 [BZ #22247]
13319 CVE-2016-6261
13320 CVE-2016-6263
13321 CVE-2017-14062
13322 Switch to extern IDNA implementation (libidn2).
13323 * libidn: Remove subdirectory.
13324 * LICENSES: Do not mention licensing conditions for the removed
13325 libidn code.
13326 * config.h.in (HAVE_LIBIDN): Remove.
13327 * include/dlfcn.h (__libc_dlopen): Update comment.
13328 * include/idna.h: Remove file.
13329 * inet/Makefile (routines): Add idna.
13330 (tests-static, tests-internal): Add tst-idna_name_classify.
13331 (LOCALES): Generate locales for tests.
13332 (tst-idna_name_classify.out): Depend on generated locales.
13333 * inet/idna_name_classify.c: New file.
13334 * inet/tst-idna_name_classify.c: Likewise.
13335 * inet/net-internal.h (__idna_to_dns_encoding)
13336 (__idna_from_dns_encoding): Declare.
13337 * inet/net-internal.h (enum idna_name_classification): Define.
13338 (__idna_name_classify): Declare.
13339 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
13340 __idna_from_dns_encoding.
13341 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
13342 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
13343 name as a fallback in case of encoding errors.
13344 (getnameinfo): Use DEPRECATED_NI_IDN.
13345 * inet/idna.c: New file.
13346 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
13347 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
13348 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
13349 (modules-names): Add tst-no-libidn2.
13350 (extra-test-objs): Add tst-no-libidn2.os.
13351 (LDFLAGS-tst-no-libidn2.so): Set soname.
13352 (LOCALES): Set, and generate locales.
13353 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
13354 (tst-resolv-ai_idn-latin1): Likewise.
13355 (tst-resolv-ai_idn-nolibidn2): Likewise.
13356 (tst-resolv-ai_idn.out): Depend on locales.
13357 (tst-resolv-ai_idn-latin1.out): Depend on locales.
13358 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
13359 tst-no-libidn2.so.
13360 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
13361 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
13362 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
13363 * resolv/tst-resolv-ai_idn.c: New file.
13364 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
13365 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
13366 * resolv/tst-no-libidn2.c: Likewise.
13367 * support/support_format_addrinfo.c (format_ai_flags): Do not
13368 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
13369 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
13370 (gaih_inet): Call __idna_to_dns_encoding and
13371 __idna_from_dns_encoding, and use the original (punycode) name if
13372 __idna_from_dns_encoding fails due to an encoding error.
13373 (getaddrinfo): Use DEPRECATED_AI_IDN.
13374 * sysdeps/unix/inet/Subdirs (libidn): Remove.
13375 * sysdeps/unix/inet/configure: Remove file.
13376 * sysdeps/unix/inet/configure.ac: Likewise.
13377
13378 2018-05-23 Florian Weimer <fweimer@redhat.com>
13379
13380 Implement allocate_once.
13381 * include/allocate_once.h: New file.
13382 * misc/allocate_once.c: Likewise.
13383 * misc/tst-allocate_once.c: Likewise.
13384 * misc/Makefile (routines): Add allocate_once.
13385 (tests-internal): Add tst-allocate_once.
13386 (generated): Add tst-allocate_once.mtrace,
13387 tst-allocate_once-mem.out.
13388 (tests-special): Add tst-allocate_once-mem.out.
13389 (tst-allocate_once-ENV): Set MALLOC_TRACE.
13390 (tst-allocate_once-mem.out): Call mtrace.
13391 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
13392
13393 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
13394
13395 [BZ #23196]
13396 * string/test-memcpy.c (do_test1): New function.
13397 (test_main): Call it.
13398
13399 2018-05-23 Andreas Schwab <schwab@suse.de>
13400
13401 [BZ #23196]
13402 CVE-2018-11237
13403 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
13404 (L(preloop_large)): Save initial destination pointer in %r11 and
13405 use it instead of %rax after the loop.
13406 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
13407
13408 2018-05-22 Joseph Myers <joseph@codesourcery.com>
13409
13410 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
13411 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
13412 -I../soft-fp. Moved from ....
13413 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
13414 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
13415 * sysdeps/aarch64/e_sqrtl.c: ... here.
13416 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
13417 * sysdeps/aarch64/sfp-machine.h: ... here.
13418
13419 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
13420 -Wmaybe-uninitialized around access to fq[0].
13421 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
13422 Likewise.
13423
13424 [BZ #18471]
13425 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
13426 aliases for non-libc case of versioned symbols.
13427 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
13428 (llseek): Define as compat symbol if
13429 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
13430 with link warning.
13431 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
13432 Make into a compat symbol, disabled for minimum symbol version
13433 GLIBC_2.28 and later.
13434 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
13435
13436 2018-05-22 Florian Weimer <fweimer@redhat.com>
13437
13438 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
13439 not add -mpreferred-stack-boundary=4.
13440 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
13441 (stack-align-test-flags): Likewise.
13442 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
13443 Likewise.
13444 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
13445 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
13446 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
13447 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
13448 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
13449 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
13450 (CFLAGS-tst-align2.c): Likewise.
13451
13452 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
13453
13454 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
13455 (index_arch_Prefer_FSRM): Likewise.
13456 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
13457 Also check Prefer_FSRM.
13458 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
13459 Also return OPTIMIZE (erms) for Prefer_FSRM.
13460
13461 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
13462
13463 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
13464 (index_cpu_FSRM): Likewise.
13465 (reg_FSRM): Likewise.
13466
13467 2018-05-18 Joseph Myers <joseph@codesourcery.com>
13468
13469 * math/gen-tgmath-tests.py: Import sys.
13470 (Tests.__init__): Initialize macros_seen.
13471 (Tests.add_tests): Add macro to macros_seen. Only generate tests
13472 if requested to do so for this macro.
13473 (Tests.add_all_tests): Take argument for macro for which to
13474 generate tests.
13475 (Tests.check_macro_list): New function.
13476 (main): Handle check-list argument and argument specifying macro
13477 for which to generate tests.
13478 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
13479 [PYTHON] (tgmath3-macro-tests): Likewise.
13480 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
13481 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
13482 not test-tgmath3.c.
13483 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
13484 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
13485 to CFLAGS.
13486 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
13487 [PYTHON] ($(foreach
13488 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
13489 rule.
13490 [PYTHON] (tests-special): Add
13491 $(objpfx)test-tgmath3-macro-list.out.
13492 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
13493
13494 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
13495 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
13496 later.
13497
13498 [BZ #22639]
13499 * time/tzset.c (SECSPERDAY): Cast to time_t.
13500 * time/tst-y2039.c: New file.
13501 * time/Makefile (tests): Add tst-y2039.
13502
13503 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13504
13505 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13506 (PREFETCH_ONE_SET): Remove duplicate line.
13507
13508 2018-05-17 Florian Weimer <fweimer@redhat.com>
13509
13510 * sysdeps/generic/math-type-macros-double.h: Include
13511 <math-nan-payload-double.h> after <libm-alias-double.h>.
13512 * sysdeps/generic/math-type-macros-float.h: Include
13513 <math-nan-payload-float.h> after <libm-alias-float.h>.
13514 * sysdeps/generic/math-type-macros-float128.h: Include
13515 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
13516 * sysdeps/generic/math-type-macros-ldouble.h: Include
13517 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
13518
13519 2018-05-17 Andreas Schwab <schwab@suse.de>
13520
13521 * resolv/res_send.c (__res_context_send): Don't set errno when
13522 returing error after malloc failure.
13523
13524 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
13525
13526 * nptl/allocatestack.c (allocate_stack): Remove the
13527 !__ASSUME_PRIVATE_FUTEX paths.
13528 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
13529 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
13530 Likewise.
13531 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
13532 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13533 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13534 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13535 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
13536 !__ASSUME_PRIVATE_FUTEX path.
13537 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
13538 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
13539 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
13540 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
13541 !__ASSUME_PRIVATE_FUTEX macros.
13542 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
13543 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
13544 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
13545 * sysdeps/unix/sysv/linux/kernel-features.h
13546 (__ASSUME_PRIVATE_FUTEX): Removed.
13547
13548 2018-05-17 Joseph Myers <joseph@codesourcery.com>
13549
13550 * math/Makefile (libm-narrow-fns): Add div.
13551 (libm-test-funcs-narrow): Likewise.
13552 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
13553 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
13554 * math/gen-auto-libm-tests.c (test_functions): Add div.
13555 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
13556 (NARROW_DIV_ROUND_TO_ODD): Likewise.
13557 (NARROW_DIV_TRIVIAL): Likewise.
13558 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
13559 macro.
13560 (__ddivl): Likewise.
13561 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
13562 ddiv.
13563 (CFLAGS-nldbl-ddiv.c): New variable.
13564 (CFLAGS-nldbl-fdiv.c): Likewise.
13565 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13566 __nldbl_ddivl.
13567 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
13568 prototype.
13569 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
13570 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
13571 * math/auto-libm-test-in: Add tests of div.
13572 * math/auto-libm-test-out-narrow-div: New generated file.
13573 * math/libm-test-narrow-div.inc: New file.
13574 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
13575 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
13576 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
13577 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
13578 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
13579 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
13580 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
13581 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
13582 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
13583 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
13584 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
13585 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
13586 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
13587 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
13588 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
13589 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
13590 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
13591 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
13592 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13593 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13594 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13595 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13596 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13597 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13598 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13599 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13600 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13601 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13602 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13603 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13604 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13605 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13610 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13611 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13612 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13613 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13614 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13615 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13616 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13617 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13618
13619 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13620
13621 [BZ #23178]
13622 * nscd/nscd-client.h (sendfileall): Remove prototype.
13623 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
13624 (handle_request): Use writeall instead of sendfileall.
13625 * nscd/aicache.c (addhstaiX): Likewise.
13626 * nscd/grpcache.c (cache_addgr): Likewise.
13627 * nscd/hstcache.c (cache_addhst): Likewise.
13628 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13629 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
13630 * nscd/pwdcache.c (cache_addpw): Likewise.
13631 * nscd/servicescache.c (cache_addserv): Likewise.
13632 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
13633 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
13634 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
13635 Remove define.
13636
13637 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
13638
13639 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
13640 Include <string/strncat.c>.
13641 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
13642 alias.
13643 (__GI___strncat): New hidden alias.
13644
13645 2018-05-16 Joseph Myers <joseph@codesourcery.com>
13646
13647 * sysdeps/mips/mips32/libm-test-ulps: Update.
13648 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13649
13650 2018-05-16 Florian Weimer <fweimer@redhat.com>
13651
13652 * support/Makefile (libsupport-routines): Add support_quote_blob,
13653 support_test_compare_blob.
13654 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
13655 * support/check.h (TEST_COMPARE_BLOB): Define.
13656 (support_test_compare_blob): Declare.
13657 * support/support.h (support_quote_blob): Declare.
13658 * support/support_quote_blob.c: New file.
13659 * support/support_test_compare_blob.c: Likewise.
13660 * support/tst-support_quote_blob.c: Likewise.
13661 * support/tst-test_compare_blob.c: Likewise.
13662
13663 2018-05-16 Florian Weimer <fweimer@redhat.com>
13664
13665 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
13666 of <strtod_nan_double.h>.
13667 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
13668 instead of SET_MANTISSA.
13669 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
13670 of include <strtod_nan_float.h>.
13671 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
13672 instead of <strtod_nan_ldouble.h>.
13673 * stdlib/strtod_nan_double.h: Move to ...
13674 * sysdeps/generic/math-nan-payload-double.h: ... here.
13675 (FLOAT): Remove definition.
13676 (SET_MANTISSA): Rename to ...
13677 (SET_NAN_PAYLOAD): ... this.
13678 * stdlib/strtod_nan_float.h: Move to ...
13679 * sysdeps/generic/math-nan-payload-float.h: ... here.
13680 (FLOAT): Remove definition.
13681 (SET_MANTISSA): Rename to ...
13682 (SET_NAN_PAYLOAD): ... this.
13683 * sysdeps/generic/math-type-macros-double.h: Include
13684 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
13685 instead of <math-svid-compat.h>.
13686 * sysdeps/generic/math-type-macros-float.h: Include
13687 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
13688 instead of <math-svid-compat.h>.
13689 * sysdeps/generic/math-type-macros-float128.h: Include
13690 <math-nan-payload-float128.h>.
13691 * sysdeps/generic/math-type-macros-ldouble.h: Include
13692 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
13693 instead of <math-svid-compat.h>.
13694 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
13695 check for definition.
13696 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
13697 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
13698 Include <ieee754_float128.h>.
13699 (FLOAT): Remove definition.
13700 (SET_MANTISSA): Rename to ...
13701 (SET_NAN_PAYLOAD): ... this.
13702 * sysdeps/ieee754/float128/strtof128_nan.c: Include
13703 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
13704 Do not include <float128_private.h>.
13705 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
13706 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
13707 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
13708 (FLOAT): Remove definition.
13709 (SET_MANTISSA): Rename to ...
13710 (SET_NAN_PAYLOAD): ... this.
13711 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
13712 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
13713 (FLOAT): Remove definition.
13714 (SET_MANTISSA): Rename to ...
13715 (SET_NAN_PAYLOAD): ... this.
13716 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
13717 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
13718 (FLOAT): Remove definition.
13719 (SET_MANTISSA): Rename to ...
13720 (SET_NAN_PAYLOAD): ... this.
13721 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
13722 of "../stdlib/strtod_nan_double.h".
13723 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
13724 of "../stdlib/strtod_nan_float.h".
13725 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
13726 instead of "../stdlib/strtod_nan_ldouble.h".
13727 * manual/arith.texi (Parsing of Floats): Adjust comment.
13728
13729 2018-05-16 Joseph Myers <joseph@codesourcery.com>
13730
13731 * math/Makefile (libm-narrow-fns): Add mul.
13732 (libm-test-funcs-narrow): Likewise.
13733 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
13734 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
13735 * math/gen-auto-libm-tests.c (test_functions): Add mul.
13736 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
13737 (NARROW_MUL_ROUND_TO_ODD): Likewise.
13738 (NARROW_MUL_TRIVIAL): Likewise.
13739 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
13740 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
13741 macro.
13742 (__dmull): Likewise.
13743 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
13744 dmul.
13745 (CFLAGS-nldbl-dmul.c): New variable.
13746 (CFLAGS-nldbl-fmul.c): Likewise.
13747 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13748 __nldbl_dmull.
13749 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
13750 prototype.
13751 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
13752 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
13753 * math/auto-libm-test-in: Add tests of mul.
13754 * math/auto-libm-test-out-narrow-mul: New generated file.
13755 * math/libm-test-narrow-mul.inc: New file.
13756 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
13757 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
13758 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
13759 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
13760 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
13761 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
13762 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
13763 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
13764 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
13765 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
13766 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
13767 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
13768 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
13769 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
13770 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
13771 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
13772 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
13773 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
13774 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13775 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13776 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13777 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13778 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13779 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13780 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13781 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13782 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13783 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13784 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13785 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13786 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13787 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13792 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13793 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13794 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13795 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13796 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13797 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13798 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13799 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13800
13801 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13802
13803 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
13804 with *%eax in call.
13805
13806 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13807
13808 * sysdeps/i386/ldsodefs.h: Removed.
13809 * sysdeps/x86_64/ldsodefs.h: Moved to ...
13810 * sysdeps/x86/ldsodefs.h: This.
13811 (La_i86_regs): New.
13812 (La_i86_retval): Likewise.
13813 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
13814 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
13815
13816 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13817
13818 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
13819 unnecessary testl.
13820
13821 2018-05-13 Alan Modra <amodra@gmail.com>
13822
13823 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
13824 R_PARISC_TLS_DTPOFF32 reloc addend.
13825
13826 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13827
13828 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
13829 * math/math.h: Restrict the prototype definition for the functions
13830 issignaling(_Float128) and iszero(_Float128); and template
13831 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
13832 __HAVE_FLOAT128_UNLIKE_LDBL.
13833 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
13834 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
13835 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
13836 __f128() constants; define the type _Float128 as long double;
13837 and reuse long double in __CFLOAT128.
13838
13839 2018-05-11 Joseph Myers <joseph@codesourcery.com>
13840
13841 * sysdeps/generic/math_private.h: Do not include
13842 <math-barriers.h>.
13843 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
13844 <math_private.h>.
13845 * math/fromfp.h: Include <math-barriers.h>.
13846 * math/math-narrow.h: Likewise.
13847 * math/s_nextafter.c: Likewise.
13848 * math/s_nexttowardf.c: Likewise.
13849 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
13850 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
13851 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
13852 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
13853 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13854 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13855 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13856 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13857 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13858 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13859 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13860 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13861 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13862 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13863 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
13864 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13865 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13866 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13867 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13868 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13869 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13870 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13871 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13872 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13873 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13874 * sysdeps/ieee754/k_standardl.c: Likewise.
13875 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13876 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13877 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13878 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13879 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13880 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13881 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13882 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13883 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13884 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13885 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13886 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13887 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13888 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13889 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13890 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13891 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
13892 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
13893 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13894 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13895 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
13896 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
13897
13898 2018-05-11 Florian Weimer <fweimer@redhat.com>
13899
13900 Use 64-bit epoch values in the time zone file parser.
13901 * include/time.h (internal_time_t): Define.
13902 (__tzfile_compute): Use it.
13903 * time/tzfile.c (struct leap): Use internal_time_t for epoch
13904 member.
13905 (transitions): Switch to internal_time_t.
13906 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
13907 types.
13908 (__tzfile_compute): Use internal_time_t for timer argument. Check
13909 for truncation before calling __offtime.
13910
13911 2018-05-11 Florian Weimer <fweimer@redhat.com>
13912
13913 [BZ #23166]
13914 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
13915 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
13916 Likewise.
13917 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
13918 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
13919 export without --enable-obsolete-rpc.
13920 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
13921 symbol. This should not have been exported, ever.
13922
13923 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
13924
13925 [BZ #23152]
13926 * localedata/locales/gd_GB (abmon): Fix typo in May:
13927 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
13928
13929 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
13930
13931 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
13932 Use multiple registers to copy data in loop tail.
13933
13934 * sysdeps/aarch64/multiarch/memmove_falkor.S
13935 (__memmove_falkor): Use multiple registers to move data in
13936 loop tail.
13937
13938 2018-05-10 Joseph Myers <joseph@codesourcery.com>
13939
13940 * math/math-underflow.h: New file.
13941 * sysdeps/generic/math_private.h: Do not include <float.h>.
13942 (fabs_tg): Remove macro. Moved to math-underflow.h.
13943 (min_of_type_f): Likewise.
13944 (min_of_type_): Likewise.
13945 (min_of_type_l): Likewise.
13946 (min_of_type_f128): Likewise.
13947 (min_of_type): Likewise.
13948 (math_check_force_underflow): Likewise.
13949 (math_check_force_underflow_nonneg): Likewise.
13950 (math_check_force_underflow_complex): Likewise.
13951 * math/e_exp2_template.c: Include <math-underflow.h>.
13952 * math/k_casinh_template.c: Likewise.
13953 * math/s_catan_template.c: Likewise.
13954 * math/s_catanh_template.c: Likewise.
13955 * math/s_ccosh_template.c: Likewise.
13956 * math/s_cexp_template.c: Likewise.
13957 * math/s_clog10_template.c: Likewise.
13958 * math/s_clog_template.c: Likewise.
13959 * math/s_csin_template.c: Likewise.
13960 * math/s_csinh_template.c: Likewise.
13961 * math/s_csqrt_template.c: Likewise.
13962 * math/s_ctan_template.c: Likewise.
13963 * math/s_ctanh_template.c: Likewise.
13964 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13965 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13966 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13967 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13968 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13969 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13970 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13971 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13972 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13973 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13974 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13975 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13976 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13977 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13978 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13979 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13980 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13981 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13982 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13983 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13984 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13985 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13986 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13987 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13988 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13989 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13990 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13991 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13992 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13993 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13994 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13995 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13996 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13997 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13998 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13999 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14000 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14001 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14002 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14003 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14004 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14005 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14006 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14007 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14008 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14009 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14010 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14011 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14012 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14013 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14014 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14015 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14016 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14017 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
14018 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14019 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14020 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14021 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14022 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14023 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14024 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14025 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
14026 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14027 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
14028 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14029 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14030 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14031 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14032 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14033 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14034 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14035 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14036 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
14037 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
14038 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14039 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14040 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14041 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14042 * sysdeps/x86/fpu/powl_helper.c: Likewise.
14043 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
14044 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
14045 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
14046 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
14047 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
14048
14049 2018-05-09 Joseph Myers <joseph@codesourcery.com>
14050
14051 * sysdeps/generic/math-barriers.h: New file.
14052 * sysdeps/generic/math_private.h [!math_opt_barrier]
14053 (math_opt_barrier): Move to math-barriers.h.
14054 [!math_opt_barrier] (math_force_eval): Likewise.
14055 * sysdeps/aarch64/fpu/math-barriers.h: New file.
14056 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
14057 math-barriers.h.
14058 (math_force_eval): Likewise.
14059 * sysdeps/alpha/fpu/math-barriers.h: New file.
14060 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
14061 math-barriers.h.
14062 (math_force_eval): Likewise.
14063 * sysdeps/x86/fpu/math-barriers.h: New file.
14064 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
14065 math-barriers.h.
14066 (math_force_eval): Likewise.
14067 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
14068 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
14069 multiple-include guard for rename.
14070 * sysdeps/powerpc/fpu/math-barriers.h: New file.
14071 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
14072 math-barriers.h.
14073 (math_force_eval): Likewise.
14074
14075 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
14076
14077 [BZ #22786]
14078 CVE-2018-11236
14079 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
14080 computation.
14081 * stdlib/Makefile (test-bz22786): New test.
14082 * stdlib/test-bz22786.c: New test.
14083
14084 2018-05-09 Joseph Myers <joseph@codesourcery.com>
14085
14086 * include/math-narrow-eval.h: New file. Contents moved from ....
14087 * sysdeps/generic/math_private.h: ... here.
14088 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
14089 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
14090 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
14091 * stdlib/strtod_l.c: Likewise.
14092 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
14093 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
14094 * sysdeps/i386/fpu/s_fdim.c: Likewise.
14095 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14096 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14097 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14098 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14099 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14100 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14101 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14102 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14103 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
14104 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14105 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
14106 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14107 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14108 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14109 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14110 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14111 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14112 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14113 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14114 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14115 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14116 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
14117 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14118 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
14119 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
14120 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14121
14122 2018-05-08 Andreas Schwab <schwab@suse.de>
14123
14124 * sysdeps/nptl/internaltypes.h: Fix comment.
14125
14126 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
14127
14128 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
14129 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
14130 hidden.
14131
14132 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
14133
14134 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
14135 of I into loop header.
14136 * benchtests/bench-memmove-walk.c
14137 (test_main): Likewise.
14138
14139 2018-05-07 Alexandre Oliva <oliva@gnu.org>
14140
14141 Revert:
14142 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
14143 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
14144
14145 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14146
14147 [BZ #20419]
14148 * elf/dl-load.c (open_verify): Fix stack overflow.
14149 * elf/Makefile (tst-big-note): New test.
14150 * elf/tst-big-note-lib.S: New.
14151 * elf/tst-big-note.c: New.
14152
14153 2018-05-04 Joseph Myers <joseph@codesourcery.com>
14154
14155 * scripts/abilist.awk: Ignore absolute symbols.
14156 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
14157 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
14158 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
14159 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
14160 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
14161 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
14162 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14163 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
14164 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
14165 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
14166 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
14167 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
14168 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
14169 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
14170 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
14171 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
14172 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
14173 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
14174 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14175 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
14176 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
14177 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
14178 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
14179 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
14180 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
14181 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
14182 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
14183 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
14184 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14185 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
14186 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
14187 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14188 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
14189 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
14190 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
14191 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
14192 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
14193 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
14194 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
14195 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
14196 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
14197 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14198 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
14199 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
14200 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14201 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
14202 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
14203 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
14204 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
14205 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
14206 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
14207 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
14208 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
14209 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
14210 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14211 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
14212 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
14213 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14214 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
14215 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
14216 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
14217 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
14218 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
14219 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
14220 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
14221 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
14222 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
14223 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14224 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
14225 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
14226 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14227 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
14228 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
14229 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
14230 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
14231 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
14232 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
14233 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
14234 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
14235 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
14236 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14237 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
14238 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
14239 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14240 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
14241 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
14242 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
14243 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
14244 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
14245 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
14246 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
14247 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
14248 Likewise.
14249 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
14250 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14251 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
14252 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
14253 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14254 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
14255 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
14256 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
14257 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
14258 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
14259 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
14260 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
14261 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
14262 Likewise.
14263 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
14264 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14265 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
14266 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
14267 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14268 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
14269 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
14270 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
14271 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
14272 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
14273 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
14274 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
14275 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
14276 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
14277 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14278 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
14279 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
14280 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14281 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
14282 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
14283 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
14284 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
14285 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
14286 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
14287 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14288 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
14289 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
14290 Likewise.
14291 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
14292 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
14293 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
14294 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
14295 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14296 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
14297 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
14298 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
14299 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
14300 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
14301 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
14302 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
14303 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
14304 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
14305 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
14306 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
14307 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
14308 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
14309 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14310 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
14311 Likewise.
14312 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
14313 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
14314 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
14315 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14316 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
14317 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
14318 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
14319 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
14320 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
14321 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
14322 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14323 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
14324 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
14325 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14326 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
14327 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
14328 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
14329 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
14330 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14331 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
14332 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
14333 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14334 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
14335 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
14336 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
14337 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
14338 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
14339 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
14340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
14341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
14343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
14344 Likewise.
14345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
14346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
14347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
14348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
14349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
14350 Likewise.
14351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
14352 Likewise.
14353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
14354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
14355 Likewise.
14356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
14357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14358 Likewise.
14359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14360 Likewise.
14361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
14362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
14363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
14364 Likewise.
14365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
14366 Likewise.
14367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
14368 Likewise.
14369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
14370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
14373 Likewise.
14374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
14375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
14376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
14377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
14380 Likewise.
14381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
14382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14383 Likewise.
14384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14385 Likewise.
14386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
14387 Likewise.
14388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
14389 Likewise.
14390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
14391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
14392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
14393 Likewise.
14394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
14395 Likewise.
14396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
14397 Likewise.
14398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
14399 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
14400 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
14401 Likewise.
14402 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
14403 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
14404 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
14405 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
14406 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14407 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
14408 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
14409 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
14410 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
14411 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
14412 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
14413 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
14414 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
14415 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
14416 Likewise.
14417 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14418 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
14419 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
14420 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14421 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
14422 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
14423 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
14424 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
14425 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
14426 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
14427 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
14428 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
14429 Likewise.
14430 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14431 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
14432 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
14433 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14434 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
14435 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
14436 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
14437 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
14438 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
14439 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
14440 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
14441 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
14442 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
14443 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14444 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
14445 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
14446 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14447 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
14448 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
14449 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
14450 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
14451 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
14452 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
14453 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
14454 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
14455 Likewise.
14456 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
14457 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14458 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
14459 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
14460 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14461 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
14462 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
14463 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
14464 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
14465 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
14466 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
14467 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
14468 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
14469 Likewise.
14470 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
14471 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14472 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
14473 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
14474 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14475 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
14476 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
14477 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
14478 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
14479 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
14480 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
14481 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
14482 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
14483 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
14484 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14485 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
14486 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
14487 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14488 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
14489 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
14490 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
14491 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
14492 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
14493 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
14494 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
14495 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
14496 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
14497 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
14498 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14499 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
14500 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
14501 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14502 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
14503 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
14504 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
14505 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
14506 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
14507 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
14508
14509 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
14510
14511 [BZ #23137]
14512 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
14513 Use atomic_load_acquire to load __tid.
14514
14515 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14516
14517 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
14518 Restore the pointer into %rdx, after syscall and use %rdx,
14519 instead of %rsi, to restore context.
14520
14521 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14522
14523 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
14524 Pop the pointer into %rdx after syscall and use %rdx, instead
14525 of %rsi, to restore context.
14526
14527 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14528
14529 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
14530 handlers after setjmp.
14531 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
14532 defined.
14533 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
14534 <libc-pointer-arith.h>.
14535 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
14536 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
14537 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
14538 _JUMP_BUF_SIGSET_BITS_PER_WORD.
14539 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
14540 * sysdeps/x86/__longjmp_cancel.S: New file.
14541 * sysdeps/x86/longjmp.c: Likewise.
14542 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
14543
14544 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14545
14546 * NEWS: Add ustat.h deprecation entry.
14547 * bits/ustat.h: Remove file.
14548 * misc/sys/ustat.h: Likewise.
14549 * misc/ustat.h: Likewise.
14550 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
14551 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
14552 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
14553 compatibility mode.
14554 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
14555 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
14556 generic Linux implementation.
14557
14558 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14559
14560 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
14561 * math/w_expl_compat.c: Likewise.
14562 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
14563
14564 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
14565
14566 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
14567
14568 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14569
14570 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
14571 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
14572 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
14573 Remove.
14574 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
14575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14576 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14577 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
14578 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
14579 and SYSCALL_LL64.
14580
14581 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14582
14583 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
14584
14585 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
14586 * math/w_asin_template.c: Likewise.
14587 * math/w_atanh_template.c: Likewise.
14588
14589 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14590
14591 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
14592 to powerpc/powerpc64/be for big-endian.
14593 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
14594 little-endian.
14595
14596 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
14597 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
14598 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
14599 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
14600 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
14601 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
14602 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
14603 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
14604 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
14605 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
14606 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
14607 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
14608 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
14609 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
14610 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
14611 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
14612 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
14613 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
14614 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
14615 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
14616 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
14617 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
14618 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
14619 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
14620 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
14621 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
14622 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
14623 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
14624 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
14625 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
14626 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
14627 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
14628
14629 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
14630 adjusted to imply powerpc64 and older processors on powerpc64/be.
14631 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
14632 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
14633 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
14634 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
14635 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
14636 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
14637 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
14638 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
14639 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
14640 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
14641 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
14642 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
14643 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
14644 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
14645 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
14646 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
14647 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
14648 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
14649 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
14650 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
14651 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
14652 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
14653 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
14654 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
14655 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
14656 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
14657 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
14658 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
14659 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
14660 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
14661 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
14662
14663 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
14664 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
14665 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
14666 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
14667
14668 * sysdeps/powerpc/powerpc64/be/Implies: New file.
14669 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
14670 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
14671 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
14672
14673 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
14674 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
14675 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
14676 * sysdeps/powerpc/powerpc64le/configure: Likewise.
14677 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
14678 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
14679 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
14680 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
14681 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
14682 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
14683 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
14684
14685 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
14686 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
14687 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
14688 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
14689 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
14690 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
14691 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
14692 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
14693 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
14694 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
14695 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
14696
14697 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
14698 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
14699 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
14700 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
14701 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
14702 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
14703 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
14704 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
14705 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
14706 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
14707 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
14708 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
14709
14710 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
14711 and adjusted to imply olders processors.
14712 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
14713 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
14714 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
14715 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
14716 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
14717 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
14718 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
14719 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
14720 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
14721 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
14722 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
14723
14724 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
14725 powerpc64/le.
14726 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
14727 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
14728
14729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
14730 powerpc64le.
14731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
14732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
14733
14734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
14735 powerpc64/be.
14736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
14737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
14738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
14739
14740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
14741 powerpc64 and adjusted.
14742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
14743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
14744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
14745 Likewise.
14746
14747 2018-04-27 Joseph Myers <joseph@codesourcery.com>
14748
14749 * sysdeps/tile: Remove.
14750 * sysdeps/unix/sysv/linux/tile: Likewise.
14751 * README (tilegx-*-linux-gnu): Remove from list of supported
14752 configurations.
14753 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
14754 contribution of support for generic Linux kernel syscall
14755 interface.
14756 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
14757 tilegx configurations.
14758 (Config.install_linux_headers): Do not handle tile.
14759 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
14760 in comment.
14761 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
14762 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
14763 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
14764 conditional undefine and redefine.
14765 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
14766 in comment.
14767 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
14768 conditional undefine and redefine.
14769
14770 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
14771
14772 * signal/tst-sigaction.c: New file to test BZ #23069.
14773 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
14774
14775 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14776
14777 [BZ #22766]
14778 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
14779 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
14780 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
14781 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
14782
14783 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14784
14785 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
14786 _DIRENT_MATCHES_DIRENT64 is not defined.
14787 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
14788 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
14789 is defined.
14790 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
14791 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
14792
14793 2018-04-25 Joseph Myers <joseph@codesourcery.com>
14794
14795 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
14796 version to GCC 8 branch.
14797
14798 2018-04-24 Joseph Myers <joseph@codesourcery.com>
14799
14800 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
14801 (check_no_hidden): Use type of original function when declaring
14802 alias.
14803
14804 * sysdeps/unix/sysv/linux/sys/ptrace.h
14805 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
14806 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
14807 (struct __ptrace_seccomp_metadata): New type.
14808 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
14809 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14810 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
14811 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14812 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
14813 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14814 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
14815 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14816 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
14817 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14818 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
14819 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14820 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
14821 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14822 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
14823 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14824
14825 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14826
14827 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
14828 defined.
14829 * dirent/versionsort.c (versionsort): Likewise.
14830 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
14831 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
14832 * dirent/versionsort64.c (versionsort64): Likewise.
14833 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
14834 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
14835 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
14836 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
14837 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
14838 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
14839 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
14840 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
14841 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
14842 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
14843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
14844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
14845 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
14846 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
14847
14848 2018-04-23 Joseph Myers <joseph@codesourcery.com>
14849
14850 * elf/elf.h (NT_PPC_PKEY): New macro.
14851
14852 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
14853
14854 [BZ #23094]
14855 * localedata/locales/hr_HR: fix thousands_sep and
14856 mon_thousands_sep
14857
14858 2018-04-20 Joseph Myers <joseph@codesourcery.com>
14859
14860 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
14861 (XTABS): Define to TAB3.
14862
14863 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14864
14865 * sysdeps/hppa/fpu/libm-test-ulps: Update.
14866
14867 * dirent/scandir-tail-common.c: New file.
14868 * dirent/scandir-tail.c: Use scandir-tail-common.c.
14869 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
14870 * dirent/scandir.c: Use scandir-tail-common.c.
14871 * dirent/scandirat.c: Likewise.
14872 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
14873 * dirent/scandir64.c (scandir64): Always build and alias to scandir
14874 if _DIRENT_MATCHES_DIRENT64 is defined.
14875 * dirent/scandirat64.c (scandirat64): Likewise.
14876 * include/dirent.h (__scandir_tail): Only define iff
14877 _DIRENT_MATCHES_DIRENT64 is not defined.
14878 (__scandir64_tail): Define regardless.
14879 (__scandirat, scandirat64): Remove libc_hidden_proto.
14880 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
14881 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
14882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
14883 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
14884 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14885 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
14886 * sysdeps/unix/sysv/linux/scandir64.c: New file.
14887
14888 2018-04-20 Joseph Myers <joseph@codesourcery.com>
14889
14890 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
14891 New macro.
14892 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
14893 Increase to 24.
14894 (_dl_aarch64_cap_flags): Add asimdfhm.
14895
14896 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
14897
14898 * sysdeps/nios2/libm-test-ulps: Update.
14899
14900 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14901
14902 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
14903 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
14904
14905 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
14906 requirements.
14907 (_DIRENT_MATCHES_DIRENT64): Undef
14908 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
14909 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
14910 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
14911 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
14912 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
14913 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
14914 use getdents64 syscalls as base.
14915 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
14916 symbol if required.
14917 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
14918 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
14919 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
14920 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
14921 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
14922 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
14923 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
14924 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
14925 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14926 (__get_clockfreq_via_proc_openprom): Use __getdents64.
14927 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
14928
14929 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
14930
14931 * scripts/test_printers_common.py (init_test): Disable lock elision.
14932
14933 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
14934
14935 * math/test-tgmath.c (count_double, count_float,
14936 count_ldouble, count_cdouble, count_cfloat,
14937 count_cldouble): Use volatile int.
14938
14939 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
14940
14941 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
14942 (conformtest-xfail-conds): Add i386-gnu.
14943 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
14944 i386-gnu.
14945 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
14946 ipc_perm.cuid, ipc_perm.cgid): Likewise.
14947 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
14948 msqid_ds.msg_lrpid): Likewise.
14949 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
14950 Likewise.
14951 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
14952 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
14953 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
14954 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
14955 unsigned int.
14956 (struct statvfs64): Likewise.
14957 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
14958 Likewise.
14959 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
14960 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
14961 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
14962 instead of wait_queue.
14963 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
14964 instead of vm_area_struct.
14965 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
14966 struct sched_param definition to it.
14967 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
14968 * bits/types/struct_sched_param.h: New file.
14969 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
14970 <bits/types/struct_sched_param.h> instead of <sched.h>.
14971 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
14972 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
14973 generic version but include <bits/pthreadtypes.h> to make struct
14974 sigevent's sigev_notify_attributes field a pthread_attr_t*.
14975 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
14976 non-compliant.
14977 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
14978 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
14979 [__USE_XOPEN] (OFDEL): New macro.
14980 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
14981 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
14982 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
14983 prototypes.
14984 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
14985 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
14986 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
14987 non-compliant.
14988 * sysdeps/i386/sys/ucontext.h: Likewise.
14989 * sysdeps/m68k/sys/ucontext.h: Likewise.
14990 * sysdeps/mips/sys/ucontext.h: Likewise.
14991 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
14992 * sysdeps/mach/hurd/i386/Makefile
14993 (test-xfail-POSIX/fcntl.h/conform): Add.
14994 (test-xfail-POSIX/signal.h/conform): Add.
14995 (test-xfail-POSIX/semaphore.h/conform): Add.
14996 (test-xfail-POSIX/regex.h/conform): Add.
14997 (test-xfail-POSIX/aio.h/conform): Add.
14998 (test-xfail-POSIX/mqueue.h/conform): Add.
14999 (test-xfail-POSIX/sys/types.h/conform): Add.
15000 (test-xfail-UNIX98/fcntl.h/conform): Add.
15001 (test-xfail-UNIX98/netdb.h/conform): Add.
15002 (test-xfail-UNIX98/signal.h/conform): Add.
15003 (test-xfail-UNIX98/semaphore.h/conform): Add.
15004 (test-xfail-UNIX98/regex.h/conform): Add.
15005 (test-xfail-UNIX98/aio.h/conform): Add.
15006 (test-xfail-UNIX98/ftw.h/conform): Add.
15007 (test-xfail-UNIX98/mqueue.h/conform): Add.
15008 (test-xfail-UNIX98/netinet/in.h/conform): Add.
15009 (test-xfail-UNIX98/sys/wait.h/conform): Add.
15010 (test-xfail-UNIX98/sys/sem.h/conform): Add.
15011 (test-xfail-UNIX98/sys/uio.h/conform): Add.
15012 (test-xfail-UNIX98/sys/socket.h/conform): Add.
15013 (test-xfail-UNIX98/sys/types.h/conform): Add.
15014 (test-xfail-UNIX98/stdlib.h/conform): Add.
15015 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
15016 (test-xfail-POSIX2008/fcntl.h/conform): Add.
15017 (test-xfail-POSIX2008/netdb.h/conform): Add.
15018 (test-xfail-POSIX2008/signal.h/conform): Add.
15019 (test-xfail-POSIX2008/semaphore.h/conform): Add.
15020 (test-xfail-POSIX2008/regex.h/conform): Add.
15021 (test-xfail-POSIX2008/aio.h/conform): Add.
15022 (test-xfail-POSIX2008/mqueue.h/conform): Add.
15023 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
15024 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
15025 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
15026 (test-xfail-POSIX2008/sys/types.h/conform): Add.
15027 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
15028 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
15029 (test-xfail-XOPEN2K/netdb.h/conform): Add.
15030 (test-xfail-XOPEN2K/signal.h/conform): Add.
15031 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
15032 (test-xfail-XOPEN2K/regex.h/conform): Add.
15033 (test-xfail-XOPEN2K/aio.h/conform): Add.
15034 (test-xfail-XOPEN2K/ftw.h/conform): Add.
15035 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
15036 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
15037 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
15038 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
15039 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
15040 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
15041 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
15042 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
15043 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
15044 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
15045 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
15046 (test-xfail-XOPEN2K8/signal.h/conform): Add.
15047 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
15048 (test-xfail-XOPEN2K8/regex.h/conform): Add.
15049 (test-xfail-XOPEN2K8/aio.h/conform): Add.
15050 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
15051 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
15052 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
15053 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
15054 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
15055 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
15056 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
15057 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
15058 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
15059 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
15060 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
15061 i386-gnu.
15062 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
15063 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
15064
15065 2018-04-18 Joseph Myers <joseph@codesourcery.com>
15066
15067 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
15068 --enable-obsolete for powerpc-linux-gnuspe.
15069
15070 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
15071
15072 * conform/data/sys/un.h-data: Allow sun_ prefix.
15073 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
15074 prototypes.
15075 * sysdeps/mach/include/mach.h: Likewise.
15076 * sysdeps/mach/include/mach/mig_support.h: Likewise.
15077 * sysdeps/mach/include/mach_error.h: Likewise.
15078
15079 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15080
15081 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
15082 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
15083 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
15084 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
15085
15086 2018-04-16 Andreas Schwab <schwab@suse.de>
15087
15088 [BZ #19527]
15089 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
15090
15091 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
15092
15093 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
15094 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
15095
15096 2018-04-12 DJ Delorie <dj@redhat.com>
15097
15098 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
15099 version to 4.16.
15100
15101 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
15102
15103 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
15104 (struct kernel_sigaction): Use the same definition on 31bit as is used
15105 on 64bit.
15106
15107 2018-04-09 Florian Weimer <fweimer@redhat.com>
15108
15109 [BZ #23037]
15110 * resolv/res_send.c (send_dg): Use designated initializers instead
15111 of assignment to zero-initialize other fields of struct mmsghdr.
15112
15113 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15114
15115 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
15116 __READDIR_ALIAS): Undefine after usage.
15117 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
15118 __READDIR_R_ALIAS): Likewise.
15119 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
15120 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
15121 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
15122 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
15123 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
15124 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
15125 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15126 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15127 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
15128 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
15129 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
15130 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
15131 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15132 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
15133 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
15134 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
15135 * sysdeps/unix/sysv/linux/readdir.c: New file.
15136 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
15137 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
15138 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
15139
15140 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
15141
15142 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
15143
15144 * manual/charset.texi (Converting a Character): Fix typo.
15145
15146 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15147
15148 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15149
15150 * sysdeps/arm/libm-test-ulps: Update.
15151
15152 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
15153 as base implementation.
15154 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15155 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15156 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15157 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15158 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15159 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
15160 remove unrequired definitions and update comments.
15161 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
15162 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
15163 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
15164 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
15165 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
15166 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
15167 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
15168 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
15169 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
15170 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
15171 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
15172 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15173 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
15174 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
15175 and RESET_SA_RESTORER hooks.
15176
15177 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
15178
15179 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15180
15181 2018-04-05 Florian Weimer <fweimer@redhat.com>
15182
15183 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
15184 integer overflow, memory leak on error, and indeterminate errno
15185 value. Add a null wide character to terminate the result string.
15186 * manual/charset.texi (Converting a Character): Mention embedded
15187 null bytes in the mbrtowc input string. Explain what happens in
15188 the -2 result case. Do not claim that mbrtowc is simple or
15189 obvious to use. Adjust the description of the code example. Use
15190 @code, not @var, for concrete variables.
15191
15192 2018-04-05 Florian Weimer <fweimer@redhat.com>
15193
15194 * manual/examples/mbstouwcs.c: New file.
15195 * manual/charset.texi (Converting a Character): Include it.
15196
15197 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15198
15199 * include/dirent.h (dirfd): Add hidden proto.
15200 * dirent/dirfd.c (dirfd): Add hidden def.
15201 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
15202 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
15203
15204 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15205
15206 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
15207 sin, cos and sincos to 1 ULP.
15208
15209 2018-04-04 Maciej W. Rozycki <macro@mips.com>
15210
15211 [BZ #19818]
15212 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
15213 symbols.
15214 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
15215 * elf/tst-absolute-sym.c: New file.
15216 * elf/tst-absolute-sym-lib.c: New file.
15217 * elf/tst-absolute-sym-lib.lds: New file.
15218 * elf/Makefile (tests): Add `tst-absolute-sym'.
15219 (modules-names): Add `tst-absolute-sym-lib'.
15220 (LDLIBS-tst-absolute-sym-lib.so): New variable.
15221 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
15222 ($(objpfx)tst-absolute-sym): New dependency.
15223
15224 [BZ #19818]
15225 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
15226 parameter.
15227 (SYMBOL_ADDRESS): New macro.
15228 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
15229 SYMBOL_ADDRESS for symbol address calculation.
15230 * elf/dl-runtime.c (_dl_fixup): Likewise.
15231 (_dl_profile_fixup): Likewise.
15232 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
15233 * elf/rtld.c (dl_main): Likewise.
15234 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
15235 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
15236 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
15237 (elf_machine_rela): Likewise.
15238 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
15239 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
15240 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
15241 (elf_machine_rela): Likewise.
15242 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15243 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
15244 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
15245 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
15246 Likewise.
15247 (elf_machine_reloc): Likewise.
15248 (elf_machine_got_rel): Likewise.
15249 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
15250 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
15251 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15252 Likewise.
15253 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15254 Likewise.
15255 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
15256 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15257 Likewise.
15258 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15259 Likewise.
15260 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15261 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
15262 Likewise.
15263 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
15264 Likewise.
15265 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
15266 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15267
15268 2018-04-04 Zack Weinberg <zackw@panix.com>
15269
15270 * sysdeps/generic/internal-signals.h: Include signal.h,
15271 sigsetops.h, and stdbool.h.
15272 (__libc_signal_block_all): Actually block all signals.
15273 (__libc_signal_block_app): Likewise.
15274 (__libc_signal_restore_set): Actually restore the signal mask.
15275
15276 2018-04-04 Florian Weimer <fweimer@redhat.com>
15277
15278 inet: Actually build and run tst-deadline.
15279 * inet/Makefile (tests-internal): Add tst-deadline and do not
15280 overwrite the variable.
15281 (tests-static-internal): Remove variable.
15282
15283 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
15284
15285 [BZ #22947]
15286 * bits/uio-ext.h (RWF_APPEND): New.
15287 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
15288 * manual/llio.texi: Document RWF_APPEND.
15289 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
15290 (RWF_SUPPORTED): Add RWF_APPEND.
15291
15292 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15293
15294 [BZ #22391]
15295 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
15296 check for internal nptl signals.
15297 * nptl/sigaction.c (__sigaction): Likewise.
15298 * signal/sigaddset.c (sigaddset): Likewise.
15299 * signal/sigdelset.c (sigdelset): Likewise.
15300 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
15301 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
15302 value.
15303 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
15304 to filter out internal nptl signals.
15305 * signal/tst-sigset.c (do_test): Check ech signal indidually and
15306 also check realtime signals using standard macros.
15307 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
15308 __is_internal_signal, __libc_signal_block_all,
15309 __libc_signal_block_app, __libc_signal_restore_set): New functions.
15310 * sysdeps/nptl/sigfillset.c: Remove file.
15311 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
15312 Change return to bool.
15313 (__clear_internal_signals): Remove SIGTIMER clean since it is
15314 equal to SIGCANEL on Linux.
15315 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
15316 signal set was constructed using standard functions.
15317
15318 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
15319
15320 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
15321 ifname is too long.
15322 * hurd/hurdsig.c (interrupted_reply_port_location): Use
15323 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
15324 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
15325 hidden def.
15326 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
15327 * signal/sigaddset.c: Include <sigsetopts.h>.
15328 * signal/sigdelset.c: Likewise.
15329
15330 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15331
15332 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
15333 (__cos): Likewise.
15334 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
15335 logic as sin and cos.
15336
15337 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15338
15339 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
15340 inputs. Return correct sign.
15341 (do_sincos): Remove small input check before do_sin, let do_sin set
15342 the sign.
15343 (__sin): Likewise.
15344 (__cos): Likewise.
15345
15346 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15347
15348 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
15349 (do_cos_slow): Likewise.
15350 (do_sin_slow): Likewise.
15351 (reduce_and_compute): Likewise.
15352 (slow): Likewise.
15353 (slow1): Likewise.
15354 (slow2): Likewise.
15355 (sloww): Likewise.
15356 (sloww1): Likewise.
15357 (sloww2): Likewise.
15358 (bslow): Likewise.
15359 (bslow1): Likewise.
15360 (bslow2): Likewise.
15361 (cslow2): Likewise.
15362
15363 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15364
15365 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
15366 (do_cos): Remove corp parameter and calculations.
15367 (do_sin): Likewise.
15368 (do_sincos): Remove cor variable.
15369 (__sin): Use do_sincos for huge inputs.
15370 (__cos): Likewise.
15371 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
15372 (reduce_and_compute_sincos): Remove unused function.
15373
15374 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15375
15376 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
15377 reduce_sincos, improve accuracy to 136 bits.
15378 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
15379 (__sin): Use improved reduction and simplified do_sincos calculation.
15380 (__cos): Likewise.
15381 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
15382
15383 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15384
15385 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
15386 (do_sincos_2): Likewise.
15387 (__sin): Remove middle range reduction case.
15388 (__cos): Likewise.
15389 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
15390 reduction case.
15391
15392 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15393
15394 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
15395 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
15396 inputs.
15397 (__cos): Likewise.
15398 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
15399
15400 2018-04-03 Joseph Myers <joseph@codesourcery.com>
15401
15402 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
15403 version to 4.16
15404
15405 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15406
15407 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
15408 Remove definitions.
15409 (opendir_oflags): Use O_DIRECTORY regardless.
15410 (__opendir, __opendirat): Remove need_isdir_precheck usage.
15411 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
15412
15413 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15414
15415 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
15416 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
15417 macros.
15418 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
15419 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
15420 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
15421 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
15422 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
15423 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
15424
15425 * htl/Makefile: Bump licence to LGPL 2.1+.
15426 * htl/alloca_cutoff.c: Likewise.
15427 * htl/cthreads-compat.c: Likewise.
15428 * htl/lockfile.c: Likewise.
15429 * htl/pt-alloc.c: Likewise.
15430 * htl/pt-cancel.c: Likewise.
15431 * htl/pt-cleanup.c: Likewise.
15432 * htl/pt-create.c: Likewise.
15433 * htl/pt-dealloc.c: Likewise.
15434 * htl/pt-detach.c: Likewise.
15435 * htl/pt-exit.c: Likewise.
15436 * htl/pt-getattr.c: Likewise.
15437 * htl/pt-initialize.c: Likewise.
15438 * htl/pt-internal.h: Likewise.
15439 * htl/pt-join.c: Likewise.
15440 * htl/pt-self.c: Likewise.
15441 * htl/pt-setcancelstate.c: Likewise.
15442 * htl/pt-setcanceltype.c: Likewise.
15443 * htl/pt-sigmask.c: Likewise.
15444 * htl/pt-spin-inlines.c: Likewise.
15445 * htl/pt-testcancel.c: Likewise.
15446 * htl/pt-yield.c: Likewise.
15447 * htl/tests/test-1.c: Likewise.
15448 * htl/tests/test-10.c: Likewise.
15449 * htl/tests/test-11.c: Likewise.
15450 * htl/tests/test-12.c: Likewise.
15451 * htl/tests/test-13.c: Likewise.
15452 * htl/tests/test-14.c: Likewise.
15453 * htl/tests/test-15.c: Likewise.
15454 * htl/tests/test-16.c: Likewise.
15455 * htl/tests/test-17.c: Likewise.
15456 * htl/tests/test-2.c: Likewise.
15457 * htl/tests/test-3.c: Likewise.
15458 * htl/tests/test-4.c: Likewise.
15459 * htl/tests/test-5.c: Likewise.
15460 * htl/tests/test-6.c: Likewise.
15461 * htl/tests/test-7.c: Likewise.
15462 * htl/tests/test-8.c: Likewise.
15463 * htl/tests/test-9.c: Likewise.
15464 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
15465 * sysdeps/htl/bits/cancelation.h: Likewise.
15466 * sysdeps/htl/bits/pthread-np.h: Likewise.
15467 * sysdeps/htl/bits/pthread.h: Likewise.
15468 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
15469 * sysdeps/htl/bits/semaphore.h: Likewise.
15470 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
15471 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
15472 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
15473 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
15474 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
15475 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
15476 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
15477 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
15478 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
15479 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
15480 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
15481 * sysdeps/htl/old_pt-atfork.c: Likewise.
15482 * sysdeps/htl/pt-atfork.c: Likewise.
15483 * sysdeps/htl/pt-attr-destroy.c: Likewise.
15484 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
15485 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
15486 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
15487 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
15488 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
15489 * sysdeps/htl/pt-attr-getscope.c: Likewise.
15490 * sysdeps/htl/pt-attr-getstack.c: Likewise.
15491 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
15492 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
15493 * sysdeps/htl/pt-attr-init.c: Likewise.
15494 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
15495 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
15496 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
15497 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
15498 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
15499 * sysdeps/htl/pt-attr-setscope.c: Likewise.
15500 * sysdeps/htl/pt-attr-setstack.c: Likewise.
15501 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
15502 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
15503 * sysdeps/htl/pt-attr.c: Likewise.
15504 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
15505 * sysdeps/htl/pt-barrier-init.c: Likewise.
15506 * sysdeps/htl/pt-barrier-wait.c: Likewise.
15507 * sysdeps/htl/pt-barrier.c: Likewise.
15508 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
15509 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
15510 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
15511 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
15512 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
15513 * sysdeps/htl/pt-cond-destroy.c: Likewise.
15514 * sysdeps/htl/pt-cond-init.c: Likewise.
15515 * sysdeps/htl/pt-cond-signal.c: Likewise.
15516 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
15517 * sysdeps/htl/pt-cond-wait.c: Likewise.
15518 * sysdeps/htl/pt-cond.c: Likewise.
15519 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
15520 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
15521 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
15522 * sysdeps/htl/pt-condattr-init.c: Likewise.
15523 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
15524 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
15525 * sysdeps/htl/pt-destroy-specific.c: Likewise.
15526 * sysdeps/htl/pt-equal.c: Likewise.
15527 * sysdeps/htl/pt-getconcurrency.c: Likewise.
15528 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
15529 * sysdeps/htl/pt-getschedparam.c: Likewise.
15530 * sysdeps/htl/pt-getspecific.c: Likewise.
15531 * sysdeps/htl/pt-init-specific.c: Likewise.
15532 * sysdeps/htl/pt-key-create.c: Likewise.
15533 * sysdeps/htl/pt-key-delete.c: Likewise.
15534 * sysdeps/htl/pt-key.h: Likewise.
15535 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
15536 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
15537 * sysdeps/htl/pt-mutex-init.c: Likewise.
15538 * sysdeps/htl/pt-mutex-lock.c: Likewise.
15539 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
15540 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
15541 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
15542 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
15543 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
15544 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
15545 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
15546 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
15547 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
15548 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
15549 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
15550 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
15551 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
15552 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
15553 * sysdeps/htl/pt-mutexattr.c: Likewise.
15554 * sysdeps/htl/pt-once.c: Likewise.
15555 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
15556 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
15557 * sysdeps/htl/pt-rwlock-init.c: Likewise.
15558 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
15559 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
15560 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
15561 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
15562 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
15563 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
15564 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
15565 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
15566 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
15567 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
15568 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
15569 * sysdeps/htl/pt-setconcurrency.c: Likewise.
15570 * sysdeps/htl/pt-setschedparam.c: Likewise.
15571 * sysdeps/htl/pt-setschedprio.c: Likewise.
15572 * sysdeps/htl/pt-setspecific.c: Likewise.
15573 * sysdeps/htl/pt-spin.c: Likewise.
15574 * sysdeps/htl/pt-startup.c: Likewise.
15575 * sysdeps/htl/pthread.h: Likewise.
15576 * sysdeps/htl/sem-close.c: Likewise.
15577 * sysdeps/htl/sem-destroy.c: Likewise.
15578 * sysdeps/htl/sem-getvalue.c: Likewise.
15579 * sysdeps/htl/sem-init.c: Likewise.
15580 * sysdeps/htl/sem-open.c: Likewise.
15581 * sysdeps/htl/sem-post.c: Likewise.
15582 * sysdeps/htl/sem-timedwait.c: Likewise.
15583 * sysdeps/htl/sem-trywait.c: Likewise.
15584 * sysdeps/htl/sem-unlink.c: Likewise.
15585 * sysdeps/htl/sem-wait.c: Likewise.
15586 * sysdeps/hurd/htl/pt-kill.c: Likewise.
15587 * sysdeps/i386/htl/pt-machdep.h: Likewise.
15588 * sysdeps/mach/htl/pt-block.c: Likewise.
15589 * sysdeps/mach/htl/pt-spin.c: Likewise.
15590 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
15591 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
15592 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
15593 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
15594 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
15595 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
15596 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
15597 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
15598 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
15599 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
15600 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
15601 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
15602 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
15603 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
15604 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
15605 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
15606 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
15607 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
15608 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
15609 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
15610 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
15611 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
15612 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
15613 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
15614 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
15615 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
15616 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
15617 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
15618 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
15619 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
15620 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
15621 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
15622 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
15623 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
15624 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
15625 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
15626 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
15627 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
15628 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
15629 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
15630 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
15631 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
15632 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
15633
15634 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
15635 * README: Remove the mention of out-of-tree patches needed for
15636 GNU/Hurd.
15637
15638 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
15639 (UTIME_NOW, UTIME_OMIT): Define macros.
15640
15641 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
15642 instead of pthread_detach.
15643 (__cthread_fork): Call __pthread_create instead of pthread_create.
15644 (__cthread_keycreate): Call __pthread_key_create instead of
15645 pthread_key_create.
15646 (__cthread_getspecific): Call __pthread_getspecific instead of
15647 pthread_getspecific.
15648 (__cthread_setspecific): Call __pthread_setspecific instead of
15649 pthread_setspecific.
15650 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
15651 __pthread_mutex_unlock instead of pthread_mutex_lock and
15652 pthread_mutex_unlock.
15653 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
15654 ___pthread_get_cleanup_stack.
15655 (__pthread_get_cleanup_stack): New strong alias.
15656 * htl/pt-create.c: Include <pthreadP.h>.
15657 (entry_point): Call __pthread_exit instead of pthread_exit.
15658 (pthread_create): Rename to __pthread_create.
15659 (pthread_create): New strong alias.
15660 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
15661 (pthread_detach): New strong alias.
15662 (__pthread_detach): Call __pthread_cond_broadcast instead of
15663 pthread_cond_broadcast.
15664 * htl/pt-exit.c: Include <pthreadP.h>.
15665 (__pthread_exit): Call __pthread_setcancelstate and
15666 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
15667 __pthread_get_cleanup_stack.
15668 * htl/pt-testcancel.c: Include <pthreadP.h>.
15669 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
15670 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
15671 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
15672 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
15673 pthread_attr_getstacksize.
15674 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
15675 Rename to __pthread_attr_getstackaddr.
15676 (pthread_attr_getstackaddr): New strong alias.
15677 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
15678 Rename to __pthread_attr_getstacksize.
15679 (pthread_attr_getstacksize): New strong alias.
15680 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
15681 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
15682 (pthread_attr_setstack): New strong alias.
15683 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
15684 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
15685 pthread_attr_getstacksize, pthread_attr_setstacksize and
15686 pthread_attr_setstackaddr.
15687 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
15688 Rename to __pthread_attr_setstackaddr.
15689 (pthread_attr_setstackaddr): New strong alias.
15690 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
15691 Rename to __pthread_attr_setstacksize.
15692 (pthread_attr_setstacksize): New strong alias.
15693 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
15694 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
15695 pthread_exit.
15696 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
15697 (__pthread_key_create): New hidden def.
15698 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
15699 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
15700 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
15701 __pthread_exit, __pthread_key_create, __pthread_getspecific,
15702 __pthread_setspecific, __pthread_setcancelstate,
15703 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
15704 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
15705 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
15706 declarations.
15707 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
15708 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
15709 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
15710 (pthread_attr_setstackaddr): New strong alias.
15711 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
15712 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
15713 (pthread_attr_setstacksize): New strong alias.
15714 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
15715 (call_exit): Call __pthread_exit instead of pthread_exit.
15716 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
15717 (_pthread_mutex_init): New hidden definition.
15718 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
15719 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
15720 instead of pthread_attr_init and pthread_attr_setstack.
15721
15722 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
15723 __vm_deallocate instead of vm_allocate and vm_deallocate.
15724 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
15725 setenv.
15726 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
15727 of geteuid.
15728 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
15729 strdup.
15730 * hurd/siginfo.c: Include <libioP.h>.
15731 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
15732 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
15733 munmap.
15734 * mach/devstream.c: Include <libioP.h>.
15735 (dealloc_ref): Call __mach_port_deallocate instead of
15736 mach_port_deallocate.
15737 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
15738 Call __mach_port_deallocate instead of mach_port_deallocate.
15739 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
15740 pathconf.
15741 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
15742 munmap.
15743 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
15744 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
15745 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
15746 of munmap.
15747 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
15748 of close.
15749 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
15750 instead of sysconf.
15751 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
15752 __clock_gettime instead of clock_gettime.
15753 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
15754 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
15755 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
15756 * sysdeps/unix/bsd/stty.c (stty): Likewise.
15757 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
15758 tcgetattr.
15759 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
15760 __clock_gettime and __nanosleep instead of clock_gettime and
15761 nanosleep.
15762 * hurd/catch-signal.c (hurd_catch_signal): Rename to
15763 __hurd_catch_signal.
15764 (hurd_catch_signal): New strong alias.
15765 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
15766 __hurd_catch_signal instead of hurd_catch_signal.
15767 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
15768 * hurd/hurdexec.c (_hurd_init): Add hidden def.
15769 * hurd/hurdinit.c (_hurd_init): Add hidden def.
15770 * hurd/hurdsig.c: Include <mach/mig_support.h>.
15771 (_hurd_thread_sigstate): Add hidden def.
15772 (_hurd_internal_post_signal): Use __mutex_unlock instead of
15773 mutex_unlock.
15774 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
15775 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
15776 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
15777 __hurd_file_name_path_lookup.
15778 (hurd_file_name_path_lookup): New strong alias.
15779 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
15780 hurd_file_name_path_lookup.
15781 * mach/errstring.c (mach_error_type): Add hidden def.
15782 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
15783 * mach/mutex-init.c (__mutex_init): Add hidden def.
15784 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
15785 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
15786 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
15787 * sysdeps/mach/hurd/getcwd.c
15788 (_hurd_canonicalize_directory_name_internal): Rename to
15789 __hurd_canonicalize_directory_name_internal.
15790 (_hurd_canonicalize_directory_name_internal): New strong alias.
15791 (__canonicalize_directory_name_internal, __getcwd): Call
15792 __hurd_canonicalize_directory_name_internal instead of
15793 _hurd_canonicalize_directory_name_internal.
15794 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
15795 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
15796 hidden defs.
15797 * sysdeps/hurd/include/hurd.h: New file.
15798 * sysdeps/hurd/include/hurd/fd.h: New file.
15799 * sysdeps/hurd/include/hurd/signal.h: New file.
15800 * sysdeps/mach/include/lock-intern.h: New file.
15801 * sysdeps/mach/include/mach.h: New file.
15802 * sysdeps/mach/include/mach/mig_support.h: New file.
15803 * sysdeps/mach/include/mach_error.h: New file.
15804 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
15805 prototype.
15806 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
15807 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
15808 _HEADER_H_HIDDEN_DEF macro.
15809 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
15810 _hurd_fd_error_signal): Add hidden prototype.
15811 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
15812 hidden def.
15813 * libio/iolibio.h (_IO_puts): New hidden prototype.
15814 * libio/ioputs.c (_IO_puts): New hidden def.
15815 * sysdeps/mach/hurd/localplt.data: New file.
15816
15817 2018-04-02 Agustina Arzille <avarzille@riseup.net>
15818 Amos Jeffries <squid3@treenet.co.nz>
15819 David Michael <fedora.dm0@gmail.com>
15820 Marco Gerards <marco@gnu.org>
15821 Marcus Brinkmann <marcus@gnu.org>
15822 Neal H. Walfield <neal@gnu.org>
15823 Pino Toscano <toscano.pino@tiscali.it>
15824 Richard Braun <rbraun@sceen.net>
15825 Roland McGrath <roland@gnu.org>
15826 Samuel Thibault <samuel.thibault@ens-lyon.org>
15827 Thomas DiModica <ricinwich@yahoo.com>
15828 Thomas Schwinge <tschwinge@gnu.org>
15829
15830 * htl: New directory.
15831 * sysdeps/htl: New directory.
15832 * sysdeps/hurd/htl: New directory.
15833 * sysdeps/i386/htl: New directory.
15834 * sysdeps/mach/htl: New directory.
15835 * sysdeps/mach/hurd/htl: New directory.
15836 * sysdeps/mach/hurd/i386/htl: New directory.
15837 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
15838 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
15839 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
15840
15841 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15842
15843 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
15844 signals in thread created for runing timers.
15845
15846 2018-04-01 Florian Weimer <fweimer@redhat.com>
15847
15848 * support/support_format_addrinfo.c (support_format_addrinfo):
15849 Include unknown error number in formatted result.
15850
15851 2018-03-29 Florian Weimer <fweimer@redhat.com>
15852
15853 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
15854 capture SIGBUS.
15855
15856 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15857
15858 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
15859 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
15860 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15861 (__ASSUME_CLONE_BACKWARDS): Define.
15862
15863 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
15864
15865 [BZ #23024]
15866 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
15867 early when linux sentinel value is set.
15868
15869 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15870
15871 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
15872
15873 2018-03-27 Andreas Schwab <schwab@suse.de>
15874
15875 [BZ #23005]
15876 * resolv/res_send.c (__res_context_send): Return ENOMEM if
15877 allocation of private copy of nsaddr_list fails.
15878
15879 2018-03-26 Joseph Myers <joseph@codesourcery.com>
15880
15881 [BZ #16552]
15882 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
15883 * sysdeps/unix/sysv/linux/umount.c: ... here.
15884 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
15885 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
15886 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
15887 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
15888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
15889 * sysdeps/unix/sysv/linux/umount.S: Likewise.
15890 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
15891
15892 2018-03-26 Andreas Schwab <schwab@suse.de>
15893
15894 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
15895 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
15896 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
15897 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
15898 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
15899 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
15900 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
15901 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
15902 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
15903 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
15904 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
15905 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
15906 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
15907 (R_RISCV_NUM): Define.
15908
15909 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
15910
15911 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
15912 TLS declaration of errno.
15913 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
15914 __libc_setup_tls.
15915 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
15916 (ARCH_SETUP_TLS): Likewise.
15917 * sysdeps/mach/hurd/libc-start.h: New file copied from
15918 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
15919 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
15920 instead of __libc_setup_tls.
15921 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
15922 __libc_setup_tls before initializing libpthread and running _hurd_init
15923 which starts the signal thread.
15924 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
15925 Declare function.
15926 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15927
15928 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
15929
15930 [BZ #22998]
15931 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
15932 after it is defined.
15933
15934 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
15935 Max Horn <max@quendi.de>
15936
15937 [BZ #22644]
15938 CVE-2017-18269
15939 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
15940 branch conditions.
15941 * string/test-memmove.c (do_test2): New testcase.
15942
15943 2018-03-22 Joseph Myers <joseph@codesourcery.com>
15944
15945 * sysdeps/generic/frame.h: Remove file.
15946 * sysdeps/arm/frame.h: Likewise.
15947 * sysdeps/hppa/frame.h: Likewise.
15948 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
15949 macro.
15950 (GET_FRAME): Likewise.
15951 (GET_STACK): Likewise.
15952 (CALL_SIGHANDLER): Likewise.
15953 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
15954 Likewise.
15955 (GET_FRAME): Likewise.
15956 (GET_STACK): Likewise.
15957 (CALL_SIGHANDLER): Likewise.
15958 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
15959 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15960 (GET_FRAME): Likewise.
15961 (GET_STACK): Likewise.
15962 (CALL_SIGHANDLER): Likewise.
15963 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
15964 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15965 (GET_FRAME): Likewise.
15966 (GET_STACK): Likewise.
15967 (ADVANCE_STACK_FRAME): Likewise.
15968 (CALL_SIGHANDLER): Likewise.
15969 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
15970 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15971 (GET_FRAME): Likewise.
15972 (GET_STACK): Likewise.
15973 (CALL_SIGHANDLER): Likewise.
15974 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
15975 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15976 (GET_FRAME): Likewise.
15977 (GET_STACK): Likewise.
15978 (CALL_SIGHANDLER): Likewise.
15979 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
15980 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15981 (GET_FRAME): Likewise.
15982 (GET_STACK): Likewise.
15983 (CALL_SIGHANDLER): Likewise.
15984 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
15985 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15986 (GET_FRAME): Likewise.
15987 (GET_STACK): Likewise.
15988 (CALL_SIGHANDLER): Likewise.
15989 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
15990 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15991 (GET_FRAME): Likewise.
15992 (GET_STACK): Likewise.
15993 (CALL_SIGHANDLER): Likewise.
15994 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
15995 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15996 (GET_FRAME): Likewise.
15997 (GET_STACK): Likewise.
15998 (CALL_SIGHANDLER): Likewise.
15999 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
16000 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16001 (GET_FRAME): Likewise.
16002 (GET_STACK): Likewise.
16003 (CALL_SIGHANDLER): Likewise.
16004 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
16005 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16006 (GET_FRAME): Likewise.
16007 (GET_STACK): Likewise.
16008 (CALL_SIGHANDLER): Likewise.
16009 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
16010 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16011 (GET_FRAME): Likewise.
16012 (GET_STACK): Likewise.
16013 (CALL_SIGHANDLER): Likewise.
16014 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
16015 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16016 (FIRST_FRAME_POINTER): Likewise.
16017 (ADVANCE_STACK_FRAME): Likewise.
16018 (GET_STACK): Likewise.
16019 (GET_FRAME): Likewise.
16020 (CALL_SIGHANDLER): Likewise.
16021 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
16022 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16023 (ADVANCE_STACK_FRAME): Likewise.
16024 (GET_STACK): Likewise.
16025 (GET_FRAME): Likewise.
16026 (CALL_SIGHANDLER): Likewise.
16027 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
16028 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16029 (GET_FRAME): Likewise.
16030 (GET_STACK): Likewise.
16031 (CALL_SIGHANDLER): Likewise.
16032 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
16033 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16034 (GET_FRAME): Likewise.
16035 (GET_STACK): Likewise.
16036 (CALL_SIGHANDLER): Likewise.
16037
16038 2018-03-21 Joseph Myers <joseph@codesourcery.com>
16039
16040 * sysdeps/x86_64/backtrace.c: Move to ....
16041 * debug/backtrace.c: ... here.
16042 * sysdeps/aarch64/backtrace.c: Remove file.
16043 * sysdeps/alpha/backtrace.c: Likewise.
16044 * sysdeps/hppa/backtrace.c: Likewise.
16045 * sysdeps/ia64/backtrace.c: Likewise.
16046 * sysdeps/mips/backtrace.c: Likewise.
16047 * sysdeps/nios2/backtrace.c: Likewise.
16048 * sysdeps/riscv/backtrace.c: Likewise.
16049 * sysdeps/sh/backtrace.c: Likewise.
16050 * sysdeps/tile/backtrace.c: Likewise.
16051
16052 2018-03-20 Joseph Myers <joseph@codesourcery.com>
16053
16054 [BZ #22987]
16055 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
16056 function.
16057 (fdimf): Likewise.
16058 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
16059
16060 [BZ #17343]
16061 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
16062 possibly overflowing computations.
16063
16064 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
16065
16066 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
16067 values from Linux-specific section now that it is in the GNU section.
16068 * sysdeps/gnu/errlist.c: Regenerate.
16069
16070 2018-03-20 Joseph Myers <joseph@codesourcery.com>
16071
16072 * math/Makefile (libm-narrow-fns): Add sub.
16073 (libm-test-funcs-narrow): Likewise.
16074 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
16075 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
16076 * math/gen-auto-libm-tests.c (test_functions): Add sub.
16077 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
16078 (NARROW_SUB_ROUND_TO_ODD): Likewise.
16079 (NARROW_SUB_TRIVIAL): Likewise.
16080 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
16081 macro.
16082 (__dsubl): Likewise.
16083 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
16084 dsub.
16085 (CFLAGS-nldbl-dsub.c): New variable.
16086 (CFLAGS-nldbl-fsub.c): Likewise.
16087 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16088 __nldbl_dsubl.
16089 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
16090 prototype.
16091 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
16092 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
16093 * math/auto-libm-test-in: Add tests of sub.
16094 * math/auto-libm-test-out-narrow-sub: New generated file.
16095 * math/libm-test-narrow-sub.inc: New file.
16096 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
16097 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
16098 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
16099 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
16100 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
16101 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
16102 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
16103 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
16104 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
16105 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
16106 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
16107 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
16108 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
16109 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
16110 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
16111 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
16112 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
16113 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
16114 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16115 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16116 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16117 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16118 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16119 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16120 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16121 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16122 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16123 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16124 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16125 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16126 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16127 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
16130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16132 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16133 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16134 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16135 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16136 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16137 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16138 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
16139 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
16140 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16141 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16142
16143 2018-03-19 Joseph Myers <joseph@codesourcery.com>
16144
16145 [BZ #20079]
16146 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
16147
16148 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
16149
16150 * benchtests/bench-timing.h (attribute_hidden): Undefine.
16151
16152 2018-03-18 Richard Braun <rbraun@sceen.net>
16153
16154 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
16155 thread reference.
16156
16157 2018-03-18 Agustina Arzille <avarzille@riseup.net>
16158
16159 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
16160 (__libc_cleanup_fct): Define function.
16161 (__libc_cleanup_region_start, __libc_cleanup_region_end,
16162 __libc_cleanup_end): Rewrite implementation using
16163 __attribute__ ((__cleanup__)).
16164 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
16165 * hurd/Makefile (routines): Add hurdlock.
16166 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
16167 interface.
16168 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
16169 * hurd/hurdpid.c: Include <lowlevellock.h>
16170 (_S_msg_proc_newids): Use lll_wait to synchronize.
16171 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
16172 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
16173 * mach/Makefile (lock-headers): Remove machine-lock.h.
16174 * mach/lock-intern.h: Include <lowlevellock.h> instead of
16175 <machine-lock.h>.
16176 (__spin_lock_t): New type.
16177 (__SPIN_LOCK_INITIALIZER): New macro.
16178 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
16179 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
16180 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
16181 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
16182 (__mutex_init): Initialize with lll.
16183 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
16184 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
16185 needing lll.
16186 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16187 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
16188 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
16189 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
16190 (__setpgid): Use lll for synchronization.
16191 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
16192 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
16193 instead of <cthreads.h>.
16194 (_IO_lock_inexpensive): New macro
16195 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
16196 (__libc_lock_self0): New declaration.
16197 (__libc_lock_owner_self): New macro.
16198 (__libc_key_t): Remove type.
16199 (_LIBC_LOCK_INITIALIZER): New macro.
16200 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
16201 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
16202 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
16203 __libc_lock_define_initialized_recursive,
16204 __rtld_lock_define_initialized_recursive,
16205 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
16206 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
16207 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
16208 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
16209 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
16210 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
16211 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
16212 New macros.
16213 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
16214 * hurd/hurdlock.c: New file.
16215 * hurd/hurdlock.h: New file.
16216 * mach/lowlevellock.h: New file
16217
16218 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16219
16220 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
16221 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
16222 when opening a symlink with O_NOFOLLOW.
16223 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
16224 path when flags contains O_NOFOLLOW.
16225 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
16226 if flags contains O_DIRECTORY and the result is a directory.
16227 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
16228 oneself when the pointer given in D is nul (as set by ext2fs).
16229 * sysdeps/mach/hurd/mlockall.c: New file.
16230 * sysdeps/mach/hurd/munlockall.c: New file.
16231
16232 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
16233
16234 * hurd/hurdsig.c: Include <pthread.h>.
16235 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
16236 get the signal thread stack layout.
16237 * hurd/Makefile (headers): Remove threadvar.h.
16238 (inline-headers): Remove threadvar.h.
16239 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
16240 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
16241 __hurd_threadvar_max, __hurd_errno_location.
16242 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
16243 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
16244 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
16245 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
16246 unless TLS is not initialized yet, in which case we do not need a
16247 critical section yet anyway.
16248 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
16249 <machine-sp.h>.
16250 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
16251 declarations.
16252 (__hurd_threadvar_index): Remove enum.
16253 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
16254 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
16255 inlines.
16256 (__hurd_reply_port0): New variable declaration.
16257 (__hurd_local_reply_port): New macro.
16258 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
16259 (interrupted_reply_port_location): Add thread_t parameter. Use it
16260 with THREAD_TCB to access thread-local variables.
16261 (_hurdsig_abort_rpcs): Pass ss->thread to
16262 interrupted_reply_port_location.
16263 (_hurd_internal_post_signal): Likewise.
16264 (_hurdsig_init): Use presence of cthread_fork instead of
16265 __hurd_threadvar_stack_mask to start signal thread by hand.
16266 Remove signal thread threadvar initialization.
16267 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
16268 * hurd/sigunwind.c: Include <hurd/threadvar.h>
16269 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
16270 of threadvar.
16271 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
16272 __libc_lock_self0.
16273 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
16274 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
16275 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
16276 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
16277 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
16278 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
16279 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
16280 define variables.
16281 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
16282 <hurd/threadvar.h>.
16283 [IS_IN(rtld)] (rtld_errno): New variable.
16284 [IS_IN(rtld)] (__errno_location): New weak function.
16285 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
16286 * sysdeps/mach/hurd/errno.c: Remove file.
16287 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
16288 (__fork): Remove THREADVAR_SPACE macro and its use.
16289 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
16290 variable.
16291 (init): Do not initialize threadvar.
16292 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
16293 symbol.
16294 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
16295 __hurd_local_reply_port instead of threadvar.
16296 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
16297 _hurd_sigstate fields.
16298 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
16299 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
16300 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
16301 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
16302 instead of threadvar.
16303 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
16304 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
16305 (use_threadvar, global_reply_port): Remove variables.
16306 (__hurd_reply_port0): New variable.
16307 (__mig_get_reply_port): Use __hurd_local_reply_port and
16308 __hurd_reply_port0 instead of threadvar.
16309 (__mig_dealloc_reply_port): Likewise.
16310 (__mig_init): Do not initialize threadvar.
16311 * sysdeps/mach/hurd/profil.c: Fix comment.
16312 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
16313 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
16314 cthread_keycreate, cthread_getspecific, cthread_setspecific to
16315 __cthread_fork, __cthread_detach, __pthread_getattr_np,
16316 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
16317 __cthread_setspecific.
16318 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
16319 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
16320 __cthread_t instead of cthread_fork, cthread_detach,
16321 pthread_getattr_np, pthread_attr_getstack.
16322 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
16323 __cthread_keycreate.
16324 (cthread_getspecific): Rename to __cthread_getspecific.
16325 (cthread_setspecific): Rename to __cthread_setspecific.
16326 (__libc_getspecific): Use __cthread_getspecific instead of
16327 cthread_getspecific.
16328 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
16329 __cthread_keycreate instead of cthread_keycreate.
16330 (__libc_setspecific): Use __cthread_setspecific instead of
16331 cthread_setspecific.
16332 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
16333 Likewise.
16334 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
16335 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
16336 testing whether it is defined.
16337
16338 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16339
16340 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
16341 Define macro.
16342 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
16343 * sysdeps/mach/i386/thread_state.h
16344 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
16345 i386_THREAD_STATE.
16346 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
16347 i386_THREAD_STATE.
16348 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
16349
16350 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
16351 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
16352
16353 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
16354 macros.
16355 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
16356 descriptor instead of creating a new one.
16357 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
16358
16359 * mach/setup-thread.c: Include <ldsodefs.h>.
16360 (__mach_setup_thread): Call _dl_allocate_tls, pass
16361 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
16362 MACHINE_THREAD_STATE_FLAVOR, before getting
16363 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
16364 MACHINE_THREAD_STATE_FLAVOR with the result.
16365 * hurd/hurdfault.c (_hurdsig_fault_init): Call
16366 MACHINE_THREAD_STATE_FIX_NEW.
16367 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
16368 too. Add original thread parameter.
16369
16370 2018-03-16 Joseph Myers <joseph@codesourcery.com>
16371
16372 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
16373 Remove inline function.
16374
16375 * sysdeps/i386/fpu/libm-test-ulps: Update.
16376 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
16377
16378 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
16379
16380 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
16381 commit.
16382
16383 2018-03-15 Joseph Myers <joseph@codesourcery.com>
16384
16385 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
16386 (__sincos_code): Remove define and undefine.
16387 [__FAST_MATH__] (__sincos): Remove inline function.
16388 [__FAST_MATH__] (__sincosf): Remove inline function.
16389 [__FAST_MATH__] (__sincosl): Remove inline function.
16390 (__atan2l): Remove inline functions.
16391 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
16392 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
16393 function.
16394 (floor): Remove inline function.
16395 (ceil): Likewise.
16396 [__FAST_MATH__] (__ldexp_code): Remove macro.
16397 [__FAST_MATH__] (ldexp): Remove inline function.
16398 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
16399 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
16400 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
16401 [__USE_ISOC99] (__lrint_code): Remove macro.
16402 [__USE_ISOC99] (__llrint_code): Likewise.
16403 [__USE_ISOC99] (lrintf): Remove inline function.
16404 [__USE_ISOC99] (lrint): Likewise.
16405 [__USE_ISOC99] (lrintl): Likewise.
16406 [__USE_ISOC99] (llrint): Likewise.
16407 [__USE_ISOC99] (llrintf): Likewise.
16408 [__USE_ISOC99] (llrintl): Likewise.
16409
16410 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16411
16412 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
16413 (__ieee754_sqrtf): Remove.
16414 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
16415 (__ieee754_sqrtf): Remove.
16416 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
16417 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
16418 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
16419 (__ieee754_sqrtf): Remove.
16420 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
16421 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
16422 (sqrtf): Remove.
16423 (sqrtl): Remove.
16424 (__ieee754_sqrt): Remove.
16425 (__ieee754_sqrtf): Remove.
16426 (__ieee754_sqrtl): Remove.
16427 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
16428 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
16429 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
16430 (__ieee754_sqrtf): Remove.
16431 (__ieee754_sqrtl): Remove.
16432
16433 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16434
16435 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
16436 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
16437 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
16438 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
16439 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
16440 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16441 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16442 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
16443 Likewise.
16444 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
16445 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
16446 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
16447 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
16448 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
16449 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
16450 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
16451 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
16452 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
16453 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
16454 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
16455 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
16456 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
16457 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
16458 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
16459 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16460 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16461 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
16462 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
16463 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
16464 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16465 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16466 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
16467 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
16468 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
16469 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
16470 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16471 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16472 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
16473 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
16474 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
16475 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
16476 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
16477 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
16478 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16479 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16480 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
16481 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
16482 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
16483 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
16484
16485 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16486
16487 * include/math.h (sqrt): Declare with asm redirect.
16488 (sqrtf): Likewise.
16489 (sqrtl): Likewise.
16490 (sqrtf128): Likewise.
16491 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
16492 nonlib and libnldbl with -fmath-errno.
16493 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
16494 * math/w_sqrt_template.c: Likewise.
16495 * math/w_sqrtf_compat.c: Likewise.
16496 * math/w_sqrtl_compat.c: Likewise.
16497 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
16498 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
16499 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
16500 complex.h.
16501
16502 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16503
16504 * benchtests/Makefile: Define _ISOMAC.
16505 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
16506 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
16507 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
16508 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
16509 * benchtests/bench-timing.h: Define attribute_hidden.
16510
16511 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
16512
16513 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
16514 mov + lsr.
16515
16516 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16517
16518 [BZ #22963]
16519 * localedata/locales/cs_CZ (mon): Rename to...
16520 (alt_mon): This.
16521 (mon): Import from CLDR (genitive case).
16522
16523 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16524
16525 [BZ #22937]
16526 * localedata/locales/el_CY (abmon): Rename to...
16527 (ab_alt_mon): This.
16528 (abmon): Import from CLDR (abbreviated genitive case).
16529 * localedata/locales/el_GR (abmon): Rename to...
16530 (ab_alt_mon): This.
16531 (abmon): Import from CLDR (abbreviated genitive case).
16532
16533 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16534
16535 [BZ #22932]
16536 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
16537
16538 2018-03-15 Robert Buj <robert.buj@gmail.com>
16539
16540 [BZ #22848]
16541 * localedata/locales/ca_ES (abmon): Rename to...
16542 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
16543 (mon): Rename to...
16544 (alt_mon): This.
16545 (abmon): Import from CLDR (genitive case, month names preceded by
16546 "de" or "d’").
16547 (mon): Likewise.
16548 (abday): Synchronize with CLDR.
16549 (d_t_fmt): Likewise.
16550 (d_fmt): Likewise.
16551 (am_pm): Likewise.
16552
16553 (LC_TIME): Improve indentation.
16554 (LC_TELEPHONE): Likewise.
16555 (LC_NAME): Likewise.
16556 (LC_ADDRESS): Likewise.
16557
16558 2018-03-14 Joseph Myers <joseph@codesourcery.com>
16559
16560 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
16561 (lrintf): Remove definitions used only with old GCC.
16562 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
16563 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
16564 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
16565 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
16566 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
16567 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
16568 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
16569 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
16570 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
16571 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
16572 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
16573 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
16574 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
16575 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
16576 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
16577 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
16578 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
16579 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
16580 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
16581 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
16582 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
16583 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
16584 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
16585 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
16586 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
16587 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
16588 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
16589 [__FAST_MATH__] (__M_SQRT2): Remove macro.
16590
16591 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
16592
16593 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
16594 instruction to unbreak builds with binutils 2.26 and older.
16595
16596 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
16597
16598 * sysdeps/aarch64/strncmp.S (count): New macro.
16599 (strncmp): Store misaligned length in SRC1 in COUNT.
16600 (mutual_align): Adjust.
16601 (misaligned8): Load dword at a time when it is safe.
16602
16603 2018-03-12 Zack Weinberg <zackw@panix.com>
16604
16605 [BZ #1190]
16606 [BZ #19476]
16607 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
16608 if the _IO_EOF_SEEN bit is already set; update commentary.
16609 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
16610 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
16611
16612 * support/support_openpty.c, support/tty.h: New files.
16613 * support/Makefile (libsupport-routines): Add support_openpty.
16614
16615 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
16616 New test cases.
16617 * libio/Makefile (tests): Add tst-fgetc-after-eof.
16618 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
16619
16620 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
16621
16622 * po/pt_BR.po: Update translations.
16623
16624 2018-03-12 David Michael <fedora.dm0@gmail.com>
16625
16626 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
16627 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
16628 get a port to the startup server.
16629
16630 2018-03-11 Zack Weinberg <zackw@panix.com>
16631
16632 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
16633 before nldbl-compat.h.
16634
16635 2018-03-10 Zack Weinberg <zackw@panix.com>
16636
16637 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
16638 math.h or math_private.h.
16639
16640 * sysdeps/alpha/fpu/s_isnan.c
16641 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
16642 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
16643 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
16644 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
16645 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
16646 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
16647 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
16648 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
16649 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
16650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
16651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
16652 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
16653 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
16654 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
16655 Include math_private.h.
16656
16657 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
16658 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
16659 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
16660 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
16661 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
16662 * sysdeps/powerpc/power7/fpu/s_logb.c:
16663 Include math.h and math_private.h.
16664
16665 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
16666 uses of $at in .set noat / .set at.
16667
16668 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
16669
16670 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
16671 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
16672 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
16673 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
16674 Likewise.
16675
16676 2018-03-09 Florian Weimer <fweimer@redhat.com>
16677
16678 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
16679 in comment.
16680
16681 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
16682
16683 [BZ #22919]
16684 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
16685 Add nop before __startcontext, add explaining comments.
16686
16687 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16688
16689 [BZ #22926]
16690 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
16691 empty for __SPE__.
16692 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
16693 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
16694 Do not build hardware transactional code for __SPE__.
16695 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
16696 (__lll_trylock_elision): Likewise.
16697 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
16698 (__lll_unlock_elision): Likewise.
16699
16700 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
16701 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
16702 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
16703 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
16704 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
16705 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
16706 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
16707 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
16708 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
16709 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
16710 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
16711 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
16712 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
16713 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
16714 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
16715 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
16716 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
16717 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
16718 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
16719 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
16720 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
16721 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16722 (__ASSUME_CLONE_BACKWARDS): Define.
16723 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
16724 __clone2 if __NR_clone2 is defined.
16725 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16726 (__ASSUME_CLONE_BACKWARDS): Likewise.
16727 * sysdeps/unix/sysv/linux/i386/kernel-features.h
16728 (__ASSUME_CLONE_BACKWARDS): Likewise.
16729 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16730 (__ASSUME_CLONE2): Likewise.
16731 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16732 (__ASSUME_CLONE_BACKWARDS3): Likewise.
16733 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
16734 variants and the define architecture can use.
16735 (__ASSUME_CLONE_DEFAULT): Define as default.
16736 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16737 (__ASSUME_CLONE_BACKWARDS): Likewise.
16738 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16739 (__ASSUME_CLONE_BACKWARDS): Likewise.
16740 * sysdeps/unix/sysv/linux/s390/kernel-features.h
16741 (__ASSUME_CLONE_BACKWARDS2): Likewise.
16742
16743 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
16744
16745 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
16746
16747 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
16748 time.
16749
16750 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
16751 (do_test_limit): Likewise.
16752
16753 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
16754 for every implementation.
16755 (do_test): Likewise.
16756
16757 * benchtests/bench-strncmp.c: Convert output to json.
16758
16759 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16760
16761 * io/futimens.c: Add missing start-of-file descriptive comment.
16762 * io/utime.c: Likewise.
16763 * misc/futimesat.c: Likewise.
16764 * misc/utimes.c: Likewise.
16765 * sysdeps/mach/hurd/futimesat.c: Likewise.
16766 * sysdeps/mach/hurd/utimes.c: Likewise.
16767 * sysdeps/posix/utime.c: Likewise.
16768 * sysdeps/posix/utimes.c: Likewise.
16769 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
16770 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
16771 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
16772 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
16773
16774 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16775
16776 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
16777 hurd_futimes.
16778 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
16779 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
16780 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
16781 (__futimens): Move implementation to...
16782 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
16783 utime_tvalue_from_tspec): ... new helper functions.
16784 (hurd_futimens): New function.
16785 * sysdeps/mach/hurd/futimesat.c: New file.
16786 * sysdeps/mach/hurd/utimensat.c: New file.
16787
16788 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
16789
16790 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
16791 UTIME_OMIT): New macros.
16792 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
16793 before reverting to converting time spec to time value and calling
16794 __file_utimes.
16795 * sysdeps/mach/hurd/utime-helper.c: New file.
16796 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
16797 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
16798 reverting to utime_tvalue_from_tval and __file_utimes.
16799 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
16800 (__lutimes): Just call hurd_futimens after lookup.
16801 * sysdeps/mach/hurd/utimes.c: Likewise.
16802
16803 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16804
16805 * bits/sigaction.h: Add include guard.
16806 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
16807 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
16808 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
16809 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
16810 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
16811 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
16812 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
16813 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
16814 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
16815
16816 2018-03-05 Joseph Myers <joseph@codesourcery.com>
16817
16818 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
16819 -Wmaybe-uninitialized for -Os.
16820 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
16821 this disabling.
16822
16823 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16824
16825 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
16826 __INO_T_MATCHES_INO64_T is defined.
16827 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
16828 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
16829 of definition.
16830 * dirent/alphasort64.c: Likewise.
16831 * dirent/scandir.c: Likewise.
16832 * dirent/scandir64-tail.c: Likewise.
16833 * dirent/scandir64.c: Likewise.
16834 * dirent/scandirat.c: Likewise.
16835 * dirent/scandirat64.c: Likewise.
16836 * dirent/versionsort.c: Likewise.
16837 * dirent/versionsort64.c: Likewise.
16838 * include/dirent.h: Likewise.
16839
16840 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
16841 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
16842 for socketpair endpoint.
16843 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
16844 WRITE_BUFFER_SIZE as buffer size for sending socket.
16845 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
16846 issue on system where send is implemented with sendto syscall.
16847 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
16848 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
16849 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
16850 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
16851
16852 [BZ #21269]
16853 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
16854 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
16855 sa_restorer for vDSO case.
16856 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
16857
16858 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
16859
16860 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
16861 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
16862 * hurd/hurd/ioctl.h: Include <mach/port.h>
16863 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
16864 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
16865 <mach/mach_types.h> and <mach/message.h>.
16866 (headers): Move mach/param.h to bits/mach/param.h.
16867 * sysdeps/mach/i386/mach/param.h: Move file to ...
16868 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
16869 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
16870 of <mach/param.h>.
16871 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
16872 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
16873 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
16874 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
16875 trivial, for C++ conformity.
16876 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
16877 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
16878 Process mig output through $(migheadersed).
16879 * hurd/Makefile (migheadersed): Define variable.
16880 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
16881 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
16882 headers.
16883 * hurd/hurd.h: Include <bits/types/sigset_t.h>
16884 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
16885 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
16886 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
16887 <bits/types/sigset_t.h>.
16888 [!defined __USE_GNU]: Do not #error out.
16889 (struct hurd_sigstate): Use _NSIG instead of NSIG.
16890 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
16891 Include <stddef.h> and <bits/types/sigset_t.h>
16892 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
16893 instead of sighandler_t.
16894 * stdlib/errno.h (error_t): Move definition to...
16895 * bits/types/error_t.h: ... new header.
16896 * stdlib/Makefile (headers): Add bits/types/error_t.h.
16897 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
16898 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
16899 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
16900 * hurd/hurd.h: Include <bits/types/error_t.h>
16901 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
16902 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
16903 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
16904 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
16905 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
16906 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
16907 * sysdeps/mach/hurd/futimens.c: New file.
16908
16909 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
16910
16911 [BZ #22918]
16912 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
16913 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
16914 * nscd/gai.c (__nss_hosts_database): Readd definition.
16915 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
16916 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
16917 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
16918
16919 2018-03-02 Joseph Myers <joseph@codesourcery.com>
16920
16921 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
16922 (ifunc_one): Likewise.
16923
16924 2018-03-01 DJ Delorie <dj@delorie.com>
16925
16926 [BZ #22342]
16927 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
16928 key value.
16929
16930 2018-03-01 Maciej W. Rozycki <macro@mips.com>
16931
16932 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
16933 `match_pid' parameter.
16934 (td_ta_thr_iter): Update accordingly.
16935
16936 2018-03-01 Florian Weimer <fweimer@redhat.com>
16937
16938 * nptl/Makefile (install-lib-ldscripts): Remove.
16939 (install): Remove rule.
16940 ($(inst_libdir)/libpthread.so): Likewise.
16941
16942 2018-03-01 Mike FABIAN <mfabian@redhat.com>
16943
16944 [BZ #22896]
16945 * localedata/locales/an_ES: update month and day names,
16946 improve d_fmt, improve postal_fmt, add country_post,
16947 add country_isbn
16948
16949 2018-03-01 Mike FABIAN <mfabian@redhat.com>
16950
16951 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
16952 Ukrainian instead of Bulgarian.
16953
16954 2018-03-01 Florian Weimer <fweimer@redhat.com>
16955
16956 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
16957 reference.
16958
16959 2018-03-01 Florian Weimer <fweimer@redhat.com>
16960
16961 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
16962 * nptl/Makefile (routines): Add pthread_atfork.
16963 (static-only-routines): Set to pthread_atfork.
16964 (libpthread-routines): Remove pthread_atfork.
16965 (libpthread-static-only-routines): Remove.
16966 (install): Update comment.
16967 (libpthread.so): Do not install libpthread_nonshared.a.
16968 (tests): Do not link with libpthread_nonshared.a.
16969 (generated): Remove libpthread_nonshared.a.
16970 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
16971 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
16972 with libpthread_nonshared.a.
16973
16974 2018-02-28 Joseph Myers <joseph@codesourcery.com>
16975
16976 [BZ #22902]
16977 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
16978 (libc_feholdexcept_setroundf128): New macro.
16979 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
16980
16981 [BZ #15105]
16982 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
16983 libc_hidden_def.
16984 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
16985 * include/inttypes.h: New file.
16986
16987 2018-02-27 Joseph Myers <joseph@codesourcery.com>
16988
16989 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
16990 -Os in two more places.
16991
16992 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16993
16994 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
16995 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
16996 be sorted correctly at the moment because of a bug.
16997
16998 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16999
17000 [BZ #22550] - es_ES locale (and other es_* locales): collation should
17001 treat ñ as a primary different character, sync the collation
17002 for Spanish with CLDR.
17003 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
17004 * localedata/Makefile: Add new test files.
17005 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
17006 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
17007 collation order.
17008 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
17009 * localedata/am_ET.UTF-8.in: New test file.
17010 * localedata/az_AZ.UTF-8.in: Likewise.
17011 * localedata/be_BY.UTF-8.in: Likewise.
17012 * localedata/ber_DZ.UTF-8.in: Likewise.
17013 * localedata/ber_MA.UTF-8.in: Likewise.
17014 * localedata/bg_BG.UTF-8.in: Likewise.
17015 * localedata/br_FR.UTF-8.in: Likewise.
17016 * localedata/cmn_TW.UTF-8.in: Likewise.
17017 * localedata/crh_UA.UTF-8.in: Likewise.
17018 * localedata/csb_PL.UTF-8.in: Likewise.
17019 * localedata/cv_RU.UTF-8.in: Likewise.
17020 * localedata/cy_GB.UTF-8.in: Likewise.
17021 * localedata/dz_BT.UTF-8.in: Likewise.
17022 * localedata/eo.UTF-8.in: Likewise.
17023 * localedata/es_ES.UTF-8.in: Likewise.
17024 * localedata/fa_IR.UTF-8.in: Likewise.
17025 * localedata/fi_FI.UTF-8.in: Likewise.
17026 * localedata/fil_PH.UTF-8.in: Likewise.
17027 * localedata/fur_IT.UTF-8.in: Likewise.
17028 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
17029 * localedata/ha_NG.UTF-8.in: Likewise.
17030 * localedata/ig_NG.UTF-8.in: Likewise.
17031 * localedata/ik_CA.UTF-8.in: Likewise.
17032 * localedata/kk_KZ.UTF-8.in: Likewise.
17033 * localedata/ku_TR.UTF-8.in: Likewise.
17034 * localedata/ky_KG.UTF-8.in: Likewise.
17035 * localedata/ln_CD.UTF-8.in: Likewise.
17036 * localedata/mi_NZ.UTF-8.in: Likewise.
17037 * localedata/ml_IN.UTF-8.in: Likewise.
17038 * localedata/mn_MN.UTF-8.in: Likewise.
17039 * localedata/mr_IN.UTF-8.in: Likewise.
17040 * localedata/mt_MT.UTF-8.in: Likewise.
17041 * localedata/nb_NO.UTF-8.in: Likewise.
17042 * localedata/om_KE.UTF-8.in: Likewise.
17043 * localedata/os_RU.UTF-8.in: Likewise.
17044 * localedata/ps_AF.UTF-8.in: Likewise.
17045 * localedata/ro_RO.UTF-8.in: Likewise.
17046 * localedata/ru_RU.UTF-8.in: Likewise.
17047 * localedata/sc_IT.UTF-8.in: Likewise.
17048 * localedata/se_NO.UTF-8.in: Likewise.
17049 * localedata/sq_AL.UTF-8.in: Likewise.
17050 * localedata/sv_SE.UTF-8.in: Likewise.
17051 * localedata/szl_PL.UTF-8.in: Likewise.
17052 * localedata/tg_TJ.UTF-8.in: Likewise.
17053 * localedata/tk_TM.UTF-8.in: Likewise.
17054 * localedata/tt_RU.UTF-8.in: Likewise.
17055 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
17056 * localedata/ug_CN.UTF-8.in: Likewise.
17057 * localedata/uz_UZ.UTF-8.in: Likewise.
17058 * localedata/vi_VN.UTF-8.in: Likewise.
17059 * localedata/yi_US.UTF-8.in: Likewise.
17060 * localedata/yo_NG.UTF-8.in: Likewise.
17061 * localedata/zh_CN.UTF-8.in: Likewise.
17062 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
17063 file and fix bugs in the collation.
17064 * localedata/locales/az_AZ: Likewise.
17065 * localedata/locales/be_BY: Likewise.
17066 * localedata/locales/ber_DZ: Likewise.
17067 * localedata/locales/ber_MA: Likewise.
17068 * localedata/locales/bg_BG: Likewise.
17069 * localedata/locales/br_FR: Likewise.
17070 * localedata/locales/br_FR@euro: Likewise.
17071 * localedata/locales/ca_ES: Likewise.
17072 * localedata/locales/cns11643_stroke: Likewise.
17073 * localedata/locales/crh_UA: Likewise.
17074 * localedata/locales/cs_CZ: Likewise.
17075 * localedata/locales/csb_PL: Likewise.
17076 * localedata/locales/cv_RU: Likewise.
17077 * localedata/locales/cy_GB: Likewise.
17078 * localedata/locales/da_DK: Likewise.
17079 * localedata/locales/dz_BT: Likewise.
17080 * localedata/locales/en_CA: Likewise.
17081 * localedata/locales/eo: Likewise.
17082 * localedata/locales/es_CU: Likewise.
17083 * localedata/locales/es_EC: Likewise.
17084 * localedata/locales/es_ES: Likewise.
17085 * localedata/locales/es_US: Likewise.
17086 * localedata/locales/et_EE: Likewise.
17087 * localedata/locales/fa_IR: Likewise.
17088 * localedata/locales/fi_FI: Likewise.
17089 * localedata/locales/fil_PH: Likewise.
17090 * localedata/locales/fur_IT: Likewise.
17091 * localedata/locales/gez_ER@abegede: Likewise.
17092 * localedata/locales/ha_NG: Likewise.
17093 * localedata/locales/hr_HR: Likewise.
17094 * localedata/locales/hsb_DE: Likewise.
17095 * localedata/locales/hu_HU: Likewise.
17096 * localedata/locales/ig_NG: Likewise.
17097 * localedata/locales/ik_CA: Likewise.
17098 * localedata/locales/is_IS: Likewise.
17099 * localedata/locales/iso14651_t1_pinyin: Likewise.
17100 * localedata/locales/kk_KZ: Likewise.
17101 * localedata/locales/ku_TR: Likewise.
17102 * localedata/locales/ky_KG: Likewise.
17103 * localedata/locales/ln_CD: Likewise.
17104 * localedata/locales/lt_LT: Likewise.
17105 * localedata/locales/lv_LV: Likewise.
17106 * localedata/locales/mi_NZ: Likewise.
17107 * localedata/locales/ml_IN: Likewise.
17108 * localedata/locales/mn_MN: Likewise.
17109 * localedata/locales/mr_IN: Likewise.
17110 * localedata/locales/mt_MT: Likewise.
17111 * localedata/locales/nb_NO: Likewise.
17112 * localedata/locales/om_KE: Likewise.
17113 * localedata/locales/os_RU: Likewise.
17114 * localedata/locales/pl_PL: Likewise.
17115 * localedata/locales/ps_AF: Likewise.
17116 * localedata/locales/ro_RO: Likewise.
17117 * localedata/locales/ru_RU: Likewise.
17118 * localedata/locales/ru_UA: Likewise.
17119 * localedata/locales/sc_IT: Likewise.
17120 * localedata/locales/se_NO: Likewise.
17121 * localedata/locales/si_LK: Likewise.
17122 * localedata/locales/sq_AL: Likewise.
17123 * localedata/locales/sv_FI: Likewise.
17124 * localedata/locales/sv_FI@euro: Likewise.
17125 * localedata/locales/sv_SE: Likewise.
17126 * localedata/locales/szl_PL: Likewise.
17127 * localedata/locales/tg_TJ: Likewise.
17128 * localedata/locales/ti_ER: Likewise.
17129 * localedata/locales/tk_TM: Likewise.
17130 * localedata/locales/tl_PH: Likewise.
17131 * localedata/locales/tr_TR: Likewise.
17132 * localedata/locales/tt_RU: Likewise.
17133 * localedata/locales/tt_RU@iqtelif: Likewise.
17134 * localedata/locales/ug_CN: Likewise.
17135 * localedata/locales/uk_UA: Likewise.
17136 * localedata/locales/uz_UZ: Likewise.
17137 * localedata/locales/uz_UZ@cyrillic: Likewise.
17138 * localedata/locales/vi_VN: Likewise.
17139 * localedata/locales/yi_US: Likewise.
17140 * localedata/locales/yo_NG: Likewise.
17141
17142 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17143
17144 * gen-locales.mk: Make test files which contain @ modifiers in their
17145 name work.
17146 * localedata/gen-locale.sh: Likewise.
17147
17148 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17149
17150 * posix/tst-fnmatch.input: Fix results for range expressions
17151 for non C locales.
17152 * posix/tst-regexloc.c: Do not use a range expression for
17153 de_DE.ISO-8859-1 locale.
17154
17155 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17156
17157 * posix/bug-regex5.c: Fix test case because with the new
17158 iso14651_t1_common file, the da_DK locale now has 6 collating elements
17159 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
17160 file.
17161
17162 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17163
17164 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
17165 downloaded from ISO, the collation order of @-. and space has changed.
17166 Therefore, this test file needed to be adapted.
17167 * localedata/fr_CA.UTF-8.in: Likewise.
17168 * localedata/fr_FR.UTF-8.in: Likewise.
17169 * localedata/uk_UA.UTF-8.in: Likewise.
17170
17171 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17172
17173 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
17174 order of ȥ in the new iso14651_t1_common file.
17175 * localedata/pl_PL.UTF-8.in: Likewise.
17176
17177 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17178
17179 * localedata/locales/iso14651_t1_common: Add sections for various
17180 scripts to the iso14651_t1_common file.
17181
17182 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17183
17184 * localedata/locales/iso14651_t1_common: Use the code point of a
17185 character in the fourth collation level instead of IGNORE for all
17186 entries which have IGNORE on all 4 levels.
17187
17188 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17189
17190 * localedata/locales/iso14651_t1_common: Add some convenient collation
17191 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
17192 rules similar to those in CLDR.
17193
17194 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17195
17196 * localedata/locales/iso14651_t1_common: The new version of this
17197 file downloaded from ISO contained several syntax errors which
17198 are fixed by this patch.
17199
17200 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17201
17202 * localedata/locales/iso14651_t1_common: replace all <U.....>
17203 with <U000.....> because glibc understands only 4 digit or 8 digit
17204
17205 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17206
17207 * localedata/locales/iso14651_t1_common: Necessary changes
17208 to make the file downloaded from ISO usable by glibc.
17209
17210 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17211
17212 [BZ #14095]
17213 * localedata/locales/iso14651_t1_common: Update file to
17214 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
17215
17216 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17217
17218 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
17219 of <nptl/pthreadP.h>
17220 (thread_attr_compare): Move function to...
17221 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
17222 * sysdeps/nptl/timer_routines.h: ... new header.
17223 * sysdeps/mach/hurd/gai_misc.h: New file.
17224
17225 2018-02-26 Joseph Myers <joseph@codesourcery.com>
17226
17227 * string/strcoll_l.c: Include <libc-diag.h>.
17228 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
17229 declarations of seq1 and seq2.
17230
17231 [BZ #15105]
17232 * stdlib/atoi.c (atoi): Use libc_hidden_def.
17233 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
17234
17235 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
17236
17237 [BZ #22433]
17238 [BZ #22807]
17239 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
17240 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
17241 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
17242 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
17243 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
17244 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
17245
17246 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17247
17248 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
17249 macros used in __ptrace_request.
17250
17251 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
17252
17253 [BZ #22792]
17254 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
17255 to $(CC).
17256 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
17257 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
17258 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
17259 <tcb-offsets.h>.
17260
17261 2018-02-23 Joseph Myers <joseph@codesourcery.com>
17262
17263 [BZ #15105]
17264 * ctype/ctype.c (tolower): Use libc_hidden_def.
17265 (toupper): Likewise.
17266 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
17267 [!_ISOMAC] (toupper): Likewise.
17268
17269 2018-02-23 Mike FABIAN <mfabian@redhat.com>
17270
17271 * localedata/Makefile: Remove --quiet argument when
17272 installing locales
17273
17274 2018-02-23 Mike FABIAN <mfabian@redhat.com>
17275
17276 [BZ #17438]
17277 * localedata/locales/pt_BR (LC_TIME): use / instead of -
17278 in d_fmt.
17279 * localedata/locales/pt_PT (LC_TIME): likewise
17280
17281 2018-02-23 Mike FABIAN <mfabian@redhat.com>
17282
17283 [BZ #22646]
17284 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
17285 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
17286 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
17287
17288 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17289
17290 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17291
17292 * nptl/Makefile (routines): Remove unregister-atfork.
17293 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
17294 (fork_handler_alloc): Remove function.
17295 (fork_handlers, fork_handler_init): New variables.
17296 (__fork_lock): Rename to atfork_lock.
17297 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
17298 to use a dynamic array to add/remove atfork handlers.
17299 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
17300 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
17301 Remove declaration.
17302 (fork_handler): Remove next, refcntr, and need_signal member.
17303 (__run_fork_handler_type): New enum.
17304 (__run_fork_handlers): New prototype.
17305 * nptl/register-atfork.c: Remove file.
17306 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
17307
17308 * sysdeps/nptl/nptl-signals.h: Move to ...
17309 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
17310 comments.
17311 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
17312 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
17313 unnecessary check for SIGTIMER.
17314 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
17315 remove unnecessary removal of SIGTIMER.
17316 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
17317 include-signals.h rename.
17318 * nptl/pthreadP.h: Likewise.
17319 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
17320 __is_internal_signal instead of __nptl_is_internal_signal.
17321
17322 2018-02-22 Andrew Waterman <andrew@sifive.com>
17323
17324 [BZ # 22884]
17325 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
17326 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
17327 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
17328 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
17329
17330 2018-02-22 DJ Delorie <dj@delorie.com>
17331
17332 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
17333
17334 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
17335
17336 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
17337 do_misaligned, not misaligned8.
17338
17339 2018-02-22 Steve Ellcey <sellcey@cavium.com>
17340
17341 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
17342 Add memcpy_thunderx2.
17343 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
17344 Increment to 4.
17345 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
17346 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
17347 and IS_THUNDERX2PA checks.
17348 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
17349 Use macro to set name appropriately.
17350 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
17351 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
17352 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
17353 New macro.
17354 (IS_THUNDERX2): New macro.
17355
17356 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
17357
17358 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17359
17360 2018-02-21 Zack Weinberg <zackw@panix.com>
17361
17362 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
17363 Define here, unconditionally.
17364 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
17365 * libio/libioP.h: Remove #if 0 blocks.
17366 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
17367 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
17368 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
17369
17370 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
17371 Assume weak_alias is always defined.
17372
17373 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
17374 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
17375 Remove #if 0 and #ifdef TODO blocks.
17376 Assume text_set_element is always defined.
17377
17378 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
17379 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
17380 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
17381
17382 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
17383 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
17384 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
17385 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
17386 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
17387 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
17388 Reformat bit flags for _flags field to make occupancy clearer.
17389 Update commentary.
17390 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
17391 Keep definitions consistent with those in libio/libio.h.
17392
17393 * libio/libio.h (_IO_file_flags): Remove macro.
17394 All uses changed to _flags.
17395
17396 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
17397 (__HAVE_COLUMN, _IO_BE): Don't define.
17398 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
17399 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
17400 * libio/libioP.h (EOF): Don't define.
17401 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
17402 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
17403 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
17404 testing _IO_UNIFIED_JUMPTABLES.
17405
17406 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
17407 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
17408 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
17409 (_IO_size_t): Delete; all uses changed to size_t.
17410 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
17411 (_IO_off_t): Delete; all uses changed to off_t.
17412 (_IO_off64_t): Delete; all uses changed to off64_t.
17413 (_IO_pid_t): Delete; all uses changed to pid_t.
17414 (_IO_uid_t): Delete; all uses changed to uid_t.
17415 (_IO_wint_t): Delete; all uses changed to wint_t.
17416 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
17417 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
17418 (_IO_cookie_io_functions_t): Delete; all uses changed to
17419 cookie_io_functions_t.
17420 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
17421 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
17422 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
17423 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
17424
17425 * libio/iofopncook.c: Remove unnecessary forward declarations.
17426 * libio/iolibio.h: Correct outdated commentary.
17427 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
17428 * stdio-common/fxprintf.c (__fxprintf_nocancel):
17429 Remove unnecessary casts.
17430 * stdio-common/getline.c: Use _IO_getdelim directly.
17431 Don't redefine ssize_t.
17432 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
17433 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
17434 Remove outdated comments.
17435 * stdio-common/vfscanf.c: Don't redefine va_list.
17436
17437 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
17438 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
17439 Remove preprocessor conditionals on _LIBC and __USE_GNU,
17440 which are always true, and __cplusplus, which is always false.
17441
17442 2018-02-21 Joseph Myers <joseph@codesourcery.com>
17443
17444 [BZ #15105]
17445 [BZ #19463]
17446 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
17447 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
17448 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
17449 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
17450 libc_hidden_proto.
17451 [!_ISOMAC] (putc_unlocked): Likewise.
17452 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
17453 define inline if [__USE_EXTERN_INLINES].
17454 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
17455 putc_unlocked.
17456
17457 [BZ #15105]
17458 [BZ #19463]
17459 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
17460 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
17461 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
17462 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
17463 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
17464 getc_unlocked.
17465 * time/tzfile.c (__tzfile_read): Likewise.
17466
17467 2018-02-21 Mike FABIAN <mfabian@redhat.com>
17468
17469 [BZ #22517]
17470 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
17471
17472 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
17473
17474 * io/fcntl.h: Fix a typo in a comment.
17475
17476 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
17477
17478 [BZ #22862]
17479 * include/features.h: Add _ISOC11_SOURCE to test for whether to
17480 define _DEFAULT_SOURCE.
17481 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
17482
17483 2018-02-21 Florian Weimer <fweimer@redhat.com>
17484
17485 [BZ #20890]
17486 * elf/cache.c (save_cache): Call fsync on temporary file before
17487 renaming it.
17488 (save_aux_cache): Call fdatasync on temporary file before renaming
17489 it.
17490
17491 2018-02-21 Florian Weimer <fweimer@redhat.com>
17492
17493 [BZ #22787]
17494 * include/caller.h: Remove file.
17495 * elf/dl-caller.c: Likewise.
17496 * elf/Makefile (dl-routines): Remove dl-caller.
17497 (shared-only-routines): Do not add dl-caller.
17498 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
17499 __check_caller.
17500 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
17501 member.
17502 (dl_open_worker): Do not call __check_caller.
17503 (_dl_open): Do not set caller_dl_open member.
17504 * elf/rtld.c (_rtld_global_ro): Do not initialize
17505 _dl_check_caller member.
17506 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
17507 _dl_check_caller member.
17508 (_dl_check_caller): Remove declaration.
17509 * sysdeps/unix/sysv/linux/dl-execstack.c
17510 (_dl_make_stack_executable): Do not call __check_caller.
17511
17512 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
17513
17514 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
17515 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
17516
17517 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
17518
17519 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
17520 description.
17521
17522 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
17523
17524 [BZ #16335]
17525 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
17526 of 199606L, 200112L, and 200809L.
17527 (_XOPEN_SOURCE): Document special values of 600 and 700.
17528 (_ISOC11_SOURCE): Document macro.
17529 (_ATFILE_SOURCE): Likewise.
17530 (_FORTIFY_SOURCE): Likewise.
17531
17532 2018-02-19 Joseph Myers <joseph@codesourcery.com>
17533
17534 [BZ #15105]
17535 [BZ #19463]
17536 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
17537 and define as weak alias of __ferror_unlocked. Use
17538 libc_hidden_weak.
17539 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
17540 libc_hidden_proto.
17541 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
17542 function if [__USE_EXTERN_INLINES].
17543 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
17544 ferror_unlocked.
17545
17546 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
17547
17548 [BZ #6889]
17549 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
17550
17551 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
17552
17553 [BZ #22818]
17554 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
17555 the GLIBC_2.1 version.
17556
17557 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
17558
17559 [BZ #21508]
17560 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
17561 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
17562 intl/tst-gettext-de.po from po/de.po by removing the
17563 POT-Creation-Date line.
17564 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
17565 ../po/de.po.
17566 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
17567 ../po/de.po.
17568
17569 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
17570
17571 * mach/Makefile (headers): Add mach/param.h.
17572 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
17573 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
17574 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
17575 (__ptsname_r): Move implementation to...
17576 (__ptsname_internal): ... new function. Add filling the STP
17577 structure.
17578
17579 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
17580
17581 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
17582 idouble to 1 ULP.
17583
17584 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
17585
17586 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
17587 syntax.
17588
17589 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
17590
17591 * nptl/Makefile (tst-mutex8-ENV): Delete.
17592 * nptl/tst-mutex8.c (check_type):
17593 Add runtime check if mutex will be elided.
17594
17595 2018-02-15 Joseph Myers <joseph@codesourcery.com>
17596
17597 [BZ #20980]
17598 [BZ #21234]
17599 * manual/install.texi (Configuring and compiling): Describe
17600 passing CC and CFLAGS on configure command line, not as
17601 environment variables. Use @code markup on those variables.
17602 Specify what options go in CC and what go in CFLAGS. Note the
17603 requirement to compile with optimization.
17604 * INSTALL: Regenerated.
17605
17606 [BZ #18124]
17607 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
17608 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
17609 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
17610 __sigprocmask instead of sigprocmask.
17611 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
17612 Likewise.
17613 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
17614 __sigsetjmp and sigprocmask.
17615
17616 [BZ #15105]
17617 * include/argz.h (argz_next): Use libc_hidden_proto.
17618 (__argz_next): Likewise.
17619 * string-argz-next.c (__argz_next): Use libc_hidden_def.
17620 (argz_next): Use libc_hidden_weak.
17621
17622 [BZ #15105]
17623 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
17624 libc_hidden_proto.
17625 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
17626 libc_hidden_def.
17627
17628 [BZ #15105]
17629 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
17630 libc_hidden_proto.
17631 * libio/iofputs.c (fputs): Use libc_hidden_weak.
17632
17633 [BZ #15105]
17634 [BZ #19463]
17635 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
17636 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
17637 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
17638 (__feof_unlocked): New declaration, and inline function if
17639 [__USE_EXTERN_INLINES].
17640 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
17641 instead of feof_unlocked.
17642 * intl/localealias.c [_LIBC] (FEOF): Likewise.
17643 * nss/nsswitch.c (nss_parse_file): Likewise.
17644 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
17645 Likewise.
17646 * time/getdate.c (__getdate_r): Likewise.
17647 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
17648 Define as macro to call __feof_unlocked.
17649
17650 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
17651
17652 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
17653
17654 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
17655
17656 * math/Makefile: Remove mpexp.c and mplog.c
17657 * sysdeps/i386/fpu/mpexp.c: Delete file.
17658 * sysdeps/i386/fpu/mplog.c: Likewise.
17659 * sysdeps/ia64/fpu/mpexp.c: Likewise.
17660 * sysdeps/ia64/fpu/mplog.c: Likewise.
17661 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
17662 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
17663 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
17664 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
17665 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
17666 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
17667 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
17668 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
17669 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
17670 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17671 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
17672 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
17673 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17674 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
17675 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
17676 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17677
17678 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
17679
17680 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17681
17682 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17683
17684 * sysdeps/sh/libm-test-ulps: Update.
17685
17686 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17687
17688 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
17689 idouble to 1 ULP.
17690
17691 2018-02-12 Zack Weinberg <zackw@panix.com>
17692
17693 [BZ #19239]
17694 * posix/sys/types.h: Don't include sys/sysmacros.h.
17695 * misc/sys/sysmacros.h: Remove the conditional deprecation
17696 warnings for the macros defined by this header.
17697
17698 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17699
17700 * manual/probes.texi: Remove slowexp probes.
17701 * math/Makefile: Remove slowexp.
17702 * sysdeps/generic/math_private.h (__slowexp): Remove.
17703 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
17704 document error bounds.
17705 * sysdeps/i386/fpu/slowexp.c: Remove.
17706 * sysdeps/ia64/fpu/slowexp.c: Remove.
17707 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
17708 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
17709 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
17710 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
17711 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
17712 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
17713 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
17714 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
17715 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
17716 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
17717 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
17718
17719 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
17720
17721 [BZ #13932]
17722 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
17723 * benchtests/pow-inputs: Update comment for slow path cases.
17724 * manual/probes.texi (slowpow_p10): Delete removed probe.
17725 (slowpow_p10): Likewise.
17726 * math/Makefile: Remove halfulp.c and slowpow.c.
17727 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
17728 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
17729 (__halfulp): Remove.
17730 (__slowpow): Remove.
17731 * sysdeps/i386/fpu/halfulp.c: Delete file.
17732 * sysdeps/i386/fpu/slowpow.c: Likewise.
17733 * sysdeps/ia64/fpu/halfulp.c: Likewise.
17734 * sysdeps/ia64/fpu/slowpow.c: Likewise.
17735 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
17736 improve comments and add error analysis.
17737 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
17738 (power1): Remove function:
17739 (log1): Remove error argument, add error analysis.
17740 (my_log2): Remove function.
17741 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
17742 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17743 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
17744 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
17745 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
17746 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
17747 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
17748 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
17749 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
17750 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
17751 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
17752 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17753 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
17754 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17755
17756 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
17757
17758 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
17759 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
17760
17761 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
17762
17763 [BZ #22433]
17764 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
17765 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
17766 and PTRACE_SETHBPREGS.
17767
17768 2018-02-10 Zack Weinberg <zackw@panix.com>
17769
17770 [BZ #22830]
17771 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
17772 correctly.
17773 * malloc/tst-malloc-stats-cancellation.c: New test case.
17774 * malloc/Makefile: Add new test case.
17775
17776 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
17777
17778 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
17779
17780 2018-02-10 Joseph Myers <joseph@codesourcery.com>
17781
17782 * math/Makefile (libm-narrow-fns): Add add.
17783 (libm-test-funcs-narrow): Likewise.
17784 * math/Versions (GLIBC_2.28): Add narrowing add functions.
17785 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
17786 * math/gen-auto-libm-tests.c (test_functions): Add add.
17787 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
17788 (NARROW_ADD_ROUND_TO_ODD): Likewise.
17789 (NARROW_ADD_TRIVIAL): Likewise.
17790 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
17791 macro.
17792 (__daddl): Likewise.
17793 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
17794 dadd.
17795 (CFLAGS-nldbl-dadd.c): New variable.
17796 (CFLAGS-nldbl-fadd.c): Likewise.
17797 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17798 __nldbl_daddl.
17799 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
17800 prototype.
17801 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
17802 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
17803 * math/auto-libm-test-in: Add tests of add.
17804 * math/auto-libm-test-out-narrow-add: New generated file.
17805 * math/libm-test-narrow-add.inc: New file.
17806 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
17807 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
17808 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
17809 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
17810 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
17811 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
17812 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
17813 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
17814 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
17815 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
17816 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
17817 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
17818 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
17819 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
17820 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
17821 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
17822 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
17823 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
17824 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17825 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17826 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17827 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17828 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17829 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17830 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17831 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17832 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17833 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17834 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17835 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17836 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17837 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17842 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17843 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17844 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17845 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17846 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17847 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17848 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
17849 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
17850 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17851 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17852
17853 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
17854 (f128-pairs): New variable.
17855 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
17856 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
17857 to CFLAGS.
17858 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
17859 Also make tests add $(f128-loader-link) to gnulib-tests.
17860
17861 2018-02-09 DJ Delorie <dj@redhat.com>
17862
17863 [BZ #22827]
17864 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
17865 64-bit ELF type for 64-bit ELF objects.
17866
17867 2018-02-09 Joseph Myers <joseph@codesourcery.com>
17868
17869 * math/libm-test-driver.c (snan_tests_arg): New variable.
17870 * math/libm-test-support.h (snan_tests_arg): New declaration.
17871 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
17872
17873 * math/Makefile (test-type-pairs): New variable.
17874 (test-type-pairs-f64xf128-yes): Likewise.
17875 (tests): Add test-narrow-macros.
17876 (libm-test-funcs-narrow): New variable.
17877 (libm-test-c-narrow): Likewise.
17878 (generated): Add $(libm-test-c-narrow).
17879 (libm-tests-base-narrow): New variable.
17880 (libm-tests-narrow): Likewise.
17881 (libm-tests): Add $(libm-tests-narrow).
17882 (libm-tests-for-type): Handle $(libm-tests-narrow).
17883 (libm-test-c-narrow-obj): New variable.
17884 ($(libm-test-c-narrow-obj)): New rule.
17885 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
17886 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
17887 $(o-iterator) to set dependencies and CFLAGS.
17888 * math/gen-auto-libm-tests.c: Document use for narrowing
17889 functions.
17890 (output_for_one_input_case): Take argument NARROW.
17891 (generate_output): Likewise. Update call to
17892 output_for_one_input_case.
17893 (main): Take --narrow option. Update call to generate_output.
17894 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
17895 (apply_lit): Update call to _apply_lit.
17896 (apply_arglit): New function.
17897 (parse_args): Handle "a" arguments.
17898 (parse_auto_input): Handle format names using ":".
17899 * math/README.libm-test: Document "a" parameter type.
17900 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
17901 (ARG_TYPE_TRUE_MIN): Likewise.
17902 (ARG_TYPE_MAX): Likwise.
17903 (ARG_MIN_EXP): Likewise.
17904 (ARG_MAX_EXP): Likewise.
17905 (ARG_MANT_DIG): Likewise.
17906 (TEST_COND_arg_ibm128): Likewise.
17907 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
17908 (TEST_COND_arg_fmt): New macro.
17909 (init_max_error): Update prototype.
17910 * math/libm-test-support.c (test_ibm128): New variable.
17911 (init_max_error): Take argument testing_ibm128 and set test_ibm128
17912 instead of using [TEST_COND_ibm128] conditional.
17913 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
17914 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
17915 [TEST_NARROW] (TEST_MSG): New definition.
17916 (arg_plus_zero): New macro.
17917 (arg_minus_zero): Likewise.
17918 (arg_plus_infty): Likewise.
17919 (arg_minus_infty): Likewise.
17920 (arg_qnan_value_pl): Likewise.
17921 (arg_qnan_value): Likewise.
17922 (arg_snan_value_pl): Likewise.
17923 (arg_snan_value): Likewise.
17924 (arg_max_value): Likewise.
17925 (arg_min_value): Likewise.
17926 (arg_min_subnorm_value): Likewise.
17927 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
17928 (RUN_TEST_LOOP_aa_f): New macro.
17929 (TEST_SUFF): New macro.
17930 (TEST_SUFF_STR): Likewise.
17931 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
17932 (TEST_COND_any_ibm128): New macro.
17933 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
17934 this_func. Update call to init_max_error.
17935 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
17936 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
17937 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
17938 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
17939 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
17940 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
17941 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
17942 * math/test-math-scalar.h (TEST_NARROW): Likewise.
17943 * math/test-math-vector.h (TEST_NARROW): Likewise.
17944 * math/test-arg-double.h: New file.
17945 * math/test-arg-float128.h: Likewise.
17946 * math/test-arg-float32x.h: Likewise.
17947 * math/test-arg-float64.h: Likewise.
17948 * math/test-arg-float64x.h: Likewise.
17949 * math/test-arg-ldouble.h: Likewise.
17950 * math/test-math-narrow.h: Likewise.
17951 * math/test-narrow-macros.c: Likewise.
17952 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
17953 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
17954 test-narrow-macros-ldbl-64.
17955 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
17956
17957 * math/bits/mathcalls-narrow.h: New file.
17958 * include/bits/mathcalls-narrow.h: Likewise.
17959 * math/math-narrow.h: Likewise.
17960 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
17961 (__MATHCALL_NARROW_ARGS_2): Likewise.
17962 (__MATHCALL_NARROW_ARGS_3): Likewise.
17963 (__MATHCALL_NARROW_NORMAL): Likewise.
17964 (__MATHCALL_NARROW_REDIR): Likewise.
17965 (__MATHCALL_NARROW): Likewise.
17966 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
17967 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
17968 defined.
17969 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
17970 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
17971 (libm-narrow-fns): New variable.
17972 (libm-narrow-types-basic): Likewise.
17973 (libm-narrow-types-ldouble-yes): Likewise.
17974 (libm-narrow-types-float128-yes): Likewise.
17975 (libm-narrow-types-float128-alias-yes): Likewise.
17976 (libm-narrow-types): Likewise.
17977 (libm-routines): Add narrowing functions.
17978 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
17979 (libc_feholdexcept_setroundf128): New macro.
17980 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
17981 * sysdeps/ieee754/float128/float128_private.h: Include
17982 <math/math-narrow.h>.
17983 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
17984 Undefine and redefine.
17985 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
17986 (libm_alias_float_ldouble): Undefine and redefine.
17987 (libm_alias_double_ldouble): Likewise.
17988
17989 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
17990
17991 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
17992
17993 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
17994 FPCR/FPSR.
17995
17996 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
17997
17998 * manual/creature.texi: Convert references to gcc.info to gcc.
17999 * manual/stdio.texi: Likewise.
18000 * manual/string.texi: Likewise.
18001
18002 2018-02-07 Joseph Myers <joseph@codesourcery.com>
18003
18004 [BZ #17979]
18005 * posix/bits/types.h (__int_least8_t): New typedef.
18006 (__uint_least8_t): Likewise.
18007 (__int_least16_t): Likewise.
18008 (__uint_least16_t): Likewise.
18009 (__int_least32_t): Likewise.
18010 (__uint_least32_t): Likewise.
18011 (__int_least64_t): Likewise.
18012 (__uint_least64_t): Likewise.
18013 * sysdeps/generic/stdint.h (int_least8_t): Define using
18014 __int_least8_t.
18015 (int_least16_t): Define using __int_least16_t.
18016 (int_least32_t): Define using __int_least32_t.
18017 (int_least64_t): Define using __int_least64_t.
18018 (uint_least8_t): Define using __uint_least8_t.
18019 (uint_least16_t): Define using __uint_least16_t.
18020 (uint_least32_t): Define using __uint_least32_t.
18021 (uint_least64_t): Define using __uint_least64_t.
18022 * wcsmbs/uchar.h: Include <bits/types.h>.
18023 (char16_t): Define using __uint_least16_t conditional only on
18024 [!__USE_ISOCXX11].
18025 (char32_t): Define using __uint_least32_t conditional only on
18026 [!__USE_ISOCXX11].
18027 * wcsmbs/test-char-types.c: New file.
18028 * wcsmbs/Makefile (tests): Add test-char-types.
18029
18030 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
18031 version to 4.0.1.
18032
18033 2018-02-07 Zack Weinberg <zackw@panix.com>
18034
18035 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
18036 Delete all contents except for definitions of _G_HAVE_MMAP and
18037 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
18038 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
18039 sysdeps/unix/sysv/linux/_G_config.h. Make same content
18040 change as above.
18041
18042 * libio/libio.h: Don't include bits/_G_config.h here.
18043 Include stddef.h with __need_wchar_t defined. Include
18044 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
18045 Define _IO_iconv_t here, directly.
18046 Don't define _IO_HAVE_ST_BLKSIZE.
18047 * libio/libioP.h: Include _G_config.h here. Move include of
18048 shlib-compat.h up with rest of includes. Simplify conditionals
18049 controlling definition of _IO_JUMPS_OFFSET.
18050
18051 * csu/init.c: Remove always-true #if around entire file.
18052 Don't include stdio.h. Set _IO_stdin_used to hardwired
18053 constant 0x20001, and update commentary.
18054 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
18055 Replace all uses of _G_va_list with __gnuc_va_list.
18056 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
18057 instead of #if _IO_HAVE_ST_BLKSIZE.
18058 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
18059 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
18060 not #ifdef.
18061
18062 * libio/bits/libio.h: Move back to libio/libio.h and adjust
18063 multiple-include guard to match.
18064 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
18065 into this file.
18066 Remove preprocessor conditionals that are always true and/or
18067 redundant to other preprocessor conditionals in the same nest.
18068 Include shlib-compat.h unconditionally.
18069 Error out if _LIBC is not defined, or if _ISOMAC is defined,
18070 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
18071 defined after including stdio.h.
18072 Use __BEGIN_DECLS/__END_DECLS.
18073
18074 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
18075 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
18076 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
18077
18078 2018-02-07 Zack Weinberg <zackw@panix.com>
18079
18080 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
18081 New single-type headers split from _G_config.h.
18082 * libio/bits/types/cookie_io_functions_t.h
18083 * libio/bits/types/struct_FILE.h
18084 New single-type headers split from libio.h.
18085
18086 * libio/Makefile: Install the above new headers. Don't install
18087 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
18088 bits/libio-ldbl.h.
18089 * libio/_G_config.h, libio/libio.h: Delete file.
18090
18091 * libio/bits/libio.h: Remove improper-inclusion guard.
18092 Include stdio.h and don't repeat anything that it does.
18093 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
18094 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
18095 __io_read_fn as cookie_read_function_t,
18096 __io_write_fn as cookie_write_function_t,
18097 __io_seek_fn as cookie_seek_function_t,
18098 __io_close_fn as cookie_close_function_t,
18099 and _IO_cookie_io_functions_t as cookie_io_functions_t.
18100 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
18101 here, in the "compatibility defines" section. Remove an #if 0
18102 block. Use the "body" macros from bits/types/struct_FILE.h to
18103 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
18104 and _IO_ferror_unlocked.
18105 Move prototypes of __uflow and __overflow...
18106
18107 * libio/stdio.h: ...here. Don't include bits/libio.h.
18108 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
18109 directly from stdarg.h. Include bits/types/__fpos_t.h,
18110 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
18111 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
18112 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
18113 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
18114 cookie_io_functions_t, not _IO_cookie_io_functions_t;
18115 __ssize_t, not _IO_ssize_t. Unconditionally define
18116 BUFSIZ as 8192 and EOF as (-1).
18117
18118 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
18119 macros from bits/types/struct_FILE.h instead of _IO_* macros
18120 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
18121 instead of _IO_ssize_t.
18122 * libio/bits/stdio2.h: Similarly.
18123
18124 * libio/iolibio.h: Add multiple-include guard.
18125 Include bits/libio.h after stdio.h.
18126 * libio/libioP.h: Add multiple-include guard.
18127 Include stdio.h and bits/libio.h before iolibio.h.
18128
18129 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
18130 * include/bits/types/cookie_io_functions_t.h
18131 * include/bits/types/struct_FILE.h: New wrappers.
18132
18133 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
18134 Get definitions of _G_fpos_t and _G_fpos64_t from
18135 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
18136 respectively. Remove improper-inclusion guards.
18137
18138 * conform/data/stdio.h-data: Update expectations of va_list.
18139 * scripts/check-installed-headers.sh: Remove special case for
18140 libio.h and _G_config.h.
18141
18142 2018-02-07 Joseph Myers <joseph@codesourcery.com>
18143
18144 [BZ #15105]
18145 [BZ #19463]
18146 * include/sys/sysmacros.h [!_ISOMAC]
18147 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
18148 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
18149 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
18150 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
18151 libc_hidden_proto.
18152 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
18153 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
18154 Likewise.
18155 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
18156 Undefine and redefine to add use __gnu_dev_ prefix.
18157 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
18158 Likewise.
18159 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
18160 and define as hidden inline function.
18161 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
18162 Likewise.
18163 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
18164 Likewise.
18165 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
18166 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
18167 (gnu_dev_minor): Likewise.
18168 (gnu_dev_makedev): Likewise.
18169 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
18170 makedev.
18171 * posix/wordexp.c (exec_comm_child): Likewise.
18172 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
18173 instead of minor and __gnu_dev_major instead of major.
18174 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
18175 __gnu_dev_major instead of major.
18176 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
18177 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
18178 instead of gnu_dev_minor.
18179 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
18180 (SLAVE_P): Likewise.
18181 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
18182 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
18183 instead of major.
18184
18185 [BZ #21313]
18186 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
18187 in another place.
18188 * locale/weightwc.h (findidx): Likewise.
18189
18190 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
18191
18192 * manual/probes.texi (slowlog): Delete documentation of removed probe.
18193 (slowlog_inexact): Likewise
18194 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
18195 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
18196
18197 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
18198
18199 [BZ #22797]
18200 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
18201 missing second underscore to parameter name.
18202
18203 2018-02-06 Joseph Myers <joseph@codesourcery.com>
18204
18205 [BZ #14508]
18206 [BZ #15512]
18207 [BZ #17082]
18208 [BZ #20530]
18209 * bits/byteswap.h: Update file comment. Do not include
18210 <bits/byteswap-16.h>.
18211 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
18212 constant.
18213 (__bswap_16): Define as inline function.
18214 (__bswap_constant_32): Reformat definition.
18215 (__bswap_32): Always define as inline function, not macro, using
18216 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
18217 otherwise __bswap_constant_32.
18218 (__bswap_constant_64): Reformat definition. Do not use
18219 __extension__ here.
18220 (__bswap_64): Always define as inline function, not macro. Use
18221 __extension__ on function definition. Use __builtin_bswap64 if
18222 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
18223 * string/test-endian-file-scope.c: New file.
18224 * string/test-endian-sign-conversion.c: Likewise.
18225 * string/Makefile (headers): Remove bits/byteswap-16.h.
18226 (tests): Add test-endian-file-scope and
18227 test-endian-sign-conversion.
18228 (CFLAGS-test-endian-sign-conversion.c): New variable.
18229 * bits/byteswap-16.h: Remove file.
18230 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
18231 * sysdeps/ia64/bits/byteswap.h: Likewise.
18232 * sysdeps/m68k/bits/byteswap.h: Likewise.
18233 * sysdeps/s390/bits/byteswap-16.h: Likewise.
18234 * sysdeps/s390/bits/byteswap.h: Likewise.
18235 * sysdeps/tile/bits/byteswap.h: Likewise.
18236 * sysdeps/x86/bits/byteswap-16.h: Likewise.
18237 * sysdeps/x86/bits/byteswap.h: Likewise.
18238
18239 [BZ #17721]
18240 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
18241 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
18242 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
18243 199901L] (__restrict): Define to restrict.
18244
18245 [BZ #19667]
18246 * string/testcopy.c: Include <support/support.h>. Do not include
18247 <malloc.h>. Use <support/test-driver.c>.
18248 (main): Rename to do_test. Make static. Use xmalloc instead of
18249 malloc.
18250
18251 [BZ #13575]
18252 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
18253 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
18254 (SSIZE_MAX): Define to INT_MAX.
18255 * posix/test-ssize-max.c: New file.
18256 * posix/Makefile (tests): Add test-ssize-max.
18257
18258 [BZ #19668]
18259 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
18260 <support/support.h>. Do not include <malloc.h>.
18261 (query_auxv): Use xmalloc instead of malloc.
18262
18263 [BZ #14553]
18264 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
18265 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
18266 instead of loff_t.
18267
18268 2018-02-06 Florian Weimer <fweimer@redhat.com>
18269
18270 [BZ #18023]
18271 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18272 Use scratch_buffer instead of extend_alloca.
18273
18274 2018-02-06 Zack Weinberg <zackw@panix.com>
18275
18276 * libio/stdio.h: Don't define getc or putc as macros.
18277 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
18278 not _IO_getc and _IO_putc.
18279
18280 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
18281 * stdio-common/tstgetln.c: Don't redefine ssize_t.
18282
18283 2018-02-06 Joseph Myers <joseph@codesourcery.com>
18284
18285 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
18286 (TCP_FASTOPEN_NO_COOKIE): Likewise.
18287
18288 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
18289
18290 [BZ #14890]
18291 * elf/elf.h (NT_PRFPREG): New macro.
18292 (NT_S390_VXRS_LOW): Likewise.
18293 (NT_S390_VXRS_HIGH): Likewise.
18294 (NT_S390_GS_CB): Likewise.
18295 (NT_S390_GS_BC): Likewise.
18296 (NT_S390_RI_CB): Likewise.
18297
18298 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
18299 (MAP_SYNC): New macro.
18300 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
18301 Likewise.
18302 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
18303 (MAP_SYNC): Likewise.
18304 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
18305 (MAP_SYNC): Likewise.
18306 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
18307 (MAP_SYNC): Likewise.
18308 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
18309 (MAP_SYNC): Likewise.
18310 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
18311 (MAP_SYNC): Likewise.
18312 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
18313 (MAP_SYNC): Likewise.
18314 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
18315 Likewise.
18316 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
18317 Likewise.
18318
18319 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
18320 (MAP_SHARED_VALIDATE): New macro.
18321 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
18322 (MAP_SHARED_VALIDATE): Likewise.
18323
18324 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18325
18326 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
18327 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
18328 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
18329
18330 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18331
18332 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
18333 (DT_NUM): Updated to 35.
18334
18335 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18336
18337 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
18338 __builtin_expect with __glibc_likely and __glibc_unlikely.
18339 (elf_machine_rela): Likewise.
18340 (elf_machine_lazy_rel): Likewise.
18341
18342 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18343
18344 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
18345 __builtin_expect with __glibc_likely and __glibc_unlikely.
18346 (elf_machine_lazy_rel): Likewise.
18347
18348 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18349
18350 [BZ #22638]
18351 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
18352 SHARED.
18353 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
18354
18355 2018-02-05 Andreas Schwab <schwab@suse.de>
18356
18357 [BZ #22761]
18358 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
18359 string.
18360
18361 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18362
18363 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
18364 not check against PTHREAD_STACK_MIN.
18365
18366 2018-02-02 Sean McKean <smckean83@gmail.com>
18367
18368 [BZ #22735]
18369 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
18370
18371 2018-02-02 Florian Weimer <fweimer@redhat.com>
18372
18373 [BZ #22753]
18374 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
18375 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
18376 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
18377 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
18378 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
18379 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
18380 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
18381 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
18382 * manual/llio.texi (Scatter-Gather): Mention offset -1.
18383 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
18384 * misc/tst-preadvwritev2.c (do_test): Call it.
18385 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
18386
18387 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
18388
18389 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
18390
18391 * benchtests/bench-memcmp.c: Print json instead of plain text.
18392
18393 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
18394 every test run.
18395
18396 2018-02-01 Joseph Myers <joseph@codesourcery.com>
18397
18398 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
18399 version to 4.15.
18400 (s390_sthyi): New syscall.
18401
18402 * sysdeps/generic/ldbl-classify-compat.h: New file.
18403 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
18404 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
18405 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
18406 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
18407 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
18408 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
18409 * sysdeps/ieee754/dbl-64/s_finite.c: Include
18410 <ldbl-classify-compat.h>.
18411 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18412 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
18413 <ldbl-classify-compat.h>.
18414 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18415 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
18416 <ldbl-classify-compat.h>.
18417 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18418 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
18419 <ldbl-classify-compat.h>.
18420 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18421 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
18422 <ldbl-classify-compat.h>.
18423 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18424 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
18425 <ldbl-classify-compat.h>.
18426 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18427 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
18428 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
18429 * sysdeps/m68k/coldfire/math_private.h: Remove file.
18430 * sysdeps/microblaze/math_private.h: Likewise.
18431 * sysdeps/nios2/math_private.h: Likewise.
18432 * sysdeps/sh/math_private.h: Likewise.
18433
18434 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
18435 * sysdeps/m68k/coldfire/math_private.h: ... here.
18436 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
18437 * sysdeps/tile/math_private.h: Likewise.
18438 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
18439 Remove macro.
18440 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
18441 Likewise.
18442
18443 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
18444 Remove macro.
18445 (libc_fetestexcept): Likewise.
18446 (libc_feupdateenv_test): Likewise.
18447 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
18448 (libc_fetestexcept): Likewise.
18449 (libc_feupdateenv_test): Likewise.
18450 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
18451 (libc_fetestexcept): Likewise.
18452 (libc_feupdateenv_test): Likewise.
18453 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
18454 (libc_fetestexcept): Likewise.
18455 (libc_feupdateenv_test): Likewise.
18456
18457 * sysdeps/generic/math_private.h
18458 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
18459 New inline function.
18460 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
18461 Likewise.
18462
18463 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
18464 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
18465 * sysdeps/generic/math_private.h
18466 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
18467 inline function.
18468 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
18469 Likewise.
18470 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
18471 Likewise.
18472 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
18473 Likewise.
18474 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
18475 Likewise.
18476 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
18477 Likewise.
18478 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
18479 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
18480 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
18481 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
18482 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
18483 (__fegetenv): Likewise.
18484 (fesetenv): Likewise.
18485 (__fesetenv): Likewise.
18486 (feupdateenv): Likewise.
18487 (__feupdateenv): Likewise.
18488 (fegetround): Likewise.
18489 (__fegetround): Likewise.
18490 (fesetround): Likewise.
18491 (__fesetround): Likewise.
18492
18493 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
18494 (feraiseexcept): New macro.
18495 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
18496 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
18497 Remove macro.
18498 (__feraiseexcept): Likewise.
18499 (feclearexcept): Likewise.
18500 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
18501 (__feraiseexcept): Likewise.
18502 (feclearexcept): Likewise.
18503 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
18504 (__feraiseexcept): Likewise.
18505 (feclearexcept): Likewise.
18506 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
18507 (__feraiseexcept): Likewise.
18508 (feclearexcept): Likewise.
18509 (fetestexcept): Likewise.
18510
18511 * sysdeps/m68k/coldfire/math-tests.h: New file.
18512
18513 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
18514 * sysdeps/m68k/bits/fenv.h: ... here.
18515 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
18516 not define.
18517 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
18518 Likewise.
18519 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
18520 Likewise.
18521 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
18522 Likewise.
18523 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
18524 Likewise.
18525 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
18526 Define to 0.
18527 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
18528 (__FE_UNDEFINED): New enum constant.
18529 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
18530 Do not define.
18531 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
18532 Likewise.
18533 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
18534 Likewise.
18535 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
18536 to match generic bits/fenv.h.
18537 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
18538 Do not define.
18539
18540 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
18541 packed on bits.
18542 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
18543 * soft-fp/half.h (union _FP_UNION_H): Likewise.
18544 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
18545 * soft-fp/single.h (union _FP_UNION_S): Likewise.
18546
18547 2018-02-01 Carlos O'Donell <carlos@redhat.com>
18548 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
18549 Joseph Myers <joseph@codesourcery.com>
18550
18551 [BZ #21314]
18552 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
18553 (__log1p): Disable -Wmaybe-uninitialized for -Os around
18554 computation using c.
18555 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
18556 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
18557 computation using c.
18558
18559 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
18560
18561 * version.h (RELEASE): Set to "development".
18562 (VERSION): Set to "2.27.9000".
18563 * NEWS (2.28): New section.
18564
18565 * version.h (RELEASE): Set to "stable".
18566 (VERSION): Set to "2.27".
18567 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
18568
18569 * NEWS: Add the list of bugs fixed in 2.27.
18570
18571 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18572
18573 * stdlib/test-atexit-race-common.c (do_test): Check stack size
18574 against PTHREAD_STACK_MIN.
18575
18576 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
18577
18578 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
18579 New entries.
18580 (Rafal Luzynski, Andreas Schwab): Update.
18581
18582 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
18583
18584 [BZ #10871]
18585 * NEWS: List the languages which actually use the alternative
18586 months feature in this release. Also explain that "alt_mon" and
18587 "ab_alt_mon" are optional.
18588
18589 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
18590
18591 [BZ #22765]
18592 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
18593
18594 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
18595
18596 * manual/install.texi (Tools for Compilation): Update the newest
18597 versions of gcc, binutils, texinfo, gawk, bison, and sed.
18598 * INSTALL: Regenerated.
18599
18600 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
18601
18602 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
18603 instead of __builtin_expect.
18604
18605 2018-01-30 Florian Weimer <fweimer@redhat.com>
18606
18607 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
18608 data.
18609 * nss/tst-nss-getpwent.c (do_test): Likewise.
18610
18611 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
18612
18613 [BZ #10871]
18614 * localedata/locales/hr_HR (mon): Rename to...
18615 (alt_mon): This.
18616 (mon): Import from CLDR (genitive case).
18617 (d_t_fmt): Update the comment.
18618
18619 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
18620
18621 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
18622 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
18623 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
18624
18625 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
18626
18627 * mach/Versions: Fix version when __mach_host_self_ was added.
18628 * hurd/Versions: Fix version when _hurd_exec_paths was added.
18629 * sysdeps/mach/hurd/i386/ld.abilist: New file.
18630 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
18631 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
18632 * sysdeps/mach/hurd/i386/libc.abilist: New file.
18633 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
18634 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
18635 * sysdeps/mach/hurd/i386/libm.abilist: New file.
18636 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
18637 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
18638 * sysdeps/mach/hurd/i386/librt.abilist: New file.
18639 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
18640 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
18641 || to respect codestyle.
18642 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
18643 (do_test_bz20181): Rename accordingly.
18644 * malloc/malloc.c: Include <assert.h>.
18645 (assert): Do not define.
18646 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
18647 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
18648 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
18649 * sysdeps/mach/hurd/hp-timing.h: New file.
18650 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
18651
18652 2018-01-29 Darius Rad <darius@bluespec.com>
18653
18654 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
18655
18656 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
18657
18658 * sysdeps/init_array/crti.S (.section .init_array): Add
18659 PREINIT_FUNCTION when defined.
18660 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
18661 * config.h.in: Regenerate.
18662 * manual/platform.texi: Add RISC-V documenation for
18663 __riscv_flush_icache.
18664 * sysdeps/riscv/__longjmp.S: New file.
18665 * sysdeps/riscv/backtrace.c: Likewise.
18666 * sysdeps/riscv/bits/endian.h: Likewise.
18667 * sysdeps/riscv/bits/setjmp.h: Likewise.
18668 * sysdeps/riscv/bits/wordsize.h: Likewise.
18669 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
18670 * sysdeps/riscv/bsd-setjmp.c: Likewise.
18671 * sysdeps/riscv/dl-trampoline.S: Likewise.
18672 * sysdeps/riscv/gccframe.h: Likewise.
18673 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
18674 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
18675 * sysdeps/riscv/machine-gmon.h: Likewise.
18676 * sysdeps/riscv/memusage.h: Likewise.
18677 * sysdeps/riscv/setjmp.S: Likewise.
18678 * sysdeps/riscv/sys/asm.h: Likewise.
18679 * sysdeps/riscv/tls-macros.h: Likewise.
18680 * sysdeps/riscv/dl-tls.h: New file.
18681 * sysdeps/riscv/libc-tls.c: Likewise.
18682 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
18683 * sysdeps/riscv/nptl/tls.h: Likewise.
18684 * sysdeps/riscv/stackinfo.h: Likewise.
18685 * sysdeps/riscv/bits/fenv.h: New file.
18686 * sysdeps/riscv/e_sqrtl.c: Likewise.
18687 * sysdeps/riscv/fpu_control.h: Likewise.
18688 * sysdeps/riscv/math-tests.h: Likewise.
18689 * sysdeps/riscv/nofpu/Implies: Likewise.
18690 * sysdeps/riscv/sfp-machine.h: Likewise.
18691 * sysdeps/riscv/tininess.h: Likewise.
18692 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
18693 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
18694 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
18695 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
18696 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
18697 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
18698 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
18699 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
18700 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
18701 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
18702 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
18703 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
18704 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
18705 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
18706 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
18707 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
18708 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
18709 * sysdeps/riscv/rvd/s_finite.c: Likewise.
18710 * sysdeps/riscv/rvd/s_fma.c: Likewise.
18711 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
18712 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
18713 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
18714 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
18715 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
18716 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
18717 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
18718 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
18719 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
18720 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
18721 * sysdeps/riscv/rvf/fegetround.c: Likewise.
18722 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
18723 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
18724 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
18725 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
18726 * sysdeps/riscv/rvf/fesetround.c: Likewise.
18727 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
18728 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
18729 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
18730 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
18731 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
18732 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
18733 * sysdeps/riscv/rvf/math_private.h: Likewise.
18734 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
18735 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
18736 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
18737 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
18738 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
18739 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
18740 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
18741 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
18742 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
18743 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
18744 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
18745 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
18746 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
18747 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
18748 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
18749 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
18750 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
18751 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
18752 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
18753 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
18754 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
18755 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
18756 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
18757 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
18758 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
18759 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
18760 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
18761 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
18762 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
18763 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
18764 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
18765 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
18766 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
18767 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
18768 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
18769 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
18770 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
18771 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
18772 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
18773 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
18774 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
18775 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
18776 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
18777 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
18778 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
18779 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
18780 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
18781 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
18782 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
18783 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
18784 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
18785 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
18786 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
18787 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
18788 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
18789 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
18790 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
18791 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
18792 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
18793 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
18794 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
18795 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
18796 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
18797 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
18798 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18799 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
18800 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
18801 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
18802 * sysdeps/riscv/Implies: New file.
18803 * sysdeps/riscv/Makefile: Likewise.
18804 * sysdeps/riscv/configure: Likewise.
18805 * sysdeps/riscv/configure.ac: Likewise.
18806 * sysdeps/riscv/nptl/Makefile: Likewise.
18807 * sysdeps/riscv/preconfigure: Likewise.
18808 * sysdeps/riscv/rv64/Implies-after: Likewise.
18809 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
18810 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
18811 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
18812 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
18813 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
18814 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
18815 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
18816 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
18817 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
18818 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
18819 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
18820 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
18821 (Config): Likewise.
18822
18823 2018-01-29 Florian Weimer <fweimer@redhat.com>
18824
18825 [BZ #22701]
18826 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
18827 libnsl_hidden_proto.
18828 * include/rpcsvc/yp.h (yp_xdrall): Declare with
18829 libnsl_hidden_proto.
18830 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
18831 * nis/Makefile (libnsl-routines): Add nss-default only for
18832 build-obsolete-nsl.
18833 * nis/nis_defaults.c (__nis_default_ttl): Add
18834 libnsl_hidden_nolink_def.
18835 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
18836 declaration.
18837 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
18838 * nis/ypclnt.c (yp_maplist): Likewise.
18839
18840 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
18841
18842 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18843 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
18844
18845 2018-01-29 Joseph Myers <joseph@codesourcery.com>
18846
18847 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
18848 clean -dxfq for git updates when replacing sources.
18849
18850 * scripts/build-many-glibcs.py (Config.build_gcc): Use
18851 --disable-libcilkrts unconditionally, not just for the final GCC
18852 build for Hurd.
18853
18854 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
18855 version to 4.15.
18856
18857 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18858
18859 [BZ #10871]
18860 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
18861 case).
18862
18863 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18864
18865 [BZ #10871]
18866 * localedata/locales/be_BY (mon): Rename to...
18867 (alt_mon): This, then synchronize with CLDR (nominative case).
18868 (abmon): Rename to...
18869 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
18870 (mon): Import from CLDR (genitive case).
18871 (abmon): Likewise.
18872 * localedata/locales/be_BY@latin (mon): Rename to...
18873 (alt_mon): This.
18874 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
18875
18876 * localedata/locales/be_BY@latin (lang_name): Reworded to
18877 "biełaruskaja mova".
18878
18879 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18880
18881 [BZ #10871]
18882 * localedata/locales/el_CY (mon): Renamed to...
18883 (alt_mon): This.
18884 (mon): Import from CLDR (genitive case).
18885 * localedata/locales/el_GR: Likewise.
18886
18887 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18888
18889 [BZ #10871]
18890 * localedata/locales/ru_RU (mon): Rename to...
18891 (alt_mon): This.
18892 (abmon): Rename to...
18893 (ab_alt_mon): This.
18894 (mon): Import from CLDR (genitive case).
18895 (abmon): Copy from the old content except the 5th month which is
18896 now in the genitive case, even when abbreviated.
18897 * localedata/locales/ru_UA: Likewise.
18898 * time/tst-strptime.c (day_tests): Add an actual example of
18899 a difference between %b and %Ob in Russian.
18900
18901 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
18902
18903 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
18904 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
18905 a `c' variable.
18906 * resolv/res-close.c: Include <stdlib.h>.
18907 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
18908 <sys/wait.h>, <time.h>, <sys/uio.h>.
18909 (NOT_CANCEL_H): Add inclusion guard.
18910 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
18911 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
18912 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
18913 return 0.
18914 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
18915 vm_address_t * to ElfW(Addr) * for dl_main parameter.
18916 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
18917 instead of void *.
18918 * sysdeps/pthread/timer_create.c (timer_create): Do not use
18919 timer_ptr2id to cast struct timer_node * to void *.
18920 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
18921 --disable-libcilkrts to gcc configure.
18922 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
18923 and make them the default for now.
18924 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
18925 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
18926 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
18927 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
18928 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
18929 MACH_IPC_COMPAT.
18930 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
18931 __task_terminate would ever return successfully.
18932 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
18933 to global scope.
18934 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
18935 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
18936 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
18937 critical section to make code simpler and avoid warning.
18938 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
18939 critical section to make code simpler and avoid warning.
18940 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
18941 const char * instead of char *.
18942 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
18943 __hurd_file_name_split, hurd_file_name_split,
18944 __hurd_directory_name_split, hurd_directory_name_split,
18945 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
18946 hurd_file_name_path_lookup): Make lookup function parameter take a
18947 const char *name instead of char *name.
18948 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
18949 __hurd_directory_name_split): Likewise.
18950 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
18951 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
18952 * sysdeps/mach/hurd/check_native.c: New file.
18953 * sysdeps/mach/hurd/check_pf.c: New file.
18954 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
18955 (__freeifaddrs): Define macro to freeifaddrs.
18956 * sysdeps/mach/hurd/libhurduser.abilist: New file.
18957 * sysdeps/mach/libmachuser.abilist: New file.
18958 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
18959 (do_test_bz20181): Rename accordingly.
18960 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
18961 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
18962 <sys/mount.h>.
18963 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
18964 version only if __USE_EXTERN_INLINES is defined.
18965 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
18966 __hurd_sockfail): Likewise.
18967 (_hurd_fd_get): Always declare functions, and provide inline versions
18968 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
18969 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
18970 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
18971 _hurd_port_set): Always declare functions, and provide inline versions
18972 only if __USE_EXTERN_INLINES and _LIBC are defined and
18973 IS_IN(libc).
18974 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
18975 _hurd_critical_section_unlock): Likewise.
18976 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
18977 * __hurd_threadvar_location): Likewise.
18978 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
18979 _hurd_userlink_clear): Likewise.
18980 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
18981 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
18982 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
18983 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
18984 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
18985 __spin_lock_locked): Likewise.
18986 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
18987 __spin_lock_locked): Likewise.
18988 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
18989 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
18990 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
18991 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
18992 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
18993 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
18994 _POSIX_NO_TRUNC): Define to 0.
18995 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
18996 check size against PTHREAD_STACK_MIN.
18997 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
18998 IS_IN(libpthread)]: Include <sigsetops.h>.
18999 * mach/Makefile (user-interfaces): Add mach/gnumach.
19000 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
19001 * sysdeps/mach/configure (mach_interface_list): Regenerate.
19002 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
19003 instead of invalid -1.
19004 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
19005 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
19006 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
19007 <net/ppp_defs.h>.
19008
19009 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
19010
19011 * hurd/fcntl-internal.h: New file.
19012
19013 2018-01-27 James Clarke <jrtc27@jrtc27.com>
19014
19015 * sysdeps/hppa/fpu/libm-test-ulps: Update.
19016
19017 * sysdeps/alpha/fpu/libm-test-ulps: Update.
19018
19019 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
19020
19021 [BZ #22701]
19022 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
19023 Build only shared objects.
19024
19025 2018-01-26 Carlos O'Donell <carlos@redhat.com>
19026
19027 * README: Update for hppa.
19028
19029 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19030
19031 * sysdeps/sparc/fpu/libm-test-ulps: Update
19032 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
19033
19034 2018-01-26 Carlos O'Donell <carlos@redhat.com>
19035
19036 Revert:
19037
19038 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19039
19040 [BZ #22563]
19041 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19042 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
19043 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19044 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
19045 to feature_1.
19046
19047 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19048
19049 [BZ #22563]
19050 * bits/types/__cancel_jmp_buf_tag.h: New file.
19051 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
19052 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
19053 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
19054 * nptl/Makefile (headers): Add
19055 bits/types/__cancel_jmp_buf_tag.h.
19056 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
19057 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
19058 * sysdeps/nptl/pthread.h: Include
19059 <bits/types/__cancel_jmp_buf_tag.h>.
19060 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
19061 __cancel_jmp_buf.
19062 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
19063
19064 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
19065
19066 [BZ #10871]
19067 * localedata/locales/uk_UA (mon): Renamed to...
19068 (alt_mon): This.
19069 (alt_digits): "0" removed and then renamed to...
19070 (mon): This.
19071 (date_fmt): Definition changed not to use the alternative
19072 digits hack.
19073
19074 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
19075
19076 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
19077 FLAG_RISCV_FLOAT_ABI_DOUBLE.
19078 * elf/elf.h (EF_RISCV_RVC): New define.
19079 (EF_RISCV_FLOAT_ABI): Likewise.
19080 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
19081 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
19082 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
19083 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
19084 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
19085 define.
19086 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
19087
19088 2018-01-25 Andreas Schwab <schwab@suse.de>
19089
19090 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
19091 single quotes.
19092 * sysdeps/gnu/configure: Regenerate.
19093 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
19094 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
19095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19096 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
19097 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
19098 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
19099 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
19100 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
19101
19102 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
19103
19104 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
19105 URL, and run autoconf, make it the default for now.
19106
19107 2018-01-24 Joseph Myers <joseph@codesourcery.com>
19108
19109 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19110 soft-float ColdFire configuration.
19111
19112 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
19113 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
19114 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
19115
19116 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
19117 MicroBlaze file.
19118
19119 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
19120 ....
19121 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
19122 ... here.
19123 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
19124 New file.
19125
19126 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
19127 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
19128 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
19129 file.
19130
19131 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
19132
19133 [BZ #22742]
19134 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
19135 Rename to __reserved and add comment.
19136 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
19137 Rename to __reserved.
19138
19139 2018-01-24 Joseph Myers <joseph@codesourcery.com>
19140
19141 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19142 i686-gnu configurations.
19143 (Context.run_builds): Include mig, gnumach and hurd in components
19144 considered.
19145 (Context.checkout): Add mig, gnumach and hurd to components.
19146 (Context.checkout_tar): Add URL mappings for mig, gnumach and
19147 hurd.
19148 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
19149 (Config.build): Install gnumach headers, build mig and install
19150 hurd headers for 'gnu' OS.
19151 (Config.install_gnumach_headers): New function.
19152 (Config.install_hurd_headers): Likewise.
19153 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
19154 when building for 'gnu' OS.
19155
19156 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
19157
19158 * manual/tunables.texi (Hardware Capability Tunables): Fix
19159 spelling.
19160
19161 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
19162
19163 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
19164 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
19165 (ALTMON_11, ALTMON_12): Improve documentation.
19166 * manual/time.texi (strftime): Likewise.
19167
19168 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19169
19170 [BZ #10871]
19171 * localedata/locales/pl_PL: Alternative month names added,
19172 primary month names are genitive now.
19173 * time/tst-strptime.c (day_tests): Actually use a genitive case
19174 of a month name in Polish language.
19175
19176 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19177
19178 [BZ #10871]
19179 * manual/locale.texi: Document ALTMON_1..12 constants for
19180 nl_langinfo. Specify when to use ALTMON instead of MON.
19181 * manual/time.texi (strftime, strptime): Document GNU extension
19182 permitting O modifier with %B and %b. Specify when to use
19183 %OB instead of %B.
19184
19185 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19186
19187 [BZ #10871]
19188 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
19189 names, define them as the same as abbreviated month names explicitly.
19190 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
19191 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
19192 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
19193 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
19194 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
19195 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
19196 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
19197 _NL_WABALTMON_12): New enum constants.
19198 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
19199 wab_alt_mon, and ab_alt_mon_defined members.
19200 (time_output): Output ab_alt_mon and wab_alt_mon members.
19201 (time_read): Read them, initialize them as copies of abmon and wabmon
19202 respectively if they are missing, initialize ab_alt_mon_defined.
19203 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
19204 * locale/programs/locfile-kw.h: Regenerate.
19205 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
19206 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
19207 and ru_RU.UTF-8.
19208 * time/strftime_l.c (a_altmonth, aam_len): New macros.
19209 [!COMPILE_WIDE] (ABALTMON_1): New macro.
19210 (__strftime_internal): Handle %Ob and %Oh formats.
19211 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
19212 (__strptime_internal): Handle %Ob and %Oh formats.
19213 * time/tst-strptime.c (day_tests): Add more tests to parse different
19214 forms of month names including the new %Ob format specifier.
19215
19216 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19217
19218 [BZ #10871]
19219 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
19220 define them as the same as primary full month names explicitly.
19221 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
19222 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
19223 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
19224 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
19225 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
19226 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
19227 _NL_WALTMON_12): New enum constants.
19228 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
19229 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
19230 macros.
19231 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
19232 walt_mon, and alt_mon_defined members.
19233 (time_output): Output alt_mon and walt_mon members.
19234 (time_read): Read them, initialize them as copies of mon and wmon
19235 respectively if they are missing, initialize alt_mon_defined.
19236 * locale/programs/locfile-kw.gperf (alt_mon): Define.
19237 * locale/programs/locfile-kw.h: Regenerate.
19238 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
19239 * localedata/tst-langinfo.c (map): Add tests for the new constants
19240 ALTMON_1 .. ALTMON_12.
19241 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
19242 and pl_PL.UTF-8.
19243 * time/strftime_l.c (f_altmonth): New macro.
19244 (__strftime_internal): Handle %OB format.
19245 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
19246 (__strptime_internal): Handle %OB format.
19247 * time/tst-strptime.c (day_tests): Add tests to parse different forms
19248 of month names including the new %OB format specifier.
19249
19250 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19251
19252 [BZ #22685]
19253 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
19254 from ABORT_TRANSACTION.
19255 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
19256 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
19257 ABORT_TRANSACTION_IMPL): Likewise.
19258 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
19259 Linux code, but remove the code that aborts transactions.
19260
19261 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
19262
19263 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
19264
19265 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
19266
19267 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
19268 in date: "2004-14-09" should be "2004-09-14".
19269 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
19270 "2003-15-09" should be "2003-09-15".
19271
19272 2018-01-18 Arjun Shankar <arjun@redhat.com>
19273
19274 [BZ #22343]
19275 [BZ #22774]
19276 CVE-2018-6485
19277 CVE-2018-6551
19278 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
19279 after padding.
19280 (_int_memalign): check for integer overflow before calling
19281 _int_malloc.
19282 * malloc/tst-malloc-too-large.c: New test.
19283 * malloc/Makefile: Add tst-malloc-too-large.
19284
19285 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
19286
19287 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
19288 in date: "2017-24-07" should be "2017-07-24".
19289 * localedata/locales/mai_IN: Likewise.
19290 * localedata/locales/mai_NP: Likewise.
19291
19292 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
19293
19294 * po/ru.po: Update translations.
19295
19296 2018-01-17 Joseph Myers <joseph@codesourcery.com>
19297
19298 [BZ #22719]
19299 * sysdeps/hppa/backtrace.c: New file.
19300
19301 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
19302
19303 [BZ #22715]
19304 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
19305 align La_x86_64_retval to VEC_SIZE.
19306
19307 2018-01-16 Joseph Myers <joseph@codesourcery.com>
19308
19309 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
19310 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
19311
19312 2018-01-16 Florian Weimer <fweimer@redhat.com>
19313
19314 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
19315 Move tst-thread-exit-clobber ...
19316 [$(CXX)] (tests-unsupported): ... to here.
19317
19318 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
19319
19320 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
19321 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
19322 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
19323 (_dl_aarch64_cap_flags): Update.
19324 (_DL_HWCAP_COUNT): Update.
19325
19326 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
19327
19328 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
19329 (_DL_HWCAP_LAST): Remove.
19330 (_DL_HWCAP_COUNT): Move to ...
19331 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
19332 (_DL_HWCAP_COUNT): ... here.
19333
19334 2018-01-16 Florian Weimer <fweimer@redhat.com>
19335
19336 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
19337 mode with GNU extensions.
19338
19339 2018-01-15 Alan Hayward <alan.hayward@arm.com>
19340
19341 * elf/elf.h (NT_ARM_SVE): Define.
19342
19343 2018-01-15 Florian Weimer <fweimer@redhat.com>
19344
19345 [BZ #22636]
19346 * nptl/tst-minstack-throw.cc: New file.
19347 * nptl/Makefile (tests): Add tst-minstack-throw.
19348 (LDLIBS-tst-minstack-throw): Link with libstdc++.
19349 [!CXX] (tests-unsupported): Add tst-minstack-throw.
19350
19351 2018-01-15 Joseph Myers <joseph@codesourcery.com>
19352
19353 * scripts/build-many-glibcs.py (Context.checkout): Default
19354 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
19355 version to 1.1.0.
19356
19357 2018-01-13 Carlos O'Donell <carlos@redhat.com>
19358
19359 [BZ #22707]
19360 * elf/elf.h (DF_1_STUB): Define.
19361 (DF_1_PIE): Define.
19362
19363 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19364
19365 [BZ #22697]
19366 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
19367 Do not add 0.5 to integer or out-of-range arguments.
19368
19369 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
19370
19371 * po/bg.po: Update translations.
19372 * po/cs.po: Likewise.
19373 * po/de.po: Likewise.
19374 * po/ko.po: Likewise.
19375 * po/pl.po: Likewise.
19376 * po/sv.po: Likewise.
19377 * po/uk.po: Likewise.
19378 * po/vi.po: Likewise.
19379
19380 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
19381
19382 * aarch64/start.S (_start): Use __wrap_main.
19383 (__wrap_main): New local symbol.
19384
19385 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
19386
19387 [BZ #22679]
19388 CVE-2018-1000001
19389 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
19390 generic_getcwd if the path returned by getcwd syscall is not absolute.
19391 * io/tst-getcwd-abspath.c: New test.
19392 * io/Makefile (tests): Add tst-getcwd-abspath.
19393
19394 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
19395
19396 * malloc/malloc.c (malloc_consolidate): Add size check.
19397
19398 2018-01-12 Florian Weimer <fweimer@redhat.com>
19399
19400 * support/write_message.c (write_message): Preserve errno.
19401 * support/check.c (print_failure): Likewise.
19402 * support/support_test_verify_impl.c (support_test_verify_impl):
19403 Likewise.
19404 * support/support_test_compare_failure.c
19405 (support_test_compare_failure): Likewise.
19406
19407 2018-01-12 Florian Weimer <fweimer@redhat.com>
19408
19409 [BZ #22701]
19410 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
19411 Prevent installation of libnsl.so.
19412 (libnsl-inhibit-o): Do not build (or install) static libraries.
19413
19414 2018-01-12 Egmont Koblinger <egmont@gmail.com>
19415
19416 [BZ #22657]
19417 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
19418 before the day number which may produce a double space.
19419 (date_fmt): Likewise.
19420
19421 2018-01-12 Joseph Myers <joseph@codesourcery.com>
19422
19423 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
19424 instead of fegetenv.
19425
19426 2018-01-11 Joseph Myers <joseph@codesourcery.com>
19427
19428 [BZ #22702]
19429 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
19430 comment to say exceptions are discarded.
19431 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
19432 __fegetenv.
19433 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
19434 be enabled.
19435
19436 2018-01-11 Florian Weimer <fweimer@redhat.com>
19437
19438 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
19439 and error message.
19440
19441 2018-01-11 Florian Weimer <fweimer@redhat.com>
19442
19443 [BZ #22636]
19444 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
19445 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
19446
19447 2018-01-10 Joseph Myers <joseph@codesourcery.com>
19448
19449 [BZ #22693]
19450 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
19451 negative arguments in test for NaN or infinity argument.
19452
19453 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
19454
19455 * po/libc.pot: Regenerate.
19456
19457 2018-01-10 Florian Weimer <fweimer@redhat.com>
19458
19459 [BZ #22636]
19460 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
19461 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
19462
19463 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19464
19465 * hurd/hurd/fd.h: Include <fcntl.h>
19466 (__hurd_at_flags): New function.
19467 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
19468 with call to __hurd_at_flags.
19469 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
19470 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
19471 __faccessat
19472 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
19473 (__access_noerrno): Use __faccessat_common instead of access_common.
19474 (__access): Likewise.
19475 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
19476 with a call to __faccessat.
19477 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
19478 (__faccessat_common): ... this. Move implementation of __access into it when
19479 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
19480 reauthenticate_cwdir_at helper to implement AT mechanism.
19481 (__faccessat_noerrno): New function, just calls __faccessat_common.
19482 (__faccessat): New function, just calls __faccessat_common.
19483 (faccessat): Define weak alias.
19484
19485 2018-01-10 Joseph Myers <joseph@codesourcery.com>
19486
19487 [BZ #22691]
19488 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19489 (CFLAGS-s_fmaxmagl.c): New variable.
19490 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
19491
19492 [BZ #22690]
19493 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
19494 long int for arguments of possibly overflowing addition or
19495 subtraction.
19496 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
19497
19498 2018-01-09 Joseph Myers <joseph@codesourcery.com>
19499
19500 [BZ #22688]
19501 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19502 (CFLAGS-e_remainderl.c): New variable.
19503
19504 [BZ #22687]
19505 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
19506 variable.
19507 (CFLAGS-s_cacoshl.c): Likewise.
19508 (CFLAGS-s_casinhl.c): Likewise.
19509 (CFLAGS-s_catanl.c): Likewise.
19510 (CFLAGS-s_catanhl.c): Likewise.
19511 (CFLAGS-s_cexpl.c): Likewise.
19512 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
19513 (CFLAGS-s_csinhl.c): Likewise.
19514 (CFLAGS-s_clogl.c): Likewise.
19515 (CFLAGS-s_clog10l.c): Likewise.
19516 (CFLAGS-s_csinl.c): Likewise.
19517 (CFLAGS-s_csqrtl.c): Likewise.
19518
19519 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
19520 2017-01-09 Svante Signell <svante.signell@gmail.com>
19521
19522 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
19523 (_hurd_exec_paths): New function.
19524 * hurd/hurd.h (_hurd_exec): Deprecate function.
19525 (_hurd_exec_paths): Declare function.
19526 * hurd/Versions: Export _hurd_exec_paths.
19527 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
19528 (__execve): Use __getcwd to build absolute path, and use
19529 _hurd_exec_paths instead of _hurd_exec.
19530 * sysdeps/mach/hurd/spawni.c: Likewise.
19531 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
19532 _hurd_exec.
19533
19534 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
19535
19536 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
19537 test instead of failing in case of ENOENT returned by posix_openpt.
19538
19539 2018-01-08 Florian Weimer <fweimer@redhat.com>
19540
19541 resolv: Support binary labels in test framework.
19542 * support/resolv_test.c (struct to_be_freed): Remove.
19543 (struct compressed_name): New.
19544 (allocate_compressed_name, ascii_tolower)
19545 (compare_compressed_name): New functions.
19546 (struct resolv_response_builder): Update type of
19547 compression_offsets for use with tsearch. Rempve to_be_freed.
19548 (response_push_pointer_to_free): Remove function.
19549 (resolv_response_add_name): Rewrite using struct compressed_name
19550 and tsearch instead of hsearch_r.
19551 (response_builder_allocate): Remove initialization of
19552 compression_offsets.
19553 (response_builder_free): Update for removal of to_be_freed. Use
19554 tdestroy instead of hdestroy_r.
19555 * resolv/Makefile (tests): Add tst-resolv-binary.
19556 (tst-resolv-binary): Link with -lresolv -lpthread.
19557
19558 2018-01-08 Florian Weimer <fweimer@redhat.com>
19559
19560 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
19561 time. Pass positive flag instead of negative flag to
19562 support_test_compare_failure.
19563 (support_test_compare_failure): Change negative parameter to
19564 positive.
19565 * support/support_test_compare_failure.c (report)
19566 (support_test_compare_failure): Likewise.
19567 * support/tst-test_compare.c (return_ssize_t, return_int): New.
19568 (do_test): Check int/size_t, ssize_t/size_t comparisons.
19569
19570 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
19571
19572 [BZ #22637]
19573 * nptl/descr.h (stackblock, stackblock_size): Update comments.
19574 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
19575 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
19576 stacksize.
19577 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
19578
19579 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
19580
19581 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19582 Add s_sincosf-sse2 and s_sincosf-fma.
19583 (CFLAGS-s_sincosf-fma.c): New.
19584 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
19585 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
19586 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
19587 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
19588 __sincosf is defined.
19589
19590 2018-01-08 Florian Weimer <fweimer@redhat.com>
19591
19592 * nptl/tst-thread-exit-clobber.cc: New file.
19593 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
19594 C++11 mode.
19595 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
19596 (tests): Add tst-thread-exit-clobber.
19597 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
19598
19599 2018-01-08 Florian Weimer <fweimer@redhat.com>
19600
19601 * support/check.h (support_static_assert): Define.
19602 (TEST_COMPARE): Use it.
19603
19604 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
19605
19606 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
19607 [!__RLIM_T_MATCHES_RLIM64_T]
19608 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
19609 __getrlimit64. Add libc_hidden_weak.
19610
19611 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
19612
19613 * elf/elf.h (R_RISCV_NONE): New define.
19614 (R_RISCV_32): Likewise.
19615 (R_RISCV_64): Likewise.
19616 (R_RISCV_RELATIVE): Likewise.
19617 (R_RISCV_COPY): Likewise.
19618 (R_RISCV_JUMP_SLOT): Likewise.
19619 (R_RISCV_TLS_DTPMOD32): Likewise.
19620 (R_RISCV_TLS_DTPMOD64): Likewise.
19621 (R_RISCV_TLS_DTPREL32): Likewise.
19622 (R_RISCV_TLS_DTPREL64): Likewise.
19623 (R_RISCV_TLS_TPREL32): Likewise.
19624 (R_RISCV_TLS_TPREL64): Likewise.
19625 * Makerules (make-link-multidir): Make directories before linking into
19626 them.
19627 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
19628 define.
19629 (VDSO_HASH_LINUX_4_15): Likewise.
19630 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
19631 in subdirectories of lib.
19632 * nptl/Makefile (/librt.so): Always depend on
19633 "$(shared-thread-library)".
19634
19635 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19636
19637 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
19638 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
19639 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
19640 (___tls_get_addr).
19641 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
19642 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
19643 "-O2 -march=i686".
19644 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
19645 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
19646 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
19647 * sysdeps/gnu/glob-lstat-compat.c: New file.
19648 * sysdeps/gnu/glob64-lstat-compat.c: New file.
19649 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
19650
19651 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19652
19653 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
19654 Reserve 16 chars to reloc_addr before calling _itoa_word.
19655
19656 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19657
19658 [BZ #22678]
19659 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
19660 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
19661
19662 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
19663 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
19664
19665 * resource/tst-getrlimit.c: Add copyright header.
19666
19667 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19668 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19669
19670 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
19671 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
19672 Define __GI_getrlimit64 as weak alias of __getrlimit64.
19673 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
19674 instead.
19675 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
19676 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
19677 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
19678 RLIM64_INFINITY): Fix values to match the kernel ones.
19679 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
19680 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
19681 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
19682 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
19683 getrlimit64@@GLIBC_2_27.
19684 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
19685 and setrlimit64.
19686 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
19687 getrlimit, setrlimit, getrlimit64 and setrlimit64.
19688 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
19689 setrlimit, getrlimit64 and setrlimit64.
19690
19691 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19692
19693 [BZ #22648]
19694 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
19695 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
19696
19697 2018-01-04 Joseph Myers <joseph@codesourcery.com>
19698
19699 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
19700 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
19701 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
19702
19703 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19704
19705 [BZ #15479]
19706 [BZ #22666]
19707 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
19708 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
19709
19710 [BZ #15479]
19711 [BZ #22665]
19712 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
19713 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
19714 * sysdeps/alpha/fpu/s_floor.c: Likewise.
19715 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
19716
19717 2018-01-04 Florian Weimer <fweimer@redhat.com>
19718
19719 [BZ #22667]
19720 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
19721 Align the stack before calling exit.
19722 * stdlib/tst-makecontext-align.c: New file.
19723 * stdlib/Makefile (tests): Add tst-makecontext-align.
19724
19725 2018-01-04 Florian Weimer <fweimer@redhat.com>
19726
19727 Add support for calling dlvsym from libc.so.
19728 * include/dlfcn.h (__libc_dlvsym): Declare.
19729 * elf/Makefile (tests-static-internal): Add
19730 tst-libc_dlvsym-static.
19731 (tests-internal): Add tst-libc_dlvsym.
19732 (modules-names): Add tst-libc_dlvsym-dso.
19733 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
19734 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
19735 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
19736 object tst-libc_dlvsym-dso.so needs to be built before running
19737 these tests.
19738 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
19739 * elf/Versions: Export __libc_dlvsym.
19740 * elf/dl-libc.c (struct do_dlvsym_args): New.
19741 (do_dlvsym, __libc_dlvsym): New functions.
19742 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
19743 (_dl_open_hook2): New variable.
19744 (__libc_register_dl_open_hook): Set it.
19745 * elf/tst-libc_dlvsym-dso.c: New file.
19746 * elf/tst-libc_dlvsym-static.c: Likewise.
19747 * elf/tst-libc_dlvsym.c: Likewise.
19748 * elf/tst-libc_dlvsym.h: Likewise.
19749
19750 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
19751
19752 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
19753 include <sys/mount.h>.
19754
19755 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
19756
19757 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
19758 Add __NO_MATH_ERRNO__ check.
19759
19760 2018-01-02 Joseph Myers <joseph@codesourcery.com>
19761
19762 * sysdeps/mips/mips32/libm-test-ulps: Update.
19763 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19764
19765 2018-01-02 Florian Weimer <fweimer@redhat.com>
19766
19767 * misc/tst-pselect.c: Add copyright header.
19768
19769 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
19770
19771 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
19772 comment.
19773 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
19774 comment.
19775 (settrlimit): Rename into setrlimit.
19776 (__sttrlimit): Rename into __setrlimit.
19777
19778 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
19779 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
19780 never defined in that case.
19781
19782 2018-01-02 Joseph Myers <joseph@codesourcery.com>
19783
19784 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
19785
19786 * sysdeps/arm/libm-test-ulps: Update.
19787
19788 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
19789 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
19790
19791 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19792
19793 * NEWS: Add cosf and sincosf to list of optimized functions.
19794
19795 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
19796
19797 [BZ #22660]
19798 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
19799 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
19800 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
19801 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
19802
19803 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
19804
19805 [BZ #22433]
19806 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
19807
19808 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
19809 making a copy of it.
19810
19811 2018-01-01 Joseph Myers <joseph@codesourcery.com>
19812
19813 * manual/texinfo.tex: Update to version 2017-12-26.21 with
19814 trailing whitespace removed.
19815 * scripts/config.guess: Update to version 2018-01-01.
19816 * scripts/config.sub: Update to version 2018-01-01.
19817 * scripts/move-if-change: Update from gnulib.
19818
19819 * NEWS: Update copyright dates.
19820 * catgets/gencat.c (print_version): Likewise.
19821 * csu/version.c (banner): Likewise.
19822 * debug/catchsegv.sh: Likewise.
19823 * debug/pcprofiledump.c (print_version): Likewise.
19824 * debug/xtrace.sh (do_version): Likewise.
19825 * elf/ldconfig.c (print_version): Likewise.
19826 * elf/ldd.bash.in: Likewise.
19827 * elf/pldd.c (print_version): Likewise.
19828 * elf/sotruss.sh: Likewise.
19829 * elf/sprof.c (print_version): Likewise.
19830 * iconv/iconv_prog.c (print_version): Likewise.
19831 * iconv/iconvconfig.c (print_version): Likewise.
19832 * locale/programs/locale.c (print_version): Likewise.
19833 * locale/programs/localedef.c (print_version): Likewise.
19834 * login/programs/pt_chown.c (print_version): Likewise.
19835 * malloc/memusage.sh (do_version): Likewise.
19836 * malloc/memusagestat.c (print_version): Likewise.
19837 * malloc/mtrace.pl: Likewise.
19838 * manual/libc.texinfo: Likewise.
19839 * nptl/version.c (banner): Likewise.
19840 * nscd/nscd.c (print_version): Likewise.
19841 * nss/getent.c (print_version): Likewise.
19842 * nss/makedb.c (print_version): Likewise.
19843 * posix/getconf.c (main): Likewise.
19844 * scripts/test-installation.pl: Likewise.
19845 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
19846
19847 * All files with FSF copyright notices: Update copyright dates
19848 using scripts/update-copyrights.
19849 * locale/programs/charmap-kw.h: Regenerated.
19850 * locale/programs/locfile-kw.h: Likewise.
19851
19852 2017-12-31 Zack Weinberg <zackw@panix.com>
19853
19854 * libio/bits/libio-ldbl.h: Correct check for improper
19855 inclusion. Add own multiple include guard.
19856
19857 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
19858 Dmitry V. Levin <ldv@altlinux.org>
19859
19860 [BZ #22625]
19861 CVE-2017-16997
19862 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
19863 string token expansion. Check for NULL pointer or empty string possibly
19864 returned by expand_dynamic_string_token.
19865 (decompose_rpath): Check for empty path after dynamic string
19866 token expansion.
19867
19868 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
19869
19870 [BZ #22433]
19871 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
19872
19873 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
19874 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
19875 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
19876 and PTRACE_SYSCALL.
19877 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
19878 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19879 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19880 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19881 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19882 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
19883
19884 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
19885 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
19886 __ptrace_peeksiginfo_flags, ptrace): Move to ...
19887 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
19888 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19889 bits/ptrace-shared.h.
19890 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
19891 <bits/ptrace-shared.h>.
19892 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
19893 __ptrace_peeksiginfo_flags, ptrace): Remove.
19894 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19895 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19896 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19897 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19898 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
19899
19900 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
19901
19902 [BZ #17804]
19903 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
19904 end of the loop. Improve comments.
19905
19906 2017-12-29 Zack Weinberg <zackw@panix.com>
19907
19908 [BZ #22615]
19909 * manual/errno.texi (Checking for Errors): Explicitly say that errno
19910 might be set on success.
19911
19912 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
19913
19914 [BZ #22611]
19915 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
19916 is unchanged on success.
19917
19918 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
19919
19920 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
19921 updated.
19922 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
19923 expand_dynamic_string_token): Likewise.
19924 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
19925 is_path argument.
19926
19927 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
19928 contains ':'.
19929
19930 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
19931 is set and name contains ':', and all code depending on these checks.
19932
19933 2017-12-24 Zack Weinberg <zackw@panix.com>
19934
19935 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
19936 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
19937 respectively.
19938 * libio/libio.h: Rename the original version of this file to
19939 libio/bits/libio.h. Error out if not included by stdio.h or the
19940 stub libio.h.
19941 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
19942 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
19943 if not included by bits/libio.h or the stub _G_config.h.
19944 * sysdeps/unix/sysv/linux/_G_config.h: Move to
19945 sysdeps/unix/sysv/linux/bits. Error out if not included by
19946 bits/libio.h or the stub _G_config.h.
19947 * libio/stdio.h: Include bits/libio.h, not libio.h.
19948 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
19949 well as libio.h and _G_config.h.
19950
19951 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
19952 * libio/strfile.h, stdio-common/vfscanf.c
19953 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
19954 Include stdio.h, not _G_config.h nor libio.h.
19955 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
19956 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
19957
19958 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
19959
19960 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
19961
19962 [BZ #22347]
19963 * stdlib/getrandom.c (getrandom): Fix comment.
19964 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
19965
19966 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
19967
19968 [BZ #21161]
19969 * manual/arith.texi (strtoul): Fix a typo.
19970
19971 [BZ #22596]
19972 * manual/arith.texi (finite): Fix the description of the return
19973 value.
19974
19975 2017-12-22 Eric Blake <ebb9@byu.net>
19976
19977 Avoid gcc warnings on cygwin
19978 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
19979 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
19980 Avoid unused variable.
19981
19982 2017-12-22 Florian Weimer <fweimer@redhat.com>
19983
19984 * io/Makefile (routines): Add copy_file_range.
19985 (tests): Add tst-copy_file_range.
19986 (tests-static, tests-internal): Add tst-copy_file_range-compat.
19987 * io/Versions (GLIBC_2.27): Export copy_file_range.
19988 * io/copy_file_range-compat.c: New file.
19989 * io/copy_file_range.c: Likewise.
19990 * io/tst-copy_file_range-compat.c: Likewise.
19991 * io/tst-copy_file_range.c: Likewise.
19992 * manual/llio.texi (Copying File Data): New section.
19993 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
19994 * support/Makefile (libsupport-routines): Add support-xfstat,
19995 xftruncate, xlseek.
19996 * support/support-xfstat.c: New file.
19997 * support/xftruncate.c: Likewise.
19998 * support/xlseek.c: Likewise.
19999 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
20000 * sysdeps/unix/sysv/linux/**.abilist: Update.
20001 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
20002
20003 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
20004
20005 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20006 disable-multi-arch variant to aarch64-linux-gnu.
20007
20008 2017-12-20 Joseph Myers <joseph@codesourcery.com>
20009
20010 * manual/texinfo.tex: Update to version 2017-12-18.20 with
20011 trailing whitespace removed.
20012 * scripts/config.guess: Update to version 2017-12-17.
20013 * scripts/config.sub: Update to version 2017-11-23.
20014 * scripts/install-sh: Update to version 2017-09-23.17.
20015 * scripts/move-if-change: Update to version 2017-09-13 06:45.
20016
20017 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20018
20019 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
20020 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
20021 * sysdeps/tile/_mcount.S (__mcount): Likewise.
20022 * sysdeps/tile/crti.S (_init, _fini): Likewise.
20023 * sysdeps/tile/crtn.S: Likewise.
20024 * sysdeps/tile/dl-start.S (_start): Likewise.
20025 * sysdeps/tile/dl-trampoline.S: Likewise.
20026 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
20027 * sysdeps/tile/start.S (_start): Likewise.
20028 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
20029 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
20030 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
20031 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
20032 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
20033 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
20034 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
20035
20036 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
20037 comment.
20038 * sysdeps/tile/preconfigure: Remove tilegx folder.
20039 * sysdeps/tile/tilegx/Implies: Move definitions to ...
20040 * sysdeps/tile/Implies: ... here.
20041 * sysdeps/tile/tilegx/Makefile: Move rules to ...
20042 * sysdeps/tile/Makefile: ... here.
20043 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
20044 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
20045 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
20046 * sysdeps/tile/bits/wordsize.h: ... here.
20047 * sysdeps/tile/tilegx/*: Move to ...
20048 * sysdeps/tile/*: ... here.
20049 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
20050 * sysdeps/tile/tilegx32/Implies: ... here.
20051 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
20052 * sysdeps/tile/tilegx64/Implies: ... here.
20053 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
20054 to ...
20055 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
20056 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
20057 * sysdeps/unix/sysv/linux/tile/*: ... here.
20058 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
20059 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
20060 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
20061 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
20062
20063 * README: Remove tilepro-*-linux-gnu from supported architecture.
20064 * scripts/build-many-glibcs.py: Likewise.
20065 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
20066 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
20067 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
20068 elf_machine_matches_host, elf_machine_dynamic,
20069 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
20070 howto, elf_machine_rela): Likewise.
20071 * sysdeps/tile/dl-start.S (_start): Likewise.
20072 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
20073 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
20074 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
20075 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
20076 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
20077 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
20078 Likewise.
20079 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
20080 * sysdeps/tile/preconfigure: Likewise.
20081 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
20082 POINTER_CHK_GUARD): Likewise.
20083 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
20084 * sysdeps/tile/start.S (_start): Likewise.
20085 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
20086 Likewise.
20087 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
20088 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
20089 CMOVNEZ): Remove.
20090 * sysdeps/unix/sysv/linux/tile/bits/environments.h
20091 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
20092 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
20093 Likewise.
20094 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
20095 * sysdeps/tile/tilepro/Implies: Remove file.
20096 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
20097 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
20098 * sysdeps/tile/tilepro/memchr.c: Likewise.
20099 * sysdeps/tile/tilepro/memcpy.S: Likewise.
20100 * sysdeps/tile/tilepro/memset.c: Likewise.
20101 * sysdeps/tile/tilepro/memusage.h: Likewise.
20102 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
20103 * sysdeps/tile/tilepro/strchr.c: Likewise.
20104 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
20105 * sysdeps/tile/tilepro/strlen.c: Likewise.
20106 * sysdeps/tile/tilepro/strrchr.c: Likewise.
20107 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
20108 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
20109 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
20110 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
20111 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
20112 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
20113 Likewise.
20114 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
20115 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20116 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
20117 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
20118 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20119 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
20120 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
20121 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
20122 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
20123 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
20124 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
20125 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
20126 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
20127 tilepro mention in comment.
20128
20129 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
20130 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
20131 * nptl/pthread_join_common.c: New file: common function used on
20132 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
20133 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
20134 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
20135 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
20136 (cleanup): Move definition to pthread_join_common.c.
20137 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
20138 Remove superflous checks.
20139 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
20140 Likewise.
20141
20142 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
20143
20144 * sysdeps/aarch64/libm-test-ulps: Update.
20145
20146 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20147
20148 * sysdeps/aarch64/memset.S (MEMSET): Define.
20149
20150 2017-12-20 Florian Weimer <fweimer@redhat.com>
20151
20152 [BZ #22635]
20153 nptl: Provide full implementation of pthread_self in libc.so.
20154 * nptl/Makefile (routines): Add pthread_self.
20155 (libpthread-routines): Replace pthread_self with
20156 compat-pthread_self.
20157 * nptl/forward.c (pthread_self): Remove.
20158 * nptl/nptl-init.c (pthread_functions): Do not initialize
20159 ptr_pthread_self.
20160 * nptl/pthread_self.c (pthread_self): Remove weak alias.
20161 * nptl/compat-pthread_self.c: New file.
20162 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
20163 Remove ptr_pthread_self.
20164
20165 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
20166
20167 * posix/regcomp.c: Fix spelling in comments.
20168 * posix/regex.h: Likewise.
20169 * posix/regex_internal.c: Likewise.
20170 * posix/regexec.c: Likewise.
20171
20172 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
20173
20174 [BZ #22377]
20175 * math/Makefile [C++] (tests): Add test for iseqsig.
20176 * math/math.h [C++] (iseqsig): New implementation, which does
20177 not rely on __MATH_TG/__builtin_types_compatible_p.
20178 * math/test-math-iseqsig.cc: New file.
20179 * sysdeps/powerpc/powerpc64le/Makefile
20180 (CFLAGS-test-math-iseqsig.cc): New variable.
20181
20182 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
20183
20184 * elf/dl-load.c (is_trusted_path): Remove.
20185 (fillin_rpath): Remove check_trusted argument and its use,
20186 all callers changed.
20187
20188 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20189
20190 [BZ #22630]
20191 * Makeconfig (link-pie-before-libc): Replace -pie with
20192 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
20193 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
20194 (tst-dlopen-aout-no-pie): New.
20195 (LDFLAGS-tst-prelink): Removed.
20196 (tst-prelink-no-pie): New.
20197 (LDFLAGS-tst-main1): Removed.
20198 (tst-main1-no-pie): New.
20199 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
20200 (tst-gmon-no-pie): New.
20201
20202 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20203
20204 * manual/install.texi: Document that --enable-static-pie
20205 implies PIE.
20206 * INSTALL: Regenerated.
20207
20208 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
20209
20210 [BZ #21309]
20211 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
20212 unsigned.
20213
20214 2017-12-19 Joseph Myers <joseph@codesourcery.com>
20215
20216 Revert:
20217
20218 2017-12-19 Joseph Myers <joseph@codesourcery.com>
20219
20220 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20221
20222 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20223
20224 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
20225 <errno.h>. Include "eexp.tbl".
20226 (half): New constant.
20227 (one): Likewise.
20228 (__ieee754_exp): Rewrite.
20229 (__slowexp): Remove prototype.
20230 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
20231 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
20232 * sysdeps/i386/fpu/slowexp.c: Likewise.
20233 * sysdeps/ia64/fpu/slowexp.c: Likewise.
20234 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
20235 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
20236 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
20237 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20238 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
20239 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
20240 comment.
20241 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
20242 (CPPFLAGS-slowexp.c): Remove variable.
20243 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20244 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
20245 (CFLAGS-slowexp-fma.c): Remove variable.
20246 (CFLAGS-slowexp-fma4.c): Likewise.
20247 (CFLAGS-slowexp-avx.c): Likewise.
20248 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
20249 define as macro.
20250 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
20251 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
20252 * math/Makefile (type-double-routines): Remove slowexp.
20253 * manual/probes.texi (slowexp_p6): Remove.
20254 (slowexp_p32): Likewise.
20255
20256 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20257
20258 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
20259 arithmetic.
20260
20261 * lib/glob.c (glob): Do not pass NULL to mempcpy.
20262
20263 2017-12-19 Joseph Myers <joseph@codesourcery.com>
20264
20265 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20266
20267 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20268
20269 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
20270 <errno.h>. Include "eexp.tbl".
20271 (half): New constant.
20272 (one): Likewise.
20273 (__ieee754_exp): Rewrite.
20274 (__slowexp): Remove prototype.
20275 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
20276 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
20277 * sysdeps/i386/fpu/slowexp.c: Likewise.
20278 * sysdeps/ia64/fpu/slowexp.c: Likewise.
20279 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
20280 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
20281 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
20282 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20283 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
20284 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
20285 comment.
20286 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
20287 (CPPFLAGS-slowexp.c): Remove variable.
20288 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20289 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
20290 (CFLAGS-slowexp-fma.c): Remove variable.
20291 (CFLAGS-slowexp-fma4.c): Likewise.
20292 (CFLAGS-slowexp-avx.c): Likewise.
20293 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
20294 define as macro.
20295 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
20296 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
20297 * math/Makefile (type-double-routines): Remove slowexp.
20298 * manual/probes.texi (slowexp_p6): Remove.
20299 (slowexp_p32): Likewise.
20300
20301 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20302 James Clarke <jrtc27@jrtc27.com>
20303
20304 [BZ #22603]
20305 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
20306 addition.
20307
20308 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20309
20310 [BZ #22605]
20311 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
20312 code.
20313
20314 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20315
20316 [BZ #22563]
20317 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20318 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
20319 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20320 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
20321 to feature_1.
20322
20323 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20324
20325 [BZ #22563]
20326 * bits/types/__cancel_jmp_buf_tag.h: New file.
20327 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
20328 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
20329 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
20330 * nptl/Makefile (headers): Add
20331 bits/types/__cancel_jmp_buf_tag.h.
20332 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
20333 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
20334 * sysdeps/nptl/pthread.h: Include
20335 <bits/types/__cancel_jmp_buf_tag.h>.
20336 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
20337 __cancel_jmp_buf.
20338 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
20339
20340 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
20341
20342 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20343 --enable-static-pie variants to x86_64, x32 and i686.
20344
20345 2017-12-19 Joseph Myers <joseph@codesourcery.com>
20346
20347 [BZ #22631]
20348 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
20349 argument for attrubutes. All callers changed.
20350 (__inline_mathop1): Likewise. All callers changed.
20351 (__inline_mathop): Likewise. All callers changed.
20352 [__USE_MISC] (scalbn): Use __inline_forward instead of
20353 __inline_forward_c.
20354 [__USE_ISOC99] (scalbln): Likewise.
20355 [__USE_ISOC99] (nearbyint): Likewise.
20356 [__USE_ISOC99] (lrint): Likewise.
20357 [__USE_MISC] (scalbnf): Likewise.
20358 [__USE_ISOC99] (scalblnf): Likewise.
20359 [__USE_ISOC99] (nearbyintf): Likewise.
20360 [__USE_ISOC99] (lrintf): Likewise.
20361 [__USE_MISC] (scalbnl): Likewise.
20362 [__USE_ISOC99] (scalblnl): Likewise.
20363 [__USE_ISOC99] (nearbyintl): Likewise.
20364 [__USE_ISOC99] (lrintl): Likewise.
20365 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
20366 __inline_mathop and __m81_defun changed.
20367
20368 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
20369 CPU or FPU for ARM hard-float configurations.
20370
20371 2017-12-18 Joseph Myers <joseph@codesourcery.com>
20372
20373 * nptl/tst-attr3.c: Include <libc-diag.h>.
20374 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
20375
20376 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
20377
20378 * string/tester.c (test_strncat): Also disable -Warray-bounds
20379 warnings for two tests.
20380
20381 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
20382
20383 [BZ #22614]
20384 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
20385 $(cc-pie-default) == yes.
20386 * config.make.in (cc-pie-default): New.
20387 * configure.ac (libc_cv_pie_default): Renamed to ...
20388 (libc_cv_cc_pie_default): This.
20389 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
20390 * configure: Regenerated.
20391
20392 2017-12-18 Florian Weimer <fweimer@redhat.com>
20393
20394 [BZ #20204]
20395 ld.so: Harden dl-libc/libdl hooks.
20396 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
20397 (rtld_active): New function.
20398 * dlfcn/dladdr.c (__dladdr): Call it.
20399 * dlfcn/dladdr1.c (__dladdr1): Likewise.
20400 * dlfcn/dlclose.c (__dlcose): Likewise.
20401 * dlfcn/dlerror.c (__dlerror): Likewise.
20402 * dlfcn/dlinfo.c (__dlinfo): Likewise.
20403 * dlfcn/dlmopen.c (__dlmopen): Likewise.
20404 * dlfcn/dlopen.c (__dlopen): Likewise.
20405 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
20406 * dlfcn/dlsym.c (__dlsym): Likewise.
20407 * dlfcn/dlvsym.c (__dlvsym): Likewise.
20408 * libio/vtables.c (_IO_vtable_check): Likewise.
20409 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
20410 (__libc_dlclose): Likewise.
20411 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
20412 assignment.
20413
20414 2017-12-18 Joseph Myers <joseph@codesourcery.com>
20415
20416 [BZ #22446]
20417 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
20418 buffers for readlink input and output.
20419
20420 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
20421
20422 [BZ #22624]
20423 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
20424 inhibit_stack_protector.
20425
20426 [BZ #22624]
20427 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
20428 inhibit_stack_protector.
20429
20430 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
20431
20432 [BZ #22627]
20433 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
20434 code and invocation.
20435
20436 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
20437
20438 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
20439
20440 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
20441
20442 [BZ #22505]
20443 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
20444
20445 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20446
20447 * sysdeps/s390/fpu/libm-test-ulps: Update.
20448
20449 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20450
20451 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20452
20453 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20454
20455 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
20456 constants to s_sincosf.h file.
20457 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20458 * sysdeps/ieee754/flt-32/s_sincosf.c: New
20459 implementation.
20460 * sysdeps/ieee754/flt-32/s_sincosf.h:
20461 New file.
20462
20463 2017-12-12 Carlos O'Donell <carlos@redhat.com>
20464
20465 [BZ #14681]
20466 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
20467 before mtrace.
20468
20469 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
20470
20471 [BZ #19574]
20472 * INSTALL: Regenerated.
20473 * Makeconfig (real-static-start-installed-name): New.
20474 (pic-default): Updated for --enable-static-pie.
20475 (pie-default): New for --enable-static-pie.
20476 (default-pie-ldflag): Likewise.
20477 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
20478 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
20479 Replace $(static-start-installed-name) with
20480 $(real-static-start-installed-name).
20481 (+prectorT): Updated for --enable-static-pie.
20482 (+postctorT): Likewise.
20483 (CFLAGS-.o): Add $(pie-default).
20484 (CFLAGS-.op): Likewise.
20485 * NEWS: Mention --enable-static-pie.
20486 * config.h.in (ENABLE_STATIC_PIE): New.
20487 * configure.ac (--enable-static-pie): New configure option.
20488 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
20489 (have-static-pie): Likewise.
20490 Enable static PIE if linker supports --no-dynamic-linker.
20491 (ENABLE_STATIC_PIE): New AC_DEFINE.
20492 (enable-static-pie): New LIBC_CONFIG_VAR.
20493 * configure: Regenerated.
20494 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
20495 gr$(start-installed-name) for --enable-static-pie.
20496 (extra-objs): Likewise.
20497 (install-lib): Likewise.
20498 (extra-objs): Add static-reloc.o and static-reloc.os
20499 ($(objpfx)$(start-installed-name)): Also depend on
20500 $(objpfx)static-reloc.o.
20501 ($(objpfx)r$(start-installed-name)): New.
20502 ($(objpfx)g$(start-installed-name)): Also depend on
20503 $(objpfx)static-reloc.os.
20504 ($(objpfx)gr$(start-installed-name)): New.
20505 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
20506 in libc.a.
20507 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
20508 initimage.
20509 * csu/static-reloc.c: New file.
20510 * elf/Makefile (routines): Add dl-reloc-static-pie.
20511 (elide-routines.os): Likewise.
20512 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
20513 (tst-tls1-static-non-pie-no-pie): New.
20514 * elf/dl-reloc-static-pie.c: New file.
20515 * elf/dl-support.c (_dl_get_dl_main_map): New function.
20516 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
20517 STATIC_PIE_BOOTSTRAP.
20518 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
20519 * gmon/Makefile (tests): Add tst-gmon-static-pie.
20520 (tests-static): Likewise.
20521 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
20522 (tst-gmon-static-no-pie): New.
20523 (CFLAGS-tst-gmon-static-pie.c): Likewise.
20524 (CRT-tst-gmon-static-pie): Likewise.
20525 (tst-gmon-static-pie-ENV): Likewise.
20526 (tests-special): Likewise.
20527 ($(objpfx)tst-gmon-static-pie.out): Likewise.
20528 (clean-tst-gmon-static-pie-data): Likewise.
20529 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
20530 * gmon/tst-gmon-static-pie.c: New file.
20531 * manual/install.texi: Document --enable-static-pie.
20532 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
20533 (_dl_get_dl_main_map): Likewise.
20534 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
20535 * sysdeps/x86_64/configure.ac: Likewise.
20536 * sysdeps/i386/configure: Regenerated.
20537 * sysdeps/x86_64/configure: Likewise.
20538 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
20539 (ASFLAGS-.op): Likewise.
20540
20541 2017-12-15 Joseph Myers <joseph@codesourcery.com>
20542
20543 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
20544 * posix/tst-mmap-offset.c (fname): Use /tmp.
20545 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
20546
20547 2017-12-15 Steve Ellcey <sellcey@cavium.com>
20548
20549 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
20550
20551 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
20552
20553 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
20554 errno.
20555
20556 2017-12-15 Joseph Myers <joseph@codesourcery.com>
20557
20558 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
20559 --with-float=hard for arm-linux-gnueabihf configurations.
20560
20561 [BZ #14121]
20562 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
20563 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
20564 ($(mo-installed)): Use $(objpfx)%.mo.
20565 (realclean): Remove rule.
20566
20567 * po/Makefile (linguas): Remove rule and dependencies.
20568 (linguas.mo): Likewise.
20569 (.PHONY): Do not depend on linguas and linguas.mo.
20570 (podir): Remove variable.
20571 (pofiles): Likewise.
20572 [$(pofiles)] (%.po): Remove rule.
20573
20574 * sysdeps/sparc/sparc32/Makefile
20575 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
20576 start-of-line whitespace in argument of echo.
20577 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
20578 with whitespace. Generate __wrap_.udiv alias.
20579 * sysdeps/sparc/sparc32/rem.S: Regenerated.
20580 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
20581 * sysdeps/sparc/sparc32/udiv.S: Likewise.
20582 * sysdeps/sparc/sparc32/urem.S: Likewise.
20583
20584 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20585
20586 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
20587 for aligned inputs.
20588
20589 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
20590
20591 * benchtests/bench-strcmp.c: Print output in JSON format.
20592
20593 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
20594
20595 2017-12-14 Florian Weimer <fweimer@redhat.com>
20596
20597 [BZ #22607]
20598 CVE-2017-1000409
20599 * elf/dl-load.c (_dl_init_paths): Compute number of components in
20600 the expanded path string.
20601
20602 2017-12-14 Florian Weimer <fweimer@redhat.com>
20603
20604 [BZ #22606]
20605 CVE-2017-1000408
20606 * elf/dl-load.c (system_dirs): Update comment.
20607 (nsystem_dirs_len): Use array_length.
20608 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
20609
20610 2017-12-14 Florian Weimer <fweimer@redhat.com>
20611
20612 Simplify compiling most of support/ outside of glibc.
20613 * support/check_addrinfo.c: Include <string.h>.
20614 * support/check_dns_packet.c: Likewise.
20615 * support/check_hostent.c: Likewise.
20616 * support/support_can_chroot.c: Include <support/xunistd.h>.
20617 * support/support_format_addrinfo.c: Include <stdlib.h>
20618 * support/support_format_dns_packet.c: Include <stdbool.h>.
20619 * support/support_format_hostent.c: Include <stdlib.h>.
20620 * support/support_format_netent.c: Likewise.
20621 * support/support_write_string.c: Include <support/xunistd.h>.
20622 * support/xdlfcn.c: Include <stddef.h>.
20623
20624 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
20625
20626 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
20627
20628 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20629 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20630
20631 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20632 (sysdeps_routines): Add memset-niagara7.
20633 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
20634 Likewise.
20635 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
20636 file.
20637 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
20638 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
20639 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
20640 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
20641 Add niagara7 option.
20642 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
20643 memset.
20644
20645 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20646 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
20647 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
20648 Likewise.
20649 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
20650 New file.
20651 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
20652 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
20653 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
20654 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
20655 and __memmove_niagara7.
20656 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
20657 Add niagara7 option.
20658 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
20659 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
20660 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
20661 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
20662 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
20663
20664 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
20665
20666 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
20667 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
20668 * sysdeps/sparc/sparc64/memmove.S: Likewise.
20669 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
20670
20671 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
20672 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
20673 _dl_sparc_cap_flags array.
20674 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
20675
20676 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
20677
20678 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
20679 time whenever possible.
20680
20681 2017-12-12 Carlos O'Donell <carlos@redhat.com>
20682
20683 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
20684 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
20685
20686 2017-12-12 Joseph Myers <joseph@codesourcery.com>
20687
20688 * soft-fp/fmadf4.c: Move to ....
20689 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
20690 * soft-fp/fmasf4.c: Move to ....
20691 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
20692 * soft-fp/fmatf4.c: Move to ....
20693 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
20694 * sysdeps/ieee754/soft-fp/Makefile: New file.
20695 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
20696 * sysdeps/arm/preconfigure: Regenerated.
20697 * sysdeps/arm/nofpu/Implies: New file.
20698 * sysdeps/arm/s_fma.c: Remove file.
20699 * sysdeps/arm/s_fmaf.c: Likewise.
20700 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
20701 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
20702 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
20703 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
20704 * sysdeps/microblaze/s_fma.c: Remove file.
20705 * sysdeps/microblaze/s_fmaf.c: Likewise.
20706 * sysdeps/mips/mips32/nofpu/Implies: New file.
20707 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
20708 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
20709 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
20710 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
20711 * sysdeps/mips/ieee754/s_fma.c: Remove file.
20712 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
20713 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
20714 implementation.
20715 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
20716 * sysdeps/nios2/s_fma.c: Remove file.
20717 * sysdeps/nios2/s_fmaf.c: Likewise.
20718 * sysdeps/sh/nofpu/Implies: New file.
20719 * sysdeps/sh/s_fma.c: Remove file.
20720 * sysdeps/sh/s_fmaf.c: Likewise.
20721 * sysdeps/tile/Implies: Add ieee754/soft-fp.
20722 * sysdeps/tile/s_fma.c: Remove file.
20723 * sysdeps/tile/s_fmaf.c: Likewise.
20724
20725 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
20726
20727 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20728 Add s_cosf-sse2 and s_cosf-fma.
20729 (CFLAGS-s_cosf-fma.c): New.
20730 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
20731 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
20732 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
20733
20734 2017-12-12 Steve Ellcey <sellcey@cavium.com>
20735
20736 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
20737
20738 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20739
20740 * libio/Makefile (tests): Add tst-bz22415.
20741 (tst-bz22415-ENV): New rule.
20742 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
20743 (tests-special): Add tst-bz22415-mem.out.
20744 ($(objpfx)tst-bz22415-mem.out): New rule.
20745 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
20746 in case of a successful seek operation.
20747 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20748 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
20749 buffer is required.
20750 * libio/tst-bz22415.c: New test.
20751
20752 * sysdeps/ia64/fpu/libm-test-ulps: Update.
20753
20754 2017-12-12 James Clarke <jrtc27@jrtc27.com>
20755
20756 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
20757 __IPC_64 to 0 to avoid IPC_64 being set.
20758
20759 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
20760
20761 [BZ #22593]
20762 * math/bits/mathcalls.h (nextafter): Remove const.
20763 (nexttoward): Likewise.
20764
20765 2017-12-12 Joseph Myers <joseph@codesourcery.com>
20766
20767 * configure.ac (--with-fp): Remove configure option.
20768 (with_fp_cond): New variable.
20769 (libc_cv_with_fp): New configure test. Use this variable instead
20770 of with_fp.
20771 * configure: Regenerated.
20772 * config.make.in (with-fp): Use @libc_cv_with_fp@.
20773 * manual/install.texi (Configuring and compiling): Remove
20774 --without-fp.
20775 * INSTALL: Regenerated.
20776 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
20777 * sysdeps/mips/preconfigure (with_fp_cond): Define.
20778 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
20779 * sysdeps/sh/preconfigure (with_fp_cond): Define.
20780 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
20781 use --without-fp to configure glibc.
20782
20783 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
20784
20785 * manual/locale.texi (nl_langinfo): Fix a typo.
20786
20787 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
20788
20789 [BZ #22588]
20790 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
20791
20792 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
20793
20794 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
20795 (CFLAGS-argp-parse.c): Likewise.
20796 (CFLAGS-argp-fmtstream.c): Likewise.
20797 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
20798 (CPPFLAGS-sha512-crypt.c): Likewise.
20799 (CPPFLAGS-md5-crypt.c): Likewise.
20800 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
20801 (CFLAGS-stack_chk_fail_local.c): Likewise.
20802 (CFLAGS-backtrace.c): Likewise.
20803 (CFLAGS-sprintf_chk.c): Likewise.
20804 (CFLAGS-snprintf_chk.c): Likewise.
20805 (CFLAGS-vsprintf_chk.c): Likewise.
20806 (CFLAGS-vsnprintf_chk.c): Likewise.
20807 (CFLAGS-asprintf_chk.c): Likewise.
20808 (CFLAGS-vasprintf_chk.c): Likewise.
20809 (CFLAGS-obprintf_chk.c): Likewise.
20810 (CFLAGS-dprintf_chk.c): Likewise.
20811 (CFLAGS-vdprintf_chk.c): Likewise.
20812 (CFLAGS-printf_chk.c): Likewise.
20813 (CFLAGS-fprintf_chk.c): Likewise.
20814 (CFLAGS-vprintf_chk.c): Likewise.
20815 (CFLAGS-vfprintf_chk.c): Likewise.
20816 (CFLAGS-gets_chk.c): Likewise.
20817 (CFLAGS-fgets_chk.c): Likewise.
20818 (CFLAGS-fgets_u_chk.c): Likewise.
20819 (CFLAGS-fread_chk.c): Likewise.
20820 (CFLAGS-fread_u_chk.c): Likewise.
20821 (CFLAGS-swprintf_chk.c): Likewise.
20822 (CFLAGS-vswprintf_chk.c): Likewise.
20823 (CFLAGS-wprintf_chk.c): Likewise.
20824 (CFLAGS-fwprintf_chk.c): Likewise.
20825 (CFLAGS-vwprintf_chk.c): Likewise.
20826 (CFLAGS-vfwprintf_chk.c): Likewise.
20827 (CFLAGS-fgetws_chk.c): Likewise.
20828 (CFLAGS-fgetws_u_chk.c): Likewise.
20829 (CFLAGS-read_chk.c): Likewise.
20830 (CFLAGS-pread_chk.c): Likewise.
20831 (CFLAGS-pread64_chk.c): Likewise.
20832 (CFLAGS-recv_chk.c): Likewise.
20833 (CFLAGS-recvfrom_chk.c): Likewise.
20834 (CFLAGS-tst-longjmp_chk.c): Likewise.
20835 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
20836 (CFLAGS-tst-longjmp_chk2.c): Likewise.
20837 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
20838 (CFLAGS-tst-longjmp_chk3.c): Likewise.
20839 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
20840 (CFLAGS-tst-chk1.c): Likewise.
20841 (CFLAGS-tst-chk2.c): Likewise.
20842 (CFLAGS-tst-chk3.c): Likewise.
20843 (CFLAGS-tst-chk4.cc): Likewise.
20844 (CFLAGS-tst-chk5.cc): Likewise.
20845 (CFLAGS-tst-chk6.cc): Likewise.
20846 (CFLAGS-tst-lfschk1.c): Likewise.
20847 (CFLAGS-tst-lfschk2.c): Likewise.
20848 (CFLAGS-tst-lfschk3.c): Likewise.
20849 (CFLAGS-tst-lfschk4.cc): Likewise.
20850 (CFLAGS-tst-lfschk5.cc): Likewise.
20851 (CFLAGS-tst-lfschk6.cc): Likewise.
20852 (CFLAGS-tst-ssp-1.c): Likewise.
20853 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
20854 (CFLAGS-scandir64.c): Likewise.
20855 (CFLAGS-scandir-tail.c): Likewise.
20856 (CFLAGS-scandir64-tail.c): Likewise.
20857 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
20858 (CFLAGS-dl-tunables.c): Likewise.
20859 (CFLAGS-dl-runtime.c): Likewise.
20860 (CFLAGS-dl-lookup.c): Likewise.
20861 (CFLAGS-dl-iterate-phdr.c): Likewise.
20862 (CFLAGS-vismain.c): Likewise.
20863 (CFLAGS-tst-linkall-static.c): Likewise.
20864 (CFLAGS-tst-linkall-static.c): Likewise.
20865 (CPPFLAGS-dl-load.c): Likewise.
20866 (CFLAGS-ldconfig.c): Likewise.
20867 (CFLAGS-dl-cache.c): Likewise.
20868 (CFLAGS-cache.c): Likewise.
20869 (CFLAGS-rtld.c): Likewise.
20870 (CFLAGS-multiload.c): Likewise.
20871 (CFLAGS-filtmod1.c): Likewise.
20872 (CFLAGS-tst-align.c): Likewise.
20873 (CFLAGS-tst-align2.c): Likewise.
20874 (CFLAGS-tst-alignmod.c): Likewise.
20875 (CFLAGS-tst-alignmod2.c): Likewise.
20876 (CPPFLAGS-tst-execstack.c): Likewise.
20877 (CFLAGS-tst-ptrguard1-static.c): Likewise.
20878 (CFLAGS-tst-latepthreadmod.c): Likewise.
20879 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
20880 (CFLAGS-getgrnam_r.c): Likewise.
20881 (CFLAGS-getgrent_r.c): Likewise.
20882 (CFLAGS-getgrent.c): Likewise.
20883 (CFLAGS-fgetgrent.c): Likewise.
20884 (CFLAGS-fgetgrent_r.c): Likewise.
20885 (CFLAGS-putgrent.c): Likewise.
20886 (CFLAGS-initgroups.c): Likewise.
20887 (CFLAGS-getgrgid.c): Likewise.
20888 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
20889 (CFLAGS-getsgent.c): Likewise.
20890 (CFLAGS-fgetsgent.c): Likewise.
20891 (CFLAGS-fgetsgent_r.c): Likewise.
20892 (CFLAGS-putsgent.c): Likewise.
20893 (CFLAGS-getsgnam.c): Likewise.
20894 (CFLAGS-getsgnam_r.c): Likewise.
20895 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
20896 (CFLAGS-iconv_charmap.c): Likewise.
20897 (CFLAGS-dummy-repertoire.c): Likewise.
20898 (CFLAGS-charmap.c): Likewise.
20899 (CFLAGS-linereader.c): Likewise.
20900 (CFLAGS-simple-hash.c): Likewise.
20901 (CFLAGS-gconv_conf.c): Likewise.
20902 (CFLAGS-iconvconfig.c): Likewise.
20903 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
20904 (CFLAGS-gethstbyad.c): Likewise.
20905 (CFLAGS-gethstbynm_r.c): Likewise.
20906 (CFLAGS-gethstbynm.c): Likewise.
20907 (CFLAGS-gethstbynm2_r.c): Likewise.
20908 (CFLAGS-gethstbynm2.c): Likewise.
20909 (CFLAGS-gethstent_r.c): Likewise.
20910 (CFLAGS-gethstent.c): Likewise.
20911 (CFLAGS-rcmd.c): Likewise.
20912 (CFLAGS-getnetbynm_r.c): Likewise.
20913 (CFLAGS-getnetbynm.c): Likewise.
20914 (CFLAGS-getnetbyad_r.c): Likewise.
20915 (CFLAGS-getnetbyad.c): Likewise.
20916 (CFLAGS-getnetent_r.c): Likewise.
20917 (CFLAGS-getnetent.c): Likewise.
20918 (CFLAGS-getaliasent_r.c): Likewise.
20919 (CFLAGS-getaliasent.c): Likewise.
20920 (CFLAGS-getrpcent_r.c): Likewise.
20921 (CFLAGS-getrpcent.c): Likewise.
20922 (CFLAGS-getservent_r.c): Likewise.
20923 (CFLAGS-getservent.c): Likewise.
20924 (CFLAGS-getprtent_r.c): Likewise.
20925 (CFLAGS-getprtent.c): Likewise.
20926 (CFLAGS-either_ntoh.c): Likewise.
20927 (CFLAGS-either_hton.c): Likewise.
20928 (CFLAGS-getnetgrent.c): Likewise.
20929 (CFLAGS-getnetgrent_r.c): Likewise.
20930 (CFLAGS-tst-checks-posix.c): Likewise.
20931 (CFLAGS-tst-sockaddr.c): Likewise.
20932 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
20933 (CFLAGS-tst-translit.c): Likewise.
20934 (CFLAGS-tst-gettext2.c): Likewise.
20935 (CFLAGS-tst-codeset.c): Likewise.
20936 (CFLAGS-tst-gettext3.c): Likewise.
20937 (CFLAGS-tst-gettext4.c): Likewise.
20938 (CFLAGS-tst-gettext5.c): Likewise.
20939 (CFLAGS-tst-gettext6.c): Likewise.
20940 * io/Makefile (CFLAGS-open.c): Likewise.
20941 (CFLAGS-open64.c): Likewise.
20942 (CFLAGS-creat.c): Likewise.
20943 (CFLAGS-creat64.c): Likewise.
20944 (CFLAGS-fcntl.c): Likewise.
20945 (CFLAGS-poll.c): Likewise.
20946 (CFLAGS-ppoll.c): Likewise.
20947 (CFLAGS-lockf.c): Likewise.
20948 (CFLAGS-statfs.c): Likewise.
20949 (CFLAGS-fstatfs.c): Likewise.
20950 (CFLAGS-statvfs.c): Likewise.
20951 (CFLAGS-fstatvfs.c): Likewise.
20952 (CFLAGS-fts.c): Likewise.
20953 (CFLAGS-fts64.c): Likewise.
20954 (CFLAGS-ftw.c): Likewise.
20955 (CFLAGS-ftw64.c): Likewise.
20956 (CFLAGS-lockf.c): Likewise.
20957 (CFLAGS-posix_fallocate.c): Likewise.
20958 (CFLAGS-posix_fallocate64.c): Likewise.
20959 (CFLAGS-fallocate.c): Likewise.
20960 (CFLAGS-fallocate64.c): Likewise.
20961 (CFLAGS-read.c): Likewise.
20962 (CFLAGS-write.c): Likewise.
20963 (CFLAGS-test-stat.c): Likewise.
20964 (CFLAGS-test-lfs.c): Likewise.
20965 * libio/Makefile (CFLAGS-fileops.c): Likewise.
20966 (CFLAGS-fputc.c): Likewise.
20967 (CFLAGS-fputwc.c): Likewise.
20968 (CFLAGS-freopen64.c): Likewise.
20969 (CFLAGS-freopen.c): Likewise.
20970 (CFLAGS-fseek.c): Likewise.
20971 (CFLAGS-fseeko64.c): Likewise.
20972 (CFLAGS-fseeko.c): Likewise.
20973 (CFLAGS-ftello64.c): Likewise.
20974 (CFLAGS-ftello.c): Likewise.
20975 (CFLAGS-fwide.c): Likewise.
20976 (CFLAGS-genops.c): Likewise.
20977 (CFLAGS-getc.c): Likewise.
20978 (CFLAGS-getchar.c): Likewise.
20979 (CFLAGS-getwc.c): Likewise.
20980 (CFLAGS-getwchar.c): Likewise.
20981 (CFLAGS-iofclose.c): Likewise.
20982 (CFLAGS-iofflush.c): Likewise.
20983 (CFLAGS-iofgetpos64.c): Likewise.
20984 (CFLAGS-iofgetpos.c): Likewise.
20985 (CFLAGS-iofgets.c): Likewise.
20986 (CFLAGS-iofgetws.c): Likewise.
20987 (CFLAGS-iofputs.c): Likewise.
20988 (CFLAGS-iofputws.c): Likewise.
20989 (CFLAGS-iofread.c): Likewise.
20990 (CFLAGS-iofsetpos64.c): Likewise.
20991 (CFLAGS-iofsetpos.c): Likewise.
20992 (CFLAGS-ioftell.c): Likewise.
20993 (CFLAGS-iofwrite.c): Likewise.
20994 (CFLAGS-iogetdelim.c): Likewise.
20995 (CFLAGS-iogetline.c): Likewise.
20996 (CFLAGS-iogets.c): Likewise.
20997 (CFLAGS-iogetwline.c): Likewise.
20998 (CFLAGS-ioputs.c): Likewise.
20999 (CFLAGS-ioseekoff.c): Likewise.
21000 (CFLAGS-ioseekpos.c): Likewise.
21001 (CFLAGS-iosetbuffer.c): Likewise.
21002 (CFLAGS-iosetvbuf.c): Likewise.
21003 (CFLAGS-ioungetc.c): Likewise.
21004 (CFLAGS-ioungetwc.c): Likewise.
21005 (CFLAGS-oldfileops.c): Likewise.
21006 (CFLAGS-oldiofclose.c): Likewise.
21007 (CFLAGS-oldiofgetpos64.c): Likewise.
21008 (CFLAGS-oldiofgetpos.c): Likewise.
21009 (CFLAGS-oldiofsetpos64.c): Likewise.
21010 (CFLAGS-oldiofsetpos.c): Likewise.
21011 (CFLAGS-peekc.c): Likewise.
21012 (CFLAGS-putc.c): Likewise.
21013 (CFLAGS-putchar.c): Likewise.
21014 (CFLAGS-putwc.c): Likewise.
21015 (CFLAGS-putwchar.c): Likewise.
21016 (CFLAGS-rewind.c): Likewise.
21017 (CFLAGS-wfileops.c): Likewise.
21018 (CFLAGS-wgenops.c): Likewise.
21019 (CFLAGS-oldiofopen.c): Likewise.
21020 (CFLAGS-iofopen.c): Likewise.
21021 (CFLAGS-iofopen64.c): Likewise.
21022 (CFLAGS-oldtmpfile.c): Likewise.
21023 (CFLAGS-tst_putwc.c): Likewise.
21024 * locale/Makefile (CFLAGS-md5.c): Likewise.
21025 (CFLAGS-charmap.c): Likewise.
21026 (CFLAGS-locfile.c): Likewise.
21027 (CFLAGS-charmap-dir.c): Likewise.
21028 * login/Makefile (CFLAGS-grantpt.c): Likewise.
21029 (CFLAGS-getpt.c): Likewise.
21030 (CFLAGS-pt_chown.c): Likewise.
21031 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
21032 (CFLAGS-obstack.c): Likewise.
21033 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
21034 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
21035 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
21036 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
21037 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
21038 (CFLAGS-test-tgmath.c): Likewise.
21039 (CFLAGS-test-tgmath2.c): Likewise.
21040 (CFLAGS-test-tgmath-ret.c): Likewise.
21041 (CFLAGS-test-powl.c): Likewise.
21042 (CFLAGS-test-snan.c): Likewise.
21043 (CFLAGS-test-signgam-finite.c): Likewise.
21044 (CFLAGS-test-signgam-finite-c99.c): Likewise.
21045 (CFLAGS-test-signgam-finite-c11.c): Likewise.
21046 (CFLAGS-test-signgam-uchar.c): Likewise.
21047 (CFLAGS-test-signgam-uchar-init.c): Likewise.
21048 (CFLAGS-test-signgam-uchar-static.c): Likewise.
21049 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
21050 (CFLAGS-test-signgam-uint.c): Likewise.
21051 (CFLAGS-test-signgam-uint-init.c): Likewise.
21052 (CFLAGS-test-signgam-uint-static.c): Likewise.
21053 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
21054 (CFLAGS-test-signgam-ullong.c): Likewise.
21055 (CFLAGS-test-signgam-ullong-init.c): Likewise.
21056 (CFLAGS-test-signgam-ullong-static.c): Likewise.
21057 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
21058 (CFLAGS-test-math-cxx11.cc): Likewise.
21059 (CFLAGS-test-math-isinff.cc): Likewise.
21060 (CFLAGS-test-math-iszero.cc): Likewise.
21061 (CFLAGS-test-math-issignaling.cc): Likewise.
21062 (CFLAGS-test-math-iscanonical.cc): Likewise.
21063 (CFLAGS-test-iszero-excess-precision.c): Likewise.
21064 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
21065 (CFLAGS-test-flt-eval-method.c): Likewise.
21066 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
21067 (CFLAGS-test-finite-macros.c): Likewise.
21068 * misc/Makefile (CFLAGS-select.c): Likewise.
21069 (CFLAGS-tsearch.c): Likewise.
21070 (CFLAGS-lsearch.c): Likewise.
21071 (CFLAGS-pselect.c): Likewise.
21072 (CFLAGS-readv.c): Likewise.
21073 (CFLAGS-writev.c): Likewise.
21074 (CFLAGS-preadv.c): Likewise.
21075 (CFLAGS-preadv64.c): Likewise.
21076 (CFLAGS-pwritev.c): Likewise.
21077 (CFLAGS-pwritev64.c): Likewise.
21078 (CFLAGS-preadv2.c): Likewise.
21079 (CFLAGS-preadv64v2.c): Likewise.
21080 (CFLAGS-pwritev2.c): Likewise.
21081 (CFLAGS-pwritev64v2.c): Likewise.
21082 (CFLAGS-usleep.c): Likewise.
21083 (CFLAGS-syslog.c): Likewise.
21084 (CFLAGS-error.c): Likewise.
21085 (CFLAGS-getpass.c): Likewise.
21086 (CFLAGS-mkstemp.c): Likewise.
21087 (CFLAGS-mkstemp64.c): Likewise.
21088 (CFLAGS-getsysstats.c): Likewise.
21089 (CFLAGS-getusershell.c): Likewise.
21090 (CFLAGS-err.c): Likewise.
21091 (CFLAGS-tst-tsearch.c): Likewise.
21092 (CFLAGS-msync.c): Likewise.
21093 (CFLAGS-fdatasync.c): Likewise.
21094 (CFLAGS-fsync.c): Likewise.
21095 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
21096 (CFLAGS-unwind.c): Likewise.
21097 (CFLAGS-unwind-forcedunwind.c): Likewise.
21098 (CFLAGS-pthread_cancel.c): Likewise.
21099 (CFLAGS-pthread_setcancelstate.c): Likewise.
21100 (CFLAGS-pthread_setcanceltype.c): Likewise.
21101 (CFLAGS-cancellation.c): Likewise.
21102 (CFLAGS-libc-cancellation.c): Likewise.
21103 (CFLAGS-pthread_exit.c): Likewise.
21104 (CFLAGS-forward.c): Likewise.
21105 (CFLAGS-pthread_testcancel.c): Likewise.
21106 (CFLAGS-pthread_join.c): Likewise.
21107 (CFLAGS-pthread_timedjoin.c): Likewise.
21108 (CFLAGS-pthread_once.c): Likewise.
21109 (CFLAGS-pthread_cond_wait.c): Likewise.
21110 (CFLAGS-sem_wait.c): Likewise.
21111 (CFLAGS-sem_timedwait.c): Likewise.
21112 (CFLAGS-fcntl.c): Likewise.
21113 (CFLAGS-lockf.c): Likewise.
21114 (CFLAGS-pread.c): Likewise.
21115 (CFLAGS-pread64.c): Likewise.
21116 (CFLAGS-pwrite.c): Likewise.
21117 (CFLAGS-pwrite64.c): Likewise.
21118 (CFLAGS-wait.c): Likewise.
21119 (CFLAGS-waitpid.c): Likewise.
21120 (CFLAGS-sigwait.c): Likewise.
21121 (CFLAGS-msgrcv.c): Likewise.
21122 (CFLAGS-msgsnd.c): Likewise.
21123 (CFLAGS-tcdrain.c): Likewise.
21124 (CFLAGS-open.c): Likewise.
21125 (CFLAGS-open64.c): Likewise.
21126 (CFLAGS-pause.c): Likewise.
21127 (CFLAGS-recv.c): Likewise.
21128 (CFLAGS-send.c): Likewise.
21129 (CFLAGS-accept.c): Likewise.
21130 (CFLAGS-sendto.c): Likewise.
21131 (CFLAGS-connect.c): Likewise.
21132 (CFLAGS-recvfrom.c): Likewise.
21133 (CFLAGS-recvmsg.c): Likewise.
21134 (CFLAGS-sendmsg.c): Likewise.
21135 (CFLAGS-close.c): Likewise.
21136 (CFLAGS-read.c): Likewise.
21137 (CFLAGS-write.c): Likewise.
21138 (CFLAGS-nanosleep.c): Likewise.
21139 (CFLAGS-sigsuspend.c): Likewise.
21140 (CFLAGS-msync.c): Likewise.
21141 (CFLAGS-fdatasync.c): Likewise.
21142 (CFLAGS-fsync.c): Likewise.
21143 (CFLAGS-pt-system.c): Likewise.
21144 (CFLAGS-tst-cleanup2.c): Likewise.
21145 (CFLAGS-tst-cleanupx2.c): Likewise.
21146 (CFLAGS-flockfile.c): Likewise.
21147 (CFLAGS-ftrylockfile.c): Likewise.
21148 (CFLAGS-funlockfile.c): Likewise.
21149 (CFLAGS-tst-initializers1.c): Likewise.
21150 (CFLAGS-tst-initializers1-c89.c): Likewise.
21151 (CFLAGS-tst-initializers1-c99.c): Likewise.
21152 (CFLAGS-tst-initializers1-c11.c): Likewise.
21153 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
21154 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
21155 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
21156 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
21157 (CFLAGS-nscd_getgr_r.c): Likewise.
21158 (CFLAGS-nscd_gethst_r.c): Likewise.
21159 (CFLAGS-nscd_getai.c): Likewise.
21160 (CFLAGS-nscd_initgroups.c): Likewise.
21161 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
21162 (CFLAGS-pause.c): Likewise.
21163 (CFLAGS-pread.c): Likewise.
21164 (CFLAGS-pread64.c): Likewise.
21165 (CFLAGS-pwrite.c): Likewise.
21166 (CFLAGS-pwrite64.c): Likewise.
21167 (CFLAGS-sleep.c): Likewise.
21168 (CFLAGS-wait.c): Likewise.
21169 (CFLAGS-waitid.c): Likewise.
21170 (CFLAGS-waitpid.c): Likewise.
21171 (CFLAGS-getopt.c): Likewise.
21172 (CFLAGS-wordexp.c): Likewise.
21173 (CFLAGS-sysconf.c): Likewise.
21174 (CFLAGS-pathconf.c): Likewise.
21175 (CFLAGS-fpathconf.c): Likewise.
21176 (CFLAGS-spawn.c): Likewise.
21177 (CFLAGS-spawnp.c): Likewise.
21178 (CFLAGS-spawni.c): Likewise.
21179 (CFLAGS-glob.c): Likewise.
21180 (CFLAGS-glob64.c): Likewise.
21181 (CFLAGS-getconf.c): Likewise.
21182 (CFLAGS-nanosleep.c): Likewise.
21183 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
21184 (CFLAGS-getpwent.c): Likewise.
21185 (CFLAGS-getpw.c): Likewise.
21186 (CFLAGS-fgetpwent_r.c): Likewise.
21187 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
21188 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
21189 (CFLAGS-mq_timedreceive.c): Likewise.
21190 (CFLAGS-mq_timedsend.c): Likewise.
21191 (CFLAGS-clock_nanosleep.c): Likewise.
21192 (CFLAGS-librt-cancellation.c): Likewise.
21193 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
21194 (CFLAGS-getspent.c): Likewise.
21195 (CFLAGS-fgetspent.c): Likewise.
21196 (CFLAGS-fgetspent_r.c): Likewise.
21197 (CFLAGS-putspent.c): Likewise.
21198 (CFLAGS-getspnam.c): Likewise.
21199 (CFLAGS-getspnam_r.c): Likewise.
21200 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
21201 (CFLAGS-sigsuspend.c): Likewise.
21202 (CFLAGS-sigtimedwait.c): Likewise.
21203 (CFLAGS-sigwait.c): Likewise.
21204 (CFLAGS-sigwaitinfo.c): Likewise.
21205 (CFLAGS-sigreturn.c): Likewise.
21206 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
21207 (CFLAGS-vfwprintf.c): Likewise.
21208 (CFLAGS-tmpfile.c): Likewise.
21209 (CFLAGS-tmpfile64.c): Likewise.
21210 (CFLAGS-tempname.c): Likewise.
21211 (CFLAGS-psignal.c): Likewise.
21212 (CFLAGS-vprintf.c): Likewise.
21213 (CFLAGS-cuserid.c): Likewise.
21214 (CFLAGS-errlist.c): Likewise.
21215 (CFLAGS-siglist.c): Likewise.
21216 (CFLAGS-scanf15.c): Likewise.
21217 (CFLAGS-scanf17.c): Likewise.
21218 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
21219 (CFLAGS-msort.c): Likewise.
21220 (CFLAGS-qsort.c): Likewise.
21221 (CFLAGS-system.c): Likewise.
21222 (CFLAGS-fmtmsg.c): Likewise.
21223 (CFLAGS-strfmon.c): Likewise.
21224 (CFLAGS-strfmon_l.c): Likewise.
21225 (CFLAGS-strfromd.c): Likewise.
21226 (CFLAGS-strfromf.c): Likewise.
21227 (CFLAGS-strfroml.c): Likewise.
21228 (CFLAGS-tst-bsearch.c): Likewise.
21229 (CFLAGS-tst-qsort.c): Likewise.
21230 (CFLAGS-tst-makecontext2.c): Likewise.
21231 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
21232 (CFLAGS-xnlm_prot.c): Likewise.
21233 (CFLAGS-xrstat.c): Likewise.
21234 (CFLAGS-xyppasswd.c): Likewise.
21235 (CFLAGS-xklm_prot.c): Likewise.
21236 (CFLAGS-xrex.c): Likewise.
21237 (CFLAGS-xsm_inter.c): Likewise.
21238 (CFLAGS-xmount.c): Likewise.
21239 (CFLAGS-xrusers.c): Likewise.
21240 (CFLAGS-xspray.c): Likewise.
21241 (CFLAGS-xnfs_prot.c): Likewise.
21242 (CFLAGS-xrquota.c): Likewise.
21243 (CFLAGS-xkey_prot.c): Likewise.
21244 (CFLAGS-auth_unix.c): Likewise.
21245 (CFLAGS-key_call.c): Likewise.
21246 (CFLAGS-pmap_rmt.c): Likewise.
21247 (CFLAGS-clnt_perr.c): Likewise.
21248 (CFLAGS-openchild.c): Likewise.
21249 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
21250 (CFLAGS-msgsnd.c): Likewise.
21251 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
21252 * time/Makefile (CFLAGS-tzfile.c): Likewise.
21253 (CFLAGS-tzset.c): Likewise.
21254 (CFLAGS-getdate.c): Likewise.
21255 (CFLAGS-test_time.c): Likewise.
21256 (CPPFLAGS-tst-tzname.c): Likewise.
21257 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
21258 (CFLAGS-zic.c): Likewise.
21259 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
21260 (CFLAGS-wcswidth.c): Likewise.
21261 (CFLAGS-wcstol.c): Likewise.
21262 (CFLAGS-wcstoul.c): Likewise.
21263 (CFLAGS-wcstoll.c): Likewise.
21264 (CFLAGS-wcstoull.c): Likewise.
21265 (CFLAGS-wcstod.c): Likewise.
21266 (CFLAGS-wcstold.c): Likewise.
21267 (CFLAGS-wcstof128.c): Likewise.
21268 (CFLAGS-wcstof.c): Likewise.
21269 (CFLAGS-wcstol_l.c): Likewise.
21270 (CFLAGS-wcstoul_l.c): Likewise.
21271 (CFLAGS-wcstoll_l.c): Likewise.
21272 (CFLAGS-wcstoull_l.c): Likewise.
21273 (CFLAGS-wcstod_l.c): Likewise.
21274 (CFLAGS-wcstold_l.c): Likewise.
21275 (CFLAGS-wcstof128_l.c): Likewise.
21276 (CFLAGS-wcstof_l.c): Likewise.
21277 (CPPFLAGS-tst-wchar-h.c): Likewise.
21278 (CPPFLAGS-wcstold_l.c): Likewise.
21279
21280 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
21281
21282 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
21283
21284 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21285 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21286
21287 * manual/tunables.texi (Hardware Capability Tunables): Document
21288 glibc.tune.cached_memopt.
21289 * sysdeps/powerpc/cpu-features.c: New file.
21290 * sysdeps/powerpc/cpu-features.h: New file.
21291 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
21292 _dl_powerpc_cpu_features.
21293 * sysdeps/powerpc/dl-tunables.list: New file.
21294 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
21295 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
21296 (INIT_ARCH): Initialize use_aligned_memopt.
21297 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
21298 IS_IN(rtld))]: Restrict dl_platform_init availability and
21299 initialize CPU features used by tunables.
21300 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
21301 Add memcpy-power8-cached.
21302 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
21303 __memcpy_power8_cached.
21304 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
21305 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
21306 New file.
21307
21308 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
21309
21310 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
21311 (CFLAGS-noinl-tester.c): Likewise.
21312 (CFLAGS-tst-strlen.c): Likewise.
21313 (CFLAGS-stratcliff.c): Likewise.
21314 (CFLAGS-test-ffs.c): Likewise.
21315 (CFLAGS-tst-inlcall.c): Likewise.
21316 (CFLAGS-tst-xbzero-opt.c): Likewise.
21317 (CFLAGS-memcpy.c): Likewise.
21318 (CFLAGS-wordcopy.c): Likewise.
21319
21320 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
21321
21322 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
21323 Store r15 on stack and add cfi rule.
21324 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
21325 Likewise.
21326
21327 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
21328
21329 [BZ #22577]
21330 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
21331 call.
21332
21333 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
21334
21335 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21336 Add s_sinf-sse2 and s_sinf-fma.
21337 (CFLAGS-s_sinf-fma.c): New.
21338 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
21339 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
21340 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
21341
21342 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
21343
21344 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
21345
21346 2017-12-07 Joseph Myers <joseph@codesourcery.com>
21347
21348 [BZ #22568]
21349 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
21350 part of result to imaginary part of argument if it is zero and the
21351 real part of the argument is not finite.
21352 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
21353 of result to real part of argument if it is zero and the imaginary
21354 part of the argument is not finite.
21355
21356 2017-12-07 Mike FABIAN <mfabian@redhat.com>
21357
21358 [BZ #22524]
21359 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
21360 and to the list of locales to be built for testing.
21361 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
21362 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
21363 and build the collation rules upon that.
21364
21365 2017-12-07 Joseph Myers <joseph@codesourcery.com>
21366
21367 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
21368 * manual/math.texi (Mathematics): Document support for _Float32.
21369 * math/Makefile (test-types): Add float32.
21370 * math/Versions (GLIBC_2.27): Add _Float32 functions.
21371 * stdlib/Versions (GLIBC_2.27): Likewise.
21372 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21373 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21374 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21375 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21376 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21377 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
21378 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21379 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21380 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21381 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21382 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21383 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21384 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21385 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21386 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21387 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21388 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21389 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21390 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21391 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21392 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21393 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
21394 Likewise.
21395 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21396 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21397 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21398 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
21399 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21401 Likewise.
21402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
21403 Likewise.
21404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
21405 Likewise.
21406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
21407 Likewise.
21408
21409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21410 Likewise.
21411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
21412 Likewise.
21413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21414 Likewise.
21415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
21416 Likewise.
21417 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21418 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21419 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21420 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21421 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21422 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21423 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21424 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21425 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21426 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21427 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
21428 Likewise.
21429 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
21430 Likewise.
21431 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21432 Likewise.
21433 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21434 Likewise.
21435 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21436 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21437 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21438 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21439 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21440 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21441 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21442 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21443
21444 2017-12-06 Joseph Myers <joseph@codesourcery.com>
21445
21446 * stdlib/strtof.c: Include <bits/floatn.h>
21447 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
21448 and later undefine as macro. Define as weak alias if
21449 [!USE_WIDE_CHAR].
21450 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
21451 and later undefine as macro. Define as weak alias if
21452 [USE_WIDE_CHAR].
21453 * stdlib/strtof_l.c: Include <bits/floatn.h>
21454 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
21455 and later undefine as macro. Define as weak alias if
21456 [!USE_WIDE_CHAR].
21457 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
21458 and later undefine as macro. Define as weak alias if
21459 [USE_WIDE_CHAR].
21460
21461 * stdlib/strfromf.c: Include <bits/floatn.h>.
21462 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
21463 and later undefine as macro and define as weak alias.
21464
21465 * math/test-float32.h: New file.
21466
21467 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
21468 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
21469 (libm_alias_float_other_r): Create f32 alias.
21470 (libm_alias_float_r): Use semicolon before call to
21471 libm_alias_float_other_r.
21472
21473 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
21474 second argument to libm_alias_float_other.
21475 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
21476 second argument to libm_alias_float_other.
21477 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
21478 argument to libm_alias_float_other.
21479
21480 [BZ #22561]
21481 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
21482 real part of result for argument 0 + i * NaN.
21483 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
21484 results for tests of 0 + i * NaN.
21485
21486 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21487
21488 * sysdeps/alpha/fpu/libm-test-ulps: Update.
21489
21490 2017-12-06 David S. Miller <davem@davemloft.net>
21491
21492 * sysdeps/sparc/fpu/libm-test-ulps: Update
21493 exp_{downward,towardzero,upward} ulps.
21494
21495 2017-12-06 Joseph Myers <joseph@codesourcery.com>
21496
21497 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
21498 variables static.
21499
21500 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
21501 (Y0_2D): Likewise.
21502 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
21503 (Y0_2D): Likewise.
21504 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
21505 (Y0_2D): Likewise.
21506 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
21507 (Y0_2D): Likewise.
21508
21509 2017-12-06 Mike FABIAN <mfabian@redhat.com>
21510
21511 [BZ #22515]
21512 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
21513 and to the list of locales to be built for testing.
21514 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
21515 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
21516 and build the collation rules upon that.
21517
21518 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21519
21520 * NEWS: Add sinf to list of optimized functions.
21521
21522 2017-12-06 Joseph Myers <joseph@codesourcery.com>
21523
21524 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
21525 (__HAVE_FLOAT32X): Likewise.
21526 * manual/math.texi (Mathematics): Document support for _Float64
21527 and _Float32x.
21528 * math/Makefile (test-types): Add float64 and float32x.
21529 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
21530 functions.
21531 * stdlib/Versions (GLIBC_2.27): Likewise.
21532 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21533 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21534 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21535 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21536 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21537 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
21538 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21539 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21540 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21541 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21542 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21543 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21544 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21545 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21546 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21547 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21548 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21549 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21550 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21551 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21552 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21553 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
21554 Likewise.
21555 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21556 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21557 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21558 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
21559 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21561 Likewise.
21562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
21563 Likewise.
21564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
21565 Likewise.
21566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
21567 Likewise.
21568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21569 Likewise.
21570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
21571 Likewise.
21572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21573 Likewise.
21574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
21575 Likewise.
21576 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21577 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21578 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21579 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21580 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21581 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21582 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21583 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21584 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21585 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21586 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
21587 Likewise.
21588 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
21589 Likewise.
21590 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21591 Likewise.
21592 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21593 Likewise.
21594 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21595 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21596 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21597 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21598 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21599 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21600 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21601 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21602
21603 2017-12-05 Joseph Myers <joseph@codesourcery.com>
21604
21605 * bits/floatn-common.h: Include <bits/long-double.h>.
21606 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21607 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
21608 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21609 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
21610 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21611 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
21612 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21613 (__builtin_huge_valf64): Use __builtin_huge_vall.
21614 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21615 (__builtin_inff64): Use __builtin_infl.
21616 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21617 (__builtin_nanf64): Use __builtin_nanl.
21618 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21619 (__builtin_nansf64): Use __builtin_nansl.
21620
21621 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
21622 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21623 Carlos O'Donnell <carlos@redhat.com>
21624
21625 * elf/dl-tunables.list: Add elision parameters.
21626 * manual/tunables.texi: Add entries about elision tunable.
21627 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
21628 Add callback functions to dynamically enable/disable elision.
21629 Add multiple callbacks functions to set elision parameters.
21630 Deleted __libc_enable_secure check.
21631 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
21632 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
21633 * configure: Regenerated.
21634 * configure.ac: Option enable_lock_elision was deleted.
21635 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
21636 * config.make.in: Remove references to enable_lock_elision.
21637 * manual/install.texi: Elision configure option was removed.
21638 * INSTALL: Regenerated to remove enable_lock_elision.
21639 * nptl/Makefile:
21640 Disable elision so it can verify error case for destroying a mutex.
21641 * sysdeps/powerpc/nptl/elide.h:
21642 Cleanup ENABLE_LOCK_ELISION check.
21643 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
21644 * sysdeps/s390/configure: Regenerated.
21645 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
21646 * nptl/tst-mutex8.c:
21647 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
21648 * sysdeps/powerpc/powerpc32/sysdep.h:
21649 Deleted all ENABLE_LOCK_ELISION checks.
21650 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
21651 * sysdeps/powerpc/sysdep.h: Likewise.
21652 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
21653 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
21654 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
21655 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
21656 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
21657 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
21658 enable-lock-elision.
21659
21660 2017-12-05 Joseph Myers <joseph@codesourcery.com>
21661
21662 * stdlib/strtod.c: Include <bits/floatn.h>.
21663 (BUILD_DOUBLE): New macro.
21664 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21665 (strtof64): Define and later undefine as macro. Define as weak
21666 alias if [!USE_WIDE_CHAR].
21667 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21668 (wcstof64): Define and later undefine as macro. Define as weak
21669 alias if [USE_WIDE_CHAR].
21670 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21671 (strtof32x): Define and later undefine as macro. Define as weak
21672 alias if [!USE_WIDE_CHAR].
21673 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21674 (wcstof32x): Define and later undefine as macro. Define as weak
21675 alias if [USE_WIDE_CHAR].
21676 * stdlib/strtod_l.c: Include <bits/floatn.h>.
21677 (BUILD_DOUBLE): New macro.
21678 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21679 (strtof64_l): Define and later undefine as macro. Define as weak
21680 alias if [!USE_WIDE_CHAR].
21681 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21682 (wcstof64_l): Define and later undefine as macro. Define as weak
21683 alias if [USE_WIDE_CHAR].
21684 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21685 (strtof32x_l): Define and later undefine as macro. Define as weak
21686 alias if [!USE_WIDE_CHAR].
21687 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21688 (wcstof32x_l): Define and later undefine as macro. Define as weak
21689 alias if [USE_WIDE_CHAR].
21690
21691 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21692
21693 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
21694 (reduced): Use ones as double instead of integer.
21695
21696 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
21697
21698 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
21699
21700 2017-12-05 Joseph Myers <joseph@codesourcery.com>
21701
21702 * stdlib/strfromd.c: Include <bits/floatn.h>.
21703 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
21704 and later undefine as macro and define as weak alias.
21705 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
21706 Likewise.
21707
21708 * math/test-float32x.h: New file.
21709 * math/test-float64.h: Likewise.
21710
21711 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
21712 (libm_alias_double_other_r_f64): New macro.
21713 (libm_alias_double_other_r_f32x): Likewise.
21714 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
21715 libm_alias_double_other_r_f32x.
21716 (libm_alias_double_r): Use semicolon before call to
21717 libm_alias_double_other_r.
21718 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
21719 <bits/floatn.h>.
21720 (libm_alias_double_other_r_f64): New macro.
21721 (libm_alias_double_other_r_f32x): Likewise.
21722 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
21723 libm_alias_double_other_r_f32x.
21724
21725 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
21726
21727 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
21728 int.
21729 (SINF_FUNC): Likewise. Replace floor with simple casts.
21730
21731 2017-12-05 Mike FABIAN <mfabian@redhat.com>
21732
21733 [BZ #22517]
21734 * localedata/Makefile: Add et_EE.UTF-8 to test-input
21735 and to the list of locales to be built for testing.
21736 * localedata/et_EE.UTF-8.in: New file for testing the collation.
21737 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
21738 and build the collation rules upon that.
21739
21740 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
21741
21742 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
21743 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
21744 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
21745 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
21746 instead of __insn__xxx.
21747 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
21748 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
21749 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
21750 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
21751 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
21752 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
21753
21754 2017-12-05 Florian Weimer <fweimer@redhat.com>
21755
21756 Linux: Implement interfaces for memory protection keys
21757 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
21758 xsignal, xsysconf.
21759 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
21760 * support/xunistd.h (xsysconf): Declare.
21761 * support/xraise.c: New file.
21762 * support/xsigaction.c: Likewise.
21763 * support/xsignal.c: Likewise.
21764 * support/xsysconf.c: Likewise.
21765 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
21766 pkey_set, pkey_get, pkey_mprotect.
21767 [misc] (tests): Add tst-pkey.
21768 (tst-pkey): Link with -lpthread.
21769 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
21770 pkey_free, pkey_set, pkey_get, pkey_mprotect.
21771 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
21772 (PKEY_DISABLE_WRITE): Define.
21773 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
21774 Declare.
21775 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
21776 (SEGV_PKUERR): Add.
21777 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
21778 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
21779 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
21780 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
21781 Add.
21782 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
21783 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
21784 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
21785 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
21786 * sysdeps/unix/sysv/linux/**.abilist: Update.
21787
21788 2017-12-05 Florian Weimer <fweimer@redhat.com>
21789
21790 * support/tst-test_compare.c (subprocess): Use long long instead
21791 of long argument for consistent type width across 32-bit and
21792 64-bit architectures.
21793 (do_test): Adjust expected output.
21794
21795 2017-12-05 Joseph Myers <joseph@codesourcery.com>
21796
21797 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
21798 (cosf): Define using libm_alias_float.
21799 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
21800 (fabsf): Define using libm_alias_float.
21801 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
21802 (fmaf): Define using libm_alias_float.
21803 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
21804 (rintf): Define using libm_alias_float.
21805 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
21806 (sinf): Define using libm_alias_float.
21807 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
21808 <libm-alias-float.h>.
21809 (modff): Define using libm_alias_float.
21810 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
21811 <libm-alias-float.h>.
21812 (logbf): Define using libm_alias_float.
21813 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
21814 <libm-alias-float.h>.
21815 (ceilf): Define using libm_alias_float.
21816 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
21817 <libm-alias-float.h>.
21818 (copysignf): Define using libm_alias_float.
21819 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
21820 <libm-alias-float.h>.
21821 (floorf): Define using libm_alias_float.
21822 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
21823 <libm-alias-float.h>.
21824 (llrintf): Define using libm_alias_float.
21825 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
21826 <libm-alias-float.h>.
21827 (llroundf): Define using libm_alias_float.
21828 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
21829 <libm-alias-float.h>.
21830 (lrintf): Define using libm_alias_float.
21831 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
21832 <libm-alias-float.h>.
21833 (lroundf): Define using libm_alias_float.
21834 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
21835 <libm-alias-float.h>.
21836 (nearbyintf): Define using libm_alias_float.
21837 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
21838 <libm-alias-float.h>.
21839 (rintf): Define using libm_alias_float.
21840 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
21841 <libm-alias-float.h>.
21842 (roundf): Define using libm_alias_float.
21843 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
21844 <libm-alias-float.h>.
21845 (truncf): Define using libm_alias_float.
21846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
21847 Include <libm-alias-float.h>.
21848 (ceilf): Define using libm_alias_float.
21849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
21850 Include <libm-alias-float.h>.
21851 (copysignf): Define using libm_alias_float.
21852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
21853 Include <libm-alias-float.h>.
21854 (floorf): Define using libm_alias_float.
21855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
21856 Include <libm-alias-float.h>.
21857 (llrintf): Define using libm_alias_float.
21858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
21859 Include <libm-alias-float.h>.
21860 (llroundf): Define using libm_alias_float.
21861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
21862 Include <libm-alias-float.h>.
21863 (logbf): Define using libm_alias_float.
21864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
21865 Include <libm-alias-float.h>.
21866 (lrintf): Define using libm_alias_float.
21867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
21868 Include <libm-alias-float.h>.
21869 (lroundf): Define using libm_alias_float.
21870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
21871 Include <libm-alias-float.h>.
21872 (modff): Define using libm_alias_float.
21873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
21874 Include <libm-alias-float.h>.
21875 (roundf): Define using libm_alias_float.
21876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
21877 Include <libm-alias-float.h>.
21878 (truncf): Define using libm_alias_float.
21879 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
21880 <libm-alias-float.h>.
21881 (llrintf): Define using libm_alias_float.
21882 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
21883 <libm-alias-float.h>.
21884 (llroundf): Define using libm_alias_float.
21885 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
21886 <libm-alias-float.h>.
21887 (ceilf): Define using libm_alias_float.
21888 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
21889 <libm-alias-float.h>.
21890 (floorf): Define using libm_alias_float.
21891 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
21892 <libm-alias-float.h>.
21893 (llroundf): Define using libm_alias_float.
21894 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
21895 <libm-alias-float.h>.
21896 (lroundf): Define using libm_alias_float.
21897 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
21898 <libm-alias-float.h>.
21899 (roundf): Define using libm_alias_float.
21900 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
21901 <libm-alias-float.h>.
21902 (truncf): Define using libm_alias_float.
21903 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
21904 <libm-alias-float.h>.
21905 (copysignf): Define using libm_alias_float.
21906 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
21907 <libm-alias-float.h>.
21908 (llrintf): Define using libm_alias_float.
21909 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
21910 <libm-alias-float.h>.
21911 (llroundf): Define using libm_alias_float.
21912 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
21913 <libm-alias-float.h>.
21914 (lrintf): Define using libm_alias_float.
21915 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
21916 <libm-alias-float.h>.
21917 (lroundf): Define using libm_alias_float.
21918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
21919 <libm-alias-float.h>.
21920 (ceilf): Define using libm_alias_float.
21921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
21922 <libm-alias-float.h>.
21923 (copysignf): Define using libm_alias_float.
21924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
21925 <libm-alias-float.h>.
21926 (cosf): Define using libm_alias_float.
21927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
21928 <libm-alias-float.h>.
21929 (floorf): Define using libm_alias_float.
21930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
21931 <libm-alias-float.h>.
21932 (llrintf): Define using libm_alias_float.
21933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
21934 <libm-alias-float.h>.
21935 (llroundf): Define using libm_alias_float.
21936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
21937 <libm-alias-float.h>.
21938 (logbf): Define using libm_alias_float.
21939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
21940 <libm-alias-float.h>.
21941 (modff): Define using libm_alias_float.
21942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
21943 <libm-alias-float.h>.
21944 (roundf): Define using libm_alias_float.
21945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
21946 <libm-alias-float.h>.
21947 (sinf): Define using libm_alias_float.
21948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
21949 <libm-alias-float.h>.
21950 (truncf): Define using libm_alias_float.
21951 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
21952 <libm-alias-float.h>.
21953 (ceilf): Define using libm_alias_float.
21954 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
21955 <libm-alias-float.h>.
21956 (copysignf): Define using libm_alias_float.
21957 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
21958 <libm-alias-float.h>.
21959 (floorf): Define using libm_alias_float.
21960 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
21961 <libm-alias-float.h>.
21962 (llrintf): Define using libm_alias_float.
21963 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
21964 <libm-alias-float.h>.
21965 (llroundf): Define using libm_alias_float.
21966 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
21967 <libm-alias-float.h>.
21968 (nearbyintf): Define using libm_alias_float.
21969 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
21970 <libm-alias-float.h>.
21971 (rintf): Define using libm_alias_float.
21972 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
21973 <libm-alias-float.h>.
21974 (roundf): Define using libm_alias_float.
21975 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
21976 <libm-alias-float.h>.
21977 (truncf): Define using libm_alias_float.
21978 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
21979 <libm-alias-float.h>.
21980 (ceilf): Define using libm_alias_float.
21981 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
21982 <libm-alias-float.h>.
21983 (floorf): Define using libm_alias_float.
21984 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
21985 <libm-alias-float.h>.
21986 (llroundf): Define using libm_alias_float.
21987 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
21988 <libm-alias-float.h>.
21989 (roundf): Define using libm_alias_float.
21990 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
21991 <libm-alias-float.h>.
21992 (truncf): Define using libm_alias_float.
21993 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
21994 <libm-alias-float.h>.
21995 (copysignf): Define using libm_alias_float.
21996 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
21997 <libm-alias-float.h>.
21998 (llrintf): Define using libm_alias_float.
21999 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
22000 <libm-alias-float.h>.
22001 (llroundf): Define using libm_alias_float.
22002 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
22003 <libm-alias-float.h>.
22004 (cosf): Define using libm_alias_float.
22005 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
22006 <libm-alias-float.h>.
22007 (llrintf): Define using libm_alias_float.
22008 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
22009 <libm-alias-float.h>.
22010 (llroundf): Define using libm_alias_float.
22011 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
22012 <libm-alias-float.h>.
22013 (sinf): Define using libm_alias_float.
22014
22015 2017-12-04 Florian Weimer <fweimer@redhat.com>
22016
22017 * support/check.h (TEST_COMPARE): Define.
22018 (support_test_compare_failure): Declare.
22019 * support/Makefile (libsupport-routines): Add
22020 support_test_compare_failure.
22021 (tests): Add tst-test_compare.
22022 * support /support_test_compare_failure.c: New file.
22023 * support/tst-test_compare.c: Likewise.
22024
22025 2017-12-04 Mike FABIAN <mfabian@redhat.com>
22026
22027 [BZ #22527]
22028 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
22029 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
22030 available, this rewrite of the collation rules does reproduce
22031 the test file in the same order.
22032
22033 2017-12-04 Mike FABIAN <mfabian@redhat.com>
22034
22035 [BZ #10580]
22036 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
22037 digraphs in the month and day names. Using single code points for
22038 digraphs is deprecated. While there are dedicated Unicode
22039 codepoints, for the digraphs, these are included for backwards
22040 compatibility and modern texts use a sequence of Basic Latin
22041 characters. See: https://www.unicode.org/faq/ligature_digraph.html
22042 This makes the month and day names agree exactly with CLDR now,
22043 CLDR does not use the single code points for the digraphs either.
22044
22045 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
22046
22047 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
22048
22049 2017-12-04 Joseph Myers <joseph@codesourcery.com>
22050
22051 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
22052 of floor.
22053
22054 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
22055
22056 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
22057 Define only for libc.so.
22058
22059 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
22060
22061 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22062 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
22063 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
22064 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
22065 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22066
22067 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22068
22069 [BZ #5997]
22070 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
22071
22072 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
22073
22074 [BZ libc/19170]
22075 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
22076 PREINIT_FUNCTION_WEAK is nonzero.
22077 (gmon_initializer): New function. Put procedure label for it in
22078 .init_array section.
22079 (_init): Don't call PREINIT_FUNCTION.
22080 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
22081 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
22082 value when map argument is null.
22083
22084 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
22085 depi instruction from PIC pc-relative sequence.
22086 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
22087 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
22088 (elf_machine_load_address): Likewise.
22089 (elf_machine_runtime_setup): Likewise.
22090
22091 2017-12-02 Joseph Myers <joseph@codesourcery.com>
22092
22093 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
22094 <libm-alias-double.h>.
22095 (logb): Define using libm_alias_double.
22096 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
22097 <libm-alias-double.h>.
22098 (copysign): Define using libm_alias_double.
22099 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
22100 <libm-alias-double.h>.
22101 (llrint): Define using libm_alias_double.
22102 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
22103 <libm-alias-double.h>.
22104 (llround): Define using libm_alias_double.
22105 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
22106 <libm-alias-double.h>.
22107 (lrint): Define using libm_alias_double.
22108 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
22109 <libm-alias-double.h>.
22110 (lround): Define using libm_alias_double.
22111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
22112 Include <libm-alias-double.h>.
22113 (copysign): Define using libm_alias_double.
22114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
22115 Include <libm-alias-double.h>.
22116 (llrint): Define using libm_alias_double.
22117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
22118 Include <libm-alias-double.h>.
22119 (llround): Define using libm_alias_double.
22120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
22121 <libm-alias-double.h>.
22122 (logb): Define using libm_alias_double.
22123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
22124 Include <libm-alias-double.h>.
22125 (lrint): Define using libm_alias_double.
22126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
22127 Include <libm-alias-double.h>.
22128 (lround): Define using libm_alias_double.
22129 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
22130 <libm-alias-double.h>.
22131 (llrint): Define using libm_alias_double.
22132 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
22133 <libm-alias-double.h>.
22134 (llround): Define using libm_alias_double.
22135 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
22136 <libm-alias-double.h>.
22137 (llround): Define using libm_alias_double.
22138 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
22139 <libm-alias-double.h>.
22140 (lround): Define using libm_alias_double.
22141 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
22142 <libm-alias-double.h>.
22143 (copysign): Define using libm_alias_double.
22144 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
22145 <libm-alias-double.h>.
22146 (llrint): Define using libm_alias_double.
22147 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
22148 <libm-alias-double.h>.
22149 (llround): Define using libm_alias_double.
22150 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
22151 <libm-alias-double.h>.
22152 (lrint): Define using libm_alias_double.
22153 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
22154 <libm-alias-double.h>.
22155 (lround): Define using libm_alias_double.
22156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
22157 <libm-alias-double.h>.
22158 (copysign): Define using libm_alias_double.
22159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
22160 <libm-alias-double.h>.
22161 (llrint): Define using libm_alias_double.
22162 (lrint): Likewise.
22163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
22164 <libm-alias-double.h>.
22165 (llround): Define using libm_alias_double.
22166 (lround): Likewise.
22167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
22168 <libm-alias-double.h>.
22169 (logb): Define using libm_alias_double.
22170 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
22171 <libm-alias-double.h>.
22172 (copysign): Define using libm_alias_double.
22173 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
22174 <libm-alias-double.h>.
22175 (llrint): Define using libm_alias_double.
22176 (lrint): Likewise.
22177 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
22178 <libm-alias-double.h>.
22179 (llround): Define using libm_alias_double.
22180 (lround): Likewise.
22181 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
22182 <libm-alias-double.h>.
22183 (llround): Define using libm_alias_double.
22184 (lround): Likewise.
22185 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
22186 <libm-alias-double.h>.
22187 (copysign): Define using libm_alias_double.
22188 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
22189 <libm-alias-double.h>.
22190 (llrint): Define using libm_alias_double.
22191 (lrint): Likewise.
22192 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
22193 <libm-alias-double.h>.
22194 (llround): Define using libm_alias_double.
22195 (lround): Likewise.
22196 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
22197 <libm-alias-double.h>.
22198 (llrint): Define using libm_alias_double.
22199 (lrint): Likewise.
22200 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
22201 <libm-alias-double.h>.
22202 (llround): Define using libm_alias_double.
22203 (lround): Likewise.
22204
22205 2017-12-01 Joseph Myers <joseph@codesourcery.com>
22206
22207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
22208 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
22209 compat symbol based on llround.
22210
22211 * sysdeps/powerpc/power7/fpu/s_logb.c
22212 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
22213 symbol based on __logb, not on logb.
22214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
22215 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
22216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
22217 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
22218
22219 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
22220 (rint): Define using libm_alias_double.
22221 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
22222 <libm-alias-double.h>.
22223 (modf): Define using libm_alias_double.
22224 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
22225 <libm-alias-double.h>.
22226 (ceil): Define using libm_alias_double.
22227 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
22228 <libm-alias-double.h>.
22229 (floor): Define using libm_alias_double.
22230 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
22231 <libm-alias-double.h>.
22232 (nearbyint): Define using libm_alias_double.
22233 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
22234 <libm-alias-double.h>.
22235 (rint): Define using libm_alias_double.
22236 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
22237 <libm-alias-double.h>.
22238 (round): Define using libm_alias_double.
22239 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
22240 <libm-alias-double.h>.
22241 (trunc): Define using libm_alias_double.
22242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
22243 <libm-alias-double.h>.
22244 (ceil): Define using libm_alias_double.
22245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
22246 Include <libm-alias-double.h>.
22247 (floor): Define using libm_alias_double.
22248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
22249 <libm-alias-double.h>.
22250 (modf): Define using libm_alias_double.
22251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
22252 Include <libm-alias-double.h>.
22253 (round): Define using libm_alias_double.
22254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
22255 Include <libm-alias-double.h>.
22256 (trunc): Define using libm_alias_double.
22257 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
22258 <libm-alias-double.h>.
22259 (ceil): Define using libm_alias_double.
22260 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
22261 <libm-alias-double.h>.
22262 (floor): Define using libm_alias_double.
22263 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
22264 <libm-alias-double.h>.
22265 (round): Define using libm_alias_double.
22266 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
22267 <libm-alias-double.h>.
22268 (trunc): Define using libm_alias_double.
22269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
22270 <libm-alias-double.h>.
22271 (ceil): Define using libm_alias_double.
22272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
22273 <libm-alias-double.h>.
22274 (floor): Define using libm_alias_double.
22275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
22276 <libm-alias-double.h>.
22277 (modf): Define using libm_alias_double.
22278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
22279 <libm-alias-double.h>.
22280 (round): Define using libm_alias_double.
22281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
22282 <libm-alias-double.h>.
22283 (trunc): Define using libm_alias_double.
22284 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
22285 <libm-alias-double.h>.
22286 (ceil): Define using libm_alias_double.
22287 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
22288 <libm-alias-double.h>.
22289 (floor): Define using libm_alias_double.
22290 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
22291 <libm-alias-double.h>.
22292 (nearbyint): Define using libm_alias_double.
22293 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
22294 <libm-alias-double.h>.
22295 (rint): Define using libm_alias_double.
22296 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
22297 <libm-alias-double.h>.
22298 (round): Define using libm_alias_double.
22299 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
22300 <libm-alias-double.h>.
22301 (trunc): Define using libm_alias_double.
22302 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
22303 <libm-alias-double.h>.
22304 (ceil): Define using libm_alias_double.
22305 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
22306 <libm-alias-double.h>.
22307 (floor): Define using libm_alias_double.
22308 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
22309 <libm-alias-double.h>.
22310 (round): Define using libm_alias_double.
22311 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
22312 <libm-alias-double.h>.
22313 (trunc): Define using libm_alias_double.
22314
22315 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
22316 (fabs): Define using libm_alias_double.
22317 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
22318 (fma): Define using libm_alias_double.
22319 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
22320 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
22321 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
22322 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
22323
22324 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22325
22326 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
22327
22328 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
22329 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
22330 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
22331
22332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
22333 due redirect macro.
22334
22335 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
22336
22337 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
22338
22339 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22340
22341 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
22342 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
22343 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
22344 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
22345
22346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22347 (libm-sysdep_routines): Add s_nearbyintf-generic and
22348 s_nearbyint-generic.
22349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
22350 New file.
22351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
22352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
22353 Likewise.
22354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
22355 Likewise.
22356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
22357 file.
22358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
22359 Likewise.
22360
22361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22362 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
22363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
22364 file.
22365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
22366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
22367 Likewise.
22368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
22369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
22370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22371
22372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22373 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
22374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
22375 file.
22376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
22377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
22378 Likewise.
22379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
22380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
22381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
22382
22383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22384 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
22385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
22386 file.
22387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
22388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
22389 Likewise.
22390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
22391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
22392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22393
22394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22395 (sysdep_calls): New rule.
22396 (sysdep_routines): Use sysdep_calls as base.
22397 (libm-sysdep_routines): Add generic rule for symbols shared with
22398 libc. Add s_copysign-generic and s_copysign-generic objects.
22399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
22400 New file.
22401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
22402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
22403 Likewise.
22404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
22405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
22406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
22407
22408 2017-12-01 Mike FABIAN <mfabian@redhat.com>
22409
22410 [BZ #22519]
22411 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
22412 the list of locales to be built for testing.
22413 * localedata/is_IS.UTF-8.in: New file.
22414 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
22415 on iso14651_t1.
22416
22417 2017-12-01 Joseph Myers <joseph@codesourcery.com>
22418
22419 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
22420 <libm-alias-float.h>.
22421 (fabsf): Define using libm_alias_float.
22422
22423 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
22424
22425 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
22426
22427 2017-11-30 Joseph Myers <joseph@codesourcery.com>
22428
22429 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
22430 <libm-alias-float.h>.
22431 (fabsf): Define using libm_alias_float.
22432 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
22433 <libm-alias-float.h>.
22434 (lrintf): Define using libm_alias_float.
22435 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
22436 <libm-alias-float.h>.
22437 (rintf): Define using libm_alias_float.
22438
22439 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
22440 <libm-alias-double.h>.
22441 (fabs): Define using libm_alias_double.
22442 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
22443 <libm-alias-double.h>.
22444 (lrint): Define using libm_alias_double.
22445 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
22446 <libm-alias-double.h>.
22447 (rint): Define using libm_alias_double.
22448
22449 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
22450 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
22451 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
22452 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
22453 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
22454 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
22455 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
22456 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
22457 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
22458 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
22459 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
22460 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
22461 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
22462 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
22463 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
22464 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
22465 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
22466 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
22467 s_atan_template.c.
22468 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
22469 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
22470 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
22471 s_ceil_template.c.
22472 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
22473 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
22474 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
22475 s_cos_template.c.
22476 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
22477 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
22478 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
22479 s_expm1_template.c.
22480 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
22481 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
22482 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
22483 s_fabs_template.c.
22484 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
22485 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
22486 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
22487 s_floor_template.c.
22488 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
22489 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
22490 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
22491 s_frexp_template.c.
22492 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
22493 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
22494 s_lrint_template.c.
22495 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
22496 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
22497 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
22498 s_modf_template.c.
22499 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
22500 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
22501 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
22502 s_nearbyint_template.c.
22503 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
22504 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
22505 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
22506 s_remquo_template.c.
22507 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
22508 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
22509 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
22510 s_rint_template.c.
22511 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
22512 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
22513 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
22514 s_sin_template.c.
22515 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
22516 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
22517 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
22518 s_sincos_template.c.
22519 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
22520 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
22521 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
22522 s_tan_template.c.
22523 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
22524 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
22525 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
22526 s_tanh_template.c.
22527 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
22528 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
22529 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
22530 s_trunc_template.c.
22531 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
22532 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
22533 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
22534 s_atan.c instead of including s_atan.c.
22535 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
22536 s_atanf.c instead of including s_atanf.c.
22537 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
22538 s_atanl.c instead of including s_atanl.c.
22539 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
22540 instead of s_atan.c.
22541 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
22542 instead of s_atanf.c.
22543 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
22544 instead of s_atanl.c.
22545
22546 * scripts/update-copyrights: Do not handle intl/plural.c
22547 specially.
22548
22549 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
22550
22551 [BZ #22432]
22552 * configure.ac (BISON): Require to be present.
22553 * configure: Regenerated.
22554 * intl/Makefile (generated): Add plural.c.
22555 [$(BISON) != no]: Make code unconditional.
22556 (plural.c): Change rule to $(objpfx)plural.c.
22557 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
22558 * intl/plural.c: Remove.
22559 * manual/install.texi (Tools for Compilation): Document bison as
22560 required.
22561 * INSTALL: Regenerated.
22562
22563 2017-11-30 Joseph Myers <joseph@codesourcery.com>
22564
22565 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
22566 <libm-alias-double.h>.
22567 (llrint): Define using libm_alias_double.
22568 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
22569 <libm-alias-float.h>.
22570 (llrintf): Define using libm_alias_float.
22571 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
22572 <libm-alias-ldouble.h>.
22573 (llrintl): Define using libm_alias_ldouble.
22574
22575 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
22576 declare_mgen_alias instead of weak_alias.
22577 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
22578 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
22579 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
22580
22581 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22582
22583 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22584 Add add_n-generic.
22585 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
22586 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
22587 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
22588
22589 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22590 Add submul_1-generic.
22591 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
22592 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
22593 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
22594
22595 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22596 Add addmul_1-generic.
22597 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
22598 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
22599 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
22600
22601 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22602 Add sub_n-generic.
22603 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
22604 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
22605 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
22606
22607 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22608 Add mul_1-generic.
22609 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
22610 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
22611 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
22612
22613 2017-11-30 Mike FABIAN <mfabian@redhat.com>
22614
22615 According to CLDR, collation rules for Serbian and Bosnian
22616 should be the same as for Croatian.
22617
22618 [BZ #22534]
22619 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
22620 and to the list of locales to be built for testing.
22621 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
22622 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
22623 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
22624 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
22625
22626 2017-11-30 Mike FABIAN <mfabian@redhat.com>
22627
22628 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
22629 to make test case pass.
22630 * localedata/hr_HR.UTF-8.in: Add more test strings.
22631
22632 2017-11-30 Mike FABIAN <mfabian@redhat.com>
22633
22634 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
22635
22636 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
22637
22638 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
22639 the list of locales to built for testing.
22640 * localedata/hr_HR.UTF-8.in: New file.
22641
22642 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
22643
22644 [BZ #10580]
22645 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
22646 iso14651_t1.
22647 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
22648 CLDR (except use ligatures for the digraphs, CLDR does not use
22649 the ligatures), add first_workday, some fixes in the date and time
22650 formats.
22651 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
22652 for Đ and đ.
22653 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
22654 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
22655 Add int_p_cs_precedes and int_n_cs_precedes.
22656 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
22657 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
22658 LC_MONETARY now).
22659 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
22660 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
22661 name_miss.
22662 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
22663 and lang_lib. Change postal_fmt.
22664
22665 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
22666
22667 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
22668 <setjmp.h>.
22669 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
22670 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
22671 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
22672 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
22673 * sysdeps/generic/setjmpP.h: New file.
22674 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
22675 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
22676 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
22677 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
22678 Add jmp_buf-ssp.sym.
22679 (tests): Add tst-saved_mask-1.
22680
22681 2017-11-30 Arjun Shankar <arjun@redhat.com>
22682
22683 [BZ #22375]
22684 CVE-2017-17426
22685 * malloc/malloc.c (__libc_malloc): Use checked_request2size
22686 instead of request2size.
22687
22688 2017-11-30 Joseph Myers <joseph@codesourcery.com>
22689
22690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
22691 (__lllrint): Remove alias.
22692 (lllrint): Likewise.
22693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
22694 (__lllrintf): Likewise.
22695 (lllrintf): Likewise.
22696
22697 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
22698 <libm-alias-float.h>.
22699 (copysignf): Define using libm_alias_float.
22700 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
22701 <libm-alias-float.h>.
22702 (fabsf): Define using libm_alias_float.
22703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22704 Include <libm-alias-float.h>.
22705 (copysignf): Define using libm_alias_float.
22706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
22707 <libm-alias-float.h>.
22708 (fabsf): Define using libm_alias_float.
22709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
22710 <libm-alias-float.h>.
22711 (fdimf): Define using libm_alias_float.
22712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
22713 <libm-alias-float.h>.
22714 (fmaf): Define using libm_alias_float.
22715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
22716 <libm-alias-float.h>.
22717 (llrintf): Define using libm_alias_float.
22718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
22719 Include <libm-alias-float.h>.
22720 (nearbyintf): Define using libm_alias_float.
22721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
22722 <libm-alias-float.h>.
22723 (rintf): Define using libm_alias_float.
22724 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
22725 <libm-alias-float.h>.
22726 (llrintf): Define using libm_alias_float.
22727 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
22728 <libm-alias-float.h>.
22729 (lrintf): Define using libm_alias_float.
22730 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
22731 <libm-alias-float.h>.
22732 (nearbyintf): Define using libm_alias_float.
22733 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
22734 <libm-alias-float.h>.
22735 (rintf): Define using libm_alias_float.
22736 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
22737 <libm-alias-float.h>.
22738 (ceilf): Define using libm_alias_float.
22739 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
22740 <libm-alias-float.h>.
22741 (floorf): Define using libm_alias_float.
22742 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
22743 <libm-alias-float.h>.
22744 (fmaf): Define using libm_alias_float.
22745 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
22746 <libm-alias-float.h>.
22747 (lrintf): Define using libm_alias_float.
22748 (llrintf): Likewise.
22749 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
22750 <libm-alias-float.h>.
22751 (nearbyintf): Define using libm_alias_float.
22752 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
22753 <libm-alias-float.h>.
22754 (rintf): Define using libm_alias_float.
22755 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
22756 <libm-alias-float.h>.
22757 (truncf): Define using libm_alias_float.
22758 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
22759 <libm-alias-float.h>.
22760 (copysignf): Define using libm_alias_float.
22761 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
22762 <libm-alias-float.h>.
22763 (fabsf): Define using libm_alias_float.
22764 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
22765 <libm-alias-float.h>.
22766 (lrintf): Define using libm_alias_float.
22767 (llrintf): Likewise.
22768 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
22769 <libm-alias-float.h>.
22770 (nearbyintf): Define using libm_alias_float.
22771 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
22772 <libm-alias-float.h>.
22773 (rintf): Define using libm_alias_float.
22774
22775 2017-11-29 Joseph Myers <joseph@codesourcery.com>
22776
22777 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
22778 <libm-alias-double.h>.
22779 (copysign): Define using libm_alias_double.
22780 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
22781 <libm-alias-double.h>.
22782 (fabs): Define using libm_alias_double.
22783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22784 Include <libm-alias-double.h>.
22785 (copysign): Define using libm_alias_double.
22786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
22787 <libm-alias-double.h>.
22788 (fabs): Define using libm_alias_double.
22789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
22790 <libm-alias-double.h>.
22791 (fdim): Define using libm_alias_double.
22792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
22793 <libm-alias-double.h>.
22794 (fma): Define using libm_alias_double.
22795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
22796 <libm-alias-double.h>.
22797 (llrint): Define using libm_alias_double.
22798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
22799 Include <libm-alias-double.h>.
22800 (nearbyint): Define using libm_alias_double.
22801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
22802 <libm-alias-double.h>.
22803 (rint): Define using libm_alias_double.
22804 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
22805 <libm-alias-double.h>.
22806 (fabs): Define using libm_alias_double.
22807 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
22808 <libm-alias-double.h>.
22809 (llrint): Define using libm_alias_double.
22810 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
22811 <libm-alias-double.h>.
22812 (nearbyint): Define using libm_alias_double.
22813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
22814 <libm-alias-double.h>.
22815 (rint): Define using libm_alias_double.
22816 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
22817 <libm-alias-double.h>.
22818 (ceil): Define using libm_alias_double.
22819 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
22820 <libm-alias-double.h>.
22821 (floor): Define using libm_alias_double.
22822 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
22823 <libm-alias-double.h>.
22824 (fma): Define using libm_alias_double.
22825 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
22826 <libm-alias-double.h>.
22827 (lrint): Define using libm_alias_double.
22828 (llrint): Likewise.
22829 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
22830 <libm-alias-double.h>.
22831 (nearbyint): Define using libm_alias_double.
22832 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
22833 <libm-alias-double.h>.
22834 (rint): Define using libm_alias_double.
22835 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
22836 <libm-alias-double.h>.
22837 (trunc): Define using libm_alias_double.
22838 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
22839 <libm-alias-double.h>.
22840 (copysign): Define using libm_alias_double.
22841 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
22842 <libm-alias-double.h>.
22843 (fabs): Define using libm_alias_double.
22844 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
22845 <libm-alias-double.h>.
22846 (lrint): Define using libm_alias_double.
22847 (llrint): Likewise.
22848 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
22849 <libm-alias-double.h>.
22850 (nearbyint): Define using libm_alias_double.
22851 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
22852 <libm-alias-double.h>.
22853 (rint): Define using libm_alias_double.
22854
22855 [BZ #22229]
22856 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
22857 <math_ldbl_opt.h>.
22858 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
22859
22860 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22861 SPARC --disable-multi-arch glibc variants.
22862
22863 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
22864 <libm-alias-float.h>.
22865 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22866 if [SHARED].
22867 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
22868 <libm-alias-float.h>.
22869 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22870 if [SHARED].
22871 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
22872 <libm-alias-float.h>.
22873 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22874 if [SHARED].
22875 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
22876 <libm-alias-float.h>.
22877 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22878 if [SHARED].
22879 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
22880 <libm-alias-float.h>.
22881 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22882 if [SHARED].
22883 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
22884 <libm-alias-float.h>.
22885 (ceilf): Define using libm_alias_float.
22886 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
22887 <libm-alias-float.h>.
22888 (floorf): Define using libm_alias_float.
22889 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
22890 <libm-alias-float.h>.
22891 (fmaf): Define using libm_alias_float.
22892 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
22893 <libm-alias-float.h>.
22894 (nearbyintf): Define using libm_alias_float.
22895 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
22896 <libm-alias-float.h>.
22897 (rintf): Define using libm_alias_float.
22898 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
22899 <libm-alias-float.h>.
22900 (truncf): Define using libm_alias_float.
22901 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
22902 (copysignf): Define using libm_alias_float.
22903 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
22904 (cosf): Define using libm_alias_float.
22905 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
22906 (fabsf): Define using libm_alias_float.
22907 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
22908 (fmaxf): Define using libm_alias_float.
22909 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
22910 (fminf): Define using libm_alias_float.
22911 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
22912 (llrintf): Define using libm_alias_float.
22913 [!__ILP32__] (lrintf): Likewise.
22914 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
22915 (sincosf): Define using libm_alias_float.
22916 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
22917 (sinf): Define using libm_alias_float.
22918 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
22919 (lrintf): Define using libm_alias_float.
22920
22921 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
22922 <libm-alias-double.h>.
22923 (atan): Define using libm_alias_double.
22924 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
22925 <libm-alias-double.h>.
22926 (ceil): Define using libm_alias_double.
22927 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
22928 <libm-alias-double.h>.
22929 (floor): Define using libm_alias_double.
22930 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
22931 <libm-alias-double.h>.
22932 (fma): Define using libm_alias_double.
22933 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
22934 <libm-alias-double.h>.
22935 (nearbyint): Define using libm_alias_double.
22936 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
22937 <libm-alias-double.h>.
22938 (rint): Define using libm_alias_double.
22939 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
22940 <libm-alias-double.h>.
22941 (sin): Define using libm_alias_double.
22942 (cos): Likewise.
22943 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
22944 <libm-alias-double.h>.
22945 (tan): Define using libm_alias_double.
22946 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
22947 <libm-alias-double.h>.
22948 (trunc): Define using libm_alias_double.
22949 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
22950 (copysign): Define using libm_alias_double.
22951 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
22952 (fabs): Define using libm_alias_double.
22953 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
22954 (fmax): Define using libm_alias_double.
22955 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
22956 (fmin): Define using libm_alias_double.
22957 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
22958 (llrint): Define using libm_alias_double.
22959 [!__ILP32__] (lrint): Likewise.
22960 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
22961 (lrint): Define using libm_alias_double.
22962
22963 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22964
22965 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22966 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
22967 objects.
22968 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
22969 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
22970 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
22971 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
22972 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
22973 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22974
22975 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22976 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
22977 objects.
22978 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
22979 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
22980 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
22981 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
22982 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
22983 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22984
22985 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22986 (libm-sysdep_routines): Add s_nearbyint-generic and
22987 s_nearbyintf-generic objects.
22988 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
22989 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
22990 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
22991 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
22992 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
22993 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
22994
22995 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22996 Add s_finitef-generic and s_finite-generic objects.
22997 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
22998 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
22999 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
23000 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
23001 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
23002 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
23003
23004 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23005 Add s_isinff-generic and s_isinf-generic objects.
23006 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
23007 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
23008 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
23009 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
23010 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
23011 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23012
23013 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23014 Add s_isnanf-generic and s_isnan-generic objects.
23015 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
23016 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
23017 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
23018 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
23019 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
23020 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23021
23022 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
23023 macro.
23024 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
23025 rule.
23026 (sysdep_routines): Use sysdep_calls as base.
23027 (libm-sysdep_routines): Add generic rule for symbols shared with
23028 libc. Add s_signbit-generic and s_signbitf-generic objects.
23029 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
23030 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
23031 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
23032 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
23033 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
23034 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23035
23036 2017-11-29 Joseph Myers <joseph@codesourcery.com>
23037
23038 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
23039 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
23040 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
23041 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
23042 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
23043 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
23044 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
23045 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
23046 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
23047 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
23048 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
23049 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
23050 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
23051 libm_alias_float_r.
23052 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
23053 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
23054 (logf): Likewise.
23055 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
23056 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
23057 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
23058 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
23059 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
23060 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
23061 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
23062 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
23063 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
23064 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
23065 libm_alias_float.
23066 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
23067 (cosf): Likewise.
23068 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
23069 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
23070 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
23071 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
23072 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
23073 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
23074 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
23075 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
23076 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
23077 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
23078 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
23079 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
23080 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
23081 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
23082 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
23083 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
23084 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
23085 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
23086 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
23087 libm_alias_float.
23088 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
23089 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
23090 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
23091 * sysdeps/ia64/fpu/w_lgammaf_main.c
23092 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
23093 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
23094
23095 2017-11-28 Mike FABIAN <mfabian@redhat.com>
23096 Alexandre Oliva <aoliva@redhat.com>
23097
23098 [BZ #17750]
23099 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
23100 * localedata/fr_CA.UTF-8.in: New file with test data for backward
23101 accents sorting.
23102 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
23103 sorting.
23104 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
23105 * localedata/locales/de_DE (LC_COLLATE): Likewise.
23106 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
23107 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
23108 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
23109 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
23110 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
23111 instead of “ifdef DIACRIT_BACKWARD”.
23112
23113 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23114
23115 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
23116 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
23117 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
23118 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
23119 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
23120 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
23121 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
23122 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
23123 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
23124 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
23125 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
23126 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
23127 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
23128 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
23129 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
23130 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
23131 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
23132 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
23133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23134 ($(have-as-vis3) == yes): Remove conditional.
23135 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
23136 Likewise.
23137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
23138 file.
23139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
23140 file.
23141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
23142 file.
23143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
23144 file.
23145 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
23146 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
23147 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
23148 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
23149 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
23150 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
23151 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
23152 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
23153
23154 2017-11-29 Joseph Myers <joseph@codesourcery.com>
23155
23156 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
23157 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
23158 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
23159 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
23160 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
23161 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
23162 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
23163 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
23164 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
23165 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
23166 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
23167 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
23168 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
23169 libm_alias_double_r.
23170 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
23171 (log): Likewise.
23172 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
23173 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
23174 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
23175 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
23176 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
23177 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
23178 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
23179 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
23180 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
23181 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
23182 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
23183 libm_alias_double.
23184 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
23185 (cos): Likewise.
23186 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
23187 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
23188 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
23189 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
23190 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
23191 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
23192 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
23193 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
23194 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
23195 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
23196 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
23197 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
23198 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
23199 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
23200 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
23201 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
23202 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
23203 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
23204 libm_alias_double.
23205 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
23206 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
23207 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
23208 * sysdeps/ia64/fpu/w_lgamma_main.c
23209 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
23210 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
23211
23212 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
23213
23214 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
23215 address of $global$ into %dp register earlier. Use pc-relative
23216 instruction sequence for PIC case.
23217
23218 2017-11-28 Joseph Myers <joseph@codesourcery.com>
23219
23220 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
23221 (asinhf): Define using libm_alias_float.
23222 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
23223 (atanf): Define using libm_alias_float.
23224 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
23225 (cbrtf): Define using libm_alias_float.
23226 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
23227 (ceilf): Define using libm_alias_float.
23228 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
23229 (copysignf): Define using libm_alias_float.
23230 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
23231 (expm1f): Define using libm_alias_float.
23232 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
23233 (fabsf): Define using libm_alias_float.
23234 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
23235 (floorf): Define using libm_alias_float.
23236 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23237 (fmaxf): Define using libm_alias_float.
23238 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
23239 (fminf): Define using libm_alias_float.
23240 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
23241 (frexpf): Define using libm_alias_float.
23242 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
23243 (llrintf): Define using libm_alias_float.
23244 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
23245 (logbf): Define using libm_alias_float.
23246 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
23247 (lrintf): Define using libm_alias_float.
23248 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
23249 (nearbyintf): Define using libm_alias_float.
23250 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
23251 (remquof): Define using libm_alias_float.
23252 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
23253 (rintf): Define using libm_alias_float.
23254 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
23255 (truncf): Define using libm_alias_float.
23256 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
23257 <libm-alias-float.h>.
23258 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23259 if [SHARED].
23260 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
23261 <libm-alias-float.h>.
23262 (expf): Define using libm_alias_float, or libm_alias_float_other
23263 if [SHARED].
23264 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
23265 <libm-alias-float.h>.
23266 (log2f): Define using libm_alias_float, or libm_alias_float_other
23267 if [SHARED].
23268 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
23269 <libm-alias-float.h>.
23270 (logf): Define using libm_alias_float, or libm_alias_float_other
23271 if [SHARED].
23272 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
23273 <libm-alias-float.h>.
23274 (powf): Define using libm_alias_float, or libm_alias_float_other
23275 if [SHARED].
23276 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
23277 <libm-alias-float.h>.
23278 (cosf): Define using libm_alias_float.
23279 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
23280 <libm-alias-float.h>.
23281 (sincosf): Define using libm_alias_float.
23282 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
23283 <libm-alias-float.h>.
23284 (sinf): Define using libm_alias_float.
23285 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23286 (fmaxf): Define using libm_alias_float.
23287 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
23288 (fminf): Define using libm_alias_float.
23289 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
23290 <libm-alias-float.h>.
23291 (fmaf): Define using libm_alias_float.
23292
23293 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
23294 (asinh): Define using libm_alias_double.
23295 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
23296 (atan): Define using libm_alias_double.
23297 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
23298 (cbrt): Define using libm_alias_double.
23299 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
23300 (ceil): Define using libm_alias_double.
23301 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
23302 (copysign): Define using libm_alias_double.
23303 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
23304 (expm1): Define using libm_alias_double.
23305 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
23306 (fabs): Define using libm_alias_double.
23307 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
23308 (fdim): Define using libm_alias_double.
23309 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
23310 (floor): Define using libm_alias_double.
23311 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
23312 (fmax): Define using libm_alias_double.
23313 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
23314 (fmin): Define using libm_alias_double.
23315 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
23316 (frexp): Define using libm_alias_double.
23317 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
23318 (llrint): Define using libm_alias_double.
23319 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
23320 (logb): Define using libm_alias_double.
23321 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
23322 (lrint): Define using libm_alias_double.
23323 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
23324 (nearbyint): Define using libm_alias_double.
23325 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
23326 (remquo): Define using libm_alias_double.
23327 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
23328 (rint): Define using libm_alias_double.
23329 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
23330 (trunc): Define using libm_alias_double.
23331 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
23332 (fmax): Define using libm_alias_double.
23333 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
23334 (fmin): Define using libm_alias_double.
23335 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
23336 (fma): Define using libm_alias_double.
23337
23338 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
23339
23340 [BZ #22370]
23341 * elf/dl-hwcaps.c (ROUND): Removed.
23342 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
23343 and ELF_NOTE_NEXT_OFFSET.
23344 * elf/dl-load.c (ROUND): Removed.
23345 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
23346 * elf/readelflib.c (ROUND): Removed.
23347 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
23348 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
23349 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
23350 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
23351
23352 2017-11-28 Joseph Myers <joseph@codesourcery.com>
23353
23354 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
23355 [!__fmaf] (fmaf): Define using libm_alias_float.
23356
23357 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
23358 [!__fma] (fma): Define using libm_alias_double.
23359 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
23360
23361 2017-11-28 Mike FABIAN <mfabian@redhat.com>
23362
23363 [BZ #22336]
23364 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
23365 and implement the collation rules for cs from CLDR on top of that.
23366 * Makefile: Add cs_CZ.UTF-8 to test-input.
23367 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
23368
23369 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
23370
23371 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
23372
23373 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
23374 Icarus Sparry <icarus.w.sparry@intel.com>
23375
23376 * benchtests/Makefile:Add BENCHSET to allow subsets of
23377 benchmarks to be run.
23378 * benchtests/README: Add documentation for: Running subsets of
23379 benchmarks.
23380
23381 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
23382
23383 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
23384 range of tests names.
23385
23386 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
23387 result from property and remove "max", min" and "mean" from
23388 required properties based on benchtests/bench-skeleton.c.
23389
23390 2017-11-28 Florian Weimer <fweimer@redhat.com>
23391
23392 [BZ #20826]
23393 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
23394 due to Internet requirement.
23395 * posix/Makefile (tests): Remove tst-getaddrinfo4,
23396 tst-getaddrinfo5.
23397 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
23398
23399 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23400
23401 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23402 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
23403 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
23404 (sysdep_routines): Add memset-ultra1.
23405 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
23406 file.
23407 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
23408 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
23409 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
23410 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
23411 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
23412 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
23413 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
23414 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23415
23416 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
23417 file.
23418 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
23419 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
23420 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
23421 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
23422 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
23423 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
23424 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
23425 macro.
23426 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23427 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
23428 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
23429 (sysdep_routines): Add memcpy-ultra1.
23430 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
23431 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
23432
23433 2017-11-28 Joseph Myers <joseph@codesourcery.com>
23434
23435 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
23436 (cfloat_versions): Take function argument without trailing 'f'.
23437 Call libm_alias_float_other.
23438 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
23439 * sysdeps/alpha/fpu/cargf.c: Likewise.
23440 * sysdeps/alpha/fpu/cimagf.c: Likewise.
23441 * sysdeps/alpha/fpu/conjf.c: Likewise.
23442 * sysdeps/alpha/fpu/crealf.c: Likewise.
23443 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
23444 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
23445 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
23446 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
23447 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
23448 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
23449 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
23450 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
23451 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
23452 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
23453 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
23454 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
23455 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
23456 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
23457 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
23458 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
23459 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
23460 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
23461 (clog10f): Use libm_alias_float_other.
23462 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
23463 (ceilf): Define using libm_alias_float.
23464 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
23465 (copysignf): Define using libm_alias_float.
23466 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
23467 (fabsf): Define using libm_alias_float.
23468 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
23469 (floorf): Define using libm_alias_float.
23470 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
23471 (fmaxf): Define using libm_alias_float.
23472 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
23473 (fminf): Define using libm_alias_float.
23474 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
23475 (lrintf): Define using libm_alias_float.
23476 (llrintf): Likewise.
23477 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
23478 (lroundf): Define using libm_alias_float.
23479 (llroundf): Likewise.
23480 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
23481 (rintf): Define using libm_alias_float.
23482 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
23483 (truncf): Define using libm_alias_float.
23484
23485 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
23486 (ceilf): Define using libm_alias_float.
23487 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
23488 (floorf): Define using libm_alias_float.
23489 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
23490 (fmaf): Define using libm_alias_float.
23491 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
23492 (fmaxf): Define using libm_alias_float.
23493 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
23494 (fminf): Define using libm_alias_float.
23495 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
23496 (llrintf): Define using libm_alias_float.
23497 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
23498 (llroundf): Define using libm_alias_float.
23499 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
23500 (lrintf): Define using libm_alias_float.
23501 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
23502 (lroundf): Define using libm_alias_float.
23503 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
23504 <libm-alias-float.h>.
23505 (nearbyintf): Define using libm_alias_float.
23506 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
23507 (rintf): Define using libm_alias_float.
23508 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
23509 (roundf): Define using libm_alias_float.
23510 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
23511 (truncf): Define using libm_alias_float.
23512
23513 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
23514 (ceil): Define using libm_alias_double.
23515 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
23516 (copysign): Define using libm_alias_double.
23517 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
23518 (fabs): Define using libm_alias_double.
23519 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
23520 (floor): Define using libm_alias_double.
23521 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
23522 (fmax): Define using libm_alias_double.
23523 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
23524 (fmin): Define using libm_alias_double.
23525 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
23526 (lrint): Define using libm_alias_double.
23527 (llrint): Likewise.
23528 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
23529 (lround): Define using libm_alias_double.
23530 (llround): Likewise.
23531 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
23532 (rint): Define using libm_alias_double.
23533 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
23534 (trunc): Define using libm_alias_double.
23535
23536 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
23537 (libm_alias_double_r): Add semicolon after weak_alias call.
23538
23539 2017-11-27 Joseph Myers <joseph@codesourcery.com>
23540
23541 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
23542 (ceil): Define using libm_alias_double.
23543 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
23544 (floor): Define using libm_alias_double.
23545 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
23546 (fma): Define using libm_alias_double.
23547 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
23548 (fmax): Define using libm_alias_double.
23549 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
23550 (fmin): Define using libm_alias_double.
23551 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
23552 (llrint): Define using libm_alias_double.
23553 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
23554 (llround): Define using libm_alias_double.
23555 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
23556 (lrint): Define using libm_alias_double.
23557 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
23558 (lround): Define using libm_alias_double.
23559 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
23560 (nearbyint): Define using libm_alias_double.
23561 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
23562 (rint): Define using libm_alias_double.
23563 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
23564 (round): Define using libm_alias_double.
23565 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
23566 (trunc): Define using libm_alias_double.
23567
23568 2017-11-27 Florian Weimer <fweimer@redhat.com>
23569
23570 * sysdeps/unix/sysv/linux/mlock2.c: New file.
23571 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
23572 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
23573 (tests): Add tst-mlock2.
23574 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
23575 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
23576 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
23577 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
23578 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
23579 for mlock. Document mlock2.
23580
23581 2017-11-27 Joseph Myers <joseph@codesourcery.com>
23582
23583 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
23584 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
23585 Likewise.
23586 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
23587 Likewise.
23588 * sysdeps/x86/Makeconfig: New file.
23589 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
23590 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23591 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
23592 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23593 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23594 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23595 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
23596 Likewise.
23597 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23598 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23599 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23600 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23601 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23602 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23603 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23604 * manual/math.texi (Mathematics): Document support for _Float64x.
23605 * math/Versions (GLIBC_2.27): Add _Float64x functions.
23606 * stdlib/Versions (GLIBC_2.27): Likewise.
23607 * wcsmbs/Versions (GLIBC_2.27): Likewise.
23608 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23609 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23610 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23611 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23612 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23613 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23614 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23615 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23616 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23617 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23618 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
23620 Likewise.
23621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23622 Likewise.
23623 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23624 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23625 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23626 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23627 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23628 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23629 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23630 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23631 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23632 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23633 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23634 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23635 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23636 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23637
23638 2017-11-27 Andreas Schwab <schwab@suse.de>
23639
23640 * elf/Makefile (dl-routines): Add dl-sort-maps.
23641 * elf/dl-sort-maps.c: New file.
23642 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
23643 (_dl_sort_maps): Declare.
23644 * elf/dl-fini.c (_dl_sort_fini): Remove.
23645 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
23646 * elf/dl-close.c (_dl_close_worker): Likewise.
23647 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
23648 open-coding it.
23649 * elf/dl-open.c (dl_open_worker): Likewise.
23650
23651 2017-11-24 Joseph Myers <joseph@codesourcery.com>
23652
23653 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
23654 using libm_alias_float128.
23655 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
23656 Likewise.
23657 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
23658 Likewise.
23659 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
23660 (setpayloadsigf128): Likewise.
23661 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
23662 Likewise.
23663 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
23664 Likewise.
23665
23666 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
23667 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
23668 -mfloat128 to CFLAGS.
23669 ($(foreach
23670 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
23671 Likewise.
23672 (CFLAGS-libm-test-support-float64x.c): New variable.
23673 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
23674 $(f128-loader-link) to gnulib-tests.
23675
23676 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
23677 (libm_alias_float128_other_r): If
23678 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
23679 alias.
23680 (libm_alias_float128_r): Add semicolon after weak_alias call.
23681 * sysdeps/generic/libm-alias-ldouble.h
23682 (libm_alias_ldouble_other_r_f128): New macro.
23683 (libm_alias_ldouble_other_r_f64x): Likewise.
23684 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
23685 and libm_alias_ldouble_other_r_f64x.
23686 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
23687 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
23688 (libm_alias_ldouble_other_r_f128): New macro.
23689 (libm_alias_ldouble_other_r_f64x): Likewise.
23690 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
23691 and libm_alias_ldouble_other_r_f64x.
23692
23693 * stdlib/strfroml.c: Always include <stdlib.h>.
23694 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
23695 undefine as macro and define as weak alias.
23696 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
23697 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
23698 <stdlib.h>.
23699 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
23700 Define and later undefine as macro and define as weak alias.
23701
23702 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
23703 Define and later undefine as macro. Define as weak alias if
23704 [!USE_WIDE_CHAR].
23705 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
23706 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23707 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
23708 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
23709 Define and later undefine as macro. Define as weak alias if
23710 [!USE_WIDE_CHAR].
23711 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
23712 Define and later undefine as macro. Define as weak alias if
23713 [USE_WIDE_CHAR].
23714 * sysdeps/ieee754/float128/strtof128_l.c
23715 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
23716 Define and later undefine as macro. Define as weak alias if
23717 [!USE_WIDE_CHAR].
23718 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
23719 Define and later undefine as macro. Define as weak alias if
23720 [USE_WIDE_CHAR].
23721 * sysdeps/ieee754/ldbl-128/strtold_l.c
23722 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23723 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23724 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23725 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23726 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
23727 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23728 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23729 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23730 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23731 * sysdeps/ieee754/ldbl-96/strtold_l.c
23732 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23733 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23734 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23735 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23736
23737 * math/test-float64x.h: New file.
23738 * math/Makefile (type-float64x-yes): New variable.
23739 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
23740
23741 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
23742 function-like macro.
23743 (min_of_type_): Likewise.
23744 (min_of_type_l): Likewise.
23745 (min_of_type_f128): Likewise.
23746 (min_of_type): Pass () as last argument of __MATH_TG.
23747
23748 * stdlib/tst-strtod-round-skeleton.c
23749 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
23750 headers.
23751
23752 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
23753 for combinations of long double with _Float64 and _Float64x.
23754
23755 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
23756 (__DECL_SIMD_cosf32): Likewise.
23757 (__DECL_SIMD_cosf64): Likewise.
23758 (__DECL_SIMD_cosf32x): Likewise.
23759 (__DECL_SIMD_cosf64x): Likewise.
23760 (__DECL_SIMD_cosf128x): Likewise.
23761 (__DECL_SIMD_sinf16): Likewise.
23762 (__DECL_SIMD_sinf32): Likewise.
23763 (__DECL_SIMD_sinf64): Likewise.
23764 (__DECL_SIMD_sinf32x): Likewise.
23765 (__DECL_SIMD_sinf64x): Likewise.
23766 (__DECL_SIMD_sinf128x): Likewise.
23767 (__DECL_SIMD_sincosf16): Likewise.
23768 (__DECL_SIMD_sincosf32): Likewise.
23769 (__DECL_SIMD_sincosf64): Likewise.
23770 (__DECL_SIMD_sincosf32x): Likewise.
23771 (__DECL_SIMD_sincosf64x): Likewise.
23772 (__DECL_SIMD_sincosf128x): Likewise.
23773 (__DECL_SIMD_logf16): Likewise.
23774 (__DECL_SIMD_logf32): Likewise.
23775 (__DECL_SIMD_logf64): Likewise.
23776 (__DECL_SIMD_logf32x): Likewise.
23777 (__DECL_SIMD_logf64x): Likewise.
23778 (__DECL_SIMD_logf128x): Likewise.
23779 (__DECL_SIMD_expf16): Likewise.
23780 (__DECL_SIMD_expf32): Likewise.
23781 (__DECL_SIMD_expf64): Likewise.
23782 (__DECL_SIMD_expf32x): Likewise.
23783 (__DECL_SIMD_expf64x): Likewise.
23784 (__DECL_SIMD_expf128x): Likewise.
23785 (__DECL_SIMD_powf16): Likewise.
23786 (__DECL_SIMD_powf32): Likewise.
23787 (__DECL_SIMD_powf64): Likewise.
23788 (__DECL_SIMD_powf32x): Likewise.
23789 (__DECL_SIMD_powf64x): Likewise.
23790 (__DECL_SIMD_powf128x): Likewise.
23791
23792 * stdlib/Versions (libc): Move entries for wcstof128 and
23793 wcstof128_l to ....
23794 * wcsmbs/Versions (libc): ... here.
23795 Include <float128-abi.h>.
23796
23797 2017-11-24 Florian Weimer <fweimer@redhat.com>
23798
23799 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23800 bits/mman-shared.h.
23801 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
23802 <bits/mman-shared.h>.
23803 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
23804 to ...
23805 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
23806 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
23807 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
23808 <bits/mman-shared.h>.
23809
23810 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23811
23812 [BZ #22457]
23813 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
23814 posix_memalign/free.
23815 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
23816
23817 2017-11-22 Mike FABIAN <mfabian@redhat.com>
23818
23819 [BZ #22469]
23820 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
23821 and implement the collation rules for pl from CLDR on top of that.
23822 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
23823 of locales to be built for testing.
23824 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
23825
23826 2017-11-23 Joseph Myers <joseph@codesourcery.com>
23827
23828 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
23829 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
23830 libm_alias_ldouble_other.
23831 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
23832 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
23833 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
23834 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
23835 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
23836 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
23837 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
23838 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
23839 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
23840 libm_alias_ldouble_r.
23841 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
23842 libm_alias_ldouble_other.
23843 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
23844 (log10l): Likewise.
23845 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
23846 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
23847 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
23848 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
23849 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
23850 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
23851 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
23852 (atan2l): Likewise.
23853 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
23854 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
23855 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
23856 libm_alias_ldouble.
23857 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
23858 (cosl): Likewise.
23859 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
23860 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
23861 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
23862 (expl): Likewise.
23863 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
23864 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
23865 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
23866 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
23867 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
23868 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
23869 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
23870 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
23871 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
23872 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
23873 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
23874 libm_alias_ldouble.
23875 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
23876 libm_alias_ldouble_other.
23877 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
23878 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
23879 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
23880 libm_alias_ldouble.
23881 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
23882 libm_alias_ldouble_other.
23883 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
23884 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
23885 * sysdeps/ia64/fpu/w_lgammal_main.c
23886 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
23887 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
23888
23889 2017-11-23 Florian Weimer <fweimer@redhat.com>
23890
23891 * malloc/malloc.c (tcache_thread_shutdown): Rename from
23892 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
23893 alike. Remove freeres marker.
23894 * malloc/arena.c (arena_thread_freeres): Call
23895 tcache_thread_shutdown.
23896
23897 2017-11-23 Florian Weimer <fweimer@redhat.com>
23898
23899 [BZ #22459]
23900 Export nscd hash function as __nss_hash.
23901 * include/nss.h (__nss_hash): Declare.
23902 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
23903 symbol.
23904 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
23905 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
23906 of __nscd_hash.
23907 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
23908 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
23909 * nss/Makefiles (routines): Add nss_hash.
23910 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
23911 * nss/nss_hash.c: Rename from nis/nis_hash.c.
23912 (__nss_hash): Rename from __nis_hash. Define hidden alias.
23913 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
23914
23915 2017-11-23 Florian Weimer <fweimer@redhat.com>
23916
23917 [BZ #22478]
23918 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
23919 Return error code, not -1.
23920 * signal/tst-sigwait-eintr.c: New file.
23921 * signal/Makefile (tests): Add tst-sigwait-eintr.
23922
23923 2017-11-23 Florian Weimer <fweimer@redhat.com>
23924
23925 Linux: Add memfd_create system call wrapper
23926 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
23927 tst-memfd_create.
23928 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
23929 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
23930 [__USE_GNU] (memfd_create): Declare.
23931 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
23932 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
23933 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
23934 * sysdeps/unix/sysv/linux/**.abilist: Update.
23935 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
23936
23937 2017-11-22 Joseph Myers <joseph@codesourcery.com>
23938
23939 * localedata/gen-locale.sh: Fix typo in variable name.
23940
23941 * resolv/res_debug.c (p_secstodate): Condition definition on
23942 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
23943 directly as __p_secstodate, and as a compat symbol. Do not use
23944 libresolv_hidden_def.
23945 * resolv/resolv.h (p_secstodate): Remove macro and function
23946 declaration.
23947 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
23948 using p_secstodate.
23949 * include/resolv.h (__p_secstodate): Do not use
23950 libresolv_hidden_proto.
23951 * resolv/Makefile (tests): Move tst-p_secstodate to ....
23952 (tests-internal): ... here.
23953 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
23954 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
23955 and declare and use __p_secstodate and use compat_symbol_reference
23956 in that case.
23957 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
23958 implementation returning 77.
23959
23960 [BZ #22463]
23961 * resolv/res_debug.c: Include <libc-diag.h>.
23962 (p_secstodate): Assert time_t at least as wide as u_long. On
23963 overflow, use integer seconds since the epoch as output, or use
23964 "<overflow>" as output and set errno to EOVERFLOW if integer
23965 seconds since the epoch would be 14 or more characters.
23966 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
23967 for sprintf call.
23968 * resolv/tst-p_secstodate.c: New file.
23969 * resolv/Makefile (tests): Add tst-p_secstodate.
23970 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
23971
23972 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
23973 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
23974 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
23975
23976 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
23977
23978 * posix/regcomp.c (init_word_char): Add comments.
23979
23980 2017-11-22 Joseph Myers <joseph@codesourcery.com>
23981
23982 [BZ #22447]
23983 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
23984 strlen to compute length of ut_user and set trailing NUL byte of
23985 result explicitly.
23986
23987 2017-11-21 Mike FABIAN <mfabian@redhat.com>
23988
23989 [BZ #15537]
23990 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
23991 using “copy "iso14651_t1"” and then implementing the
23992 collation rules for lv from CLDR on top of that.
23993 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
23994 of locales to be built for testing.
23995 * lv_LV.UTF-8.in: New file with test data to test the Latvian
23996 sorting.
23997
23998 2017-11-21 Joseph Myers <joseph@codesourcery.com>
23999
24000 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
24001 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
24002 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
24003 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
24004 [__USE_MISC] (MADV_HWPOISON): New macro.
24005 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
24006
24007 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24008
24009 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
24010 -Wmissing-braces on GCC 4.9.
24011
24012 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
24013
24014 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
24015 * sysdeps/s390/s390-32/start.S (_start): Likewise
24016 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
24017 (thread_start): Likewise.
24018 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
24019 (thread_start): Likewise.
24020 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
24021 (__makecontext_ret): Likewise.
24022 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
24023 (__makecontext_ret): Likewise.
24024
24025 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
24026
24027 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
24028 __wcschrnul): Remove attribute_hidden.
24029
24030 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
24031
24032 regex: don't assume uint64_t or uint32_t
24033 This avoids -Werror=overflow errors for 32-bit systems in
24034 the 64-bit case. Problem reported by Joseph Myers in:
24035 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
24036 Also, when this code is used in Gnulib it ports to platforms
24037 that lack uint64_t and uint32_t. The C standard doesn't guarantee
24038 them, and on some 32-bit compilers there is no uint64_t.
24039 Problem reported by Gianluigi Tiesi in:
24040 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
24041 * posix/regcomp.c (init_word_char): Don't assume that the types
24042 uint64_t and uint32_t exist. Adapted from Gnulib patch
24043 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
24044 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
24045
24046 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
24047
24048 * sysdeps/aarch64/memset-reg.h: New file.
24049 * sysdeps/aarch64/memset.S: Use it.
24050 (__memset): Rename to MEMSET macro.
24051 [ZVA_MACRO]: Use zva_macro.
24052 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
24053 Add memset_generic and memset_falkor.
24054 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
24055 (__libc_ifunc_impl_list): Add memset ifuncs.
24056 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
24057 local variable zva_size.
24058 * sysdeps/aarch64/multiarch/memset.c: New file.
24059 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
24060 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
24061 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
24062 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
24063 (DCZID_DZP_MASK): New macro.
24064 (DCZID_BS_MASK): Likewise.
24065 (init_cpu_features): Read and set zva_size.
24066 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
24067 (struct cpu_features): New member zva_size.
24068
24069 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
24070 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
24071 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
24072
24073 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
24074 backwards. Fix timing computation.
24075 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
24076 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
24077 on memset by N at a time. Fix timing computation.
24078
24079 2017-11-20 Florian Weimer <fweimer@redhat.com>
24080
24081 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
24082 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
24083
24084 2017-11-19 Florian Weimer <fweimer@redhat.com>
24085
24086 manual: Document mprotect
24087 * manual/memory.texi (Memory Protection): New section.
24088 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
24089 documentation of PROT_* flags and reference the Memory Protection
24090 section instead.
24091
24092 2017-11-19 Florian Weimer <fweimer@redhat.com>
24093
24094 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
24095 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
24096 (Scatter-Gather): ... to here. Remove misleading comment.
24097
24098 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
24099
24100 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
24101 style.
24102
24103 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
24104 when /proc/<pid>/setgroups does not exist.
24105
24106 2017-11-18 Florian Weimer <fweimer@redhat.com>
24107
24108 * sysdeps/unix/sysv/linux/tst-ttyname.c
24109 (become_root_in_mount_ns): Remove.
24110 (do_in_chroot_1): Call support_enter_mount_namespace.
24111 (do_in_chroot_2): Likewise.
24112 (do_test): Call support_become_root early.
24113
24114 2017-11-18 Florian Weimer <fweimer@redhat.com>
24115
24116 * support/namespace.h (support_enter_mount_namespace): Declare.
24117 * support/support_enter_mount_namespace.c: New file.
24118 * support/Makefile (libsupport-routines): Add
24119 support_enter_mount_namespace.
24120
24121 2017-11-18 Florian Weimer <fweimer@redhat.com>
24122
24123 * support/temp_file.c (support_create_temp_directory): Use
24124 test_dir and do not rely on the presence of the XXXXXX suffix.
24125 * support/temp_file.h (support_create_temp_directory): Update
24126 comment.
24127 * support/tst-xreadlink.c (do_test): Adjust.
24128 * support/support_chroot.c (support_chroot_create): Likewise.
24129
24130 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24131
24132 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
24133 macro.
24134 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
24135 htm-no-suspend.
24136
24137 2017-11-17 Joseph Myers <joseph@codesourcery.com>
24138
24139 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
24140 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
24141 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
24142 (ceill): Define using libm_alias_ldouble.
24143 * sysdeps/x86_64/fpu/s_copysignl.S: Include
24144 <libm-alias-ldouble.h>.
24145 (copysignl): Define using libm_alias_ldouble.
24146 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
24147 (fabsl): Define using libm_alias_ldouble.
24148 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
24149 (floorl): Define using libm_alias_ldouble.
24150 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24151 (fmaxl): Define using libm_alias_ldouble.
24152 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24153 (fminl): Define using libm_alias_ldouble.
24154 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
24155 (llrintl): Define using libm_alias_ldouble.
24156 (lrintl): Likewise.
24157 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
24158 <libm-alias-ldouble.h>.
24159 (nearbyintl): Define using libm_alias_ldouble.
24160 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
24161 (truncl): Define using libm_alias_ldouble.
24162 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
24163 <libm-alias-ldouble.h>.
24164 (lrintl): Define using libm_alias_ldouble.
24165
24166 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
24167 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
24168 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
24169 (asinhl): Define using libm_alias_ldouble.
24170 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
24171 (atanl): Define using libm_alias_ldouble.
24172 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
24173 (cbrtl): Define using libm_alias_ldouble.
24174 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
24175 (ceill): Define using libm_alias_ldouble.
24176 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
24177 (copysignl): Define using libm_alias_ldouble.
24178 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
24179 (fabsl): Define using libm_alias_ldouble.
24180 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
24181 (floorl): Define using libm_alias_ldouble.
24182 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24183 (fmaxl): Define using libm_alias_ldouble.
24184 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24185 (fminl): Define using libm_alias_ldouble.
24186 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
24187 (frexpl): Define using libm_alias_ldouble.
24188 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
24189 (llrintl): Define using libm_alias_ldouble.
24190 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
24191 (logbl): Define using libm_alias_ldouble.
24192 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
24193 (lrintl): Define using libm_alias_ldouble.
24194 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
24195 (nearbyintl): Define using libm_alias_ldouble.
24196 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
24197 (nextafterl): Define using libm_alias_ldouble.
24198 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
24199 (remquol): Define using libm_alias_ldouble.
24200 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
24201 (rintl): Define using libm_alias_ldouble.
24202 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
24203 (truncl): Define using libm_alias_ldouble.
24204 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24205 (fmaxl): Define using libm_alias_ldouble.
24206 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24207 (fminl): Define using libm_alias_ldouble.
24208
24209 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
24210 to C syntax instead of availability and properties of types.
24211 * bits/floatn.h [!__ASSEMBLER]: Likewise.
24212 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
24213 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
24214 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
24215 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
24216 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
24217
24218 2017-11-17 Florian Weimer <fweimer@redhat.com>
24219
24220 support_become_root: Enable file creation in namespaces.
24221 * support/support_become_root.c (setup_mapping): New function.
24222 (support_become_root): Call it.
24223
24224 2017-11-17 Joseph Myers <joseph@codesourcery.com>
24225
24226 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
24227 macro.
24228
24229 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24230
24231 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
24232 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
24233
24234 2017-11-16 Joseph Myers <joseph@codesourcery.com>
24235
24236 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
24237
24238 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
24239 version to 4.14.
24240
24241 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
24242
24243 * INSTALL: Fix botched up regeneration.
24244
24245 * NEWS: Update sourceare link to https.
24246 * configure.ac: Likewise.
24247 * crypt/md5test-giant.c: Likewise.
24248 * dlfcn/bug-atexit1.c: Likewise.
24249 * dlfcn/bug-atexit2.c: Likewise.
24250 * localedata/README: Likewise.
24251 * malloc/tst-mallocfork.c: Likewise.
24252 * manual/install.texi: Likewise.
24253 * nptl/tst-pthread-getattr.c: Likewise.
24254 * stdio-common/tst-fgets.c: Likewise.
24255 * stdio-common/tst-fwrite.c: Likewise.
24256 * sunrpc/Makefile: Likewise.
24257 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
24258 * wcsmbs/tst-mbrtowc2.c: Likewise.
24259 * configure: Regenerate.
24260 * INSTALL: Regenerate.
24261
24262 2017-11-15 Martin Sebor <msebor@redhat.com>
24263
24264 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
24265 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
24266 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
24267
24268 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
24269
24270 [BZ #22145]
24271 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
24272 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
24273
24274 [BZ #22145]
24275 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
24276 Defer is_pty check until end of the function.
24277 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
24278
24279 [BZ #22145]
24280 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
24281 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
24282 (ttyname): Likewise.
24283 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
24284 (__ttyname_r): Likewise.
24285
24286 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
24287 int to bool.
24288
24289 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
24290
24291 * manual/terminal.texi (Is It a Terminal):
24292 Mention ENODEV for ttyname and ttyname_r.
24293
24294 2017-11-15 Joseph Myers <joseph@codesourcery.com>
24295
24296 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
24297 constant and macro.
24298
24299 * sysdeps/unix/sysv/linux/bits/mman-linux.h
24300 [__USE_MISC] (MADV_WIPEONFORK): New macro.
24301 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
24302 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
24303 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
24304 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
24305
24306 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24307
24308 * signal/sigrelse.c (sigrelse): Optimize implementation.
24309
24310 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
24311 (__sigpause): Rely on __sigsuspend to implement single thread
24312 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
24313
24314 2017-11-15 Joseph Myers <joseph@codesourcery.com>
24315
24316 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
24317 kernel version to 4.14.
24318
24319 2017-11-15 Steve Ellcey <sellcey@cavium.com>
24320
24321 [BZ #22442]
24322 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
24323 Check if ifname is too long.
24324
24325 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
24326
24327 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
24328
24329 2017-11-15 Mike FABIAN <mfabian@redhat.com>
24330
24331 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
24332 was accidentally lost.
24333
24334 2017-11-15 Mike FABIAN <mfabian@redhat.com>
24335
24336 * localedata/locales/az_IR: Add standard copyright header.
24337
24338 2017-11-15 Florian Weimer <fweimer@redhat.com>
24339
24340 [BZ #22439]
24341 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
24342 not just the top one. Output a new "subheaps" statistic.
24343
24344 2017-11-15 Florian Weimer <fweimer@redhat.com>
24345
24346 [BZ #22408]
24347 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
24348 under the per-arena lock.
24349 * malloc/Makefile (tests): Add tst-malloc_info.
24350 (tst-malloc_info): Link with libpthread.
24351 * malloc/tst-malloc_info.c: New file.
24352
24353 2017-11-15 Joseph Myers <joseph@codesourcery.com>
24354
24355 [BZ #21660]
24356 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
24357 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
24358 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
24359 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
24360 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
24361 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
24362 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
24363 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
24364 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
24365 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
24366 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
24367 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
24368 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
24369 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
24370 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
24371 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
24372 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
24373 (__floating_type): Likewise.
24374 (__real_integer_type): Likewise.
24375 (__complex_integer_type): Likewise.
24376 (__expr_is_real): Likewise.
24377 (__tgmath_real_type_sub): Likewise.
24378 (__tgmath_real_type): Likewise.
24379 (__tgmath_complex_type_sub): Likewise.
24380 (__tgmath_complex_type): Likewise.
24381 (__TGMATH_F128): Likewise.
24382 (__TGMATH_CF128): Likewise.
24383 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
24384 new macros.
24385 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
24386 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
24387 Likewise.
24388 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
24389 Likewise.
24390 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
24391 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
24392 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
24393 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
24394 Likewise.
24395 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
24396 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
24397 Likewise.
24398 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
24399 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
24400 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
24401 Likewise.
24402 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
24403 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
24404 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
24405 (cimag): Likewise.
24406 (creal): Likewise.
24407
24408 2017-11-14 Joseph Myers <joseph@codesourcery.com>
24409
24410 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
24411 for stpncpy calls for GCC 8.
24412 (test_strncat): Disable -Wstringop-truncation warning for strncat
24413 calls for GCC 8. Disable -Wstringop-overflow= warning for one
24414 strncat call for GCC 7.
24415 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
24416 calls for GCC 8.
24417 (test_memcmp): Use memcpy instead of strncpy for calls not copying
24418 trailing NUL.
24419
24420 * string/bug-strncat1.c: Include <libc-diag.h>.
24421 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
24422
24423 2017-11-13 Claude Paroz <claude@2xlibre.net>
24424
24425 [BZ #22387]
24426 * localedata/locales/aa_DJ: Improved readibility by replacing
24427 <Uxxxx> sequences in the ASCII printable range by their ASCII
24428 character equivalents.
24429 * localedata/locales/aa_ER: Likewise.
24430 * localedata/locales/aa_ER@saaho: Likewise.
24431 * localedata/locales/aa_ET: Likewise.
24432 * localedata/locales/af_ZA: Likewise.
24433 * localedata/locales/agr_PE: Likewise.
24434 * localedata/locales/ak_GH: Likewise.
24435 * localedata/locales/am_ET: Likewise.
24436 * localedata/locales/anp_IN: Likewise.
24437 * localedata/locales/ar_AE: Likewise.
24438 * localedata/locales/ar_BH: Likewise.
24439 * localedata/locales/ar_DZ: Likewise.
24440 * localedata/locales/ar_EG: Likewise.
24441 * localedata/locales/ar_IN: Likewise.
24442 * localedata/locales/ar_IQ: Likewise.
24443 * localedata/locales/ar_JO: Likewise.
24444 * localedata/locales/ar_KW: Likewise.
24445 * localedata/locales/ar_LB: Likewise.
24446 * localedata/locales/ar_LY: Likewise.
24447 * localedata/locales/ar_MA: Likewise.
24448 * localedata/locales/ar_OM: Likewise.
24449 * localedata/locales/ar_QA: Likewise.
24450 * localedata/locales/ar_SA: Likewise.
24451 * localedata/locales/ar_SD: Likewise.
24452 * localedata/locales/ar_SS: Likewise.
24453 * localedata/locales/ar_SY: Likewise.
24454 * localedata/locales/ar_TN: Likewise.
24455 * localedata/locales/ar_YE: Likewise.
24456 * localedata/locales/as_IN: Likewise.
24457 * localedata/locales/ast_ES: Likewise.
24458 * localedata/locales/ayc_PE: Likewise.
24459 * localedata/locales/az_AZ: Likewise.
24460 * localedata/locales/az_IR: Likewise.
24461 * localedata/locales/be_BY: Likewise.
24462 * localedata/locales/be_BY@latin: Likewise.
24463 * localedata/locales/bem_ZM: Likewise.
24464 * localedata/locales/ber_DZ: Likewise.
24465 * localedata/locales/ber_MA: Likewise.
24466 * localedata/locales/bg_BG: Likewise.
24467 * localedata/locales/bhb_IN: Likewise.
24468 * localedata/locales/bho_IN: Likewise.
24469 * localedata/locales/bi_VU: Likewise.
24470 * localedata/locales/bn_BD: Likewise.
24471 * localedata/locales/bn_IN: Likewise.
24472 * localedata/locales/bo_CN: Likewise.
24473 * localedata/locales/bo_IN: Likewise.
24474 * localedata/locales/br_FR: Likewise.
24475 * localedata/locales/brx_IN: Likewise.
24476 * localedata/locales/bs_BA: Likewise.
24477 * localedata/locales/byn_ER: Likewise.
24478 * localedata/locales/ca_AD: Likewise.
24479 * localedata/locales/ca_ES: Likewise.
24480 * localedata/locales/ca_FR: Likewise.
24481 * localedata/locales/ca_IT: Likewise.
24482 * localedata/locales/ce_RU: Likewise.
24483 * localedata/locales/chr_US: Likewise.
24484 * localedata/locales/cmn_TW: Likewise.
24485 * localedata/locales/crh_UA: Likewise.
24486 * localedata/locales/cs_CZ: Likewise.
24487 * localedata/locales/csb_PL: Likewise.
24488 * localedata/locales/cv_RU: Likewise.
24489 * localedata/locales/cy_GB: Likewise.
24490 * localedata/locales/da_DK: Likewise.
24491 * localedata/locales/de_AT: Likewise.
24492 * localedata/locales/de_BE: Likewise.
24493 * localedata/locales/de_CH: Likewise.
24494 * localedata/locales/de_DE: Likewise.
24495 * localedata/locales/de_IT: Likewise.
24496 * localedata/locales/de_LI: Likewise.
24497 * localedata/locales/de_LU: Likewise.
24498 * localedata/locales/doi_IN: Likewise.
24499 * localedata/locales/dv_MV: Likewise.
24500 * localedata/locales/dz_BT: Likewise.
24501 * localedata/locales/el_CY: Likewise.
24502 * localedata/locales/el_GR: Likewise.
24503 * localedata/locales/en_AG: Likewise.
24504 * localedata/locales/en_AU: Likewise.
24505 * localedata/locales/en_BW: Likewise.
24506 * localedata/locales/en_CA: Likewise.
24507 * localedata/locales/en_DK: Likewise.
24508 * localedata/locales/en_GB: Likewise.
24509 * localedata/locales/en_HK: Likewise.
24510 * localedata/locales/en_IE: Likewise.
24511 * localedata/locales/en_IL: Likewise.
24512 * localedata/locales/en_IN: Likewise.
24513 * localedata/locales/en_NG: Likewise.
24514 * localedata/locales/en_NZ: Likewise.
24515 * localedata/locales/en_PH: Likewise.
24516 * localedata/locales/en_SG: Likewise.
24517 * localedata/locales/en_US: Likewise.
24518 * localedata/locales/en_ZA: Likewise.
24519 * localedata/locales/en_ZM: Likewise.
24520 * localedata/locales/en_ZW: Likewise.
24521 * localedata/locales/eo: Likewise.
24522 * localedata/locales/es_AR: Likewise.
24523 * localedata/locales/es_BO: Likewise.
24524 * localedata/locales/es_CL: Likewise.
24525 * localedata/locales/es_CO: Likewise.
24526 * localedata/locales/es_CR: Likewise.
24527 * localedata/locales/es_CU: Likewise.
24528 * localedata/locales/es_DO: Likewise.
24529 * localedata/locales/es_EC: Likewise.
24530 * localedata/locales/es_ES: Likewise.
24531 * localedata/locales/es_GT: Likewise.
24532 * localedata/locales/es_HN: Likewise.
24533 * localedata/locales/es_MX: Likewise.
24534 * localedata/locales/es_NI: Likewise.
24535 * localedata/locales/es_PA: Likewise.
24536 * localedata/locales/es_PE: Likewise.
24537 * localedata/locales/es_PR: Likewise.
24538 * localedata/locales/es_PY: Likewise.
24539 * localedata/locales/es_SV: Likewise.
24540 * localedata/locales/es_US: Likewise.
24541 * localedata/locales/es_UY: Likewise.
24542 * localedata/locales/es_VE: Likewise.
24543 * localedata/locales/et_EE: Likewise.
24544 * localedata/locales/eu_ES: Likewise.
24545 * localedata/locales/eu_ES@euro: Likewise.
24546 * localedata/locales/fa_IR: Likewise.
24547 * localedata/locales/ff_SN: Likewise.
24548 * localedata/locales/fi_FI: Likewise.
24549 * localedata/locales/fil_PH: Likewise.
24550 * localedata/locales/fo_FO: Likewise.
24551 * localedata/locales/fr_BE: Likewise.
24552 * localedata/locales/fr_CA: Likewise.
24553 * localedata/locales/fr_CH: Likewise.
24554 * localedata/locales/fr_FR: Likewise.
24555 * localedata/locales/fr_LU: Likewise.
24556 * localedata/locales/fur_IT: Likewise.
24557 * localedata/locales/fy_DE: Likewise.
24558 * localedata/locales/fy_NL: Likewise.
24559 * localedata/locales/ga_IE: Likewise.
24560 * localedata/locales/gd_GB: Likewise.
24561 * localedata/locales/gez_ER: Likewise.
24562 * localedata/locales/gez_ET: Likewise.
24563 * localedata/locales/gl_ES: Likewise.
24564 * localedata/locales/gu_IN: Likewise.
24565 * localedata/locales/gv_GB: Likewise.
24566 * localedata/locales/ha_NG: Likewise.
24567 * localedata/locales/hak_TW: Likewise.
24568 * localedata/locales/he_IL: Likewise.
24569 * localedata/locales/hi_IN: Likewise.
24570 * localedata/locales/hif_FJ: Likewise.
24571 * localedata/locales/hne_IN: Likewise.
24572 * localedata/locales/hr_HR: Likewise.
24573 * localedata/locales/hsb_DE: Likewise.
24574 * localedata/locales/ht_HT: Likewise.
24575 * localedata/locales/hu_HU: Likewise.
24576 * localedata/locales/hy_AM: Likewise.
24577 * localedata/locales/i18n: Likewise.
24578 * localedata/locales/ia_FR: Likewise.
24579 * localedata/locales/id_ID: Likewise.
24580 * localedata/locales/ig_NG: Likewise.
24581 * localedata/locales/ik_CA: Likewise.
24582 * localedata/locales/is_IS: Likewise.
24583 * localedata/locales/it_CH: Likewise.
24584 * localedata/locales/it_IT: Likewise.
24585 * localedata/locales/iu_CA: Likewise.
24586 * localedata/locales/ja_JP: Likewise.
24587 * localedata/locales/ka_GE: Likewise.
24588 * localedata/locales/kk_KZ: Likewise.
24589 * localedata/locales/kl_GL: Likewise.
24590 * localedata/locales/kn_IN: Likewise.
24591 * localedata/locales/ko_KR: Likewise.
24592 * localedata/locales/kok_IN: Likewise.
24593 * localedata/locales/ks_IN: Likewise.
24594 * localedata/locales/ks_IN@devanagari: Likewise.
24595 * localedata/locales/ku_TR: Likewise.
24596 * localedata/locales/kw_GB: Likewise.
24597 * localedata/locales/ky_KG: Likewise.
24598 * localedata/locales/lb_LU: Likewise.
24599 * localedata/locales/lg_UG: Likewise.
24600 * localedata/locales/li_BE: Likewise.
24601 * localedata/locales/li_NL: Likewise.
24602 * localedata/locales/lij_IT: Likewise.
24603 * localedata/locales/ln_CD: Likewise.
24604 * localedata/locales/lo_LA: Likewise.
24605 * localedata/locales/lt_LT: Likewise.
24606 * localedata/locales/lv_LV: Likewise.
24607 * localedata/locales/lzh_TW: Likewise.
24608 * localedata/locales/mag_IN: Likewise.
24609 * localedata/locales/mai_IN: Likewise.
24610 * localedata/locales/mg_MG: Likewise.
24611 * localedata/locales/mhr_RU: Likewise.
24612 * localedata/locales/mi_NZ: Likewise.
24613 * localedata/locales/mk_MK: Likewise.
24614 * localedata/locales/ml_IN: Likewise.
24615 * localedata/locales/mn_MN: Likewise.
24616 * localedata/locales/mni_IN: Likewise.
24617 * localedata/locales/mr_IN: Likewise.
24618 * localedata/locales/ms_MY: Likewise.
24619 * localedata/locales/mt_MT: Likewise.
24620 * localedata/locales/my_MM: Likewise.
24621 * localedata/locales/nan_TW: Likewise.
24622 * localedata/locales/nan_TW@latin: Likewise.
24623 * localedata/locales/nb_NO: Likewise.
24624 * localedata/locales/nds_DE: Likewise.
24625 * localedata/locales/nds_NL: Likewise.
24626 * localedata/locales/ne_NP: Likewise.
24627 * localedata/locales/nhn_MX: Likewise.
24628 * localedata/locales/niu_NU: Likewise.
24629 * localedata/locales/niu_NZ: Likewise.
24630 * localedata/locales/nl_AW: Likewise.
24631 * localedata/locales/nl_BE: Likewise.
24632 * localedata/locales/nl_NL: Likewise.
24633 * localedata/locales/nn_NO: Likewise.
24634 * localedata/locales/nr_ZA: Likewise.
24635 * localedata/locales/nso_ZA: Likewise.
24636 * localedata/locales/oc_FR: Likewise.
24637 * localedata/locales/om_ET: Likewise.
24638 * localedata/locales/om_KE: Likewise.
24639 * localedata/locales/or_IN: Likewise.
24640 * localedata/locales/os_RU: Likewise.
24641 * localedata/locales/pa_IN: Likewise.
24642 * localedata/locales/pa_PK: Likewise.
24643 * localedata/locales/pap_AW: Likewise.
24644 * localedata/locales/pap_CW: Likewise.
24645 * localedata/locales/pl_PL: Likewise.
24646 * localedata/locales/ps_AF: Likewise.
24647 * localedata/locales/pt_BR: Likewise.
24648 * localedata/locales/pt_PT: Likewise.
24649 * localedata/locales/quz_PE: Likewise.
24650 * localedata/locales/raj_IN: Likewise.
24651 * localedata/locales/ro_RO: Likewise.
24652 * localedata/locales/ru_RU: Likewise.
24653 * localedata/locales/ru_UA: Likewise.
24654 * localedata/locales/rw_RW: Likewise.
24655 * localedata/locales/sa_IN: Likewise.
24656 * localedata/locales/sat_IN: Likewise.
24657 * localedata/locales/sc_IT: Likewise.
24658 * localedata/locales/sd_IN: Likewise.
24659 * localedata/locales/sd_IN@devanagari: Likewise.
24660 * localedata/locales/se_NO: Likewise.
24661 * localedata/locales/sgs_LT: Likewise.
24662 * localedata/locales/shs_CA: Likewise.
24663 * localedata/locales/si_LK: Likewise.
24664 * localedata/locales/sid_ET: Likewise.
24665 * localedata/locales/sk_SK: Likewise.
24666 * localedata/locales/sl_SI: Likewise.
24667 * localedata/locales/sm_WS: Likewise.
24668 * localedata/locales/so_DJ: Likewise.
24669 * localedata/locales/so_ET: Likewise.
24670 * localedata/locales/so_KE: Likewise.
24671 * localedata/locales/so_SO: Likewise.
24672 * localedata/locales/sq_AL: Likewise.
24673 * localedata/locales/sq_MK: Likewise.
24674 * localedata/locales/sr_ME: Likewise.
24675 * localedata/locales/sr_RS: Likewise.
24676 * localedata/locales/sr_RS@latin: Likewise.
24677 * localedata/locales/ss_ZA: Likewise.
24678 * localedata/locales/st_ZA: Likewise.
24679 * localedata/locales/sv_FI: Likewise.
24680 * localedata/locales/sv_SE: Likewise.
24681 * localedata/locales/sw_KE: Likewise.
24682 * localedata/locales/sw_TZ: Likewise.
24683 * localedata/locales/szl_PL: Likewise.
24684 * localedata/locales/ta_IN: Likewise.
24685 * localedata/locales/ta_LK: Likewise.
24686 * localedata/locales/tcy_IN: Likewise.
24687 * localedata/locales/te_IN: Likewise.
24688 * localedata/locales/tg_TJ: Likewise.
24689 * localedata/locales/th_TH: Likewise.
24690 * localedata/locales/the_NP: Likewise.
24691 * localedata/locales/ti_ER: Likewise.
24692 * localedata/locales/ti_ET: Likewise.
24693 * localedata/locales/tig_ER: Likewise.
24694 * localedata/locales/tk_TM: Likewise.
24695 * localedata/locales/tl_PH: Likewise.
24696 * localedata/locales/tn_ZA: Likewise.
24697 * localedata/locales/to_TO: Likewise.
24698 * localedata/locales/tpi_PG: Likewise.
24699 * localedata/locales/tr_CY: Likewise.
24700 * localedata/locales/tr_TR: Likewise.
24701 * localedata/locales/ts_ZA: Likewise.
24702 * localedata/locales/tt_RU: Likewise.
24703 * localedata/locales/tt_RU@iqtelif: Likewise.
24704 * localedata/locales/ug_CN: Likewise.
24705 * localedata/locales/uk_UA: Likewise.
24706 * localedata/locales/unm_US: Likewise.
24707 * localedata/locales/ur_IN: Likewise.
24708 * localedata/locales/ur_PK: Likewise.
24709 * localedata/locales/uz_UZ: Likewise.
24710 * localedata/locales/uz_UZ@cyrillic: Likewise.
24711 * localedata/locales/ve_ZA: Likewise.
24712 * localedata/locales/vi_VN: Likewise.
24713 * localedata/locales/wa_BE: Likewise.
24714 * localedata/locales/wae_CH: Likewise.
24715 * localedata/locales/wal_ET: Likewise.
24716 * localedata/locales/wo_SN: Likewise.
24717 * localedata/locales/xh_ZA: Likewise.
24718 * localedata/locales/yi_US: Likewise.
24719 * localedata/locales/yo_NG: Likewise.
24720 * localedata/locales/yue_HK: Likewise.
24721 * localedata/locales/yuw_PG: Likewise.
24722 * localedata/locales/zh_CN: Likewise.
24723 * localedata/locales/zh_HK: Likewise.
24724 * localedata/locales/zh_SG: Likewise.
24725 * localedata/locales/zh_TW: Likewise.
24726 * localedata/locales/zu_ZA: Likewise.
24727
24728 2017-11-13 Florian Weimer <fweimer@redhat.com>
24729
24730 * support/next_to_fault.h, support/next_to_fault.c: New files.
24731 * support/Makefile (libsupport-routines): Add next_to_fault.
24732 * resolv/tst-inet_pton.c (struct next_to_fault)
24733 (next_to_fault_allocate, next_to_fault_free): Remove.
24734 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
24735
24736 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
24737
24738 * elf/dl-support.c: Include <dl-procruntime.c>.
24739 * include/link.h: Include <link_map.h>.
24740 * sysdeps/generic/dl-procruntime.c: New file.
24741 * sysdeps/generic/link_map.h: Likewise.
24742 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
24743 the writable ld.so namespace.
24744
24745 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
24746
24747 timezone: pacify GCC -Wstringop-truncation
24748 Problem reported by Martin Sebor in:
24749 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
24750 * timezone/zic.c (writezone): Use memcpy, not strncpy.
24751
24752 2017-11-12 Florian Weimer <fweimer@redhat.com>
24753
24754 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
24755 tst-xreadlink.
24756 (tests): Add tst-xreadlink.
24757 * support/support.h (xstrndup): Declare.
24758 * support/xunistd.h (xunlink, xreadlink): Declare.
24759 * support/temp_file.h (support_create_temp_directory): Declare.
24760 * support/temp_file.c (support_create_temp_directory): New function.
24761 * support/support_chroot.c (support_chroot_create): Use it.
24762 * support/xreadlink.c: New file.
24763 * support/xstrndup.c: Likewise.
24764 * support/xunlink.c: Likewise.
24765 * support/tst-xreadlink.c: Likewise.
24766
24767 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
24768
24769 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
24770
24771 2017-11-11 Florian Weimer <fweimer@redhat.com>
24772
24773 [BZ #22409]
24774 [BZ #22412]
24775 * resolv/res_comp.c (printable_string, binary_hnok)
24776 (binary_leading_dash): New functions.
24777 (res_hnok): Reimplement using these functions and ns_name_pton.
24778 (res_ownok): Likewise.
24779 (res_mailok): Reimplement using printable_string, ns_name_pton and
24780 binary_hnok.
24781 (res_dnok): Reimplement using printable_string and ns_name_pton.
24782 * resolv/tst-res_hnok.c (tests): Add additional tests.
24783 (LETTERDIGITS, PRINTABLE): Define.
24784 (do_test): Adjust one_char results.
24785
24786 2017-11-11 Florian Weimer <fweimer@redhat.com>
24787
24788 [BZ #22413]
24789 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
24790 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
24791
24792 2017-11-11 Florian Weimer <fweimer@redhat.com>
24793
24794 * resolv/tst-ns_name_pton.c: New file.
24795 * resolv/Makefile (tests): Add tst-ns_name_pton.
24796 (tst-ns_name_pton): Link against libresolv.
24797
24798 2017-11-11 Florian Weimer <fweimer@redhat.com>
24799
24800 * resolv/tst-res_hnok.c: New file.
24801 * resolv/Makefile (tests): Add tst-res_hnok.
24802 (tst-res_hnok): Link against libresolv.
24803
24804 2017-11-11 Florian Weimer <fweimer@redhat.com>
24805
24806 * resolv/tst-resolv-network.c: Use test framework instead explicit
24807 main function.
24808
24809 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
24810
24811 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
24812 <jmp_buf-macros.h>.
24813 [!_ISOMAC] (STR_HELPER): New.
24814 [!_ISOMAC] (STR): Likewise.
24815 [!_ISOMAC] (TEST_SIZE): Likewise.
24816 [!_ISOMAC] (TEST_ALIGN): Likewise.
24817 [!_ISOMAC] (TEST_OFFSET): Likewise.
24818 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
24819 field offsets of jmp_buf as well as sigjmp_buf.
24820 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
24821 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
24822 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
24823 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
24824 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
24825 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
24826 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
24827 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
24828 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
24829 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
24830 Likewise.
24831 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
24832 Likewise.
24833 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
24834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
24835 Likewise.
24836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
24837 Likewise.
24838 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
24839 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
24840 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
24841 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
24842 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
24843 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
24844 Likewise.
24845 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
24846 Likewise.
24847 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
24848 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
24849 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
24850
24851 2017-11-07 Joseph Myers <joseph@codesourcery.com>
24852
24853 * include/float.h
24854 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24855 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
24856 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24857 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
24858 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24859 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
24860 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24861 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
24862 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24863 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
24864 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24865 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
24866 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24867 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
24868 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24869 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
24870 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24871 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
24872 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24873 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
24874 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24875 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
24876 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24877 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
24878 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24879 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
24880 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24881 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
24882 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24883 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
24884 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24885 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
24886 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24887 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
24888 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24889 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
24890 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24891 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
24892 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24893 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
24894 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24895 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
24896 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24897 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
24898 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24899 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
24900 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24901 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
24902 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24903 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
24904 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24905 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
24906 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24907 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
24908 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24909 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
24910 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24911 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
24912 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24913 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
24914 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24915 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
24916 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24917 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
24918 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24919 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
24920 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24921 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
24922 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24923 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
24924 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24925 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
24926 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24927 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
24928 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24929 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
24930 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24931 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
24932 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24933 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
24934 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24935 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
24936 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24937 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
24938 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24939 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
24940 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24941 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
24942
24943 * stdlib/tst-strtod.h (F16): New macro.
24944 (F32): Likewise.
24945 (F64): Likewise.
24946 (F32X): Likewise.
24947 (F64X): Likewise.
24948 (F128X): Likewise.
24949 (IF_FLOAT16): Likewise.
24950 (IF_FLOAT32): Likewise.
24951 (IF_FLOAT64): Likewise.
24952 (IF_FLOAT32X): Likewise.
24953 (IF_FLOAT64X): Likewise.
24954 (IF_FLOAT128X): Likewise.
24955 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
24956 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
24957 (STRTOD_TEST_FOREACH): Likewise.
24958 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
24959 (CHOOSE_f64): Likewise.
24960 (CHOOSE_f32x): Likewise.
24961 (CHOOSE_f64x): Likewise.
24962
24963 2017-11-07 Andreas Schwab <schwab@suse.de>
24964
24965 * nptl/Makefile (tests-internal): Remove tst-typesizes.
24966
24967 2017-11-07 Mike FABIAN <mfabian@redhat.com>
24968
24969 [BZ #22403]
24970 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
24971 to be escaped.
24972 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
24973 to be escaped.
24974
24975 2017-11-07 Claude Paroz <claude@2xlibre.net>
24976
24977 [BZ #22403]
24978 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
24979 to be escaped.
24980 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
24981 to be escaped.
24982 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
24983 to be escaped.
24984
24985 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24986
24987 [BZ #22298]
24988 * nptl/allocatestack.c (allocate_stack): Check if
24989 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
24990 __PTHREAD_MUTEX_HAVE_PREV is defined.
24991 * nptl/descr.h (pthread): Likewise.
24992 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
24993 Likewise.
24994 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
24995 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
24996 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
24997 * sysdeps/nptl/bits/thread-shared-types.h
24998 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
24999 defines.
25000 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
25001 of __WORDSIZE for internal layout.
25002 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
25003 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
25004 instead of __WORDSIZE whether to use an union for __spins and __list
25005 fields.
25006 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
25007 case.
25008 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
25009 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
25010 defines.
25011 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
25012 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25013 Likewise.
25014 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
25015 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25016 Likewise.
25017 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
25018 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25019 Likewise.
25020 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
25021 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25022 Likewise.
25023 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
25024 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25025 Likewise.
25026 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
25027 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25028 Likewise.
25029 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
25030 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25031 Likewise.
25032 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
25033 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25034 Likewise.
25035 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
25036 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25037 Likewise.
25038 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
25039 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25040 Likewise.
25041 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
25042 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25043 Likewise.
25044 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
25045 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25046 Likewise.
25047 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
25048 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25049 Likewise.
25050 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
25051 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25052 Likewise.
25053
25054 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
25055 New macros.
25056 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
25057 checks for expected input type size.
25058 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
25059 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
25060 Likewise.
25061 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
25062 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
25063 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
25064 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
25065 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
25066 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
25067 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
25068 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
25069 superflous runtime assert check.
25070 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
25071 Likewise.
25072 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
25073 Likewise.
25074 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
25075 Likewise.
25076 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
25077 Likewise.
25078 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
25079 Likewise.
25080 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
25081 Likewise.
25082 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
25083 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
25084 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
25085 Likewise.
25086 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
25087 Likewise.
25088 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
25089 Likewise.
25090 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
25091 Likewise.
25092 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
25093 Likewise.
25094 * nptl/pthread_attr_setinheritsched.c
25095 (__pthread_attr_setinheritsched): Likewise.
25096 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
25097 Likewise.
25098 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
25099 Likewise.
25100 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
25101 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
25102 __old_pthread_attr_setstack): Likewise.
25103 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
25104 Likewise.
25105 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
25106 Likewise.
25107 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
25108 Likewise.
25109 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
25110 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
25111 Likewise.
25112 * nptl/tst-typesizes.c: Remove file.
25113
25114 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
25115 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
25116 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
25117 checks for internal pthread_mutex_t offsets.
25118 * sysdeps/aarch64/nptl/pthread-offsets.h
25119 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
25120 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
25121 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
25122 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
25123 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
25124 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
25125 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
25126 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
25127 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
25128 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
25129 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
25130 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
25131 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
25132 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
25133 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
25134 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
25135 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
25136 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
25137
25138 2017-11-07 Florian Weimer <fweimer@redhat.com>
25139
25140 * bits/mman-linux.h: Move ...
25141 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
25142 comment.
25143 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
25144 outdated comment.
25145
25146 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25147
25148 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
25149 Redefine STRNLEN as __strnlen_power8.
25150
25151 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25152
25153 * signal/sighold.c (sighold): Optimize implementation.
25154
25155 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
25156 __NR_rt_sigqueueinfo.
25157
25158 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
25159 __sigtimedwait.
25160 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
25161 assume __NR_rt_sigtimedwait.
25162 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
25163 and add LIBC_CANCEL_HANDLED for cancellation marking.
25164 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
25165
25166 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
25167 (sysdeps_routines): Add memchr_noneon.
25168 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
25169 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
25170 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
25171 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
25172 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
25173 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
25174 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
25175
25176 * sysdeps/arm/arm-ifunc.h: New file.
25177 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
25178 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
25179 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
25180 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
25181 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
25182 (__memcpy_neon): Avoid create hidden alias.
25183 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
25184 (__memcpy_vfp): Likewise.
25185 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
25186 (sysdep_routines): Add memcpy_arm.
25187 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
25188
25189 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
25190
25191 [BZ #22362]
25192 * Makerules (make-link-multidir): New.
25193 * config.make.in (multidir): New.
25194 * configure.ac (libc_cv_multidir): New. AC_SUBST.
25195 * configure: Regenerated.
25196 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
25197 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
25198 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
25199 New target.
25200
25201 2017-11-06 Joseph Myers <joseph@codesourcery.com>
25202
25203 [BZ #22402]
25204 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
25205 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
25206
25207 2017-11-04 Mike FABIAN <mfabian@redhat.com>
25208
25209 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
25210 to be escaped.
25211
25212 2017-11-04 Florian Weimer <fweimer@redhat.com>
25213
25214 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
25215
25216 2017-11-03 Joseph Myers <joseph@codesourcery.com>
25217
25218 * math/math.h [__HAVE_DISTINCT_FLOAT16
25219 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
25220 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
25221 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
25222 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
25223 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
25224 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
25225 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25226 (__MATH_TG_F32): New macro.
25227 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25228 (__MATH_TG_F64X): Likewise.
25229 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25230 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
25231
25232 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
25233
25234 * po/de.po: Update translations.
25235 * po/ru.po: Likewise.
25236
25237 2017-11-03 Florian Weimer <fweimer@redhat.com>
25238
25239 * manual/filesys.texi (Hard Links): Document linkat.
25240
25241 2017-11-03 Joseph Myers <joseph@codesourcery.com>
25242
25243 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
25244 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
25245 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
25246 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
25247 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
25248 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
25249 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
25250 the same as _Float128.
25251 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
25252 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
25253 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
25254
25255 * stdlib/stdlib.h
25256 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
25257 Declare.
25258 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
25259 Likewise.
25260 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
25261 Likewise.
25262 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25263 (strtof32x): Likewise.
25264 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25265 (strtof64x): Likewise.
25266 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25267 (strtof128x): Likewise.
25268 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25269 (strfromf16): Likewise.
25270 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25271 (strfromf32): Likewise.
25272 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25273 (strfromf64): Likewise.
25274 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25275 (strfromf32x): Likewise.
25276 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25277 (strfromf64x): Likewise.
25278 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25279 (strfromf128x): Likewise.
25280 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
25281 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
25282 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
25283 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
25284 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
25285 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
25286
25287 2017-11-03 Richard Henderson <rth@twiddle.net>
25288
25289 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
25290
25291 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25292
25293 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
25294
25295 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25296
25297 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
25298 DT_TLSDESC_GOT initialization.
25299 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
25300 (_dl_tlsdesc_resolve_hold): Likewise.
25301 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
25302 (_dl_tlsdesc_resolve_hold): Likewise.
25303 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
25304 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
25305
25306 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25307
25308 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
25309
25310 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25311
25312 [BZ #18572]
25313 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
25314 non-lazily for R_ARM_TLS_DESC.
25315
25316 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25317
25318 [BZ #17078]
25319 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
25320 R_ARM_TLS_DESC case.
25321 (elf_machine_lazy_rel): Remove the prelink check.
25322
25323 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25324
25325 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
25326 DT_TLSDESC_GOT initialization.
25327 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
25328 (_dl_tlsdesc_resolve_rela): Likewise.
25329 (_dl_tlsdesc_resolve_hold): Likewise.
25330 (_dl_tlsdesc_undefweak): Remove ldar.
25331 (_dl_tlsdesc_dynamic): Likewise.
25332 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
25333 (_dl_tlsdesc_resolve_rela): Likewise.
25334 (_dl_tlsdesc_resolve_hold): Likewise.
25335 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
25336 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
25337 (_dl_tlsdesc_resolve_rela): Likewise.
25338 (_dl_tlsdesc_resolve_hold): Likewise.
25339
25340 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25341
25342 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
25343 binding and initialization non-lazily for R_AARCH64_TLSDESC.
25344
25345 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25346
25347 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
25348 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25349
25350 2017-11-02 Joseph Myers <joseph@codesourcery.com>
25351
25352 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
25353 Declare.
25354 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
25355 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
25356 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
25357 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
25358 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
25359 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
25360 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
25361 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
25362 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
25363 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
25364 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
25365
25366 2017-11-02 Mike FABIAN <mfabian@redhat.com>
25367
25368 [BZ #22382]
25369 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
25370 * localedata/locales/tpi_PG: Add standard header.
25371
25372 2017-11-02 Florian Weimer <fweimer@redhat.com>
25373
25374 test-errno-linux: quotactl can fail with EPERM in containers.
25375 * sysdeps/unix/sysv/linux/test-errno-linux.c
25376 (LIST, LIST_FORWARD): New macros.
25377 (check_error_in_list): New function.
25378 (test_wrp_rv): Accept list of permitted error codes.
25379 (test_wrp_rv2): Remove.
25380 (test_wrp): Call test_wrp_rv with list of error codes.
25381 (test_wrp2): Accept list of error codes.
25382 (do_test): Adjust. Allow EPERM for quotactl.
25383
25384 2017-11-02 Florian Weimer <fweimer@redhat.com>
25385
25386 * stdio-common/bug16.c (do_test): Use array_length.
25387 * stdio-common/errlist.c (_sys_nerr): Likewise.
25388 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
25389 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
25390 * stdio-common/psiginfo.c (psiginfo): Use array_length.
25391 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
25392 (do_test): Use array_length.
25393 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
25394 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
25395 * stdio-common/tst-printf-round.c (do_test): Likewise.
25396 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
25397 (CHECK): Use array_length.
25398 * stdio-common/tstdiomisc.c (t3, F): Likewise.
25399 * stdio-common/tstscanf.c (main): Likewise.
25400 * stdio-common/vfprintf.c (process_string_arg): Likewise.
25401
25402 2017-11-02 Florian Weimer <fweimer@redhat.com>
25403
25404 Add array_length and array_end macros.
25405 * include/array_length.h: New file.
25406
25407 2017-11-02 Florian Weimer <fweimer@redhat.com>
25408
25409 [BZ #22332]
25410 * posix/tst-glob-tilde.c (do_noescape): New variable.
25411 (one_test): Process it.
25412 (do_test): Set do_noescape. Add unescaping test case.
25413
25414 2017-11-01 Joseph Myers <joseph@codesourcery.com>
25415
25416 * math/complex.h
25417 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
25418 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
25419 with appropriate macros defined and undefined.
25420 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
25421 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25422 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
25423 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25424 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
25425 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25426 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
25427 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25428 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
25429 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25430
25431 * math/complex.h
25432 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
25433 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
25434 that for long double. Do not condition define and undefine of
25435 _Mdouble_complex_ on [__CFLOAT128].
25436
25437 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
25438
25439 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
25440 of <sysdeps/generic/sysdep.h>.
25441 (ALIGNARG): Removed.
25442 (ASM_SIZE_DIRECTIVE): Likewise.
25443 (ENTRY): Likewise.
25444 (END): Likewise.
25445 (ENTRY_CHK): Likewise.
25446 (END_CHK): Likewise.
25447 (syscall_error): Likewise.
25448 (mcount): Likewise.
25449 (PSEUDO_END): Likewise.
25450 (L): Likewise.
25451 (atom_text_section): Likewise.
25452 * sysdeps/x86/sysdep.h: New file.
25453 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
25454 of <sysdeps/generic/sysdep.h>.
25455 (ALIGNARG): Removed.
25456 (ASM_SIZE_DIRECTIVE): Likewise.
25457 (ENTRY): Likewise.
25458 (END): Likewise.
25459 (ENTRY_CHK): Likewise.
25460 (END_CHK): Likewise.
25461 (syscall_error): Likewise.
25462 (mcount): Likewise.
25463 (PSEUDO_END): Likewise.
25464 (L): Likewise.
25465 (atom_text_section): Likewise.
25466
25467 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
25468
25469 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
25470 category of LC_CTYPE set to "i18n:2012".
25471 * localedata/locales/i18n_ctype: Regenerate.
25472
25473 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
25474
25475 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
25476 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
25477 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
25478 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
25479
25480 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
25481 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
25482 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
25483 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
25484
25485 2017-10-31 Joseph Myers <joseph@codesourcery.com>
25486
25487 * math/complex.h
25488 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
25489 New macro.
25490 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
25491 Likewise.
25492 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
25493 Likewise.
25494 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25495 (CMPLXF32X): Likewise.
25496 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25497 (CMPLXF64X): Likewise.
25498 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25499 (CMPLXF128X): Likewise.
25500
25501 * math/math.h
25502 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
25503 (__MATH_EVAL_FMT2): Define to add 0.0f.
25504
25505 2017-10-31 Alan Modra <amodra@gmail.com>
25506
25507 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
25508 include sysdep.h.
25509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
25510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
25511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
25512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
25513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
25514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
25515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
25516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
25517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
25518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
25519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
25520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
25521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
25522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
25523 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
25524 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
25525 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
25526 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
25527 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
25528 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
25529 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
25530 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
25531 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
25532 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
25533 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
25534 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
25535 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
25536 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
25537 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
25538 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
25539 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
25540 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
25541 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
25542 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
25543 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
25544 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
25545 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
25546 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
25547 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
25548 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
25549 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
25550 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
25551 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
25552 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
25553 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
25554 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
25555 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
25556 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
25557 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
25558 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
25559 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
25560 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
25561 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
25562 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
25563 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
25564 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
25565 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
25566 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
25567 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
25568 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
25569 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
25570 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
25571 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
25572 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
25573 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
25574 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
25575 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
25576 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
25577 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
25578
25579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
25580 include sysdep.h and math_ldbl_opt.h.
25581
25582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
25583 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
25584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
25585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
25586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
25587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
25588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
25589 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
25590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
25591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
25592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
25593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
25594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
25595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
25596 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
25597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
25598 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
25599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
25600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
25601 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
25602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
25603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
25604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
25605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
25606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
25607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
25608
25609 2017-10-31 Alan Modra <amodra@gmail.com>
25610
25611 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
25612 string/strncase_l.c, not string/strncase.c.
25613 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
25614 (libc_hidden_def): Redefine.
25615
25616 2017-10-31 Alan Modra <amodra@gmail.com>
25617
25618 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
25619 (__STRCMP, STRCMP, __strcasecmp_l): Define.
25620 (__strcasecmp): Don't define.
25621
25622 2017-10-31 Alan Modra <amodra@gmail.com>
25623
25624 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
25625 IS_IN (libc).
25626 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
25627 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
25628 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
25629
25630 2017-10-31 Alan Modra <amodra@gmail.com>
25631
25632 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
25633 USE_AS_STPNCPY.
25634
25635 2017-10-31 Alan Modra <amodra@gmail.com>
25636
25637 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
25638 Redefine only when SHARED.
25639
25640 2017-10-30 Joseph Myers <joseph@codesourcery.com>
25641
25642 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
25643 Include <bits/math-finite.h> with appropriate macros defined and
25644 undefined.
25645 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
25646 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
25647 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
25648 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
25649 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
25650
25651 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
25652 [!_Mlong_double_] (_Mlong_double_): Likewise.
25653 [!_Mfloat16_] (_Mfloat16_): Likewise.
25654 [!_Mfloat32_] (_Mfloat32_): Likewise.
25655 [!_Mfloat64_] (_Mfloat64_): Likewise.
25656 [!_Mfloat128_] (_Mfloat128_): Likewise.
25657 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
25658 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
25659 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
25660 (_Mdouble_): Define without indirection through those macros.
25661 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
25662 [!_Mfloat128_] (_Mfloat128_): Likewise.
25663 [_Mlong_double_] (_Mlong_double_): Likewise.
25664 (_Mdouble_): Define without indirection through those macros.
25665 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
25666 not add -D_Mlong_double_=double.
25667 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
25668 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
25669
25670 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25671
25672 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
25673
25674 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25675
25676 * sysdeps/x86/libc-start.c: Reformat.
25677
25678 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25679
25680 [BZ #22353]
25681 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
25682 (1): Renamed to ...
25683 (L(Src0)): This.
25684 (L(Src1)): New.
25685 (L(Src2)): Likewise.
25686 (L(1)): Renamed to ...
25687 (L(Src3)): This.
25688
25689 2017-10-30 Joseph Myers <joseph@codesourcery.com>
25690
25691 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
25692 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
25693 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
25694 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
25695 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
25696 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
25697 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
25698 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
25699 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
25700 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
25701 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
25702 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
25703 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
25704 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
25705 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
25706 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
25707 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
25708 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
25709 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
25710 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
25711 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
25712 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
25713 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
25714 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
25715 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
25716 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
25717 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
25718 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
25719 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
25720 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
25721 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
25722 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
25723 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
25724 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
25725 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
25726 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
25727 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
25728 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
25729 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
25730 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
25731 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
25732 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
25733 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
25734 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
25735 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
25736 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
25737 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
25738 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
25739 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
25740 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
25741 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
25742 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
25743 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
25744 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
25745 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
25746 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
25747 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
25748 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
25749 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
25750 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
25751 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
25752 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
25753 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
25754 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
25755 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
25756 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
25757
25758 2017-10-30 Florian Weimer <fweimer@redhat.com>
25759
25760 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
25761 always defined.
25762 * io/tst-mkdirat.c (do_test): Likewise.
25763 * io/tst-mkfifoat.c (do_test): Likewise.
25764 * io/tst-mknodat.c (do_test): Likewise.
25765 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
25766 * locale/programs/locale.c (select_dirs): Likewise.
25767 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
25768 * posix/bug-glob2.c (my_readdir): Likewise.
25769 * posix/tst-dir.c (main): Likewise.
25770 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
25771 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
25772
25773 2017-10-30 Florian Weimer <fweimer@redhat.com>
25774
25775 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
25776 just __USE_GNU.
25777
25778 2017-10-30 Florian Weimer <fweimer@redhat.com>
25779
25780 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
25781 Convert to support/test-driver.c.
25782 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
25783 New macro parameters.
25784 (PRINTF): Remove macro. Use test_verbose conditionals instead.
25785 * posix/tst-gnuglob.c: New file.
25786 * posix/tst-gnuglob64.c: Likewise.
25787 * posix/Makefile (tests): Add tst-gnuglob64.
25788
25789 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
25790
25791 [BZ #19485]
25792 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
25793 and use a better translation for March in “mon”.
25794 * localedata/locales/csb_PL: Use more ASCII to improve the
25795 readability of the source.
25796
25797 2017-10-30 Mike FABIAN <mfabian@redhat.com>
25798
25799 [BZ #13953]
25800 * localedata/locales/km_KH: Use ASCII as much
25801 as possible for better readability of the source and
25802 remove useless comments.
25803 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
25804 was commented out and apparently wrong anyway because it was
25805 using Lao characters. If Buddhist era should be used
25806 for km_KH, a native speaker should write the correct formaat
25807 for Khmer.
25808 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
25809 (According to CLDR, the first weekday for Cambodia is Sunday).
25810 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
25811 (These were using Lao characters which must be wrong. If we get
25812 the correct data from a native speaker, we could add it back, until
25813 then it is better not to have name_mr and name_mrs at all than
25814 having it wrong).
25815
25816 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
25817
25818 * locale/loadlocale.c: Correct size of
25819 _nl_value_type_LC_<category> arrays.
25820
25821 2017-10-27 Joseph Myers <joseph@codesourcery.com>
25822
25823 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
25824 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
25825 with appropriate macros defined and undefined.
25826 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
25827 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
25828 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
25829 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
25830 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
25831
25832 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
25833
25834 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
25835 "-O2 -march=i586".
25836
25837 2017-10-27 Mike FABIAN <mfabian@redhat.com>
25838
25839 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
25840 with lowercase letters to make it agree with CLDR.
25841
25842 2017-10-27 Mike FABIAN <mfabian@redhat.com>
25843
25844 [BZ #15260]
25845 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
25846 first letters of yesstr and nostr in yesexpr and noexpr,
25847 not for the full words.
25848 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
25849 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
25850 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
25851 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
25852 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
25853 first letters of yesstr and nostr in yesexpr and noexpr,
25854 until now only English was matched in yesexpr and noexpr.
25855 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
25856 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
25857 fil but not for tl. As tl and fil are very similar, using fil
25858 is probably better than using English.
25859
25860 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
25861
25862 [BZ #21706]
25863 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
25864 in yesstr and nostr.
25865
25866 2017-10-26 Joseph Myers <joseph@codesourcery.com>
25867
25868 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
25869 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
25870 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
25871 Likewise.
25872 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
25873 Likewise.
25874 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
25875 Likewise.
25876 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
25877 Likewise.
25878 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25879 (SNANF128X): Likewise.
25880
25881 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
25882 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
25883 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25884 (HUGE_VAL_F32): Likewise.
25885 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25886 (HUGE_VAL_F64): Likewise.
25887 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25888 (HUGE_VAL_F32X): Likewise.
25889 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25890 (HUGE_VAL_F64X): Likewise.
25891 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25892 (HUGE_VAL_F128X): Likewise.
25893
25894 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
25895
25896 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
25897 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
25898 for the br_FR locale.
25899
25900 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
25901
25902 [BZ #21706]
25903 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
25904
25905 2017-10-25 Carlos O'Donell <carlos@redhat.com>
25906
25907 * locale/programs/record-status.h: Define globals, and function
25908 prototypes. Move function bodies...
25909 * locale/programs/record-status.c: ... to here. New file.
25910 * iconv/Makefile (iconv_prog-modules): Add record-status.
25911 * locale/Makefile (lib-modules): Likewise.
25912 * iconv/iconv_prog.c: Remove verbose.
25913 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
25914 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
25915 record a warning about ASCII compatibility.
25916 * locale/programs/ld-monetary.c (monetary_finish): If
25917 warn_int_curr_symbol is true then record a warning about the symbol
25918 not being in our ISO 4217 list.
25919 * locale/programs/locale.c: Include record-status.h. Remove verbose.
25920 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
25921 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
25922 (OPT_NO_WARN): Define.
25923 (OPT_WARN): Define.
25924 (options): Add entry for --no-warnings, and --warnings.
25925 (set_warnings): New function to enable/disable warnings.
25926 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
25927 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
25928 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
25929 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
25930 Pass flags to generate_locale.
25931 (generate_locale): Accept new flag argument and pass it to localedef
25932 invocation.
25933 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
25934 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
25935
25936 * localedata/Makefile (test-input-data): Use full file name.
25937 * localedata/da_DK.in: Rename to...
25938 * localedata/da_DK.ISO-8859-1.in: ...this.
25939 * localedata/de_DE.in: Rename to...
25940 * localedata/de_DE.ISO-8859-1.in: ...this.
25941 * localedata/en_US.in: Rename to...
25942 * localedata/en_US.ISO-8859-1.in: ...this.
25943 * localedata/fr_FR.in: Rename to...
25944 * localedata/fr_FR.UTF-8.in: ... this.
25945 * localedata/hr_HR.in: Rename to...
25946 * localedata/hr_HR.ISO-8859-2.in: ...this.
25947 * localedata/hu_HU.in: Rename to...
25948 * localedata/hu_HU.UTF-8.in: ...this.
25949 * localedata/si_LK.in: Rename to...
25950 * localedata/si_LK.UTF-8.in: ...this.
25951 * localedata/sv_SE.in: Rename to...
25952 * localedata/sv_SE.ISO-8859-1.in: ...this.
25953 * localedata/tr_TR.in: Rename to...
25954 * localedata/tr_TR.UTF-8.in: ...this.
25955 * localedata/uk_UA.in: Rename to...
25956 * localedata/uk_UA.UTF-8.in: ...this.
25957 * localedata/sort-test.sh: Test file is locale name with the
25958 suffix.
25959
25960 * localedata/unicode-gen/Makefile (check_i18n): Rename to
25961 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
25962 file.
25963 * localedata/locales/i18n_ctype: Regenerate.
25964 * localedata/locales/tr_TR: Likewise.
25965 * localedata/locales/translit_circle: Likewise.
25966 * localedata/locales/translit_cjk_compat: Likewise.
25967 * localedata/locales/translit_combining: Likewise.
25968 * localedata/locales/translit_compat: Likewise.
25969 * localedata/locales/translit_font: Likewise.
25970 * localedata/locales/translit_fraction: Likewise.
25971
25972 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25973
25974 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
25975 lxvd2x/stxvd2x with lvx/stvx.
25976 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
25977
25978 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
25979
25980 * include/alloc_buffer.h: Replace "if if " with "if " in
25981 comments.
25982 * sysdeps/mips/memcpy.S: Likkewise.
25983 * sysdeps/mips/memset.S: Likewise.
25984 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
25985 Likewise.
25986 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
25987 Likewise.
25988 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
25989 Likewise.
25990
25991 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25992
25993 [BZ #15261]
25994 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
25995 yesexpr and noexpr.
25996 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
25997 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
25998 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
25999 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
26000 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
26001 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
26002 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
26003
26004 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26005
26006 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
26007 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
26008 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
26009 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
26010 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
26011 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
26012 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
26013 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
26014 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
26015 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
26016 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
26017 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
26018
26019 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26020
26021 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
26022 as possible for better readability of the source.
26023 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
26024 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
26025 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
26026 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
26027 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
26028 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
26029 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
26030 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
26031 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
26032 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
26033 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
26034 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
26035 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
26036 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
26037 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
26038 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
26039 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
26040 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
26041 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
26042 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
26043 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
26044 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
26045 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
26046 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
26047 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
26048 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
26049 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
26050 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
26051 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
26052 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
26053 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
26054 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
26055 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
26056 * localedata/locales/en_US (LC_MESSAGES): Likewise.
26057 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
26058 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
26059 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
26060 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
26061 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
26062 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
26063 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
26064 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
26065 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
26066 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
26067 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
26068 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
26069 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
26070 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
26071 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
26072 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
26073 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
26074 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
26075 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
26076 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
26077 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
26078 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
26079 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
26080 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
26081 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
26082 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
26083 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
26084 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
26085 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
26086 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
26087 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
26088 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
26089 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
26090 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
26091 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
26092 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
26093 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
26094 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
26095 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
26096 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
26097 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
26098 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
26099 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
26100 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
26101 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
26102 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
26103 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
26104 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
26105 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
26106 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
26107 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
26108 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
26109 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
26110 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
26111 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
26112 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
26113 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
26114 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
26115 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
26116 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
26117 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
26118 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
26119 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
26120 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
26121 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
26122 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
26123 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
26124 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
26125 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
26126 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
26127 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
26128 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
26129 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
26130 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
26131 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
26132 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
26133 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
26134 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
26135 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
26136 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
26137 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
26138 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
26139 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
26140 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
26141 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
26142 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
26143 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
26144 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
26145 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
26146 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
26147 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
26148 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
26149 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
26150 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
26151 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
26152 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
26153 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
26154 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
26155 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
26156 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
26157 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
26158 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
26159 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
26160 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
26161 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
26162 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
26163 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
26164 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
26165 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
26166 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
26167 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
26168 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
26169 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
26170 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
26171 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
26172 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
26173 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
26174 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
26175 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
26176 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
26177 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
26178 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
26179 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
26180 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
26181 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
26182 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
26183 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
26184 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
26185 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
26186 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
26187 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
26188 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
26189 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
26190 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
26191 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
26192 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
26193 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
26194 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
26195 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
26196 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
26197
26198 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26199
26200 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
26201 (Use first letters of yesstr and nostr correctly instead of using
26202 full words).
26203
26204 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26205
26206 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
26207 (Use first letters of yesstr and nostr correctly).
26208
26209 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26210
26211 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
26212 also check for the first characters of yesstr and nostr.
26213 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
26214 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
26215
26216 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26217
26218 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
26219 also check for Chinese characters.
26220
26221 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26222
26223 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
26224 match also for the contents of yesstr and nostr. As the first letter
26225 of yesstr and nostr is equal, checking only for the first letter
26226 is not enough.
26227
26228 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26229
26230 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
26231 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
26232
26233 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26234
26235 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
26236 of main contributor.
26237
26238 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26239
26240 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
26241 instead of using English.
26242
26243 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26244
26245 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
26246 by including the first letters of nostr and yesexpr in the regexp.
26247 Also make it more readable by using ASCII where possible.
26248
26249 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26250
26251 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
26252 the first letter of nostr in the regexp. It agrees with CLDR now.
26253 Also make it more readable by using ASCII where possible.
26254
26255 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26256
26257 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
26258 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
26259 these strings contain a U+17D6 (which somewhat looks like a colon)
26260 instead of a real colon to separate the full words for “yes”
26261 and “no” from the single letter responses.
26262
26263 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26264
26265 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
26266 it agree with CLDR (include the first letter of yesstr).
26267 Also make it more readable by using ASCII where possible.
26268
26269 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26270
26271 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
26272 and improve yesexpr and noexpr. The yesstr and nostr apparently
26273 came from CLDR. And CLDR has a bug there: these strings contain
26274 a U+0903 (which looks like a colon) instead of a real colon
26275 to separate the full words for “yes” and “no” from the single
26276 letter responses.
26277
26278 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26279
26280 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
26281 letters of the full yesstr and nostr in yesexpr and noexpr.
26282
26283 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26284
26285 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
26286 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
26287 * localedata/locales/an_ES: Make source more readable by using ASCII
26288 where possible.
26289
26290 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26291
26292 [BZ #20952]
26293 * localedata/locales/yuw_PG: New file.
26294 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
26295 * locale/iso-639.def: Add Yau (Uruwa).
26296
26297 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26298
26299 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
26300
26301 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26302
26303 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
26304 (__libc_realloc): Likewise.
26305 (_mid_memalign): Likewise.
26306 (__libc_calloc): Likewise.
26307
26308 2017-10-23 Mike FABIAN <mfabian@redhat.com>
26309
26310 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
26311 by adding the generic +1 and -0 as in all other locales.
26312 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
26313 day names and make it more readable by using ASCII where possible.
26314
26315 2017-10-24 Joseph Myers <joseph@codesourcery.com>
26316
26317 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
26318 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
26319
26320 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26321
26322 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
26323 WNOHANG in waitpid call.
26324
26325 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
26326
26327 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
26328 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
26329
26330 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
26331 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
26332 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
26333 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
26334 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
26335 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
26336 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
26337 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
26338 variables.
26339
26340 2017-10-23 Michael Collison <michael.collison@arm.com>
26341
26342 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
26343 with __builtin_sqrt.
26344 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
26345 with __builtin_sqrtf.
26346 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
26347 with __builtin_ceil.
26348 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
26349 with __builtin_ceilf.
26350 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
26351 with __builtin_floor.
26352 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
26353 with __builtin_floorf.
26354 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
26355 with __builtin_fma.
26356 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
26357 with __builtin_fmaf.
26358 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
26359 with __builtin_fmax.
26360 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
26361 with __builtin_fmaxf.
26362 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
26363 with __builtin_fmin.
26364 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
26365 with __builtin_fminf.
26366 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
26367 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
26368 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
26369 with builtin_rint and conversion to int.
26370 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
26371 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
26372 with builtin_llround.
26373 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
26374 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
26375 with builtin_rint and conversion to long int.
26376 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
26377 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
26378 with builtin_lround.
26379 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
26380 with builtin_lroundf.
26381 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
26382 statements with __builtin_nearbyint.
26383 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
26384 statements with __builtin_nearbyintf.
26385 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
26386 with __builtin_rint.
26387 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
26388 with __builtin_rintf.
26389 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
26390 with __builtin_round.
26391 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
26392 with __builtin_roundf.
26393 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
26394 with __builtin_trunc.
26395 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
26396 with __builtin_truncf.
26397 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
26398 and s_l[l]round[f].c too.
26399
26400 2017-10-23 Alan Modra <amodra@gmail.com>
26401
26402 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
26403 Adjust stack after restoring regs. Add missing LR cfi_restore.
26404
26405 2017-10-23 Alan Modra <amodra@gmail.com>
26406
26407 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
26408 Move LR save and frame setup/teardown and LR restore to
26409 immediately around memset call. Provide cfi.
26410
26411 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26412
26413 * sysdeps/i386/fpu/e_powf.S: Removed.
26414 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
26415 * sysdeps/i386/fpu/w_powf.c: Likewise.
26416 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
26417 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26418 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26419 Add e_powf-sse2.
26420 (CFLAGS-e_powf-sse2.c): New.
26421 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
26422 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
26423
26424 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26425
26426 * sysdeps/i386/fpu/e_log2f.S: Removed.
26427 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
26428 * sysdeps/i386/fpu/w_log2f.c: Likewise.
26429 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
26430 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26431 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26432 Add e_log2f-sse2.
26433 (CFLAGS-e_log2f-sse2.c): New.
26434 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
26435 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
26436
26437 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26438
26439 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26440 Add e_powf-fma.
26441 (CFLAGS-e_powf-fma.c): New.
26442 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
26443 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
26444
26445 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26446
26447 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26448 Add e_log2f-fma.
26449 (CFLAGS-e_log2f-fma.c): New.
26450 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
26451 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
26452
26453 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26454
26455 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26456 Add e_logf-fma.
26457 (CFLAGS-e_logf-fma.c): New.
26458 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
26459 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
26460
26461 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26462
26463 * sysdeps/i386/fpu/e_logf.S: Removed.
26464 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
26465 * sysdeps/i386/fpu/w_logf.c: Likewise.
26466 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
26467 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
26468 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26469 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26470 Add e_logf-sse2.
26471 (CFLAGS-e_logf-sse2.c): New.
26472 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
26473 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
26474
26475 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26476
26477 * sysdeps/i386/fpu/e_exp2f.S: Removed.
26478 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
26479 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
26480 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26481 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26482 Add e_exp2f-sse2.
26483 (CFLAGS-e_exp2f-sse2.c): New.
26484 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
26485 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
26486
26487 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26488
26489 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26490 Add e_exp2f-fma.
26491 (CFLAGS-e_exp2f-fma.c): New.
26492 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
26493 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
26494
26495 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26496
26497 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
26498 * sysdeps/i386/fpu/e_expf.S: Likewise.
26499 * sysdeps/i386/fpu/math_errf.c: Likewise.
26500 * sysdeps/i386/fpu/w_expf.c: Likewise.
26501 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
26502 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
26503 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
26504 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
26505 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26506 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26507 Remove e_expf-ia32.
26508 (CFLAGS-e_expf-sse2.c): New.
26509 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
26510 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
26511
26512 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26513
26514 * sysdeps/x86_64/fpu/e_expf.S: Removed.
26515 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
26516 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
26517 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
26518 e_expf.c.
26519 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
26520 New.
26521 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
26522 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
26523 Renamed to ...
26524 (__redirect_expf): This.
26525 (SYMBOL_NAME): Changed to expf.
26526 (__ieee754_expf): Renamed to ...
26527 (__expf): This.
26528 (__GI___expf): This.
26529 (__ieee754_expf): Add strong_alias.
26530 (__expf_finite): Likewise.
26531 (__expf): New.
26532 Include <sysdeps/ieee754/flt-32/e_expf.c>.
26533
26534 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
26535
26536 [BZ #22332]
26537 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
26538 unescaping.
26539
26540 2017-10-21 Florian Weimer <fweimer@redhat.com>
26541
26542 * posix/Makefile (tests): Add tst-glob-tilde.
26543 (tests-special): Add tst-glob-tilde-mem.out
26544 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
26545 (tst-glob-tilde-mem.out): Add mtrace check.
26546 * posix/tst-glob-tilde.c: New file.
26547
26548 2017-10-20 Joseph Myers <joseph@codesourcery.com>
26549
26550 * bits/floatn-common.h: New file.
26551 * math/Makefile (headers): Add bits/floatn-common.h.
26552 * bits/floatn.h: Include <bits/floatn-common.h>.
26553 * sysdeps/ia64/bits/floatn.h: Likewise.
26554 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
26555 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
26556 * sysdeps/powerpc/bits/floatn.h: Likewise.
26557 * sysdeps/x86/bits/floatn.h: Likewise.
26558
26559 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26560
26561 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
26562 indicates whether compiler emits an warning for alias for
26563 functions with incompatible types.
26564
26565 [BZ #22273]
26566 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
26567 the auxiliary process is terminated by a signal before calling _exit
26568 or execve.
26569
26570 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26571
26572 [BZ #21265]
26573 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
26574 New.
26575 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
26576 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
26577 and bit_arch_XSAVEC_Usable if needed.
26578 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
26579 and bit_arch_Use_dl_runtime_resolve_opt.
26580 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
26581 Removed.
26582 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
26583 (bit_arch_Prefer_No_AVX512): Updated.
26584 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
26585 (bit_arch_XSAVEC_Usable): New.
26586 (STATE_SAVE_OFFSET): Likewise.
26587 (STATE_SAVE_MASK): Likewise.
26588 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
26589 (cpu_features): Add xsave_state_size and xsave_state_full_size.
26590 (index_arch_Use_dl_runtime_resolve_opt): Removed.
26591 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
26592 (index_arch_XSAVEC_Usable): New.
26593 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
26594 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
26595 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
26596 is enabled.
26597 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
26598 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
26599 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
26600 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
26601 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
26602 _dl_runtime_resolve_xsavec.
26603 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
26604 Removed.
26605 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
26606 instead of VEC_SIZE.
26607 (REGISTER_SAVE_BND0): Removed.
26608 (REGISTER_SAVE_BND1): Likewise.
26609 (REGISTER_SAVE_BND3): Likewise.
26610 (REGISTER_SAVE_RAX): Always defined to 0.
26611 (VMOV): Removed.
26612 (_dl_runtime_resolve_avx): Likewise.
26613 (_dl_runtime_resolve_avx_slow): Likewise.
26614 (_dl_runtime_resolve_avx_opt): Likewise.
26615 (_dl_runtime_resolve_avx512): Likewise.
26616 (_dl_runtime_resolve_avx512_opt): Likewise.
26617 (_dl_runtime_resolve_sse): Likewise.
26618 (_dl_runtime_resolve_sse_vex): Likewise.
26619 (USE_FXSAVE): New.
26620 (_dl_runtime_resolve_fxsave): Likewise.
26621 (USE_XSAVE): Likewise.
26622 (_dl_runtime_resolve_xsave): Likewise.
26623 (USE_XSAVEC): Likewise.
26624 (_dl_runtime_resolve_xsavec): Likewise.
26625 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
26626 Removed.
26627 (_dl_runtime_resolve_avx512_opt): Likewise.
26628 (_dl_runtime_resolve_avx): Likewise.
26629 (_dl_runtime_resolve_avx_opt): Likewise.
26630 (_dl_runtime_resolve_sse): Likewise.
26631 (_dl_runtime_resolve_sse_vex): Likewise.
26632 (_dl_runtime_resolve_fxsave): New.
26633 (_dl_runtime_resolve_xsave): Likewise.
26634 (_dl_runtime_resolve_xsavec): Likewise.
26635
26636 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
26637
26638 [BZ #22320]
26639 CVE-2017-15670
26640 * posix/glob.c (__glob): Fix one-byte overflow.
26641
26642 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
26643
26644 * malloc/malloc.c (sysdep-cancel.h): Add include.
26645
26646 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
26647
26648 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
26649
26650 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
26651
26652 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
26653 (tests): Remove $(objpfx)ga_test depdendency.
26654 * resolv/ga_test.c: Remove file.
26655
26656 2017-10-20 Mike FABIAN <mfabian@redhat.com>
26657
26658 [BZ #18812]
26659 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
26660 * localedata/locales/kab_DZ: New file.
26661
26662 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26663
26664 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
26665 _dl_relocate_static_pie instead of _dl_start to compute load
26666 address in static PIE.
26667
26668 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26669
26670 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
26671
26672 2017-10-20 Mike FABIAN <mfabian@redhat.com>
26673
26674 [BZ #13605]
26675 * localedata/SUPPORTED: Add shn_MM/UTF-8.
26676 * localedata/locales/shn_MM: New file.
26677
26678 2017-10-20 Florian Weimer <fweimer@redhat.com>
26679
26680 [BZ #22321]
26681 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
26682 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
26683 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
26684 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
26685 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
26686 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
26687
26688 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
26689
26690 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26691
26692 2017-10-19 Joseph Myers <joseph@codesourcery.com>
26693
26694 * sysdeps/mips/ieee754/bits/floatn.h: New file.
26695
26696 [BZ #22322]
26697 * sysdeps/mips/bits/long-double.h: Move to ....
26698 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
26699
26700 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
26701
26702 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
26703
26704 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
26705 H.J. Lu <hongjiu.lu@intel.com>
26706
26707 [BZ #22299]
26708 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
26709 GLRO(dl_platform) to NULL.
26710 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
26711 (modules-names): Add tst-platformmod-1 and
26712 x86_64/tst-platformmod-2.
26713 (CFLAGS-tst-platform-1.c): New.
26714 (CFLAGS-tst-platformmod-1.c): Likewise.
26715 (CFLAGS-tst-platformmod-2.c): Likewise.
26716 (LDFLAGS-tst-platformmod-2.so): Likewise.
26717 ($(objpfx)tst-platform-1): Likewise.
26718 ($(objpfx)tst-platform-1.out): Likewise.
26719 (tst-platform-1-ENV): Likewise.
26720 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
26721 * sysdeps/x86_64/tst-platform-1.c: New file.
26722 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
26723 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
26724
26725 2017-10-19 Mike FABIAN <mfabian@redhat.com>
26726
26727 [BZ #13994]
26728 * locale/iso-639.def: Add Karbi.
26729 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
26730 * localedata/locales/mjw_IN: New file.
26731
26732 2017-10-18 Joseph Myers <joseph@codesourcery.com>
26733
26734 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
26735 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
26736 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
26737 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
26738 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
26739 (libm_alias_ldouble_other_r): Also create _Float128 alias.
26740 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
26741 <bits/floatn.h>.
26742 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
26743 (libm_alias_ldouble_other_r): Also create _Float128 alias.
26744 * manual/math.texi (Mathematics): Document additional architecture
26745 support for _Float128.
26746 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
26747 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
26748 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26749 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26750 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26751 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26752 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26753 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26754 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26755 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26756 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26757 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26758 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26759 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26760 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26761
26762 2017-10-18 Renlin Li <renlin.li@arm.com>
26763
26764 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
26765 _DYNAMIC symbol to calculate load address.
26766
26767 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
26768
26769 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
26770 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
26771 summary bits.
26772 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
26773 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
26774
26775 2017-10-18 Mike FABIAN <mfabian@redhat.com>
26776
26777 [BZ #16777]
26778 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
26779 and improve readability by using more ASCII.
26780 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
26781 and improve readability by using more ASCII.
26782
26783 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
26784
26785 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
26786 not all targets support atomics on bool.
26787
26788 2017-10-17 Joseph Myers <joseph@codesourcery.com>
26789
26790 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
26791 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
26792 __f128.
26793 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26794 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
26795 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26796 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
26797 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26798 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
26799
26800 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26801
26802 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
26803 defines.
26804
26805 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26806
26807 [BZ #22159]
26808 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
26809 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
26810 (do_check_remalloced_chunk): Fix build bug.
26811 (do_check_malloc_state): Add assert that checks arena->top.
26812 (malloc_consolidate): Remove initialization.
26813 (int_mallinfo): Remove call to malloc_consolidate.
26814 (__libc_mallopt): Clarify why malloc_consolidate is needed.
26815
26816 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26817
26818 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
26819 (have_fastchunks): Remove.
26820 (clear_fastchunks): Remove.
26821 (set_fastchunks): Remove.
26822 (malloc_state): Add have_fastchunks.
26823 (malloc_init_state): Use have_fastchunks.
26824 (do_check_malloc_state): Remove incorrect invariant checks.
26825 (_int_malloc): Use have_fastchunks.
26826 (_int_free): Likewise.
26827 (malloc_consolidate): Likewise.
26828
26829 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26830
26831 * malloc/malloc.c (tcache_put): Inline.
26832 (tcache_get): Inline.
26833
26834 2017-10-17 Jordi Mallach <jordi@gnu.org>
26835
26836 Aurelien Jarno <aurelien@aurel32.net>
26837 [BZ #2522]
26838 * localedata/locales/ca_ES@valencia: New file.
26839 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
26840
26841 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
26842
26843 [BZ #22296]
26844 * math/math.h: Let signbit use the builtin in C++ mode with gcc
26845 < 6.x
26846
26847 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26848
26849 * scripts/build-many-glibcs.py (Context.add_all_configs):
26850 Add arm-linux-gnueabihf multiarch extra_glibcs.
26851
26852 * sysdeps/generic/ifunc-init.h: New file.
26853 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
26854
26855 2017-10-17 Mike FABIAN <mfabian@redhat.com>
26856
26857 [BZ #22019]
26858 * localedata/locales/el_GR: Set n_cs_precedes to 0.
26859 * localedata/locales/el_CY: copy "el_GR" because it is identical.
26860 * stdlib/tst-strfmon_l.c: adapt test case.
26861
26862 2017-10-16 Joseph Myers <joseph@codesourcery.com>
26863
26864 * sysdeps/generic/float128-abi.h: New file.
26865 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
26866 non-__prefixed symbols to ....
26867 * math/Versions: ... here. Include <float128-abi.h>.
26868 * stdlib/Versions ... and here. Include <float128-abi.h>
26869
26870 2017-10-16 Florian Weimer <fweimer@redhat.com>
26871
26872 * version.h (VERSION): Switch to ".9000" as the development
26873 version suffix.
26874
26875 2017-10-16 Florian Weimer <fweimer@redhat.com>
26876
26877 [BZ #22050]
26878 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
26879 compat_symbol_reference to access non-default version.
26880
26881 2017-10-16 Florian Weimer <fweimer@redhat.com>
26882
26883 * malloc/Makefile (others-extras): Set to mcheck-init.o.
26884
26885 2017-10-16 Carlos O'Donell <carlos@redhat.com>
26886
26887 * include/shlib-compat.h (compat_symbol_reference): Update
26888 comment.
26889
26890 2017-10-16 Joseph Myers <joseph@codesourcery.com>
26891
26892 * math/Makefile (test-types): Add
26893 $(type-float128-$(float128-alias-fcts)).
26894 * math/test-float128.h (TYPE_STR): Define conditional on
26895 [FLT128_MANT_DIG == LDBL_MANT_DIG].
26896 (ULP_IDX): Likewise.
26897 (ULP_I_IDX): Likewise.
26898
26899 * stdlib/strtold.c: Include <bits/floatn.h>
26900 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
26901 and later undefine as macro. Define as weak alias if
26902 [!USE_WIDE_CHAR].
26903 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
26904 and later undefine as macro. Define as weak alias if
26905 [USE_WIDE_CHAR].
26906 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
26907 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
26908 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
26909 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
26910 Define and later undefine as macro. Define as weak alias if
26911 [USE_WIDE_CHAR].
26912 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
26913 <bits/floatn.h>.
26914 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
26915 Define and later undefine as macro. Define as weak alias if
26916 [!USE_WIDE_CHAR].
26917 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
26918 Define and later undefine as macro. Define as weak alias if
26919 [USE_WIDE_CHAR].
26920
26921 2017-10-15 Carlos O'Donell <carlos@redhat.com>
26922
26923 * localedata/collate-test.c (allocate_arrays): Don't use \n in
26924 record_verbose messages.
26925
26926 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
26927
26928 [BZ #22052]
26929 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
26930 to silence -O3 -Wall warning with GCC 7.
26931
26932 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
26933
26934 * Makeconfig (+link-static-before-libc): Use the first of
26935 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
26936 * gmon/Makefile (tests): Add tst-gmon-static.
26937 (tests-static): Likewise.
26938 (CFLAGS-tst-gmon-static.c): New.
26939 (CRT-tst-gmon-static): Likewise.
26940 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
26941 (tst-gmon-static-ENV): Likewise.
26942 (tests-special): Likewise.
26943 ($(objpfx)tst-gmon-static.out): Likewise.
26944 (clean-tst-gmon-static-data): Likewise.
26945 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
26946 * gmon/tst-gmon-static-gprof.sh: New file.
26947 * gmon/tst-gmon-static.c: Likewise.
26948
26949 2017-10-13 Carlos O'Donell <carlos@redhat.com>
26950
26951 [BZ #22295]
26952 * locale/programs/linereader.c (get_string): Don't warn on
26953 non-symbolic character.
26954
26955 [BZ #22294]
26956 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
26957 int_curr_symbol.
26958
26959 [BZ #22292]
26960 * locale/programs/record-status.h: New file
26961 * locale/programs/locale.c: Add comment.
26962 * locale/programs/charmap-dir.c: Don't include error.h.
26963 (charmap_opendir): Use record_error.
26964 * locale/programs/charmap.c: Don't include error.h.
26965 (charmap_read): Use record_error, and record_warning.
26966 (parse_charmap): Likewise.
26967 * locale/programs/ld-address.c: Don't include error.h.
26968 (address_finish): Use record_error, and record_warning.
26969 * locale/programs/ld-collate.c: Don't include error.h.
26970 (collate_finish): Use record_error, and record_error_at_line.
26971 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
26972 (ctype_class_new): Likewise.
26973 (ctype_map_new): Likewise.
26974 (set_one_default): Likewise.
26975 (set_class_defaults): Likewise.
26976 (translit_flatten): Likewise.
26977 (allocate_arrays): Use record_error, and record_verbose.
26978 * locale/programs/ld-identification.c: Don't include error.h.
26979 (indentation_finish): Use record_error and record_warning.
26980 * locale/programs/ld-measurement.c: Don't include error.h.
26981 (measurement_finish): Use record_error.
26982 * locale/programs/ld-messages.c
26983 (message_finish): Likewise.
26984 * locale/programs/ld-monetary.c
26985 (monetary_finish): Likewise.
26986 * locale/programs/ld-name.c (name_finish): Use record_error
26987 and record_warning.
26988 * locale/programs/ld-numeric.c
26989 (numeric_finish): Use record_error.
26990 * locale/programs/ld-paper.c: Don't include error.h.
26991 (paper_finish): Use record_error.
26992 * locale/programs/ld-telephone.c: Don't include error.h.
26993 (telephone_finish): Use record_error.
26994 * locale/programs/ld-time.c (time_finish): Likewise.
26995 * locale/programs/linereader.h (lr_error): Make inline func.
26996 * locale/programs/localedef.c: Define recorded_warning_count,
26997 and recorded_error_count.
26998 (main): Use record_error. Use recorded_error_count and
26999 recorded_warning_count to issue correct error returns.
27000 (add_to_readlist): Use record_error.
27001 (find_locale): Likewise.
27002 (load_locale): Likewise.
27003 * locale/programs/localedef.h: Remove be_quiet
27004 and WITH_CUR_LOCALE.
27005 * locale/programs/locarchive.c (compare_from_file): Use
27006 record_error.
27007 * locale/programs/locfile.c (write_locale_data): Use
27008 record_error.
27009 * locale/programs/repertoire.c: Dont include error.h.
27010 (repertoire_complain): Use record_error.
27011 * localedata/tst-fmon.sh: Expect failures from localedef.
27012 * localedata/tst-locale.sh: Likewise.
27013 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
27014
27015 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
27016 (REPORTS): Likewise.
27017 (check): Likewise.
27018 (i18n): Rename to...
27019 (i18n_ctype): ...this.
27020 (i18n-report): Rename to...
27021 (i18n_ctype-report): ...this.
27022 * localedata/locales/i18n_ctype: Regenerate.
27023 * localedata/locales/i18n: copy i18n_ctype.
27024
27025 2017-10-13 Joseph Myers <joseph@codesourcery.com>
27026
27027 * stdlib/strfroml.c: Include <bits/floatn.h>.
27028 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
27029 Define before include of <stdlib.h> and undefine afterwards, then
27030 define as weak alias.
27031
27032 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
27033 Undefine and restore default definition. Use
27034 libm_alias_ldouble_other.
27035
27036 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
27037
27038 [BZ #22153]
27039 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
27040 in coredumps.
27041
27042 2017-10-13 James Clarke <jrtc27@jrtc27.com>
27043
27044 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27045 Assign sym_map to be map for local symbols, as TLS relocations
27046 use sym_map to determine whether the symbol is defined and to
27047 extract the TLS information.
27048 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27049 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27050
27051 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27052
27053 [BZ #22189]
27054 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
27055 (math_force_eval): Add powerpc version.
27056
27057 [BZ #22142]
27058 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
27059 -DBL_MAX.
27060 (do_test): Likewise.
27061 * stdio-common/tst-printf.sh: Likewise.
27062 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
27063 ifdef clause in order to set the carry bit right. Replace r0 by
27064 0 without changing the behavior.
27065
27066 2017-10-13 Joseph Myers <joseph@codesourcery.com>
27067
27068 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
27069 <libm-alias-ldouble.h>.
27070 (fabsl): Define using libm_alias_ldouble.
27071 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
27072 <libm-alias-ldouble.h>.
27073 (fabsl): Define using libm_alias_ldouble.
27074
27075 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
27076 Remove conditional code.
27077
27078 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
27079 Rename to __clog10_internal_l.
27080 (__clog10_internal_l): Define aliases using
27081 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
27082 with __clog10.
27083
27084 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27085
27086 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
27087 * benchtests/sincosf-inputs: New file.
27088 * benchtests/cosf-inputs: New file.
27089 * benchtests/sinf-inputs: New file.
27090
27091 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
27092
27093 * posix/tst-spawn.c (do_test): Wait for both children.
27094
27095 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
27096
27097 [BZ #22284]
27098 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
27099 tests-pie): Add tst-gmon-pie.
27100 (CFLAGS-tst-gmon-pie.c): New.
27101 (CRT-tst-gmon-pie): Likewise.
27102 (tst-gmon-pie-ENV): Likewise.
27103 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
27104 ($(objpfx)tst-gmon-pie.out): Likewise.
27105 (clean-tst-gmon-pie-data): Likewise.
27106 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
27107 * gmon/gmon.c [PIC]: Include <link.h>.
27108 [PIC] (callback): New function.
27109 (write_hist): Add an argument for load address. Subtract load
27110 address from PCs.
27111 (write_call_graph): Likewise.
27112 (write_gmon): Call __dl_iterate_phdr to get load address, pass
27113 it to write_hist and write_call_graph.
27114 * gmon/tst-gmon-pie.c: New file.
27115
27116 2017-10-11 Joseph Myers <joseph@codesourcery.com>
27117
27118 * math/Makefile (test-types-basic): New variable.
27119 (test-types): Likewise.
27120 (libm-test-support): Use $(test-types) instead of $(types).
27121 (libm-tests-base-normal): Likewise.
27122 (libm-tests-base-finite): Likewise.
27123 (libm-tests-base-inline): Likewise.
27124 (generated): Likewise.
27125 ($(objpfx)libm-test-support-$(t).c): Likewise.
27126 (libm-tests-for-type iterator): Likewise.
27127 (libm-test-support iterator): Likewise.
27128 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
27129 (ulp_idx): Use ULP_IDX.
27130 * math/test-ldouble.h: Include <float.h>.
27131 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
27132 (ULP_IDX): New macro.
27133 (ULP_I_IDX): Likewise.
27134 * math/test-double.h (ULP_IDX): Likewise.
27135 (ULP_I_IDX): Likewise.
27136 * math/test-float.h (ULP_IDX): Likewise.
27137 (ULP_I_IDX): Likewise.
27138 * math/test-float128.h (ULP_IDX): Likewise.
27139 (ULP_I_IDX): Likewise.
27140
27141 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27142
27143 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
27144 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27145 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27146 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
27147 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27148 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
27149 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
27150 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27151 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27152 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27153 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
27154 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27155 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27156 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
27157 (SINGLE_THREAD_BY_GLOBAL): Define.
27158 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27159 Likewise.
27160 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27161 Likewise.
27162 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27163 Likewise.
27164 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27165 Likewise.
27166 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
27167 (SINGLE_THREAD_BY_GLOBAL): Likewise.
27168 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27169 Likewise.
27170
27171 2017-10-11 Andreas Schwab <schwab@suse.de>
27172
27173 * nis/Makefile (aux): Remove.
27174 * nscd/Makefile (aux): Add nscd_hash.
27175 (nscd-modules): Likewise.
27176 ($(objpfx)nscd): Don't depend on libnsl.
27177 * nscd/nscd_hash.c: New file.
27178 * nscd/nscd_hash.h: Likewise.
27179 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
27180 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
27181 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
27182 instead of <nis/rpcsvc/nis.h>.
27183 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
27184
27185 2017-10-11 Florian Weimer <fweimer@redhat.com>
27186
27187 [BZ #22078]
27188 Avoid large NSS buffers with many addresses, aliases.
27189 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
27190 using dynarrays and struct alloc_buffer.
27191 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
27192 (tst-nss-files-hosts-multi): Link with -ldl.
27193 * nss/tst-nss-files-hosts-multi.c: New file.
27194
27195 2017-10-11 Florian Weimer <fweimer@redhat.com>
27196
27197 [BZ #18023]
27198 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
27199 scratch_buffer. Eliminate gotos.
27200
27201 2017-10-11 Joseph Myers <joseph@codesourcery.com>
27202
27203 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
27204 libm_alias_ldouble_other.
27205 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
27206 undefine and redefine.
27207 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
27208 (exp10l): Do not define here.
27209 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
27210 (weak_alias): Undefine and redefine.
27211 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
27212 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
27213 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
27214 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
27215
27216 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
27217 [!__fma] (fma): Define using libm_alias_double.
27218 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
27219 [!__fmaf] (fmaf): Define using libm_alias_float.
27220 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
27221 (fmal): Define using libm_alias_ldouble.
27222
27223 2017-10-10 Joseph Myers <joseph@codesourcery.com>
27224
27225 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
27226 New macro.
27227 (libm_alias_double_other): Likewise.
27228 (libm_alias_double_r): Use libm_alias_double_other_r.
27229 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
27230 New macro.
27231 (libm_alias_float_other): Likewise.
27232 (libm_alias_float_r): Use libm_alias_float_other_r.
27233 * sysdeps/generic/libm-alias-float128.h
27234 (libm_alias_float128_other_r): New macro.
27235 (libm_alias_float128_other): Likewise.
27236 (libm_alias_float128_r): Use libm_alias_float128_other_r.
27237 * sysdeps/generic/libm-alias-ldouble.h
27238 (libm_alias_ldouble_other_r): New macro.
27239 (libm_alias_ldouble_other): Likewise.
27240 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
27241 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
27242 (libm_alias_double_other_r): New macro.
27243 (libm_alias_double_other): Likewise.
27244 (libm_alias_double_r): Use libm_alias_double_other_r.
27245 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
27246 (libm_alias_ldouble_other_r): New macro.
27247 (libm_alias_ldouble_other): Likewise.
27248 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
27249 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
27250 [!USE_AS_COMPAT]: Use libm_alias_double_other.
27251 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
27252 [!USE_AS_COMPAT]: Use libm_alias_float_other.
27253 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
27254 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
27255 * math/w_exp2f.c: Use libm_alias_float_other.
27256 * math/w_expf.c: Likewise.
27257 * math/w_log2f.c: Likewise.
27258 * math/w_logf.c: Likewise.
27259 * math/w_powf.c: Likewise.
27260 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
27261 [!__exp2f]: Use libm_alias_float_other.
27262 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
27263 [!__expf]: Use libm_alias_float_other.
27264 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
27265 [!__log2f]: Use libm_alias_float_other.
27266 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
27267 [!__logf]: Use libm_alias_float_other.
27268 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
27269 [!__powf]: Use libm_alias_float_other.
27270
27271 2017-10-10 Florian Weimer <fweimer@redhat.com>
27272
27273 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
27274 function.
27275 (_nss_files_gethostbyname3_r): Call it.
27276
27277 2017-10-09 Joseph Myers <joseph@codesourcery.com>
27278
27279 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
27280 error. Remove default definition of declare_mgen_alias.
27281 [!declare_mgen_alias_r]: Likewise.
27282 * sysdeps/generic/math-type-macros-double.h
27283 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
27284 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
27285 (declare_mgen_alias_r): Likewise.
27286 * sysdeps/generic/math-type-macros-float128.h
27287 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
27288 * sysdeps/generic/math-type-macros-ldouble.h
27289 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
27290 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
27291 macro.
27292 (declare_mgen_alias_r_s): Likewise.
27293 (declare_mgen_alias_r): Likewise.
27294 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
27295 (lgamma_r): Define using libm_alias_double_r.
27296 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
27297 (lgammaf_r): Define using libm_alias_float_r.
27298 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
27299 (lgammal_r): Define using libm_alias_ldouble_r.
27300 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
27301 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
27302
27303 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27304
27305 * lib/glob.c (__glob_pattern_type): Remove now-spurious
27306 extern declaration.
27307
27308 2017-10-09 Joseph Myers <joseph@codesourcery.com>
27309
27310 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
27311
27312 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
27313
27314 [BZ #21326]
27315 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
27316 [__cplusplus >= 201103] (__USE_ISOC99): Define.
27317 * math/Makefile (test-math-cxx11): New test.
27318 * math/test-math-cxx11.cc: New file.
27319
27320 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
27321
27322 * login/openpty.c (openpty): Close slave pty file descriptor on error.
27323
27324 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
27325 call to allocate the slave pty file descriptor.
27326
27327 2017-10-06 Joseph Myers <joseph@codesourcery.com>
27328
27329 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
27330 [!__fma] (fma): Define using libm_alias_double.
27331 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
27332 [!__fma] (fma): Define using libm_alias_double.
27333
27334 * sysdeps/ieee754/float128/float128_private.h: Include
27335 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
27336 (libm_alias_ldouble_r): Undefine and redefine.
27337 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
27338 <libm-alias-ldouble.h>.
27339 (asinhl): Define using libm_alias_ldouble.
27340 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
27341 <libm-alias-ldouble.h>.
27342 (atanl): Define using libm_alias_ldouble.
27343 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
27344 <libm-alias-ldouble.h>.
27345 (cbrtl): Define using libm_alias_ldouble.
27346 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
27347 <libm-alias-ldouble.h>.
27348 (ceill): Define using libm_alias_ldouble.
27349 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
27350 <libm-alias-ldouble.h>.
27351 (copysignl): Define using libm_alias_ldouble.
27352 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
27353 <libm-alias-ldouble.h>.
27354 (cosl): Define using libm_alias_ldouble.
27355 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
27356 <libm-alias-ldouble.h>.
27357 (erfl): Define using libm_alias_ldouble.
27358 (erfcl): Likewise.
27359 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
27360 <libm-alias-ldouble.h>.
27361 (expm1l): Define using libm_alias_ldouble.
27362 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
27363 <libm-alias-ldouble.h>.
27364 (fabsl): Define using libm_alias_ldouble.
27365 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
27366 <libm-alias-ldouble.h>.
27367 (floorl): Define using libm_alias_ldouble.
27368 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
27369 <libm-alias-ldouble.h>.
27370 (fmal): Define using libm_alias_ldouble.
27371 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
27372 <libm-alias-ldouble.h>.
27373 (frexpl): Define using libm_alias_ldouble.
27374 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
27375 libm_alias_ldouble.
27376 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
27377 <libm-alias-ldouble.h>.
27378 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
27379 libm_alias_ldouble.
27380 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
27381 <libm-alias-ldouble.h>.
27382 (getpayloadl): Define using libm_alias_ldouble.
27383 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
27384 <libm-alias-ldouble.h>.
27385 (llrintl): Define using libm_alias_ldouble.
27386 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
27387 <libm-alias-ldouble.h>.
27388 (llroundl): Define using libm_alias_ldouble.
27389 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
27390 <libm-alias-ldouble.h>.
27391 (logbl): Define using libm_alias_ldouble.
27392 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
27393 <libm-alias-ldouble.h>.
27394 (lrintl): Define using libm_alias_ldouble.
27395 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
27396 <libm-alias-ldouble.h>.
27397 (lroundl): Define using libm_alias_ldouble.
27398 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
27399 <libm-alias-ldouble.h>.
27400 (modfl): Define using libm_alias_ldouble.
27401 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
27402 <libm-alias-ldouble.h>.
27403 (nearbyintl): Define using libm_alias_ldouble.
27404 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
27405 <libm-alias-ldouble.h>.
27406 (nextafterl): Define using libm_alias_ldouble.
27407 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
27408 <libm-alias-ldouble.h>.
27409 (nextupl): Define using libm_alias_ldouble.
27410 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
27411 <libm-alias-ldouble.h>.
27412 (remquol): Define using libm_alias_ldouble.
27413 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
27414 <libm-alias-ldouble.h>.
27415 (rintl): Define using libm_alias_ldouble.
27416 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
27417 <libm-alias-ldouble.h>.
27418 (roundevenl): Define using libm_alias_ldouble.
27419 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
27420 <libm-alias-ldouble.h>.
27421 (roundl): Define using libm_alias_ldouble.
27422 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
27423 using libm_alias_ldouble.
27424 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
27425 <libm-alias-ldouble.h>.
27426 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
27427 Define using libm_alias_ldouble.
27428 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
27429 <libm-alias-ldouble.h>.
27430 (sincosl): Define using libm_alias_ldouble.
27431 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
27432 <libm-alias-ldouble.h>.
27433 (sinl): Define using libm_alias_ldouble.
27434 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
27435 <libm-alias-ldouble.h>.
27436 (tanhl): Define using libm_alias_ldouble.
27437 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
27438 <libm-alias-ldouble.h>.
27439 (tanl): Define using libm_alias_ldouble.
27440 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
27441 <libm-alias-ldouble.h>.
27442 (totalorderl): Define using libm_alias_ldouble.
27443 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
27444 <libm-alias-ldouble.h>.
27445 (totalordermagl): Define using libm_alias_ldouble.
27446 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
27447 <libm-alias-ldouble.h>.
27448 (truncl): Define using libm_alias_ldouble.
27449 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
27450 libm_alias_ldouble.
27451 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
27452 libm_alias_ldouble.
27453 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
27454 <libm-alias-ldouble.h>.
27455 (weak_alias): Do not undefine and redefine.
27456 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27457 (copysignl): Define with long_double_symbol only if [IS_IN
27458 (libc)].
27459 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
27460 <libm-alias-ldouble.h>.
27461 (weak_alias): Do not undefine and redefine.
27462 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27463 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
27464 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
27465 <libm-alias-ldouble.h>.
27466 (weak_alias): Do not undefine and redefine.
27467 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27468 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
27469 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
27470 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
27471 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
27472 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
27473 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
27474 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
27475 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
27476 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
27477 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
27478 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
27479 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
27480 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
27481 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
27482 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
27483 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
27484 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
27485 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
27486 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
27487 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
27488 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
27489 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
27490 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
27491 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
27492 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
27493
27494 2017-10-06 Carlos O'Donell <carlos@redhat.com>
27495
27496 [BZ #22111]
27497 * malloc/malloc.c (tcache_shutting_down): Use bool type.
27498 (tcache_thread_freeres): Set tcache_shutting_down before
27499 freeing the tcache.
27500 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
27501 * malloc/tst-malloc-tcache-leak.c: New file.
27502
27503 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27504
27505 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
27506 back to powerpc32 file.
27507 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
27508 (memrchr): Add __memrchr_power8 to ifunc list.
27509 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
27510 extra bytes for unaligned inputs.
27511
27512 2017-10-06 Joseph Myers <joseph@codesourcery.com>
27513
27514 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
27515 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
27516 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
27517 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
27518 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
27519
27520 2017-10-05 Joseph Myers <joseph@codesourcery.com>
27521
27522 * sysdeps/arm/libm-test-ulps: Update.
27523
27524 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
27525 <libm-alias-ldouble.h>.
27526 (asinhl): Define using libm_alias_ldouble.
27527 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
27528 <libm-alias-ldouble.h>.
27529 (cbrtl): Define using libm_alias_ldouble.
27530 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
27531 <libm-alias-ldouble.h>.
27532 (copysignl): Define using libm_alias_ldouble.
27533 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
27534 <libm-alias-ldouble.h>.
27535 (cosl): Define using libm_alias_ldouble.
27536 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
27537 <libm-alias-ldouble.h>.
27538 (erfl): Define using libm_alias_ldouble.
27539 (erfcl): Likewise.
27540 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
27541 <libm-alias-ldouble.h>.
27542 (fmal): Define using libm_alias_ldouble.
27543 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
27544 <libm-alias-ldouble.h>.
27545 (frexpl): Define using libm_alias_ldouble.
27546 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
27547 libm_alias_ldouble.
27548 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
27549 <libm-alias-ldouble.h>.
27550 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
27551 libm_alias_ldouble.
27552 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
27553 <libm-alias-ldouble.h>.
27554 (getpayloadl): Define using libm_alias_ldouble.
27555 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
27556 <libm-alias-ldouble.h>.
27557 (llrintl): Define using libm_alias_ldouble.
27558 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
27559 <libm-alias-ldouble.h>.
27560 (llroundl): Define using libm_alias_ldouble.
27561 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
27562 <libm-alias-ldouble.h>.
27563 (lrintl): Define using libm_alias_ldouble.
27564 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
27565 <libm-alias-ldouble.h>.
27566 (lroundl): Define using libm_alias_ldouble.
27567 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
27568 <libm-alias-ldouble.h>.
27569 (modfl): Define using libm_alias_ldouble.
27570 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
27571 <libm-alias-ldouble.h>.
27572 (nextupl): Define using libm_alias_ldouble.
27573 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
27574 <libm-alias-ldouble.h>.
27575 (remquol): Define using libm_alias_ldouble.
27576 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
27577 <libm-alias-ldouble.h>.
27578 (roundevenl): Define using libm_alias_ldouble.
27579 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
27580 <libm-alias-ldouble.h>.
27581 (roundl): Define using libm_alias_ldouble.
27582 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
27583 using libm_alias_ldouble.
27584 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
27585 <libm-alias-ldouble.h>.
27586 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
27587 <libm-alias-ldouble.h>.
27588 (setpayloadsigl): Define using libm_alias_ldouble.
27589 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
27590 <libm-alias-ldouble.h>.
27591 (sincosl): Define using libm_alias_ldouble.
27592 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
27593 <libm-alias-ldouble.h>.
27594 (sinl): Define using libm_alias_ldouble.
27595 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
27596 <libm-alias-ldouble.h>.
27597 (tanhl): Define using libm_alias_ldouble.
27598 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
27599 <libm-alias-ldouble.h>.
27600 (tanl): Define using libm_alias_ldouble.
27601 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
27602 <libm-alias-ldouble.h>.
27603 (totalorderl): Define using libm_alias_ldouble.
27604 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
27605 <libm-alias-ldouble.h>.
27606 (totalordermagl): Define using libm_alias_ldouble.
27607 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
27608 libm_alias_ldouble.
27609 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
27610 libm_alias_ldouble.
27611
27612 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
27613
27614 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
27615 memmove_falkor.
27616 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
27617 (__libc_ifunc_impl_list): Likewise.
27618 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
27619 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
27620
27621 * benchtests/bench-memmove-walk.c: New file.
27622 * benchtests/Makefile (string-benchset): Add it.
27623
27624 * benchtests/bench-memset-walk.c: New file.
27625 * benchtests/Makefile (string-benchset): Add it.
27626
27627 * benchtests/bench-memcpy-walk.c: New file.
27628 * benchtests/Makefile (string-benchset): Add it.
27629
27630 2017-10-05 Florian Weimer <fweimer@redhat.com>
27631
27632 nscd: Eliminate compilation time dependency in the build output.
27633 * nscd/nscd_stat.c (STATDATA_VERSION)
27634 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
27635 (STATDATA_VERSION_FULL): New macro definitions.
27636 (compilation): Remove.
27637 (struct statdata): Adjust version member.
27638 (send_stats): Set version from STATDATA_VERSION_FULL.
27639 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
27640
27641 2017-10-05 Joseph Myers <joseph@codesourcery.com>
27642
27643 * configure.ac (--enable-add-ons): Remove option.
27644 (machine): Do not mention add-ons in comment.
27645 (LIBC_PRECONFIGURE): Likewise.
27646 (add_ons): Remove variable and sanity checks and logic to locate
27647 add-ons.
27648 (add_ons_automatic): Remove variable.
27649 (configured_add_ons): Likewise.
27650 (add_ons_sfx): Likewise.
27651 (add_ons_pfx): Likewise.
27652 (add_on_subdirs): Likewise.
27653 (sysnames_add_ons): Likewise. Remove loop over add-ons and
27654 consideration of add-ons in Implies handling.
27655 (sysdeps_add_ons): Likewise.
27656 * configure: Regenerated.
27657 * libidn/configure.ac: Remove.
27658 * libidn/configure: Likewise.
27659 * sysdeps/unix/inet/configure.ac: New file.
27660 * sysdeps/unix/inet/configure: New generated file.
27661 * sysdeps/unix/inet/Subdirs: Add libidn.
27662 * Makeconfig (sysdeps-srcdirs): Remove variable.
27663 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
27664 ($(common-objpfx)config.status): Do not depend on add-on files.
27665 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
27666 comment.
27667 (all-subdirs): Do not include $(add-on-subdirs).
27668 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
27669 * config.make.in (add-ons): Remove variable.
27670 (add-on-subdirs): Likewise.
27671 (sysdeps-add-ons): Likewise.
27672 * manual/Makefile (add-chapters): Remove.
27673 ($(objpfx)texis): Do not depend on $(add-chapters).
27674 (nonexamples): Do not handle $(add-chapters).
27675 (examples): Do not handle $(add-ons).
27676 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
27677 libc-texinfo.sh.
27678 * manual/install.texi (Installation): Do not mention add-ons.
27679 (--enable-add-ons): Do not document configure option.
27680 * INSTALL: Regenerated.
27681 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
27682 * manual/maint.texi (Hierarchy Conventions): Do not mention
27683 add-ons.
27684 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
27685 --enable-add-ons.
27686 * scripts/gen-sorted.awk: Do not handle Subdirs files from
27687 add-ons.
27688 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
27689 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
27690
27691 2017-10-05 Andreas Schwab <schwab@suse.de>
27692
27693 [BZ #15142]
27694 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
27695 (_IO_flush_all_lockp): Always lock list_all_lock.
27696 (_IO_flush_all_linebuffered): Likewise.
27697 (_IO_unbuffer_all): Likewise.
27698
27699 2017-10-05 Florian Weimer <fweimer@redhat.com>
27700
27701 [BZ #15436]
27702 Do not flush stdio streams on abort.
27703 * stdlib/abort.c (fflush): Remove macro definition.
27704 (abort): Remove stages related to stdio flushing.
27705
27706 2017-10-05 Florian Weimer <fweimer@redhat.com>
27707
27708 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
27709
27710 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
27711
27712 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
27713
27714 2017-10-05 Florian Weimer <fweimer@redhat.com>
27715
27716 * support/support_format_hostent.c (support_format_hostent): Add
27717 more error information for NETDB_INTERNAL.
27718
27719 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27720
27721 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
27722 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
27723 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
27724 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
27725 AC_DEFINE if multi-arch is enabled.
27726 * sysdeps/i386/configure: Regenerated.
27727
27728 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27729
27730 * Makeconfig (+link-static-before-libc): Use
27731 $(DEFAULT-LDFLAGS-$(@F)).
27732 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
27733 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
27734 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
27735
27736 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27737
27738 * elf/Makefile (tests): Add tst-main1.
27739 (modules-names): Add tst-main1mod.
27740 ($(objpfx)tst-main1): New.
27741 (CRT-tst-main1): Likewise.
27742 (LDFLAGS-tst-main1): Likewise.
27743 (LDLIBS-tst-main1): Likewise.
27744 (tst-main1mod.so-no-z-defs): Likewise.
27745 * elf/tst-main1.c: New file.
27746 * elf/tst-main1mod.c: Likewise.
27747
27748 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27749
27750 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
27751
27752 2017-10-04 Joseph Myers <joseph@codesourcery.com>
27753
27754 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
27755 (fma): Define using libm_alias_double.
27756 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
27757 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
27758 <math_ldbl_opt.h>.
27759 (fmal): Do not define as compat symbol here.
27760 * sysdeps/alpha/fpu/s_fma.c: New file.
27761
27762 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27763
27764 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
27765
27766 2017-10-04 Joseph Myers <joseph@codesourcery.com>
27767
27768 [BZ #22229]
27769 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
27770 <math_ldbl_opt.h>
27771 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
27772 and libc.
27773 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
27774 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
27775 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
27776 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
27777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27778 Include <math_ldbl_opt.h>
27779 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
27780 and libc.
27781 (compat_symbol): Undefine and redefine.
27782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
27783 <math_ldbl_opt.h>
27784 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
27785 (compat_symbol): Undefine and redefine.
27786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
27787 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
27788 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
27789 GLIBC_2_1 for libm.
27790 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
27791 GLIBC_2.0 copysignl symbol.
27792 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
27793 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
27794
27795 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
27796
27797 2017-10-04 Florian Weimer <fweimer@redhat.com>
27798
27799 * scripts/check-local-headers.sh: Ignore nspr4 header file
27800 directory in addition to nspr.
27801
27802 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
27803
27804 [BZ #17956]
27805 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
27806 * configure: Regenerate.
27807 * crypt/Makefile (nss-cpp-flags): New variable.
27808 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
27809 (CPPFLAGS-md5-crypt.c): Use it.
27810 * scripts/check-local-headers.sh: Ignore nspr header file
27811 directory.
27812
27813 2017-10-04 Andreas Schwab <schwab@suse.de>
27814
27815 * nis/Makefile (services): Remove compat.
27816 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
27817 ($(objpfx)libnss_compat.so): Remove rule.
27818 * nis/Versions (libnss_compat): Remove.
27819 * nss/Makefile (services): Add compat.
27820 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
27821 * nss/Versions (libnss_compat): Define.
27822 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
27823 Don't include <rpc/types.h>. Replace bool_t by bool.
27824 * nss/nss_compat/compat-initgroups.c: Likewise.
27825 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
27826 instead of <rpcsrv/ypclnt.h>.
27827 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
27828 yp_get_default_domain.
27829 * nss/nss_compat/compat-pwd.c: Likewise.
27830 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
27831 yp_get_default_domain.
27832 * nss/nss_compat/nisdomain.c: New file.
27833 * nss/nss_compat/nisdomain.h: Likewise.
27834
27835 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27836
27837 [BZ #22244]
27838 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
27839 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27840
27841 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27842
27843 [BZ #22243]
27844 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
27845 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
27846
27847 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27848
27849 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
27850 "movl main@GOTOFF(%ebx), %eax".
27851
27852 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27853
27854 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
27855 allow undefined _DYNAMIC in PIE libc.a.
27856 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
27857 Likewse.
27858
27859 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27860
27861 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
27862 check _DYNAMIC.
27863
27864 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27865
27866 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
27867 check _DYNAMIC.
27868
27869 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27870
27871 * math/test-math-iscanonical.cc (error): Replace bool with int.
27872
27873 2017-10-03 Joseph Myers <joseph@codesourcery.com>
27874
27875 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
27876 (modf): Define using libm_alias_double, only if [!__modf].
27877 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
27878 <libm-alias-double.h>.
27879 (modf): Define using libm_alias_double, only if [!__modf].
27880 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
27881 compat symbol here.
27882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
27883 (weak_alias): Do not undefine and redefine.
27884 (strong_alias): Likewise.
27885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
27886 (weak_alias): Likewise.
27887 (strong_alias): Likewise.
27888
27889 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
27890 (logb): Define using libm_alias_double, only if [!__logb].
27891 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
27892 <libm-alias-double.h>.
27893 (logb): Define using libm_alias_double, only if [!__logb].
27894 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
27895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
27896 (weak_alias): Do not undefine and redefine.
27897 (strong_alias): Likewise.
27898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
27899 (weak_alias): Likewise.
27900 (strong_alias): Likewise.
27901
27902 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27903
27904 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
27905 Check SHARED instead PIC.
27906
27907 2017-10-03 Joseph Myers <joseph@codesourcery.com>
27908
27909 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
27910 [!__fmaf] (fmaf): Define using libm_alias_float.
27911
27912 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
27913 (frexp): Define using libm_alias_double.
27914 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
27915 <libm-alias-double.h>.
27916 (frexp): Define using libm_alias_double.
27917 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
27918 compat symbol here.
27919
27920 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27921
27922 [BZ #22235]
27923 * math/math.h: Trivial fix for unbalanced parentheses in comment.
27924 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
27925 (CFLAGS-test-math-iscanonical.cc): New variable.
27926 * math/test-math-iscanonical.cc: New file.
27927 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
27928 Provide a C++ implementation based on function overloading,
27929 rather than using __MATH_TG, which uses C-only builtins.
27930 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
27931 Likewise.
27932 * sysdeps/powerpc/powerpc64le/Makefile
27933 (CFLAGS-test-math-iscanonical.cc): New variable.
27934
27935 2017-10-03 Joseph Myers <joseph@codesourcery.com>
27936
27937 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
27938 (ceil): Define using libm_alias_double.
27939 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
27940 (floor): Define using libm_alias_double.
27941 * sysdeps/ieee754/dbl-64/s_llround.c: Include
27942 <libm-alias-double.h>.
27943 (llround): Define using libm_alias_double.
27944 * sysdeps/ieee754/dbl-64/s_lround.c: Include
27945 <libm-alias-double.h>.
27946 (lround): Define using libm_alias_double.
27947 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
27948 <libm-alias-double.h>.
27949 (nearbyint): Define using libm_alias_double.
27950 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
27951 <libm-alias-double.h>.
27952 (remquo): Define using libm_alias_double.
27953 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
27954 (rint): Define using libm_alias_double.
27955 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
27956 (round): Define using libm_alias_double.
27957 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
27958 (trunc): Define using libm_alias_double.
27959 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
27960 <libm-alias-double.h>.
27961 (ceil): Define using libm_alias_double.
27962 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
27963 <libm-alias-double.h>.
27964 (floor): Define using libm_alias_double.
27965 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
27966 <libm-alias-double.h>.
27967 (llround): Define using libm_alias_double.
27968 [_LP64] (lround): Likewise.
27969 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
27970 <libm-alias-double.h>.
27971 [!_LP64] (lround): Define using libm_alias_double.
27972 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
27973 <libm-alias-double.h>.
27974 (nearbyint): Define using libm_alias_double.
27975 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
27976 <libm-alias-double.h>.
27977 (remquo): Define using libm_alias_double.
27978 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
27979 <libm-alias-double.h>.
27980 (rint): Define using libm_alias_double.
27981 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
27982 <libm-alias-double.h>.
27983 (round): Define using libm_alias_double.
27984 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
27985 <libm-alias-double.h>.
27986 (trunc): Define using libm_alias_double.
27987 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
27988 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
27989 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
27990 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
27991 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
27992 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
27993 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
27994 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
27995 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
27996
27997 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27998
27999 * math/w_remainder.c: New file.
28000 * math/w_remainderf.c: New file.
28001 * math/w_remainderl.c: New file.
28002
28003 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28004
28005 * elf/rtld.c (BOOTSTRAP_MAP): New.
28006 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
28007 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28008 Likewise.
28009 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28010 Likewise.
28011 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28012 Likewise.
28013
28014 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
28015
28016 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
28017 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
28018 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
28019 rtld_hidden_data_ver): Define to empty.
28020 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
28021 __assert_perror_fail): Likewise.
28022 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28023 (__rewinddir): Likewise.
28024 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28025 (__profile_frequency): Likewise.
28026 * include/setjmp.h (__sigsetjmp): Likewise.
28027 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
28028 __libc_sigaction): Likewise.
28029 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
28030 not set hidden attribute.
28031 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
28032 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
28033 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
28034 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
28035 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
28036 __fxstatat64): Likewise.
28037 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28038 (__uname): Likewise.
28039 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28040 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
28041 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
28042 (NO_RTLD_HIDDEN): Set.
28043 * sysdeps/mach/hurd/configure: Refresh.
28044 * config.h.in: Refresh.
28045
28046 2017-10-02 Joseph Myers <joseph@codesourcery.com>
28047
28048 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
28049 (atan): Define using libm_alias_double.
28050 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
28051 (tan): Define using libm_alias_double.
28052 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
28053 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
28054
28055 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
28056 define as weak alias of __atan. Do not define any aliases if
28057 [__atan].
28058 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
28059 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
28060 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
28061 as weak alias of __tan. Do not define any aliases if [__tan].
28062 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
28063 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
28064 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
28065 __atan.
28066 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
28067 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
28068 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
28069 and define as weak alias of __atan.
28070 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
28071 __atan.
28072 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
28073 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
28074 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
28075 define as weak alias of __tan.
28076
28077 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28078
28079 * math/w_lgamma.c: New file.
28080 * math/w_lgammaf.c: New file.
28081 * math/w_lgammal.c: New file.
28082
28083 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28084
28085 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
28086 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
28087 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
28088 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
28089 * sysdeps/ieee754/flt-32/w_logf.c: New file.
28090 * sysdeps/ieee754/flt-32/w_powf.c: New file.
28091 * sysdeps/i386/fpu/w_log2f.c: New file.
28092 * sysdeps/i386/fpu/w_logf.c: New file.
28093 * sysdeps/i386/fpu/w_powf.c: New file.
28094 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
28095 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
28096 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
28097
28098 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28099 H.J. Lu <hongjiu.lu@intel.com>
28100
28101 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
28102 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
28103 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
28104 * sysdeps/ieee754/flt-32/w_expf.c: New file.
28105 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
28106 the new expf code.
28107 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
28108 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
28109 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
28110 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
28111 * sysdeps/i386/fpu/w_exp2f.c: New file.
28112 * sysdeps/i386/fpu/w_expf.c: New file.
28113 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
28114 * sysdeps/x86_64/fpu/w_expf.c: New file.
28115
28116 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28117
28118 * math/Versions (logf): New libm symbol at GLIBC_2.27.
28119 (log2f): Likewise.
28120 (powf): Likewise.
28121 * math/w_log2f.c: New file.
28122 * math/w_logf.c: New file.
28123 * math/w_powf.c: New file.
28124 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
28125 * math/w_logf_compat.c (__logf_compat): Likewise.
28126 * math/w_powf_compat.c (__powf_compat): Likewise.
28127 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
28128 * sysdeps/ia64/fpu/e_logf.S: Likewise.
28129 * sysdeps/ia64/fpu/e_powf.S: Likewise.
28130 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
28131 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
28132 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
28133 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
28134 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
28135 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
28136 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
28137 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
28138 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
28139 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
28140 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
28141 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
28142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
28143 Likewise.
28144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
28145 Likewise.
28146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
28147 Likewise.
28148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
28149 Likewise.
28150 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
28151 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
28152 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
28153 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
28154 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
28155 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
28156 Likewise.
28157 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
28158 Likewise.
28159 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
28160 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
28161 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
28162
28163 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28164
28165 * sysdeps/powerpc/powerpc64/multiarch/Makefile
28166 (sysdep_routines): Add memrchr_power8.
28167 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28168 (memrchr): Add __memrchr_power8 to list of memrchr functions.
28169 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
28170 New file.
28171 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
28172 (memrchr): Add __memrchr_power8 to ifunc list.
28173 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
28174
28175 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28176
28177 [BZ #18822]
28178 * sysdeps/unix/sysv/linux/posix_fadvise64.c
28179 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
28180 libc_hidden_def.
28181 * sysdeps/unix/sysv/linux/posix_fallocate64.c
28182 (__posix_fallocate64_l64): Likewise.
28183
28184 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28185
28186 [BZ #18822]
28187 * sysdeps/unix/sysv/linux/sched_setaffinity.c
28188 (__sched_setaffinity_new): Add libc_hidden_proto and
28189 libc_hidden_def.
28190
28191 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28192
28193 [BZ #18822]
28194 * include/glob.h (__glob64): Add libc_hidden_proto.
28195 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
28196 libc_hidden_def.
28197
28198 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28199
28200 [BZ #18822]
28201 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
28202 attribute_hidden.
28203
28204 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28205
28206 [BZ #18822]
28207 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
28208
28209 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28210
28211 [BZ #18822]
28212 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
28213 libc_hidden_def.
28214
28215 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28216
28217 [BZ #18822]
28218 * csu/version.c (__libc_print_version): Add attribute_hidden.
28219
28220 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28221
28222 [BZ #18822]
28223 * include/libc-internal.h (__init_misc): Add attribute_hidden.
28224
28225 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28226
28227 [BZ #18822]
28228 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
28229
28230 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28231
28232 [BZ #18822]
28233 * nscd/nscd_helper.c (__nis_hash): New prototype.
28234
28235 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28236
28237 [BZ #18822]
28238 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
28239 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
28240 libc_hidden_def.
28241 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
28242 * termios/tcgetattr.c (__tcgetattr): Likewise.
28243
28244 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28245
28246 [BZ #18822]
28247 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
28248 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
28249 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
28250 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
28251 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
28252
28253 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28254
28255 [BZ #18822]
28256 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
28257
28258 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28259
28260 [BZ #18822]
28261 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
28262 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
28263
28264 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28265
28266 [BZ #18822]
28267 * intl/hash-string.h (__hash_string): Add attribute_hidden.
28268
28269 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28270
28271 [BZ #18822]
28272 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
28273 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
28274
28275 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28276
28277 [BZ #18822]
28278 * include/ifreq.h: New file.
28279 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
28280 (__ifreq): Likewise.
28281 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
28282 (__ifreq): Likewise.
28283
28284 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28285
28286 [BZ #18822]
28287 * include/idna.h: New file.
28288 * inet/getnameinfo.c: Include <idna.h> instead of
28289 <libidn/idna.h>.
28290 (__idna_to_unicode_lzlz): Removed.
28291 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
28292 <libidn/idna.h>.
28293 (__idna_to_ascii_lz): Removed.
28294 (__idna_to_unicode_lzlz): Likewise.
28295
28296 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28297
28298 [BZ #18822]
28299 * include/plural-exp.h: New file.
28300 * intl/plural-exp.c: Include <plural-exp.h> instead of
28301 "plural-exp.h".
28302
28303 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28304
28305 [BZ #18822]
28306 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
28307 "getsourcefilter.h".
28308 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
28309 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
28310 "getsourcefilter.h".
28311 (__get_sol): Removed.
28312
28313 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28314
28315 [BZ #18822]
28316 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
28317 to ...
28318 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
28319
28320 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28321
28322 [BZ #18822]
28323 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
28324 attribute_hidden.
28325
28326 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28327
28328 [BZ #18822]
28329 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
28330
28331 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28332
28333 [BZ #18822]
28334 * include/search.h (__tdestroy): Add libc_hidden_proto.
28335 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
28336
28337 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28338
28339 [BZ #18822]
28340 * include/assert.h (__assert_fail_base): Add attribute_hidden.
28341
28342 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28343
28344 [BZ #18822]
28345 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
28346 attribute_hidden.
28347
28348 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28349
28350 [BZ #18822]
28351 * include/signal.h (__kill): Add libc_hidden_proto.
28352 (__sigblock): Likewise.
28353 (__sigprocmask): Likewise.
28354 (__sigaltstack): Likewise.
28355 * signal/kill.c (__kill): Add libc_hidden_def.
28356 * signal/sigblock.c (__sigblock): Likewise.
28357 * signal/sigprocmask.c (__sigprocmask): Likewise.
28358 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
28359 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
28360 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
28361 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
28362 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
28363 Likewise.
28364 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
28365 Likewise.
28366 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
28367 (__sigprocmask): Likewise.
28368 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
28369 Likewise.
28370 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
28371 (__sigprocmask): Likewise.
28372 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
28373 Likewise.
28374
28375 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28376
28377 [BZ #18822]
28378 * include/string.h (__strsep): Add libc_hidden_proto.
28379 * string/strsep.c (__strsep): Add libc_hidden_def.
28380
28381 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28382
28383 [BZ #18822]
28384 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
28385 attribute_hidden.
28386 (__spawni): Likewise.
28387
28388 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28389
28390 [BZ #18822]
28391 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
28392 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
28393 libc_hidden_def.
28394
28395 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28396
28397 [BZ #18822]
28398 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
28399
28400 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28401
28402 [BZ #18822]
28403 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
28404 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
28405 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
28406 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
28407 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
28408 Likewise.
28409 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
28410 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
28411
28412 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28413
28414 [BZ #18822]
28415 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
28416 (__dcigettext): Likewise.
28417
28418 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28419
28420 [BZ #18822]
28421 * include/sys/sysinfo.h (__get_nprocs_conf): Add
28422 libc_hidden_proto.
28423 (__get_nprocs): Likewise.
28424 (__get_phys_pages): Likewise.
28425 (__get_avphys_pages): Likewise.
28426 (__get_child_max): Add attribute_hidden.
28427 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
28428 (__get_nprocs): Likewise.
28429 (__get_phys_pages): Likewise.
28430 (__get_avphys_pages): Likewise.
28431 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
28432 libc_hidden_def.
28433 (__get_nprocs): Likewise.
28434 (__get_phys_pages): Likewise.
28435 (__get_avphys_pages): Likewise.
28436 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
28437 libc_hidden_def.
28438 (__get_nprocs_conf): Likewise.
28439 (__get_phys_pages): Likewise.
28440 (__get_avphys_pages): Likewise.
28441
28442 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28443
28444 [BZ #18822]
28445 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
28446 attribute_hidden.
28447 (__netlink_close): Likewise.
28448 (__netlink_free_handle): Likewise.
28449 (__netlink_request): Likewise.
28450
28451 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28452
28453 [BZ #18822]
28454 * include/rpc/rpc.h (__rpc_thread_variables): Add
28455 attribute_hidden.
28456 (__rpc_thread_svc_cleanup): Likewise.
28457 (__rpc_thread_clnt_cleanup): Likewise.
28458 (__rpc_thread_key_cleanup): Likewise.
28459
28460 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28461
28462 [BZ #18822]
28463 * include/sys/uio.h (__readv): Add libc_hidden_proto.
28464 (__writev): Likewise.
28465 * misc/readv.c (__readv): Add libc_hidden_def.
28466 * misc/writev.c (__writev): Likewise.
28467 * sysdeps/posix/readv.c (__readv): Likewise.
28468 * sysdeps/posix/writev.c (__writev): Likewise.
28469 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
28470 (__readv): Likewise.
28471 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
28472 (__writev): Likewise.
28473
28474 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28475
28476 [BZ #18822]
28477 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
28478 (__regcomp): Add libc_hidden_proto.
28479 (__regexec): Likewise.
28480 (__regfree): Likewise.
28481 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
28482 (__regfree): Likewise.
28483 * posix/regexec.c (__regexec): Likewise.
28484
28485 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28486
28487 [BZ #18822]
28488 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
28489 (__getutent): Likewise.
28490 (__getutid): Likewise.
28491 (__getutline): Likewise.
28492 (__pututline): Likewise.
28493 (__getutent_r): Likewise.
28494 (__getutid_r): Likewise.
28495 (__getutline_r): Likewise.
28496 (__utmpname): Add attribute_hidden.
28497 (__setutent): Likewise.
28498 (__endutent): Likewise.
28499 * login/getutent.c (__getutent): Add libc_hidden_def.
28500 * login/getutent_r.c (__getutent_r): Likewise.
28501 (__pututline): Likewise.
28502 * login/getutid.c (__getutid): Likewise.
28503 * login/getutid_r.c (__getutid_r): Likewise.
28504 * login/getutline.c (__getutline): Likewise.
28505 * login/getutline_r.c (__getutline_r): Likewise.
28506 * login/updwtmp.c (__updwtmp): Likewise.
28507
28508 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28509
28510 [BZ #18822]
28511 * include/dirent.h (__opendir): Always add attribute_hidden.
28512 (__fdopendir): Likewise.
28513 (__closedir): Likewise.
28514 (__readdir): Likewise.
28515 (__readdir64): Add libc_hidden_proto.
28516 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
28517 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
28518 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
28519 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
28520 New alias.
28521
28522 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28523
28524 [BZ #18822]
28525 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
28526 * include/netdb.h (__gethostbyaddr_r): Likewise.
28527 (__gethostbyname_r): Likewise.
28528 (__gethostbyname2_r): Likewise.
28529 (__getnetbyaddr_r): Likewise.
28530 (__getnetbyname_r): Likewise.
28531 (__getservbyname_r): Likewise.
28532 (__getservbyport_r): Likewise.
28533 (__getprotobyname_r): Likewise.
28534 (__getprotobynumber_r): Likewise.
28535 (__getnetgrent_r): Likewise.
28536 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
28537 (__getrpcbynumber_r): Likewise.
28538 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
28539
28540 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28541
28542 [BZ #18822]
28543 * include/stdio.h (__fcloseall): Add attribute_hidden.
28544 (__getline): Likewise.
28545 (__path_search): Likewise.
28546 (__gen_tempname): Likewise.
28547 (__libc_message): Likewise.
28548 (__flockfile): Likewise.
28549 (__funlockfile): Likewise.
28550 (__fxprintf): Likewise.
28551 (__fxprintf_nocancel): Likewise.
28552
28553 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28554
28555 [BZ #18822]
28556 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
28557 (__sgetsgent_r): Likewise.
28558
28559 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28560
28561 [BZ #18822]
28562 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
28563 (__statfs64): Likewise.
28564 (__fstatfs64): Likewise.
28565 * include/sys/statvfs.h (__statvfs64): Likewise.
28566 (__fstatvfs64): Likewise.
28567 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
28568 (__statfs_filesize_max): Likewise.
28569 (__statfs_symlinks): Likewise.
28570 (__statfs_chown_restricted): Likewise.
28571
28572 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28573
28574 [BZ #18822]
28575 * include/time.h (__tzstring): Add attribute_hidden.
28576 (__tzfile_read): Likewise.
28577 (__tzfile_compute): Likewise.
28578 (__tzfile_default): Likewise.
28579 (__tzset_parse_tz): Likewise.
28580 (__offtime): Likewise.
28581 (__asctime_r): Likewise.
28582 (__tzset): Likewise.
28583 (__tz_convert): Likewise.
28584 (__getdate_r): Likewise.
28585 (__getclktck): Likewise.
28586
28587 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28588
28589 [BZ #18822]
28590 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
28591 (__nscd_unmap): Likewise.
28592 (__nscd_cache_search): Likewise.
28593 (__nscd_get_nl_timestamp): Likewise.
28594 (__nscd_getpwnam_r): Likewise.
28595 (__nscd_getpwuid_r): Likewise.
28596 (__nscd_getgrnam_r): Likewise.
28597 (__nscd_getgrgid_r): Likewise.
28598 (__nscd_gethostbyname_r): Likewise.
28599 (__nscd_gethostbyname2_r): Likewise.
28600 (__nscd_gethostbyaddr_r): Likewise.
28601 (__nscd_getai): Likewise.
28602 (__nscd_getgrouplist): Likewise.
28603 (__nscd_getservbyname_r): Likewise.
28604 (__nscd_getservbyport_r): Likewise.
28605 (__nscd_innetgr): Likewise.
28606 (__nscd_setnetgrent): Likewise.
28607
28608 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28609
28610 [BZ #18822]
28611 * include/gmp.h: Declare internal functions only if _ISOMAC is
28612 undefined.
28613 (__mpn_extract_double): Add attribute_hidden.
28614 (__mpn_extract_long_double): Likewise.
28615 (__mpn_extract_float128): Likewise.
28616 (__mpn_construct_float): Likewise.
28617 (__mpn_construct_double): Likewise.
28618 (__mpn_construct_long_double): Likewise.
28619 (__mpn_construct_float128): Likewise.
28620 (mpn_add_1): Likewise.
28621 (mpn_addmul_1): Likewise.
28622 (mpn_add_n): Likewise.
28623 (mpn_cmp): Likewise.
28624 (mpn_divrem): Likewise.
28625 (mpn_lshift): Likewise.
28626 (mpn_mul): Likewise.
28627 (mpn_mul_1): Likewise.
28628 (mpn_rshift): Likewise.
28629 (mpn_sub_1): Likewise.
28630 (mpn_submul_1): Likewise.
28631 (mpn_sub_n): Likewise.
28632
28633 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28634
28635 [BZ #18822]
28636 * include/wchar.h (__wcsnlen): Add attribute_hidden.
28637 (__wcscat): Likewise.
28638 (__btowc): Likewise.
28639 (__wcrtomb): Likewise.
28640 (__mbsrtowcs): Likewise.
28641 (__wcsrtombs): Likewise.
28642 (__mbsnrtowcs): Likewise.
28643 (__wcsnrtombs): Likewise.
28644 (__wcsncpy): Likewise.
28645 (__wcpncpy): Likewise.
28646 (__wmemcpy): Likewise.
28647 (__wmempcpy): Likewise.
28648 (__wmemmove): Likewise.
28649 (__wcschrnul): Likewise.
28650 (__vfwscanf): Likewise.
28651 (__vswprintf): Likewise.
28652 (__fwprintf): Likewise.
28653 (__vfwprintf): Likewise.
28654
28655 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28656
28657 [BZ #18822]
28658 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
28659 (__getgrgid_r): Likewise.
28660 (__getgrnam_r): Likewise.
28661 * include/pwd.h (__getpwuid_r): Likewise.
28662 (__getpwnam_r): Likewise.
28663 (__fgetpwent_r): Likewise.
28664 * include/shadow.h (__getspnam_r): Likewise.
28665 (__sgetspent_r): Likewise.
28666 (__fgetspent_r): Likewise.
28667
28668 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28669
28670 [BZ #18822]
28671 * include/unistd.h (__access): Add attribute_hidden.
28672 (__lseek64): Likewise.
28673 (__libc_pread64): Likewise.
28674 (__pipe2): Likewise.
28675 (__sleep): Likewise.
28676 (__chdir): Likewise.
28677 (__fchdir): Likewise.
28678 (__getcwd): Likewise.
28679 (__rmdir): Likewise.
28680 (__execvpe): Likewise.
28681 (__execve): Likewise.
28682 (__setsid): Likewise.
28683 (__getuid): Likewise.
28684 (__geteuid): Likewise.
28685 (__getgid): Likewise.
28686 (__getegid): Likewise.
28687 (__getgroups): Likewise.
28688 (__group_member): Likewise.
28689 (__ttyname_r): Likewise.
28690 (__isatty): Likewise.
28691 (__readlink): Likewise.
28692 (__unlink): Likewise.
28693 (__gethostname): Likewise.
28694 (__profil): Likewise.
28695 (__getdtablesize): Likewise.
28696 (__brk): Likewise.
28697 (__ftruncate): Likewise.
28698 (__ftruncate64): Likewise.
28699
28700 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28701
28702 [BZ #18822]
28703 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
28704 * argp/argp-fs-xinl.c: Likewise.
28705 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
28706 * argp/argp-parse.c: Include <argp.h>.
28707 * argp/argp-xinl.c: Likewise.
28708 * include/argp-fmtstream.h: New file.
28709 * include/argp.h (__argp_error): Add attribute_hidden.
28710 (__argp_failure): Likewise.
28711 (__argp_input): Likewise.
28712 (__argp_state_help): Likewise.
28713
28714 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28715
28716 [BZ #18822]
28717 * include/wchar.h (____wcstof_l_internal): New prototype.
28718 (____wcstod_l_internal): Likewise.
28719 (____wcstold_l_internal): Likewise.
28720 (____wcstol_l_internal): Likewise.
28721 (____wcstoul_l_internal): Likewise.
28722 (____wcstoll_l_internal): Likewise.
28723 (____wcstoull_l_internal): Likewise.
28724 (____wcstof128_l_internal): Likewise.
28725 * sysdeps/ieee754/float128/wcstof128.c
28726 (____wcstof128_l_internal): Removed.
28727 * sysdeps/ieee754/float128/wcstof128_l.c
28728 (____wcstof128_l_internal): Likewise.
28729 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
28730 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
28731 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
28732 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
28733 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
28734 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
28735 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
28736 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
28737 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
28738 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
28739
28740 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28741
28742 [BZ #18822]
28743 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
28744 instead of <sys/statvfs.h>.
28745 (__internal_statvfs): Removed.
28746 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
28747 instead of <sys/statvfs.h>.
28748 (__internal_statvfs64): Removed.
28749 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
28750 "internal_statvfs.h" instead of <sys/statvfs.h>.
28751 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
28752 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
28753 instead of <sys/statvfs.h>.
28754 (__internal_statvfs): Removed.
28755 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
28756 instead of <sys/statvfs.h>.
28757 (__internal_statvfs64): Removed.
28758
28759 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28760
28761 [BZ #18822]
28762 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
28763 (__gconv_close): Likewise.
28764 (__gconv): Likewise.
28765 (__gconv_find_transform): Likewise.
28766 (__gconv_lookup_cache): Likewise.
28767 (__gconv_compare_alias_cache): Likewise.
28768 (__gconv_load_cache): Likewise.
28769 (__gconv_get_path): Likewise.
28770 (__gconv_close_transform): Likewise.
28771 (__gconv_release_cache): Likewise.
28772 (__gconv_find_shlib): Likewise.
28773 (__gconv_release_shlib): Likewise.
28774 (__gconv_get_builtin_trans): Likewise.
28775 (__gconv_compare_alias): Likewise.
28776 * include/dlfcn.h (_dlerror_run): Likewise.
28777 * include/stdio.h (__fortify_fail_abort): Likewise.
28778 * include/time.h (__tz_compute): Likewise.
28779 (__strptime_internal): Likewise.
28780 * intl/gettextP.h (_nl_find_domain): Likewise.
28781 (_nl_load_domain): Likewise.
28782 (_nl_find_msg): Likewise.
28783 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
28784 (EXTRACT_PLURAL_EXPRESSION): Likewise.
28785 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
28786 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
28787 (__gai_find_request): Likewise.
28788 (__gai_remove_request): Likewise.
28789 (__gai_notify): Likewise.
28790 (__gai_notify_only): Likewise.
28791 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
28792 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
28793 (_dl_non_dynamic_init): Likewise.
28794 (_dl_aux_init): Likewise.
28795 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
28796 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
28797 Likewise.
28798 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
28799 (__wcsmbs_clone_conv): Likewise.
28800 (__wcsmbs_named_conv): Likewise.
28801
28802 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28803
28804 [BZ #18822]
28805 * include/stdlib.h (__random): Add attribute_hidden.
28806 (__random_r): Likewise.
28807 (__srandom_r): Likewise.
28808 (__initstate_r): Likewise.
28809 (__setstate_r): Likewise.
28810 (__erand48_r): Likewise.
28811 (__nrand48_r): Likewise.
28812 (__jrand48_r): Likewise.
28813 (__srand48_r): Likewise.
28814 (__seed48_r): Likewise.
28815 (__lcong48_r): Likewise.
28816 (__drand48_iterate): Likewise.
28817 (__setenv): Likewise.
28818 (__unsetenv): Likewise.
28819 (__clearenv): Likewise.
28820 (__ptsname_r): Likewise.
28821 (__posix_openpt): Likewise.
28822 (__add_to_environ): Likewise.
28823 (__realpath): Add libc_hidden_proto.
28824 (__ecvt_r): Likewise.
28825 (__fcvt_r): Likewise.
28826 (__qecvt_r): Likewise.
28827 (__qfcvt_r): Likewise.
28828 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
28829 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
28830
28831 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28832
28833 [BZ #18822]
28834 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
28835 * include/time.h (__mktime_internal): Likewise.
28836 * libio/iolibio.h (__fopen_internal): Likewise.
28837
28838 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
28839
28840 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
28841 pointer in frame.
28842 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
28843 Correct offset used to restore PIC register.
28844
28845 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
28846
28847 [BZ libc/22165]
28848 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
28849 code to load address of __getcontext_ret when generating PIC code.
28850
28851 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
28852
28853 * elf/Makefile (tests-static-internal): Add
28854 tst-tls1-static-non-pie.
28855 (LDFLAGS-tst-tls1-static-non-pie): New.
28856 * elf/tst-tls1-static-non-pie.c: New file.
28857
28858 2017-09-29 Joseph Myers <joseph@codesourcery.com>
28859
28860 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
28861 (asinh): Define using libm_alias_double.
28862 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
28863 (cbrt): Define using libm_alias_double.
28864 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
28865 <libm-alias-double.h>.
28866 (copysign): Define using libm_alias_double.
28867 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
28868 (erf): Define using libm_alias_double.
28869 (erfc): Likewise.
28870 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
28871 (expm1): Define using libm_alias_double.
28872 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
28873 (fabs): Define using libm_alias_double.
28874 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
28875 libm_alias_double.
28876 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
28877 <libm-alias-double.h>.
28878 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
28879 libm_alias_double.
28880 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
28881 <libm-alias-double.h>.
28882 (getpayload): Define using libm_alias_double.
28883 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
28884 <libm-alias-double.h>.
28885 (llrint): Define using libm_alias_double.
28886 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
28887 (lrint): Define using libm_alias_double.
28888 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
28889 <libm-alias-double.h>.
28890 (nextup): Define using libm_alias_double.
28891 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
28892 <libm-alias-double.h>.
28893 (roundeven): Define using libm_alias_double.
28894 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
28895 libm_alias_double.
28896 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
28897 <libm-alias-double.h>.
28898 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
28899 using libm_alias_double.
28900 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
28901 (cos): Define using libm_alias_double.
28902 (sin): Likewise.
28903 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
28904 <libm-alias-double.h>.
28905 (sincos): Define using libm_alias_double.
28906 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
28907 (tanh): Define using libm_alias_double.
28908 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
28909 <libm-alias-double.h>.
28910 (totalorder): Define using libm_alias_double.
28911 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
28912 <libm-alias-double.h>.
28913 (totalordermag): Define using libm_alias_double.
28914 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
28915 libm_alias_double.
28916 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
28917 libm_alias_double.
28918 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
28919 <libm-alias-double.h>.
28920 (getpayload): Define using libm_alias_double.
28921 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
28922 <libm-alias-double.h>.
28923 (roundeven): Define using libm_alias_double.
28924 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
28925 <libm-alias-double.h>.
28926 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
28927 <libm-alias-double.h>.
28928 (totalorder): Define using libm_alias_double.
28929 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
28930 <libm-alias-double.h>.
28931 (totalordermag): Define using libm_alias_double.
28932 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
28933 libc compat symbol here.
28934 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
28935 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
28936 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
28937 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
28938 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
28939 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
28940 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
28941 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
28942 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
28943 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
28944
28945 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28946
28947 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
28948 _dl_relocate_static_pie instead of _dl_start to compute load
28949 address in static PIE. Return 0 if _DYNAMIC is undefined for
28950 static executable.
28951
28952 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28953
28954 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
28955 _DYNAMIC is undefined for static executable.
28956
28957 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28958
28959 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
28960
28961 2017-09-29 Joseph Myers <joseph@codesourcery.com>
28962
28963 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28964
28965 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
28966
28967 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
28968 (__ieee754_lgamma_r): Use fabs rather than __fabs.
28969 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
28970 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
28971 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
28972 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
28973 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
28974 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
28975 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
28976 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
28977 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
28978 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
28979 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
28980 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
28981 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
28982 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
28983 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
28984
28985 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
28986
28987 * math/bits/cmathcalls.h (cimag): Remove inline.
28988 (creal): Remove inline.
28989 (conj): Remove inline.
28990
28991 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28992
28993 * math/Makefile (type-float-routines): Add e_powf_log2_data.
28994 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
28995 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
28996 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
28997 (issignalingf_inline): Likewise.
28998 (POWF_LOG2_TABLE_BITS): Likewise.
28999 (POWF_LOG2_POLY_ORDER): Likewise.
29000 (POWF_SCALE_BITS): Likewise.
29001 (POWF_SCALE): Likewise.
29002 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
29003 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
29004 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
29005
29006 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29007
29008 * math/Makefile (type-float-routines): Add e_log2f_data.
29009 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
29010 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
29011 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
29012 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
29013 * sysdeps/i386/fpu/e_log2f_data.c: New file.
29014 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
29015 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
29016
29017 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29018
29019 * math/Makefile (type-float-routines): Add e_logf_data.
29020 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
29021 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
29022 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
29023 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
29024 * sysdeps/i386/fpu/e_logf_data.c: New file.
29025 * sysdeps/ia64/fpu/e_logf_data.c: New file.
29026 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
29027
29028 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
29029
29030 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
29031 undefined _DYNAMIC in PIE libc.a.
29032 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
29033 Likewse.
29034
29035 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
29036
29037 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
29038 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
29039 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
29040 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
29041 (__signbit): Remove.
29042 (__signbitl): Remove.
29043 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
29044 (__signbit): Remove.
29045 (__signbitl): Remove.
29046 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
29047 (__signbit): Remove.
29048 (__signbitl): Remove.
29049 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
29050 (__signbit): Remove.
29051 (__signbitl): Remove.
29052 * sysdeps/tile/bits/mathinline.h: Delete file.
29053 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
29054 (__signbit): Remove.
29055 (__signbitl): Remove.
29056
29057 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
29058
29059 * math/math.h: Improve handling of C99 isgreater macros.
29060 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
29061 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
29062 * sysdeps/powerpc/bits/mathinline.h: Likewise.
29063 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
29064 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
29065
29066 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
29067
29068 * sysdeps/aarch64/libm-test-ulps: Update.
29069
29070 2017-09-28 Joseph Myers <joseph@codesourcery.com>
29071
29072 [BZ #22225]
29073 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29074 math_opt_barrier on argument when doing arithmetic on it.
29075 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
29076 Likewise. Use math_force_eval not math_opt_barrier after
29077 arithmetic.
29078 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
29079 math_opt_barrier on argument when doing arithmetic on it.
29080 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
29081 Likewise.
29082
29083 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
29084
29085 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
29086 libc_hidden_def.
29087 (__freeifaddrs): Likewise.
29088
29089 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
29090
29091 * include/dirent.h (__dirfd): New declaration.
29092 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
29093 alias.
29094 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
29095 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
29096 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
29097 * include/unistd.h (__revoke): New declaration.
29098 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
29099 alias.
29100 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
29101 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
29102 revoke.
29103 * include/dirent.h (__seekdir): New declaration.
29104 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
29105 redefine as weak alias.
29106 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
29107 of seekdir.
29108 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
29109 and use libc_hidden_def on them.
29110 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
29111 them.
29112 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
29113 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
29114 instead of getifaddrs and freeifaddrs.
29115
29116 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
29117
29118 [BZ #18822]
29119 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
29120 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
29121 (__dso_handle): Remove declaration.
29122 * dlfcn/tstatexit.c (__dso_handle): Removed.
29123 (main): Don't check __dso_handle.
29124 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
29125 (main): Don't check __dso_handle.
29126 * include/dso_handle.h: New file.
29127 * malloc/mtrace.c: Include <dso_handle.h>.
29128 (mtrace): Pass __dso_handle directly.
29129 * nptl/pthread_atfork.c: Include <dso_handle.h>.
29130 (__dso_handle): Remove declaration.
29131 (__pthread_atfork): Pass __dso_handle directly.
29132 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
29133 (__dso_handle): Removed.
29134 * posix/wordexp-test.c: Include <dso_handle.h>.
29135 (__dso_handle): Remove declaration.
29136 (__app_register_atfork): Pass __dso_handle directly.
29137 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
29138 (__dso_handle): Remove declaration.
29139 (at_quick_exit): Pass __dso_handle directly.
29140 * stdlib/atexit.c: Include <dso_handle.h>.
29141 (__dso_handle): Remove declaration.
29142 (atexit): Pass __dso_handle directly.
29143 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
29144 (__dso_handle): Removed.
29145
29146 2017-09-26 Joseph Myers <joseph@codesourcery.com>
29147
29148 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
29149 using VDSO.
29150
29151 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
29152
29153 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
29154 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
29155 values to correct default value for given type.
29156
29157 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
29158
29159 [BZ #22101]
29160 * elf/Makefile (tests): Add tst-debug1.
29161 ($(objpfx)tst-debug1): New.
29162 ($(objpfx)tst-debug1.out): Likewise.
29163 ($(objpfx)tst-debug1mod1.so): Likewise.
29164 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
29165 with p_filesz == 0.
29166 * elf/tst-debug1.c: New file.
29167
29168 2017-09-26 Joseph Myers <joseph@codesourcery.com>
29169
29170 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
29171 Define using __ifunc.
29172
29173 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29174
29175 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
29176 exp2f() values.
29177
29178 2017-09-26 Joseph Myers <joseph@codesourcery.com>
29179
29180 [BZ #22156]
29181 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
29182
29183 2017-09-26 Florian Weimer <fweimer@redhat.com>
29184
29185 * resolv/Makefile (tests-internal): Fix typo in comment.
29186
29187 2017-09-26 Florian Weimer <fweimer@redhat.com>
29188
29189 * resolv/nss_dns/dns-host.c: Fix typo in comment.
29190
29191 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29192
29193 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
29194 Use an union instead of a max_align_t array for __space,
29195 so that __space is the same size on all platforms.
29196 * malloc/scratch_buffer_grow_preserve.c
29197 (__libc_scratch_buffer_grow_preserve): Likewise.
29198
29199 [BZ #22183]
29200 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
29201 version to 2.
29202 * posix/Makefile (routines): Add glob-lstat-compat and
29203 glob64-lstat-compat.
29204 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
29205 * posix/glob-lstat-compat.c: New file.
29206 * posix/glob64-lstat-compat.c: Likewise.
29207 * posix/tst-glob_lstat_compat.c: Likewise.
29208 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
29209 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
29210 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
29211 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
29212 Likewise.
29213 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
29214 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
29215 * posix/glob.c (glob_lstat): New function.
29216 (glob): Rename to __glob and add versioned symbol to 2.27.
29217 (glob_in_dir): Use glob_lstat.
29218 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
29219 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
29220 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
29221 2.27.
29222 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
29223 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
29224 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
29225 gl_lstat on glob call.
29226 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
29227 and glob64 symbols.
29228 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
29229 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
29230 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
29231 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
29232 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
29233 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
29234 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
29235 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
29236 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
29237 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
29238 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
29239 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
29240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
29241 Likewise.
29242 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
29243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
29244 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
29245 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
29246 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
29247 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
29248 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
29249 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
29250 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
29251 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
29252 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
29253 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
29254
29255 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
29256
29257 * configure.ac (AS): Require binutils 2.25 or later.
29258 * configure: Regenerated.
29259
29260 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
29261
29262 [BZ #22207]
29263 * stdlib/test-atexit-race-common.c (do_test): Minimize required
29264 VM size.
29265
29266 2017-09-25 DJ Delorie <dj@redhat.com>
29267
29268 [BZ #22161]
29269 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
29270 resetting timeout.
29271
29272 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
29273
29274 * sysdeps/ieee754/dbl-64/sincos32.h
29275 [SINCCOS32_H]: Remove define.
29276 [SINCOS32_H]: Define.
29277
29278 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29279
29280 * math/Versions (expf): New libm symbol at GLIBC_2.27.
29281 (exp2f): Likewise.
29282 * math/w_exp2f.c: New file.
29283 * math/w_expf.c: New file.
29284 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
29285 * math/w_expf_compat.c (__expf_compat): Likewise.
29286 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
29287 * sysdeps/ia64/fpu/e_expf.S: Likewise.
29288 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
29289 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
29290 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
29291 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
29292 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
29293 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
29294 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
29295 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
29296 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
29297 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
29298 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
29299 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
29300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
29301 Likewise.
29302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
29303 Likewise.
29304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
29305 Likewise.
29306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
29307 Likewise.
29308 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
29309 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
29310 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
29311 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
29312 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
29313 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
29314 Likewise.
29315 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
29316 Likewise.
29317 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
29318 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
29319 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
29320
29321 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29322
29323 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
29324 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
29325 (roundtoint, converttoint): Likewise.
29326 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
29327 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
29328 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
29329 * sysdeps/ieee754/flt-32/math_config.h: New file.
29330 * sysdeps/ieee754/flt-32/math_errf.c: New file.
29331 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
29332 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
29333 * sysdeps/i386/fpu/math_errf.c: New file.
29334 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
29335 * sysdeps/ia64/fpu/math_errf.c: New file.
29336 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
29337 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
29338
29339 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
29340
29341 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
29342 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
29343 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
29344 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
29345 to make sure that these symbols are defined.
29346 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
29347 of <limits.h>
29348 (__need_NULL): Do not define.
29349 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
29350 alignment.
29351 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
29352 CMGROUP_MAX, cmsgcred): Do not define.
29353 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
29354 NULL.
29355 * bits/socket.h: Likewise.
29356 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
29357 __gettimeofday instead of gettimeofday.
29358 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
29359 instead of settimeofday.
29360
29361 2017-09-22 Joseph Myers <joseph@codesourcery.com>
29362
29363 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
29364 (asinhf): Define using libm_alias_float.
29365 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
29366 (atanf): Define using libm_alias_float.
29367 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
29368 (cbrtf): Define using libm_alias_float.
29369 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
29370 (ceilf): Define using libm_alias_float.
29371 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
29372 <libm-alias-float.h>.
29373 (copysignf): Define using libm_alias_float.
29374 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
29375 (cosf): Define using libm_alias_float.
29376 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
29377 (erff): Define using libm_alias_float.
29378 (erfcf): Likewise.
29379 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
29380 (expm1f): Define using libm_alias_float.
29381 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
29382 (fabsf): Define using libm_alias_float.
29383 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
29384 (floorf): Define using libm_alias_float.
29385 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
29386 (frexpf): Define using libm_alias_float.
29387 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
29388 libm_alias_float.
29389 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
29390 <libm-alias-float.h>.
29391 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
29392 libm_alias_float.
29393 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
29394 <libm-alias-float.h>.
29395 (getpayloadf): Define using libm_alias_float.
29396 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
29397 <libm-alias-float.h>.
29398 (llrintf): Define using libm_alias_float.
29399 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
29400 <libm-alias-float.h>.
29401 (llroundf): Define using libm_alias_float.
29402 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
29403 (logbf): Define using libm_alias_float.
29404 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
29405 (lrintf): Define using libm_alias_float.
29406 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
29407 (lroundf): Define using libm_alias_float.
29408 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
29409 (modff): Define using libm_alias_float.
29410 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
29411 <libm-alias-float.h>.
29412 (nearbyintf): Define using libm_alias_float.
29413 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
29414 <libm-alias-float.h>.
29415 (nextafterf): Define using libm_alias_float.
29416 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
29417 <libm-alias-float.h>.
29418 (nextupf): Define using libm_alias_float.
29419 * sysdeps/ieee754/flt-32/s_remquof.c: Include
29420 <libm-alias-float.h>.
29421 (remquof): Define using libm_alias_float.
29422 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
29423 (rintf): Define using libm_alias_float.
29424 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
29425 <libm-alias-float.h>.
29426 (roundevenf): Define using libm_alias_float.
29427 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
29428 (roundf): Define using libm_alias_float.
29429 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
29430 using libm_alias_float.
29431 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
29432 <libm-alias-float.h>.
29433 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
29434 Define using libm_alias_float.
29435 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
29436 <libm-alias-float.h>.
29437 (sincosf): Define using libm_alias_float.
29438 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
29439 (sinf): Define using libm_alias_float.
29440 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
29441 (tanf): Define using libm_alias_float.
29442 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
29443 (tanhf): Define using libm_alias_float.
29444 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
29445 <libm-alias-float.h>.
29446 (totalorderf): Define using libm_alias_float.
29447 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
29448 <libm-alias-float.h>.
29449 (totalordermagf): Define using libm_alias_float.
29450 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
29451 (truncf): Define using libm_alias_float.
29452 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
29453 libm_alias_float.
29454 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
29455 libm_alias_float.
29456
29457 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29458
29459 [BZ #22146]
29460 math/math.h: Let fpclassify use the builtin in C++ mode, even
29461 when optimazing for size.
29462
29463 2017-09-22 Joseph Myers <joseph@codesourcery.com>
29464
29465 * csu/Makefile (generated): Do not add version-info.h.
29466 (before-compile): Likewise.
29467 (all-Banner-files): Remove variable.
29468 ($(objpfx)version-info.h): Remove rule.
29469 * csu/version.c (banner): Do not include "version-info.h".
29470 * libidn/Banner: Remove.
29471 * manual/contrib.texi (Simon Josefsson): New entry.
29472
29473 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29474
29475 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
29476 Remove conditionals on LDBL_MANT_DIG.
29477 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
29478 (__ieee754_lgammal_r): Likewise.
29479
29480 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29481
29482 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
29483 _Float128 and L().
29484 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
29485 _Float128 and L(). Replace _Float128 with long double and L(x)
29486 with xL, throughout the file.
29487 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
29488 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
29489 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
29490 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
29491
29492 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29493
29494 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
29495 sysdeps/ieee754/ldbl-128ibm.
29496 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
29497 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
29498 of including it. Keep _Float128 and L() intact. These will be
29499 reviewed by a separate patch.
29500 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
29501 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
29502 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
29503 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
29504
29505 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29506
29507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
29508 (__finitef128): Define to __redirect___finitef128.
29509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
29510 (__isinff128): Define to __redirect___isinff128.
29511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
29512 (__isnanf128): Define to __redirect___isnanf128.
29513
29514 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29515
29516 * sysdeps/powerpc/powerpc64le/Makefile
29517 (CFLAGS-tst-strtod-nan-locale.c): New variable.
29518 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
29519
29520 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
29521 Carlos O'Donell <carlos@redhat.com>
29522
29523 [BZ #22180]
29524 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
29525 * stdlib/test-dlclose-exit-race.c: New file.
29526 * stdlib/test-dlclose-exit-race-helper.c: New file.
29527 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
29528
29529 2017-09-21 Joseph Myers <joseph@codesourcery.com>
29530
29531 * crypt/Banner: Remove file.
29532 * nptl/Banner: Likewise.
29533 * resolv/Banner: Likewise.
29534 * soft-fp/Banner: Likewise.
29535 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
29536 ($(objpfx)version.d): Remove dependency on banner.h.
29537 ($(objpfx)version.os): Likewise.
29538 * nptl/version.c (banner): Do not include banner.h.
29539 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
29540 Jelinek and BIND code.
29541
29542 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
29543 Carlos O'Donell <carlos@redhat.com>
29544
29545 * support/xdlfcn.h: New file.
29546 * support/xdlfcn.c: New file.
29547 * support/Makefile (libsupport-routines): Add xdlfcn.
29548 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
29549
29550 2017-09-20 Joseph Myers <joseph@codesourcery.com>
29551
29552 [BZ #20142]
29553 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29554 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
29555 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
29556 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
29557 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
29558 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
29559 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
29560 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
29561
29562 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
29563 Ricky Zhou <rickyz@google.com>
29564 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
29565
29566 [BZ #14333]
29567 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
29568 Remove atomics.
29569 (__new_exitfn): Fail registration when we finished at_exit processing.
29570 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
29571 * stdlib/on_exit.c (__on_exit): Likewise.
29572 * stdlib/exit.c (__exit_funcs_done): New variable.
29573 (__run_exit_handlers): Use __exit_funcs_lock.
29574 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
29575 declarations.
29576 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
29577 (test-cxa_atexit-race, test-on_exit-race): New tests.
29578 * stdlib/test-atexit-race-common.c: New file.
29579 * stdlib/test-atexit-race.c: New file.
29580 * stdlib/test-at_quick_exit-race.c: New file.
29581 * stdlib/test-cxa_atexit-race.c: New file.
29582 * stdlib/test-on_exit-race.c: New file.
29583
29584 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
29585
29586 * benchtests/Makefile: Add exp2f and log2f benchmarks.
29587 * benchtests/exp2f-inputs: Copy of expf-inputs.
29588 * benchtests/log2f-inputs: Copy of logf-inputs.
29589
29590 2017-09-19 Joseph Myers <joseph@codesourcery.com>
29591
29592 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
29593 Explicitly take address of first element of array arguments in
29594 call to INLINE_SYSCALL.
29595
29596 2017-09-19 Andreas Schwab <schwab@suse.de>
29597
29598 [BZ #22134]
29599 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
29600 execveat first.
29601 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
29602 unimplemented.
29603 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
29604 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
29605 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29606 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
29607 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
29608 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
29609 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29610 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
29611 * posix/Makefile (tests): Add tst-fexecve.
29612 * posix/tst-fexecve.c: New file.
29613
29614 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29615
29616 * benchtests/Makefile: Add logf benchmark.
29617 * benchtests/logf-inputs: Add reduced trace from wrf_r.
29618
29619 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29620
29621 * benchtests/Makefile: Add expf benchmark.
29622 * benchtests/expf-inputs: Add reduced trace from wrf_r.
29623
29624 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29625
29626 * csu/Makefile: Add -funwind-tables to libc-start.c.
29627 * debug/Makefile: Add -funwind-tables to backtrace.c.
29628 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
29629 * sysdeps/arm/Makefile: Likewise.
29630 * sysdeps/i386/Makefile: Likewise.
29631 * sysdeps/m68k/Makefile: Likewise.
29632 * sysdeps/mips/Makefile: Likewise.
29633 * sysdeps/nios2/Makefile: Likewise.
29634 * sysdeps/sh/Makefile: Likewise.
29635 * sysdeps/sparc/Makefile: Likewise.
29636
29637 2017-09-19 Joseph Myers <joseph@codesourcery.com>
29638
29639 * benchtests/Makefile (bench-math): Add trunc and truncf.
29640 (CFLAGS-bench-trunc.c): New variable.
29641 (CFLAGS-bench-truncf.c): Likewise.
29642 * benchtests/trunc-inputs: New file.
29643 * benchtests/truncf-inputs: Likewise.
29644
29645 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29646
29647 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
29648
29649 2017-09-18 Joseph Myers <joseph@codesourcery.com>
29650
29651 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
29652 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
29653 redefine.
29654 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
29655 (exp10l): Define as weak alias.
29656 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
29657 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
29658 and redefine.
29659 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
29660 (remainderl): Define as weak alias.
29661
29662 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
29663 (fmal): Define using libm_alias_ldouble.
29664 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
29665 (acoshl): Define using libm_alias_ldouble.
29666 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
29667 (acosl): Define using libm_alias_ldouble.
29668 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
29669 (asinl): Define using libm_alias_ldouble.
29670 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
29671 (atan2l): Define using libm_alias_ldouble.
29672 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
29673 (atanhl): Define using libm_alias_ldouble.
29674 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
29675 (coshl): Define using libm_alias_ldouble.
29676 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
29677 (exp10l): Define using libm_alias_ldouble.
29678 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
29679 (exp2l): Define using libm_alias_ldouble.
29680 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
29681 (expl): Define using libm_alias_ldouble.
29682 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
29683 (fmodl): Define using libm_alias_ldouble.
29684 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
29685 (hypotl): Define using libm_alias_ldouble.
29686 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
29687 (j0l): Define using libm_alias_ldouble.
29688 (y0l): Likewise.
29689 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
29690 (j1l): Define using libm_alias_ldouble.
29691 (y1l): Likewise.
29692 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
29693 (jnl): Define using libm_alias_ldouble.
29694 (ynl): Likewise.
29695 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
29696 (log10l): Define using libm_alias_ldouble.
29697 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
29698 (log2l): Define using libm_alias_ldouble.
29699 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
29700 (logl): Define using libm_alias_ldouble.
29701 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
29702 (powl): Define using libm_alias_ldouble.
29703 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
29704 (remainderl): Define using libm_alias_ldouble.
29705 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
29706 (sinhl): Define using libm_alias_ldouble.
29707 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
29708 (sqrtl): Define using libm_alias_ldouble.
29709 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
29710 (tgammal): Define using libm_alias_ldouble.
29711 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
29712 (exp10l): Do not use long_double_symbol here.
29713 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
29714 [LIBM_SVID_COMPAT] (remainderl): Likewise.
29715 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
29716 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
29717 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
29718 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
29719 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
29720 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
29721 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
29722 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
29723 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
29724 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
29725 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
29726 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
29727 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
29728 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
29729 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
29730 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
29731 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
29732 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
29733 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
29734 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
29735
29736 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
29737
29738 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
29739 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
29740
29741 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
29742
29743 * io/read.c (read): Add libc_hidden_weak.
29744 * sysdeps/mach/hurd/read.c (read): Likewise.
29745 * io/write.c (write): Likewise.
29746 * sysdeps/mach/hurd/write.c (write): Likewise.
29747 * io/pread64.c (__pread64): Likewise.
29748 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
29749 * posix/pread64.c (__pread64): Add libc_hidden_def.
29750
29751 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
29752
29753 * benchtests/scripts/compare_strings.py: New option -g.
29754 (draw_graph): Print a message that a graph is being generated.
29755 (process_results): Generate graph only if -g is passed.
29756 (main): Process option -g.
29757
29758 * benchtests/scripts/compare_strings.py (process_results):
29759 Better spacing for output.
29760
29761 * benchtests/scripts/compare_strings.py: Use argparse.
29762 * benchtests/README: Document existence of compare_strings.py.
29763
29764 2017-09-15 Joseph Myers <joseph@codesourcery.com>
29765
29766 * math/s_fma.c: Include <libm-alias-double.h>.
29767 (fma): Define using libm_alias_double.
29768 * math/s_nextafter.c: Include <libm-alias-double.h>.
29769 (nextafter): Define using libm_alias_double.
29770 * math/w_acos_compat.c: Include <libm-alias-double.h>.
29771 (acos): Define using libm_alias_double.
29772 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
29773 (aocsh): Define using libm_alias_double.
29774 * math/w_asin_compat.c: Include <libm-alias-double.h>.
29775 (asin): Define using libm_alias_double.
29776 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
29777 (atan2): Define using libm_alias_double.
29778 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
29779 (atanh): Define using libm_alias_double.
29780 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
29781 (cosh): Define using libm_alias_double.
29782 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
29783 (exp10): Define using libm_alias_double.
29784 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
29785 (exp2): Define using libm_alias_double.
29786 * math/w_exp_compat.c: Include <libm-alias-double.h>.
29787 (exp): Define using libm_alias_double.
29788 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
29789 (fmod): Define using libm_alias_double.
29790 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
29791 (hypot): Define using libm_alias_double.
29792 * math/w_j0_compat.c: Include <libm-alias-double.h>.
29793 (j0): Define using libm_alias_double.
29794 (y0): Likewise.
29795 * math/w_j1_compat.c: Include <libm-alias-double.h>.
29796 (j1): Define using libm_alias_double.
29797 (y1): Likewise.
29798 * math/w_jn_compat.c: Include <libm-alias-double.h>.
29799 (jn): Define using libm_alias_double.
29800 (yn): Likewise.
29801 * math/w_log10_compat.c: Include <libm-alias-double.h>.
29802 (log10): Define using libm_alias_double.
29803 * math/w_log2_compat.c: Include <libm-alias-double.h>.
29804 (log2): Define using libm_alias_double.
29805 * math/w_log_compat.c: Include <libm-alias-double.h>.
29806 (log): Define using libm_alias_double.
29807 * math/w_pow_compat.c: Include <libm-alias-double.h>.
29808 (pow): Define using libm_alias_double.
29809 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
29810 (remainder): Define using libm_alias_double.
29811 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
29812 (sinh): Define using libm_alias_double.
29813 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
29814 (sqrt): Define using libm_alias_double.
29815 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
29816 (tgamma): Define using libm_alias_double.
29817 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
29818 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
29819 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
29820 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
29821 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
29822 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
29823 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
29824 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
29825 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
29826 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
29827 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
29828 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
29829 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
29830 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
29831 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
29832 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
29833 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
29834 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
29835 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
29836 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
29837 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
29838 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
29839 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
29840 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
29841 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
29842
29843 * math/e_acoshl.c: Remove.
29844 * math/e_acosl.c: Likewise.
29845 * math/e_asinl.c: Likewise.
29846 * math/e_atan2l.c: Likewise.
29847 * math/e_atanhl.c: Likewise.
29848 * math/e_coshl.c: Likewise.
29849 * math/e_expl.c: Likewise.
29850 * math/e_fmodl.c: Likewise.
29851 * math/e_gammal_r.c: Likewise.
29852 * math/e_hypotl.c: Likewise.
29853 * math/e_j0l.c: Likewise.
29854 * math/e_j1l.c: Likewise.
29855 * math/e_jnl.c: Likewise.
29856 * math/e_lgammal_r.c: Likewise.
29857 * math/e_log10l.c: Likewise.
29858 * math/e_log2l.c: Likewise.
29859 * math/e_logl.c: Likewise.
29860 * math/e_powl.c: Likewise.
29861 * math/e_rem_pio2l.c: Likewise.
29862 * math/e_sinhl.c: Likewise.
29863 * math/e_sqrtf128.c: Likewise.
29864 * math/e_sqrtl.c: Likewise.
29865 * math/k_cosl.c: Likewise.
29866 * math/k_sinl.c: Likewise.
29867 * math/k_tanl.c: Likewise.
29868 * math/s_asinhl.c: Likewise.
29869 * math/s_atanl.c: Likewise.
29870 * math/s_cbrtl.c: Likewise.
29871 * math/s_erfl.c: Likewise.
29872 * math/s_expm1l.c: Likewise.
29873 * math/s_log1pl.c: Likewise.
29874 * math/s_tanhl.c: Likewise.
29875
29876 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29877
29878 [BZ #21745]
29879 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
29880 [$(subdir) = math] (sysdep_calls): New variable. Has the
29881 previous contents of sysdep_routines, but re-sorted..
29882 [$(subdir) = math] (sysdep_routines): Re-use the contents from
29883 sysdep_calls.
29884 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
29885 defined in sysdep_calls and replace by the respective m_* names.
29886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
29887 (compat_symbol): Undefine to avoid duplicated compat symbols in
29888 libc.
29889
29890 2017-09-15 Joseph Myers <joseph@codesourcery.com>
29891
29892 * math/s_fmaf.c: Include <libm-alias-float.h>.
29893 (fmaf): Define using libm_alias_float.
29894 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
29895 (acosf): Define using libm_alias_float.
29896 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
29897 (acoshf): Define using libm_alias_float.
29898 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
29899 (asinf): Define using libm_alias_float.
29900 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
29901 (atan2f): Define using libm_alias_float.
29902 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
29903 (atanhf): Define using libm_alias_float.
29904 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
29905 (coshf): Define using libm_alias_float.
29906 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
29907 (exp10f): Define using libm_alias_float.
29908 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
29909 (fmodf): Define using libm_alias_float.
29910 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
29911 (hypotf): Define using libm_alias_float.
29912 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
29913 (j0f): Define using libm_alias_float.
29914 (y0f): Likewise.
29915 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
29916 (j1f): Define using libm_alias_float.
29917 (y1f): Likewise.
29918 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
29919 (jnf): Define using libm_alias_float.
29920 (ynf): Likewise.
29921 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
29922 (log10f): Define using libm_alias_float.
29923 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
29924 (log2f): Define using libm_alias_float.
29925 * math/w_logf_compat.c: Include <libm-alias-float.h>.
29926 (logf): Define using libm_alias_float.
29927 * math/w_powf_compat.c: Include <libm-alias-float.h>.
29928 (powf): Define using libm_alias_float.
29929 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
29930 (remainderf): Define using libm_alias_float.
29931 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
29932 (sinhf): Define using libm_alias_float.
29933 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
29934 (sqrtf): Define using libm_alias_float.
29935 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
29936 (tgammaf): Define using libm_alias_float.
29937
29938 2017-09-14 Joseph Myers <joseph@codesourcery.com>
29939
29940 * include/math.h (roundeven): Change hidden_proto call to
29941 __roundeven.
29942 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
29943 alias.
29944 [NO_LONG_DOUBLE] (__j0l): New strong alias.
29945 (y0): Rename to __y0 and define as weak alias.
29946 [NO_LONG_DOUBLE] (__y0l): New strong alias.
29947 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
29948 alias.
29949 (y0f): Rename to __y0f and define as weak alias.
29950 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
29951 alias.
29952 [NO_LONG_DOUBLE] (__j1l): New strong alias.
29953 (y1): Rename to __y1 and define as weak alias.
29954 [NO_LONG_DOUBLE] (__y1l): New strong alias.
29955 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
29956 alias.
29957 (y1f): Rename to __y1f and define as weak alias.
29958 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
29959 alias.
29960 [NO_LONG_DOUBLE] (__jnl): New strong alias.
29961 (yn): Rename to __yn and define as weak alias.
29962 [NO_LONG_DOUBLE] (__ynl): New strong alias.
29963 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
29964 alias.
29965 (ynf): Rename to __ynf and define as weak alias.
29966 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
29967 (fromfp): Define as weak alias.
29968 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
29969 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
29970 (fromfpx): Define as weak alias.
29971 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
29972 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
29973 __getpayload and define as weak alias.
29974 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
29975 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
29976 __roundeven and define as weak alias.
29977 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
29978 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
29979 __setpayload.
29980 (setpayload): Define as weak alias.
29981 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
29982 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
29983 __setpayloadsig.
29984 (setpayloadsig): Define as weak alias.
29985 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
29986 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
29987 __totalorder and define as weak alias.
29988 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
29989 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
29990 to __totalordermag and define as weak alias.
29991 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
29992 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
29993 (ufromfp): Define as weak alias.
29994 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
29995 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
29996 __ufromfpx.
29997 (ufromfpx): Define as weak alias.
29998 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
29999 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
30000 Rename to __getpayload and define as weak alias.
30001 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
30002 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
30003 Rename to __roundeven and define as weak alias.
30004 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
30005 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
30006 Rename to __totalorder and define as weak alias.
30007 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
30008 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
30009 (totalordermag): Rename to __totalordermag and define as weak
30010 alias.
30011 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
30012 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
30013 macro.
30014 (__roundevenl): Likewise.
30015 (__totalorderl): Likewise.
30016 (__totalordermagl): Likewise
30017 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
30018 __fromfpf128.
30019 (fromfpf128): Define as weak alias.
30020 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
30021 __fromfpxf128.
30022 (fromfpxf128): Define as weak alias.
30023 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
30024 __setpayloadf128.
30025 (setpayloadf128): Define as weak alias.
30026 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
30027 __setpayloadsigf128.
30028 (setpayloadsigf128): Define as weak alias.
30029 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
30030 __ufromfpf128.
30031 (ufromfpf128): Define as weak alias.
30032 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
30033 __ufromfpxf128.
30034 (ufromfpxf128): Define as weak alias.
30035 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
30036 (fromfpf): Define as weak alias.
30037 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
30038 __fromfpxf.
30039 (fromfpxf): Define as weak alias.
30040 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
30041 __getpayloadf and define as weak alias.
30042 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
30043 __roundevenf and define as weak alias.
30044 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
30045 __setpayloadf.
30046 (setpayloadf): Define as weak alias.
30047 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
30048 __setpayloadsigf.
30049 (setpayloadsigf): Define as weak alias.
30050 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
30051 __totalorderf and define as weak alias.
30052 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
30053 Rename to __totalordermagf and define as weak alias.
30054 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
30055 __ufromfpf.
30056 (ufromfpf): Define as weak alias.
30057 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
30058 __ufromfpxf.
30059 (ufromfpxf): Define as weak alias.
30060 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
30061 __fromfpl.
30062 (fromfpl): Define as weak alias.
30063 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
30064 __fromfpxl.
30065 (fromfpxl): Define as weak alias.
30066 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
30067 to __getpayloadl and define as weak alias.
30068 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
30069 __roundevenl and define as weak alias.
30070 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
30071 __setpayloadl.
30072 (setpayloadl): Define as weak alias.
30073 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
30074 __setpayloadsigl.
30075 (setpayloadsigl): Define as weak alias.
30076 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
30077 to __totalorderl and define as weak alias.
30078 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
30079 Rename to __totalordermagl and define as weak alias.
30080 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
30081 __ufromfpl.
30082 (ufromfpl): Define as weak alias.
30083 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
30084 __ufromfpxl.
30085 (ufromfpxl): Define as weak alias.
30086 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
30087 __fromfpl.
30088 (fromfpl): Define as weak alias.
30089 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
30090 __fromfpxl.
30091 (fromfpxl): Define as weak alias.
30092 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
30093 Rename to __getpayloadl and define as weak alias.
30094 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
30095 to __roundevenl and define as weak alias. Call __roundeven
30096 instead of roundeven.
30097 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
30098 __setpayloadl.
30099 (setpayloadl): Define as weak alias.
30100 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
30101 __setpayloadsigl.
30102 (setpayloadsigl): Define as weak alias.
30103 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
30104 Rename to __totalorderl and define as weak alias.
30105 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
30106 Rename to __totalordermagl and define as weak alias.
30107 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
30108 __ufromfpl.
30109 (ufromfpl): Define as weak alias.
30110 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
30111 __ufromfpxl.
30112 (ufromfpxl): Define as weak alias.
30113 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
30114 __fromfpl.
30115 (fromfpl): Define as weak alias.
30116 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
30117 __fromfpxl.
30118 (fromfpxl): Define as weak alias.
30119 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
30120 __getpayloadl and define as weak alias.
30121 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
30122 __roundevenl and define as weak alias.
30123 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
30124 __setpayloadl.
30125 (setpayloadl): Define as weak alias.
30126 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
30127 __setpayloadsigl.
30128 (setpayloadsigl): Define as weak alias.
30129 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
30130 __totalorderl and define as weak alias.
30131 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
30132 Rename to __totalordermagl and define as weak alias.
30133 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
30134 __ufromfpl.
30135 (ufromfpl): Define as weak alias.
30136 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
30137 __ufromfpxl.
30138 (ufromfpxl): Define as weak alias.
30139
30140 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
30141
30142 * benchtests/bench-string.h (realloc_bufs): New function.
30143 (test_init): Call it.
30144 * benchtests/bench-memset-large.c (do_test): Likewise.
30145 * benchtests/bench-memset.c (do_test): Likewise.
30146
30147 * benchtests/bench-memset-large.c: Print output in JSON
30148 format.
30149 * benchtests/bench-memset.c: Likewise.
30150
30151 2017-09-14 Mike FABIAN <mfabian@redhat.com>
30152
30153 [BZ #21084]
30154 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
30155 * iconvdata/Makefile: Add IBM858.
30156 * iconvdata/gconv-modules: Likewise.
30157 * iconvdata/tst-tables.sh: Likewise.
30158 * iconvdata/ibm858.c: New file.
30159 * localedata/charmaps/IBM858: Likewise.
30160
30161 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
30162
30163 [BZ #22023]
30164 * locales/niu_NZ (LC_TIME): copy "niu_NU".
30165 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
30166
30167 2017-09-14 Mike FABIAN <mfabian@redhat.com>
30168
30169 [BZ #22112]
30170 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
30171 and add tel_int_fmt.
30172
30173 2017-09-14 Joseph Myers <joseph@codesourcery.com>
30174
30175 * sysdeps/generic/libm-alias-float128.h: New file.
30176 * sysdeps/generic/math-type-macros-float128.h: Include
30177 <libm-alias-float128.h>.
30178 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
30179
30180 2017-09-13 Joseph Myers <joseph@codesourcery.com>
30181
30182 * sysdeps/generic/libm-alias-ldouble.h: New file.
30183 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
30184 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
30185 * sysdeps/generic/math-type-macros-ldouble.h: Include
30186 <libm-alias-ldouble.h>.
30187 [!declare_mgen_alias] (declare_mgen_alias): Define to use
30188 libm_alias_ldouble.
30189
30190 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
30191
30192 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
30193 * math/w_exp_compat.c: ... here.
30194 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
30195 * math/w_expf_compat.c: ... here.
30196 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
30197 * math/w_expl_compat.c: ... here.
30198 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
30199 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
30200 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
30201 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
30202
30203 2017-09-13 Joseph Myers <joseph@codesourcery.com>
30204
30205 * math/w_scalbln_template.c (strong_alias): Do not undefine and
30206 redefine.
30207 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
30208 macro.
30209 (ldexpl): Only define as compat symbol for libc, not libm.
30210 (scalbnl): Define as compat symbol for libc here.
30211 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
30212 define for [IS_IN (libc)].
30213 (__ldexpl_2): Remove alias.
30214 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
30215 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
30216 name in long_double_symbol call.
30217 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
30218 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
30219 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
30220 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
30221 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
30222 Remove macro.
30223 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
30224 Define as compat symbol.
30225
30226 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30227
30228 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
30229 * sysdeps/unix/sysv/linux/alpha/Makefile
30230 [$(subdir) = csu] (sysdep_routines): Remove rule.
30231
30232 2017-09-13 Joseph Myers <joseph@codesourcery.com>
30233
30234 * sysdeps/generic/libm-alias-double.h: New file.
30235 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
30236 * sysdeps/generic/math-type-macros-double.h: Include
30237 <libm-alias-double.h>.
30238 [declare_mgen_alias] (declare_mgen_alias): Define to use
30239 libm_alias_double.
30240 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
30241 (M_LIBM_NEED_COMPAT): Remove macro.
30242 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
30243 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
30244 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
30245 code.
30246 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30247 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30248 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30249 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30250 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30251 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30252 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30253 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30254 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30255 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30256 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30257 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30258 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30259 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30260 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30261 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30262 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30263 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30264 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30265 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30266 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30267 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30268 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30269 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30270 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30271 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30272 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30273 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
30274 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
30275 macro.
30276 (declare_mgen_alias): New macro.
30277 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
30278 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
30279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
30280 (M_LIBM_NEED_COMPAT): Remove macro.
30281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
30282 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
30283 <first-versions.h>.
30284 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
30285 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
30286
30287 2017-09-12 Joseph Myers <joseph@codesourcery.com>
30288
30289 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
30290 (declare_mgen_alias_2): Remove.
30291 * sysdeps/generic/math-type-macros-double.h
30292 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
30293 Likewise.
30294 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
30295 alias.
30296 (ldexp): Define with declare_mgen_alias.
30297 (scalbn): Likewise.
30298
30299 2017-09-12 Steve Ellcey <sellcey@cavium.com>
30300
30301 * grp/initgroups.c: Include config.h.
30302 (DEFAULT_CONFIG): New macro.
30303 (internal_getgrouplist): Use DEFAULT_CONFIG.
30304 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30305 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
30306 (DEFAULT_DEFCONFIG): New macro.
30307 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
30308 * nss/grp-lookup.c: Include config.h
30309 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
30310 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
30311 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
30312 * manual/nss.texi: Update default values section.
30313
30314 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
30315
30316 [BZ #21967]
30317 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
30318 New.
30319 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
30320 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30321 Handle MathVec_Prefer_No_AVX512.
30322 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
30323 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
30324 is set.
30325
30326 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
30327
30328 * posix/sched_primax.c (__sched_get_priority_max): Add
30329 libc_hidden_def.
30330 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
30331 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
30332 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
30333 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
30334 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
30335 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
30336 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
30337 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
30338 Add aliases.
30339
30340 2017-09-11 Joseph Myers <joseph@codesourcery.com>
30341
30342 * sysdeps/generic/libm-alias-float.h: New file.
30343 * sysdeps/generic/math-type-macros-float.h: Include
30344 <libm-alias-float.h>.
30345 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
30346
30347 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
30348
30349 [BZ #22093]
30350 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
30351 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
30352 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
30353 (HWCAP_IMPORTANT): Likewise.
30354 (HWCAP_X86_64): New enum.
30355 (HWCAP_X86_AVX512_1): Updated.
30356 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
30357 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
30358 (modules-names): Add x86_64/tst-x86_64mod-1.
30359 (LDFLAGS-tst-x86_64mod-1.so): New.
30360 ($(objpfx)tst-x86_64-1): Likewise.
30361 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
30362 (tst-x86_64-1-clean): Likewise.
30363 * sysdeps/x86_64/tst-x86_64-1.c: New file.
30364 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
30365
30366 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
30367
30368 * po/sv.po: Update translations.
30369 * po/fr.po: Likewise.
30370
30371 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30372
30373 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
30374 seconds.
30375 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
30376 seconds.
30377 * elf/rtld-Rules: Fix $(error) use.
30378
30379 2017-09-09 Mike FABIAN <mfabian@redhat.com>
30380
30381 [BZ #14925]
30382 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
30383 * locale/iso-639.def: Change “Bengali” to “Bangla”.
30384 * localedata/locales/bn_BD: “Bengali” was still used in some
30385 comments. Change it to “Bangla”.
30386
30387 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
30388
30389 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
30390
30391 2017-09-08 Steve Ellcey <sellcey@cavium.com>
30392
30393 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
30394 thunderx2t99p1 to list of cpu names.
30395 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
30396 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
30397
30398 2017-09-08 Steve Ellcey <sellcey@cavium.com>
30399
30400 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
30401 Use strcmp instead of tunable_is_name.
30402
30403 2017-09-08 Joseph Myers <joseph@codesourcery.com>
30404
30405 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
30406 (F_GET_RW_HINT): New macro.
30407 [__USE_GNU] (F_SET_RW_HINT): Likewise.
30408 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
30409 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
30410 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
30411 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
30412 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
30413 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
30414 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
30415 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
30416
30417 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
30418 (F_ADD_SEALS): New macro.
30419 [__USE_GNU] (F_GET_SEALS): Likewise.
30420 [__USE_GNU] (F_SEAL_SEAL): Likewise.
30421 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
30422 [__USE_GNU] (F_SEAL_GROW): Likewise.
30423 [__USE_GNU] (F_SEAL_WRITE): Likewise.
30424
30425 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30426
30427 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
30428 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
30429 * posix/glob_internal.h (__glob_pattern_type):
30430 * posix/glob.c (glob):
30431 * posix/glob_pattern_p.c (__glob_pattern_p):
30432 Use them.
30433
30434 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
30435 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
30436 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
30437 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
30438 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
30439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
30440 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
30441 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
30442 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
30443 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30444 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
30445 * sysdeps/wordsize-64/glob.c: Likewise.
30446 * sysdeps/wordsize-64/glob64.c: Likewise.
30447 * sysdeps/wordsize-64/globfree.c: Likewise.
30448 * sysdeps/wordsize-64/globfree64.c: Likewise.
30449 * sysdeps/unix/sysv/linux/glob.c: New file.
30450 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
30451 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
30452 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
30453 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
30454 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
30455 adds !GLOB_NO_OLD_VERSION as an extra condition.
30456 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
30457 using relative path instead of absolute one.
30458 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
30459 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30460 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30461 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
30462 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
30463 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
30464
30465 [BZ #1062]
30466 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
30467 (glob): Use the same scratch buffer for both getlogin_r and
30468 getpwnam_r. Don’t require preallocation of the login name. This
30469 simplifies storage allocation, and corrects the handling of
30470 long login names.
30471
30472 [BZ #1062]
30473 * posix/glob.c (glob): Port recent patches to platforms
30474 lacking getpwnam_r.
30475 (glob): Fix longstanding misuse of errno after getpwnam_r, which
30476 returns an error number rather than setting errno.
30477
30478 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
30479 instead of GCC extension.
30480 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
30481 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
30482 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
30483
30484 [BZ #866]
30485 [BZ #1062]
30486 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
30487 * posix/bug-glob1.c: Remove file.
30488 * posix/tst-glob_symlinks.c: New file.
30489 * posix/glob.c (__lstat64): New macro.
30490 (is_dir): New function.
30491 (glob, glob_in_dir): Match symlinks even if they are dangling.
30492 (link_stat, link_exists_p): Remove. All uses removed.
30493
30494 [BZ #1062]
30495 [BZ #19971]
30496 * posix/glob.c (struct readdir_result): Remove skip_entry member.
30497 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
30498 All uses removed.
30499
30500 [BZ #1062]
30501 CVE-2017-15671
30502 * posix/Makefile (routines): Add globfree, globfree64, and
30503 glob_pattern_p.
30504 * posix/flexmember.h: New file.
30505 * posix/glob_internal.h: Likewise.
30506 * posix/glob_pattern_p.c: Likewise.
30507 * posix/globfree.c: Likewise.
30508 * posix/globfree64.c: Likewise.
30509 * sysdeps/gnu/globfree64.c: Likewise.
30510 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
30511 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
30512 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
30513 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
30514 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
30515 * sysdeps/wordsize-64/globfree.c: Likewise.
30516 * sysdeps/wordsize-64/globfree64.c: Likewise.
30517 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
30518 [NDEBUG): Remove comments.
30519 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
30520 (dirent_type): New type. Use uint_fast8_t not
30521 uint8_t, as C99 does not require uint8_t.
30522 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
30523 (struct readdir_result): Use dirent_type. Do not define skip_entry
30524 unless it is needed; this saves a byte on platforms lacking d_ino.
30525 (readdir_result_type, readdir_result_skip_entry):
30526 New functions, replacing ...
30527 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
30528 these functions, which were removed. This makes the callers
30529 easier to read. All callers changed.
30530 (D_INO_TO_RESULT): Now empty if there is no d_ino.
30531 (size_add_wrapv, glob_use_alloca): New static functions.
30532 (glob, glob_in_dir): Check for size_t overflow in several places,
30533 and fix some size_t checks that were not quite right.
30534 Remove old code using SHELL since Bash no longer
30535 uses this.
30536 (glob, prefix_array): Separate MS code better.
30537 (glob_in_dir): Remove old Amiga and VMS code.
30538 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
30539 separate files.
30540 (glob_in_dir): Do not rely on undefined behavior in accessing
30541 struct members beyond their bounds. Use a flexible array member
30542 instead
30543 (link_stat): Rename from link_exists2_p and return -1/0 instead of
30544 0/1. Caller changed.
30545 (glob): Fix memory leaks.
30546 * posix/glob64 (globfree64): Move to separate file.
30547 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
30548 (globfree64): Remove hidden alias.
30549 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
30550 oldglob.
30551 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
30552 separate file.
30553 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
30554 define.
30555 Move compat code to separate file.
30556 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
30557 separate file.
30558
30559 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
30560
30561 * resolv/tst-resolv-qtypes.c (domain): Changed to
30562 "const char domain[] =".
30563
30564 2017-09-07 Joseph Myers <joseph@codesourcery.com>
30565
30566 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
30567 version to 3.1.6.
30568
30569 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
30570 (TCP_MD5SIG_EXT): Likewise.
30571 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
30572 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
30573 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
30574
30575 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
30576
30577 2017-09-07 Mike FABIAN <mfabian@redhat.com>
30578
30579 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
30580
30581 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
30582
30583 [BZ #22100]
30584 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
30585
30586 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
30587
30588 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
30589 before assuming that the file is empty. Avoid testing buffer content
30590 when nread == 0.
30591
30592 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30593
30594 [BZ #18858]
30595 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
30596 Remove define.
30597 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
30598 Likewise.
30599 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
30600 Likewise.
30601 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
30602 Likewise.
30603 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
30604 Likewise.
30605 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
30606 Likewise.
30607 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
30608 Likewise.
30609
30610 2017-09-06 Florian Weimer <fweimer@redhat.com>
30611
30612 * malloc/dynarray_emplace_enlarge.c
30613 (__libc_dynarray_emplace_enlarge): Add missing else.
30614
30615 2017-09-06 Florian Weimer <fweimer@redhat.com>
30616
30617 [BZ #22096]
30618 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
30619 case of failure to obtain the global conf object.
30620
30621 2017-09-06 Florian Weimer <fweimer@redhat.com>
30622
30623 [BZ #22095]
30624 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
30625 dynarray allocation failure.
30626
30627 2017-09-06 Florian Weimer <fweimer@redhat.com>
30628
30629 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
30630 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
30631 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
30632 New functions.
30633 (response): Call them. Add 'p', '6' flag processing.
30634 (test_reverse): New function.
30635 (test_get2_any): Call it.
30636 (test_no_inet6): Add 'p' test.
30637 (test_inet6): Likewise.
30638
30639 2017-09-06 Florian Weimer <fweimer@redhat.com>
30640
30641 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
30642 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
30643 the QNAME.
30644 (test_gai): Adjust query names. Add additional tests.
30645 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
30646 test_get2. Adjust query names. Add additional tests.
30647 (test_no_inet6): New function, extracted from threadfunc.
30648 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
30649 Add additional tests.
30650
30651 2017-09-06 Mike FABIAN <mfabian@redhat.com>
30652
30653 [BZ #22070]
30654 * localedata/unicode-gen/utf8_gen.py: Set the width for
30655 characters with Prepended_Concatenation_Mark property to 1
30656 * localedata/charmaps/UTF-8: Updated using the improved script.
30657
30658 2017-09-06 Mike FABIAN <mfabian@redhat.com>
30659
30660 [BZ #21750]
30661 * localedata/unicode-gen/utf8_gen.py: Improve the script to
30662 use the range notation for all ranges of neighbouring characters
30663 with the same width.
30664
30665 2017-09-05 Joseph Myers <joseph@codesourcery.com>
30666
30667 * sysdeps/generic/math-type-macros-double.h: Include
30668 <math-svid-compat.h>.
30669 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30670 * sysdeps/generic/math-type-macros-float.h: Include
30671 <math-svid-compat.h>.
30672 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30673 * sysdeps/generic/math-type-macros-ldouble.h: Include
30674 <math-svid-compat.h>.
30675 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30676 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
30677 condition.
30678 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
30679 * math/w_acosf_compat.c: Likewise.
30680 * math/w_acosh_compat.c: Likewise.
30681 * math/w_acoshf_compat.c: Likewise.
30682 * math/w_acoshl_compat.c: Likewise.
30683 * math/w_acosl_compat.c: Likewise.
30684 * math/w_asin_compat.c: Likewise.
30685 * math/w_asinf_compat.c: Likewise.
30686 * math/w_asinl_compat.c: Likewise.
30687 * math/w_atan2_compat.c: Likewise.
30688 * math/w_atan2f_compat.c: Likewise.
30689 * math/w_atan2l_compat.c: Likewise.
30690 * math/w_atanh_compat.c: Likewise.
30691 * math/w_atanhf_compat.c: Likewise.
30692 * math/w_atanhl_compat.c: Likewise.
30693 * math/w_cosh_compat.c: Likewise.
30694 * math/w_coshf_compat.c: Likewise.
30695 * math/w_coshl_compat.c: Likewise.
30696 * math/w_exp10_compat.c: Likewise.
30697 * math/w_exp10f_compat.c: Likewise.
30698 * math/w_exp10l_compat.c: Likewise.
30699 * math/w_exp2_compat.c: Likewise.
30700 * math/w_exp2f_compat.c: Likewise.
30701 * math/w_exp2l_compat.c: Likewise.
30702 * math/w_fmod_compat.c: Likewise.
30703 * math/w_fmodf_compat.c: Likewise.
30704 * math/w_fmodl_compat.c: Likewise.
30705 * math/w_hypot_compat.c: Likewise.
30706 * math/w_hypotf_compat.c: Likewise.
30707 * math/w_hypotl_compat.c: Likewise.
30708 * math/w_j0_compat.c: Likewise.
30709 * math/w_j0f_compat.c: Likewise.
30710 * math/w_j0l_compat.c: Likewise.
30711 * math/w_j1_compat.c: Likewise.
30712 * math/w_j1f_compat.c: Likewise.
30713 * math/w_j1l_compat.c: Likewise.
30714 * math/w_jn_compat.c: Likewise.
30715 * math/w_jnf_compat.c: Likewise.
30716 * math/w_jnl_compat.c: Likewise.
30717 * math/w_lgamma_r_compat.c: Likewise.
30718 * math/w_lgammaf_r_compat.c: Likewise.
30719 * math/w_lgammal_r_compat.c: Likewise.
30720 * math/w_log10_compat.c: Likewise.
30721 * math/w_log10f_compat.c: Likewise.
30722 * math/w_log10l_compat.c: Likewise.
30723 * math/w_log2_compat.c: Likewise.
30724 * math/w_log2f_compat.c: Likewise.
30725 * math/w_log2l_compat.c: Likewise.
30726 * math/w_log_compat.c: Likewise.
30727 * math/w_logf_compat.c: Likewise.
30728 * math/w_logl_compat.c: Likewise.
30729 * math/w_pow_compat.c: Likewise.
30730 * math/w_powf_compat.c: Likewise.
30731 * math/w_powl_compat.c: Likewise.
30732 * math/w_remainder_compat.c: Likewise.
30733 * math/w_remainderf_compat.c: Likewise.
30734 * math/w_remainderl_compat.c: Likewise.
30735 * math/w_sinh_compat.c: Likewise.
30736 * math/w_sinhf_compat.c: Likewise.
30737 * math/w_sinhl_compat.c: Likewise.
30738 * math/w_sqrt_compat.c: Likewise.
30739 * math/w_sqrtf_compat.c: Likewise.
30740 * math/w_sqrtl_compat.c: Likewise.
30741 * math/w_tgamma_compat.c: Likewise.
30742 * math/w_tgammaf_compat.c: Likewise.
30743 * math/w_tgammal_compat.c: Likewise.
30744 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
30745 [LIBM_SVID_COMPAT].
30746 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
30747 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
30748 [LIBM_SVID_COMPAT].
30749 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
30750 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
30751 [LIBM_SVID_COMPAT].
30752 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
30753 * sysdeps/i386/fpu/w_sqrt.c: New file.
30754 * sysdeps/ia64/fpu/w_acos.c: Likewise.
30755 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
30756 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
30757 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
30758 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
30759 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
30760 * sysdeps/ia64/fpu/w_asin.c: Likewise.
30761 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
30762 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
30763 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
30764 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
30765 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
30766 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
30767 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
30768 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
30769 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
30770 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
30771 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
30772 * sysdeps/ia64/fpu/w_exp.c: Likewise.
30773 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
30774 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
30775 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
30776 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
30777 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
30778 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
30779 * sysdeps/ia64/fpu/w_expf.c: Likewise.
30780 * sysdeps/ia64/fpu/w_expl.c: Likewise.
30781 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
30782 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
30783 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
30784 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
30785 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
30786 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
30787 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
30788 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
30789 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
30790 * sysdeps/ia64/fpu/w_log.c: Likewise.
30791 * sysdeps/ia64/fpu/w_log10.c: Likewise.
30792 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
30793 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
30794 * sysdeps/ia64/fpu/w_log2.c: Likewise.
30795 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
30796 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
30797 * sysdeps/ia64/fpu/w_logf.c: Likewise.
30798 * sysdeps/ia64/fpu/w_logl.c: Likewise.
30799 * sysdeps/ia64/fpu/w_pow.c: Likewise.
30800 * sysdeps/ia64/fpu/w_powf.c: Likewise.
30801 * sysdeps/ia64/fpu/w_powl.c: Likewise.
30802 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
30803 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
30804 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
30805 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
30806 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
30807 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
30808 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
30809 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
30810 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
30811 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
30812 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
30813 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
30814 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
30815 [LIBM_SVID_COMPAT].
30816 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
30817 * sysdeps/ieee754/k_standard.c: Likewise.
30818 * sysdeps/ieee754/k_standardf.c: Likewise.
30819 * sysdeps/ieee754/k_standardl.c: Likewise.
30820 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
30821 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
30822 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
30823 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
30824 long_double_symbol call on [LIBM_SVID_COMPAT].
30825 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
30826 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
30827 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
30828 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
30829 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
30830 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
30831 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
30832 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
30833 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
30834 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
30835 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
30836 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
30837 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
30838 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
30839 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
30840 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
30841 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
30842 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
30843 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
30844 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
30845 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
30846 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
30847
30848 2017-09-05 Steve Ellcey <sellcey@cavium.com>
30849
30850 * include/shlib-compat.h (TEST_COMPAT): New Macro.
30851 * malloc/tst-mallocstate.c: Convert from test-skeleton
30852 to test-driver. Ifdef code using TEST_COMPAT macro.
30853 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
30854 * math/test-matherr.c: Likewise.
30855
30856 2017-09-05 Joseph Myers <joseph@codesourcery.com>
30857
30858 [BZ #22086]
30859 * debug/pcprofiledump.c (main): Use byte-swapped mask when
30860 comparing word with byte-swapped constant.
30861
30862 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
30863
30864 [BZ #20498]
30865 * locale/iso-639.def: add Miskito.
30866 * localedata/SUPPORTED: Add miq_NI/UTF-8.
30867 * localedata/locales/miq_NI: New file.
30868
30869 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
30870
30871 [BZ #18822]
30872 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
30873 (__mkdir): Likewise.
30874 * io/chmod.c (__chmod): Add libc_hidden_def.
30875 * io/mkdir.c (__mkdir): Likewise.
30876 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
30877 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
30878 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
30879 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
30880
30881 2017-09-04 Joseph Myers <joseph@codesourcery.com>
30882
30883 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
30884 version to 4.13.
30885
30886 [BZ #22082]
30887 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
30888 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
30889
30890 2017-09-04 Florian Weimer <fweimer@redhat.com>
30891
30892 * math/math.h: Issue warning if log is defined.
30893
30894 2017-09-04 Joseph Myers <joseph@codesourcery.com>
30895
30896 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
30897 kernel version to 4.13.
30898
30899 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
30900
30901 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
30902 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
30903 parameter.
30904 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
30905 just <bits/types.h>.
30906 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
30907 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
30908 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
30909 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
30910 * misc/preadv2.c: Include <errno.h>.
30911 * misc/preadv64v2.c: Include <errno.h>.
30912 * misc/pwritev2.c: Include <errno.h>.
30913 * misc/pwritev64v2.c: Include <errno.h>.
30914 * sysdeps/posix/preadv2.c: Include <errno.h>.
30915 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
30916 Fix <unistd.h> inclusion.
30917 * sysdeps/posix/pwritev2.c: Include <errno.h>.
30918 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
30919 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
30920 __strtoul_internal): New functions.
30921 * sysdeps/posix/pause.c: Include <sigsetops.h>.
30922 * sysdeps/posix/system.c: Include <sigsetops.h>.
30923 * sysdeps/mach/hurd/i386/Makefile
30924 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
30925 [$(subdir) = csu] (sysdep-only-routines): Likewise.
30926 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
30927 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
30928 __feraiseexcept_renamed to feraiseexcept instead of
30929 __GI_feraiseexcept.
30930 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
30931 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
30932 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
30933 RWF_NOWAIT): Define to 0 if undefined already.
30934 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
30935 boils down to 0.
30936 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
30937 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
30938
30939 2017-09-01 Joseph Myers <joseph@codesourcery.com>
30940
30941 * manual/math.texi (pow10): Do not document.
30942 (pow10f): Likewise.
30943 (pow10l): Likewise.
30944 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
30945 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
30946 * math/libm-test-exp10.inc (pow10_test): Remove.
30947 (do_test): Do not call pow10.
30948 * math/w_exp10_compat.c (pow10): Make into compat symbol.
30949 [NO_LONG_DOUBLE] (pow10l): Likewise.
30950 * math/w_exp10f_compat.c (pow10f): Likewise.
30951 * math/w_exp10l_compat.c (pow10l): Likewise.
30952 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
30953 (pow10): Make into compat symbol.
30954 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
30955 (pow10f): Make into compat symbol.
30956 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
30957 (pow10l): Make into compat symbol.
30958 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
30959 pow10.
30960 (CFLAGS-nldbl-pow10.c): Remove variable..
30961 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
30962 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
30963 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
30964 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
30965 Undefine and redefine.
30966 (pow10l): Make into compat symbol.
30967 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
30968 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
30969 * sysdeps/arm/libm-test-ulps: Likewise.
30970 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
30971 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
30972 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30973 * sysdeps/microblaze/libm-test-ulps: Likewise.
30974 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
30975 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30976 * sysdeps/nios2/libm-test-ulps: Likewise.
30977 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30978 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
30979 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30980 * sysdeps/sh/libm-test-ulps: Likewise.
30981 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30982 * sysdeps/tile/libm-test-ulps: Likewise.
30983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30984
30985 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
30986
30987 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
30988
30989 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30990
30991 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
30992 "../ChangeLog.old/ChangeLog.8".
30993 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
30994 "../ChangeLog.old/ChangeLog.14".
30995
30996 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30997
30998 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
30999 Threads Library.
31000
31001 2017-09-01 Joseph Myers <joseph@codesourcery.com>
31002
31003 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
31004
31005 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31006
31007 * csu/version.c (banner): Remove "by Roland McGrath et al.".
31008 * nptl/Banner: Remove "by Ulrich Drepper et al.".
31009
31010 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31011
31012 * stdlib/tst-atexit-common.c (do_test): Test support for at least
31013 32 atexit handlers.
31014
31015 2017-09-01 Zack Weinberg <zackw@panix.com>
31016
31017 * math/math.h (HUGE_VAL): Improve commentary.
31018
31019 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31020 Andreas Schwab <schwab@suse.de>
31021
31022 [BZ #21530]
31023 * include/stdio.h (__gen_tempfd): New function.
31024 * stdio-common/Makefile (routines): Add gentempfd.
31025 * stdio-common/gentempfd.c: New file.
31026 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
31027 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
31028 unnamed file first.
31029
31030 2017-09-01 Florian Weimer <fweimer@redhat.com>
31031
31032 [BZ #21915]
31033 [BZ #21922]
31034 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
31035 result to determine success or failure, not the errno value.
31036 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
31037 (tst-nss-files-hosts-erange): Link with -ldl.
31038 * nss/tst-nss-files-hosts-erange.c: New file.
31039 * nss/tst-resolv-basic.c (response): Handle nodata.example.
31040 (do_test): Add NO_DATA tests.
31041 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
31042 (do_test): Call it.
31043
31044 2017-09-01 Florian Weimer <fweimer@redhat.com>
31045
31046 [BZ #21922]
31047 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
31048 coming from gethostbyname2_r.
31049
31050 2017-09-01 Florian Weimer <fweimer@redhat.com>
31051
31052 * support/namespace.h (struct support_chroot_configuration): Add
31053 hosts, host_conf.
31054 (struct support_chroot): Add path_hosts, path_host_conf.
31055 * support/support_chroot.c (write_file): New function.
31056 (support_chroot_create): Call it to process /etc/resolv.conf,
31057 /etc/hosts, /etc/host.conf.
31058 (support_chroot_free): Update.
31059
31060 2017-09-01 Florian Weimer <fweimer@redhat.com>
31061
31062 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
31063 status indicates it is set.
31064
31065 2017-09-01 Florian Weimer <fweimer@redhat.com>
31066
31067 [BZ #20532]
31068 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
31069 function lookup failures more reliable.
31070
31071 2017-09-01 Florian Weimer <fweimer@redhat.com>
31072
31073 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
31074 (getcanonname): Likewise.
31075 (gaih_inet): Likewise.
31076
31077 2017-09-01 Florian Weimer <fweimer@redhat.com>
31078
31079 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
31080 (getcanonname): Likewise.
31081 (gaih_inet): Likewise.
31082
31083 2017-08-31 Steve Ellcey <sellcey@cavium.com>
31084 Richard Henderson <rth@twiddle.net>
31085
31086 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
31087 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
31088 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
31089 (IREG_SIZE, OREG_SIZE): New macros.
31090 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
31091 (IREG_SIZE, OREG_SIZE): New macros.
31092 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
31093 (IREG_SIZE): New macro.
31094 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
31095 (IREG_SIZE): New macro.
31096 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
31097 New includes.
31098 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
31099 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
31100 (__CONCATX): Handle exceptions correctly on large values that may
31101 set FE_INVALID.
31102 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
31103 Initialize if not already set.
31104 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
31105
31106 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31107
31108 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
31109 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
31110 Likewise.
31111 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
31112 Likewise.
31113 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
31114 Likewise.
31115 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
31116 Likewise.
31117 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
31118 Likewise.
31119 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
31120 Likewise.
31121 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
31122 Likewise.
31123 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
31124 (NO_CANCELLATION): Likewise.
31125 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
31126 Likewise.
31127 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
31128 Likewise.
31129 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
31130 Likewise.
31131 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
31132 (NO_CANCELLATION): Likewise.
31133 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
31134 (NO_CANCELLATION): Likewise.
31135 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
31136 Likewise
31137 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
31138 Likewise.
31139 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
31140 Likewise.
31141 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
31142 Likewise.
31143 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
31144 hidden prototype.
31145 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
31146 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
31147
31148 2017-08-31 Steve Ellcey <sellcey@cavium.com>
31149
31150 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
31151 in resolver call.
31152
31153 2017-08-31 Florian Weimer <fweimer@redhat.com>
31154
31155 * include/libc-symbols.h (internal_function): Remove.
31156
31157 2017-08-31 Florian Weimer <fweimer@redhat.com>
31158
31159 * stdlib/fmtmsg.c (internal_addseverity): Remove
31160 internal_function.
31161
31162 2017-08-31 Florian Weimer <fweimer@redhat.com>
31163
31164 * stdio-common/printf_fp.c (group_number): Remove
31165 internal_function.
31166 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
31167
31168 2017-08-31 Florian Weimer <fweimer@redhat.com>
31169
31170 * posix/fnmatch.c (internal_function): Remove definition.
31171 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
31172 * posix/regcomp.c (peek_token, init_word_char)
31173 (duplicate_node_closure, fetch_token, peek_token)
31174 (peek_token_bracket, build_range_exp, build_collating_symbol):
31175 Likewise.
31176 * posix/regex_internal.c (re_string_construct_common)
31177 (create_ci_newstate, create_cd_newstate, re_string_allocate)
31178 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
31179 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
31180 (re_string_translate_buffer, re_string_reconstruct)
31181 (re_string_peek_byte_case, re_string_fetch_byte_case)
31182 (re_string_destruct, re_string_context_at, re_node_set_alloc)
31183 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
31184 (re_node_set_add_intersect, re_node_set_init_union)
31185 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
31186 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
31187 (re_dfa_add_node, calc_state_hash, re_acquire_state)
31188 (re_acquire_state_context): Likewise.
31189 * posix/regex_internal.h (internal_function): Remove definition.
31190 (re_string_realloc_buffers, build_wcs_buffer)
31191 (build_wcs_upper_buffer, build_upper_buffer)
31192 (re_string_translate_buffer, re_string_context_at)
31193 (re_string_char_size_at, re_string_wchar_at)
31194 (re_string_elem_size_at): Likewise.
31195 * posix/regexec.c (match_ctx_init, match_ctx_clean)
31196 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
31197 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
31198 (re_search_internal, re_search_2_stub, re_search_stub)
31199 (re_copy_regs, prune_impossible_nodes, check_matching)
31200 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
31201 (free_fail_stack_return, sift_states_iter_mb)
31202 (sift_states_backward, build_sifted_states)
31203 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
31204 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
31205 (check_subexp_limits, sift_states_bkref, merge_state_array)
31206 (find_recover_state, transit_state, merge_state_with_log)
31207 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
31208 (transit_state_mb, transit_state_bkref, get_subexp)
31209 (get_subexp_sub, find_subexp_node, check_arrival)
31210 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
31211 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
31212 (check_node_accept_bytes, find_collation_sequence_value)
31213 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
31214 (acquire_init_state_context, check_halt_node_context)
31215 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
31216 (sub_epsilon_src_nodes): Likewise.
31217 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
31218 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
31219 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
31220 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
31221 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
31222 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
31223 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
31224 * sysdeps/posix/ttyname.c (getttyname): Likewise.
31225 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
31226 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
31227 (PREADV): Likewise.
31228 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
31229 (PREADV): Likewise.
31230 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
31231 (PWRITEV): Likewise.
31232 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
31233 (PWRITEV): Likewise.
31234 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
31235 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
31236
31237 2017-08-31 Florian Weimer <fweimer@redhat.com>
31238
31239 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
31240 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
31241 Remove internal_function.
31242 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
31243 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
31244 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
31245 (__deallocate_stack, __libc_pthread_init)
31246 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
31247 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
31248 (__libc_disable_asynccancel, __librt_disable_asynccancel):
31249 Likewise.
31250 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
31251 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
31252 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
31253 Likewise.
31254 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
31255 (__pthread_mutex_unlock_usercnt): Likewise.
31256
31257 2017-08-31 Florian Weimer <fweimer@redhat.com>
31258
31259 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
31260 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
31261 (fts_safe_changedir): Remove internal_function.
31262 * io/ftw.c (internal_function): Remove definition.
31263 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
31264
31265 2017-08-31 Florian Weimer <fweimer@redhat.com>
31266
31267 * inet/deadline.c (__deadline_current_time)
31268 (__deadline_from_timeval, __deadline_to_ms): Remove
31269 internal_function.
31270 * inet/getnameinfo.c (nrl_domainname): Likewise.
31271 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
31272 * inet/inet6_option.c (add_pad): Likewise.
31273 * inet/net-internal.h (__deadline_current_time)
31274 (__deadline_from_timeval, __deadline_to_ms): Likewise.
31275 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
31276 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
31277 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
31278
31279 2017-08-31 Joseph Myers <joseph@codesourcery.com>
31280
31281 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
31282 include <bits/nan.h>.
31283 * math/Makefile (headers): Remove bits/nan.h.
31284 * bits/nan.h: Remove.
31285 * sysdeps/ieee754/bits/nan.h: Likewise.
31286 * sysdeps/mips/bits/nan.h: Likewise.
31287
31288 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
31289 not include <bits/inf.h>.
31290 * math/Makefile (headers): Remove bits/inf.h.
31291 * bits/inf.h: Remove.
31292 * sysdeps/ieee754/bits/inf.h: Likewise.
31293
31294 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
31295 bits/huge_vall.h or bits/huge_val_flt128.h.
31296 (HUGE_VAL): Define directly here.
31297 [__USE_ISOC99] (HUGE_VALF): Likewise.
31298 [__USE_ISOC99] (HUGE_VALL): Likewise.
31299 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31300 (HUGE_VAL_F128): Likewise.
31301 * math/Makefile (headers): Remove bits/huge_val.h,
31302 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
31303 * bits/huge_val.h: Remove.
31304 * bits/huge_val_flt128.h: Likewise.
31305 * bits/huge_valf.h: Likewise.
31306 * bits/huge_vall.h: Likewise.
31307 * sysdeps/ia64/bits/huge_vall.h: Likewise.
31308 * sysdeps/ieee754/bits/huge_val.h: Likewise.
31309 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
31310 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
31311 * sysdeps/sh/bits/huge_val.h: Likewise.
31312 * sysdeps/sparc/bits/huge_vall.h: Likewise.
31313 * sysdeps/x86/bits/huge_vall.h: Likewise.
31314
31315 2017-08-31 Florian Weimer <fweimer@redhat.com>
31316
31317 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
31318 internal_function.
31319 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
31320 Likewise.
31321 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
31322 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
31323 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
31324 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
31325 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31326 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
31327 * elf/dl-libc.c (dlerror_run): Likewise.
31328 * elf/dl-load.c (add_name_to_object, decompose_rpath)
31329 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
31330 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
31331 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
31332 Likewise.
31333 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
31334 (_dl_higher_prime_number, _dl_strtoul): Likewise.
31335 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
31336 * elf/dl-profile.c (_dl_start_profile): Likewise.
31337 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
31338 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
31339 Likewise.
31340 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
31341 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
31342 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
31343 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
31344 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
31345 (_dl_allocate_tls_storage): Likewise.
31346 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
31347 (_dl_check_all_versions): Likewise.
31348 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
31349 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
31350 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
31351 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31352 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
31353 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
31354 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
31355 internal_function from __dl_start.
31356 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
31357 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
31358 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
31359 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
31360 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
31361 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
31362 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
31363 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
31364 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
31365 (_dl_next_ld_env_entry, _dl_important_hwcaps)
31366 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
31367 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
31368 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
31369 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
31370 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
31371 Likewise.
31372 (struct rtld_global_ro): Remove internal_function from the
31373 _dl_lookup_symbol_x member.
31374 (_dl_symbol_value): Remove. No longer defined anywhere.
31375 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
31376 internal_function.
31377 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31378 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
31379 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
31380 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
31381 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
31382 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
31383 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
31384 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
31385 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
31386 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
31387 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31388 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
31389
31390 2017-08-31 Florian Weimer <fweimer@redhat.com>
31391
31392 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
31393 Remove internal_function.
31394 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
31395 Likewise.
31396 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
31397 Likewise.
31398
31399 2017-08-31 Florian Weimer <fweimer@redhat.com>
31400
31401 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
31402 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
31403 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
31404
31405 2017-08-31 Florian Weimer <fweimer@redhat.com>
31406
31407 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
31408 (__gai_enqueue_request): Remove internal_function.
31409 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
31410 (__gai_remove_request, __gai_notify, __gai_notify_only)
31411 (__gai_sigqueue): Likewise.
31412 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
31413 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
31414 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
31415 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
31416 Likewise.
31417
31418 2017-08-31 Florian Weimer <fweimer@redhat.com>
31419
31420 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
31421 * include/dirent.h (__opendirat, __getdents, __getdents64)
31422 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
31423 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
31424 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31425 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
31426 Likewise.
31427 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
31428
31429 2017-08-31 Florian Weimer <fweimer@redhat.com>
31430
31431 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
31432 internal_function.
31433 (GETCWD_RETURN_TYPE): Likewise.
31434
31435 2017-08-31 Florian Weimer <fweimer@redhat.com>
31436
31437 * include/time.h (__tz_compute, __strptime_internal): Remove
31438 internal_function.
31439 * time/strptime_l.c (__strptime_internal): Likewise.
31440 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
31441
31442 2017-08-31 Florian Weimer <fweimer@redhat.com>
31443
31444 * iconv/gconv.c (__gconv): Remove internal_function.
31445 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
31446 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
31447 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
31448 (__gconv_release_cache): Likewise.
31449 * iconv/gconv_close.c (__gconv_close): Likewise.
31450 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
31451 (read_conf_file, __gconv_get_path): Likewise.
31452 * iconv/gconv_db.c (derivation_lookup, add_derivation)
31453 (__gconv_release_step, gen_steps, increment_counter)
31454 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
31455 (__gconv_close_transform, free_modules_db): Likewise.
31456 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
31457 Likewise.
31458 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
31459 (__gconv_find_transform, __gconv_lookup_cache)
31460 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
31461 (__gconv_close_transform, __gconv_release_cache)
31462 (__gconv_loaded_object, __gconv_release_shlib)
31463 (__gconv_compare_alias): Likewise.
31464 * iconv/gconv_open.c (__gconv_open): Likewise.
31465 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
31466 * iconv/iconvconfig.c (add_module): Likewise.
31467 * intl/dcigettext.c (plural_lookup, guess_category_value)
31468 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
31469 * intl/eval-plural.h (plural_eval): Likewise.
31470 * intl/finddomain.c (_nl_find_domain): Likewise.
31471 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
31472 (_nl_load_domain, _nl_find_msg): Likewise.
31473 (internal_function): Remove definition.
31474 * intl/loadinfo.h (internal_function): Likewise.
31475 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
31476 internal_function.
31477 * intl/localealias.c (internal_function): Remove definition.
31478 (read_alias_file): Remove internal_function.
31479 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
31480 * intl/plural-exp.h (internal_function): Remove definition.
31481 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
31482 internal_function.
31483 * intl/plural.c: Regenerate.
31484 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
31485 * locale/coll-lookup.c (__collidx_table_lookup)
31486 (__collseq_table_lookup): Likewise.
31487 * locale/coll-lookup.h (__collidx_table_lookup)
31488 (__collseq_table_lookup): Likewise.
31489 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
31490 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31491 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
31492 (_nl_unload_locale): Likewise.
31493 * locale/localeinfo.h (struct __locale_data): Remove
31494 internal_function from cleanup member.
31495 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
31496 (_nl_remove_locale, _nl_load_locale_from_archive)
31497 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
31498 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
31499 (_nl_cleanup_time): Remove internal_function.
31500 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
31501 (_nl_parse_alt_digit): Likewise.
31502 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
31503 (_nl_select_era_entry): Likewise.
31504 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
31505 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
31506 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
31507 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
31508 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
31509
31510 2017-08-31 Florian Weimer <fweimer@redhat.com>
31511
31512 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
31513 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
31514 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
31515 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
31516 Likewise.
31517 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
31518 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
31519 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
31520 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
31521 Likewise.
31522 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
31523
31524 2017-08-31 Florian Weimer <fweimer@redhat.com>
31525
31526 * misc/getttyent.c (skip, value): Remove internal_function.
31527 * misc/syslog.c (openlog_internal): Likewise.
31528 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
31529
31530 2017-08-31 Florian Weimer <fweimer@redhat.com>
31531
31532 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
31533 (__nss_rewrite_field): Remove internal_function.
31534 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31535 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
31536 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
31537 * nss/nsswitch.c (nss_parse_file, nss_getline)
31538 (nss_parse_service_list, nss_new_service): Likewise.
31539 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
31540 * nss/valid_field.c (__nss_valid_field): Likewise.
31541 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
31542
31543 2017-08-31 Florian Weimer <fweimer@redhat.com>
31544
31545 * malloc/arena.c (__malloc_fork_lock_parent)
31546 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
31547 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
31548 internal_function from defintions.
31549 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
31550 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
31551 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
31552 internal_function from declarations.
31553 * malloc/malloc.c (internal_function): Do not define.
31554 (mem2mem_check): Remove internal_function from declaration.
31555 (munmap_chunk, mremap_chunk): Remove internal_function.
31556 * malloc/mtrace.c (tr_where): Likewise.
31557
31558 2017-08-31 Florian Weimer <fweimer@redhat.com>
31559
31560 * include/rpc/pmap_clnt.h (__get_socket): Remove
31561 internal_function.
31562 * sunrpc/auth_des.c (synchronize): Likewise.
31563 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
31564 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
31565 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
31566 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
31567 (key_call): Likewise.
31568 * sunrpc/pm_getport.c (__get_socket): Likewise.
31569 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
31570 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
31571 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
31572 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
31573 (invalidate): Likewise.
31574 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
31575 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
31576 (set_input_fragment, get_input_bytes): Likewise.
31577
31578 2017-08-31 Florian Weimer <fweimer@redhat.com>
31579
31580 * malloc/malloc.c (_int_free): Remove locked variable and related
31581 asserts.
31582
31583 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
31584
31585 [BZ #22051]
31586 * Makerules (build-module-helper-objlist): Filter out
31587 $(elf-objpfx)sofini.os.
31588 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
31589 needed.
31590
31591 2017-08-31 Florian Weimer <fweimer@redhat.com>
31592
31593 * libio/fcloseall.c: Assume weak_alias is defined.
31594 * libio/feof.c: Likewise.
31595 * libio/fileno.c: Likewise.
31596 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
31597 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
31598 definitions.
31599 (_IO_file_open): Call __open directly.
31600 (_IO_new_file_sync): Assume ESPIPE is defined.
31601 (_IO_file_seekoff_maybe_mmap): Call __read directly.
31602 (_IO_new_file_write): Call __write directly.
31603 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
31604 * libio/ftello64.c (__ftello64): Assume EIO is defined.
31605 * libio/genops.c: Assume _LIBC is defined.
31606 (save_for_backup): Remove internal_function.
31607 * libio/getc.c: Assume weak_alias is defined.
31608 * libio/getwc.c: Likewise.
31609 * libio/iofclose.c: Assume _LIBC is defined.
31610 * libio/iofdopen.c: Likewise.
31611 (_IO_fcntl): Remove macro definition.
31612 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
31613 Call __fcntl directly.
31614 * libio/iofflush.c: Assume weak_alias is defined.
31615 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
31616 defined.
31617 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
31618 * libio/iofgets.c: Likewise.
31619 * libio/iofopen.c: Assume _LIBC is defined.
31620 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
31621 * libio/iofputs.c: Assume weak_alias is defined.
31622 * libio/iofread.c: Likewise.
31623 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
31624 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
31625 * libio/ioftell.c: Assume weak_alias is defined.
31626 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
31627 * libio/iofwide.c: Assume _LIBC is defined.
31628 (_IO_fwide): Drop SHARED conditional because it is implied by
31629 SHLIB_COMPAT.
31630 * libio/iofwrite.c: Assume weak_alias is defined.
31631 * libio/iogetdelim.c: Likewise.
31632 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
31633 * libio/iogetwline.c (wmemcpy): Remove macro definition.
31634 (_IO_getwline): Call __wmemcpy directly.
31635 * libio/iopopen.c: Assume _LIBC is defined.
31636 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
31637 (_IO_close): Remove macro definitions.
31638 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
31639 _exit directly.
31640 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
31641 directly.
31642 * libio/ioputs.c: Assume weak_alias is defined.
31643 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
31644 * libio/iosetbuffer.c: Assume weak_alias is defined.
31645 * libio/iosetvbuf.c: Likewise.
31646 * libio/ioungetc.c: Likewise.
31647 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
31648 libc_hidden_def, libc_hidden_weak, NULL are defined.
31649 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
31650 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
31651 defined.
31652 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
31653 definitions.
31654 (_IO_old_file_init_internal): Drop SHARED conditional because it
31655 is implied by SHLIB_COMPAT.
31656 (_IO_old_file_fopen): Call __open directly.
31657 (_IO_old_file_sync): Assume ESPIPE is defined.
31658 (_IO_old_file_write): Call __write directly.
31659 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
31660 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
31661 Call __fcntl directly.
31662 * libio/oldiofgetpos.c: Assume weak_alias is defined.
31663 (_IO_old_fgetpos): Assume EIO is defined.
31664 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
31665 (_IO_old_fgetpos64): Assume EIO is defined.
31666 * libio/oldiofsetpos.c: Assume weak_alias is defined.
31667 (_IO_old_fsetpos): Assume EIO is defined.
31668 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
31669 (_IO_old_fsetpos64): Assume EIO is defined.
31670 * libio/oldiopopen.c: Assume _LIBC is defined.
31671 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
31672 (_IO_close): Remove macro definitions.
31673 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
31674 directly.
31675 (_IO_old_proc_close): Call __close, __waitpid directly.
31676 * libio/put.c: Assume weak_alias is defined.
31677 * libio/stdfiles.c: Assume _LIBC is defined.
31678 * libio/stdio.c: Likewise.
31679 * libio/wfileops.c: Likewise.
31680 (_IO_wfile_sync): Assume ESPIPE is defined.
31681 * libio/wgenops.c: Assume _LIBC is defined.
31682 (save_for_wbackup): Remove internal_function.
31683
31684 2017-08-31 Florian Weimer <fweimer@redhat.com>
31685
31686 * malloc/malloc.c (top_check): Change return type to void. Remove
31687 internal_function.
31688 * malloc/hooks.c (top_check): Likewise.
31689 (malloc_check, realloc_check, memalign_check): Adjust.
31690
31691 2017-08-30 Joseph Myers <joseph@codesourcery.com>
31692
31693 [BZ #21457]
31694 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
31695 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
31696 sigcontext and namespace requirements.
31697 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
31698 * sysdeps/m68k/sys/ucontext.h: Likewise.
31699 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
31700 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
31701 <bits/sigcontext.h>.
31702 (__ctx): Define earlier.
31703 (mcontext_t): Define structure contents rather than using struct
31704 sigcontext.
31705 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
31706 __glibc_reserved1 instead of __reserved.
31707 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
31708 <bits/sigcontext.h>.
31709 (__ctx): Define earlier.
31710 (mcontext_t): Define structure contents rather than using struct
31711 sigcontext.
31712 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
31713 mcontext_t instead of struct sigcontext.
31714 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
31715 <bits/sigcontext.h>.
31716 (__ctx): Define earlier.
31717 (mcontext_t): Define structure contents rather than using struct
31718 sigcontext.
31719 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
31720 <bits/sigcontext.h>.
31721 (__ctx): Define earlier.
31722 (mcontext_t): Define structure contents rather than using struct
31723 sigcontext.
31724 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
31725 mcontext_t instead of struct sigcontext.
31726 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
31727 mcontext_t instead of struct sigcontext.
31728 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
31729 <bits/sigcontext.h>.
31730 (__ctx): New macro.
31731 (struct __ia64_fpreg_mcontext): New type.
31732 (mcontext_t): Define structure contents rather than using struct
31733 sigcontext.
31734 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
31735 (uc_sigmask): Define using __ctx.
31736 (uc_stack): Likewise.
31737 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
31738 <bits/sigcontext.h>.
31739 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31740 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
31741 <bits/sigcontext.h>.
31742 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
31743 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
31744 <bits/sigcontext.h>.
31745 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
31746 <bits/sigcontext.h>.
31747 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
31748 <bits/sigcontext.h>.
31749 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
31750 <bits/sigcontext.h>.
31751 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
31752 <bits/sigcontext.h>.
31753 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
31754 <bits/sigcontext.h>.
31755 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
31756 <bits/sigcontext.h>.
31757 (__ctx): Define earlier.
31758 (mcontext_t): Define structure contents rather than using struct
31759 sigcontext.
31760 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
31761 <bits/sigcontext.h>. Include <bits/types.h>.
31762 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
31763 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
31764 (test-xfail-XPG42/ucontext.h/conform): Likewise.
31765 (test-xfail-UNIX98/signal.h/conform): Likewise.
31766 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
31767 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
31768 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
31769 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
31770 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
31771 (test-xfail-POSIX2008/signal.h/conform): Likewise.
31772 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
31773 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
31774 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
31775
31776 2017-08-30 Florian Weimer <fweimer@redhat.com>
31777
31778 * malloc/dynarray_emplace_enlarge.c
31779 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
31780 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
31781 * malloc/tst-dynarray.c (test_long_overflow): New function.
31782 (do_test): Call it.
31783
31784 2017-08-30 Florian Weimer <fweimer@redhat.com>
31785
31786 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
31787 (set_arena_corrupt): Remove definitions.
31788 (mtrim): Do not check for corrupt arena.
31789 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
31790 Likewise.
31791
31792 2017-08-30 Florian Weimer <fweimer@redhat.com>
31793
31794 [BZ #21754]
31795 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
31796 check_action.
31797 (ptmalloc_init): Do not set or use check_action.
31798 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
31799 call to malloc_printerr. Remove return statement.
31800 (free_check): Likewise. Remove arena unlock.
31801 (top_check): Update comment. Adjust call to malloc_printerr.
31802 Remove heap repair code.
31803 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
31804 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
31805 (sysmalloc): Adjust call to malloc_printerr.
31806 (munmap_chunk, __libc_realloc): Likewise. Remove return
31807 statement.
31808 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
31809 Remove errout label and corresponding gotos.
31810 (_int_free): Likewise. Remove arena unlock.
31811 (do_set_mallopt_check): Do not set check_action.
31812 (malloc_printerr): Adjust parameter list. Do not mark arena as
31813 corrupt.
31814 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
31815 comment.
31816 * manual/probes.texi (Memory Allocation Probes): Remove
31817 memory_mallopt_check_action.
31818
31819 2017-08-30 Steve Ellcey <sellcey@cavium.com>
31820
31821 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
31822 Use pointer to uint64_t instead of long int for sp.
31823
31824 2017-08-30 Florian Weimer <fweimer@redhat.com>
31825
31826 [BZ #21754]
31827 * malloc/malloc.c (malloc_printerr): Always terminate the process,
31828 without printing a backtrace. Do not leak any information in the
31829 error message.
31830 * manual/memory.texi (Heap Consistency Checking): Update.
31831 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
31832
31833 2017-08-30 Florian Weimer <fweimer@redhat.com>
31834
31835 Do not scale NPTL tests with available number of CPUs.
31836 * nptl/tst-cond16.c (count): Set to constant value of 8.
31837 * nptl/tst-cond18.c (count): Likewise.
31838
31839 2017-08-29 Joseph Myers <joseph@codesourcery.com>
31840
31841 [BZ #22035]
31842 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
31843 Define to take a second argument that is a macro that
31844 concatentates a suffix, not the suffix itself.
31845 (__CONCAT_d): New macro.
31846 (__CONCAT_f): Likewise.
31847 (__CONCAT_l): Likewise.
31848
31849 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
31850
31851 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
31852 by child.
31853
31854 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31855 Aurelien Jarno <aurelien@aurel32.net>
31856 Maciej W. Rozycki <macro@imgtec.com>
31857
31858 [BZ #21956]
31859 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
31860 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
31861 `mips16-syscall6' and `mips16-syscall7'.
31862 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
31863 (CFLAGS-mips16-syscall7.c): Remove.
31864 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
31865 Remove `__mips16_syscall5', `__mips16_syscall6' and
31866 `__mips16_syscall7'.
31867 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
31868 (__mips16_syscall0): Rename `__mips16_syscall_return' to
31869 `__mips_syscall_return'.
31870 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
31871 (__mips16_syscall1): Likewise.
31872 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
31873 (__mips16_syscall2): Likewise.
31874 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
31875 (__mips16_syscall3): Likewise.
31876 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
31877 (__mips16_syscall4): Likewise.
31878 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
31879 Remove.
31880 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
31881 Remove.
31882 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
31883 Remove.
31884 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
31885 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
31886 `__mips16_syscall5'. Remove prototype.
31887 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
31888 `__mips16_syscall6'. Remove prototype.
31889 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
31890 `__mips16_syscall7'. Remove prototype.
31891 (__nomips16, __mips16_syscall_return): Move to...
31892 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
31893 (__nomips16, __mips_syscall_return): ... here.
31894 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
31895 `__mips16_syscall_return' to `__mips_syscall_return'.
31896 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
31897 `internal_syscall##nr'.
31898 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
31899 `internal_syscall##nr'.
31900 (FORCE_FRAME_POINTER): Remove.
31901 (__mips_syscall5): New prototype.
31902 (internal_syscall5): Rewrite to call `__mips_syscall5'.
31903 (__mips_syscall6): New prototype.
31904 (internal_syscall6): Rewrite to call `__mips_syscall6'.
31905 (__mips_syscall7): New prototype.
31906 (internal_syscall7): Rewrite to call `__mips_syscall7'.
31907 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
31908 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
31909 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
31910 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
31911 (sysdep_routines): Add libc-do-syscall.
31912 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
31913 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
31914
31915 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31916
31917 [BZ #21672]
31918 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
31919 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
31920 (advise_stack_range): New function.
31921 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
31922 stack non required to advise_stack_range at allocatestack.c
31923
31924 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
31925
31926 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
31927
31928 2017-08-29 Florian Weimer <fweimer@redhat.com>
31929
31930 [BZ #22026]
31931 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
31932 __end_fct. Mangle __end_fct after setting it to NULL.
31933 * iconv/Makefile (tests): Add tst-gconv-init-failure.
31934 (modules-names, modules-names-tests): Add
31935 tst-gconv-init-failure-mod.
31936 (gconv-modules): New target.
31937 (tst-gconv-init-failure-mod.so): Link against libsupport.
31938 (tst-gconv-init-failure): Depend on gconv-modules,
31939 tst-gconv-init-failure-mod.so.
31940 * iconv/tst-gconv-init-failure-mod.c: New file.
31941 * iconv/tst-gconv-init-failure.c: Likewise.
31942 * iconv/test-gconv-modules: Likewise.
31943
31944 2017-08-29 Florian Weimer <fweimer@redhat.com>
31945
31946 [BZ #22025]
31947 * iconv/gconv_db.c (free_derivation): Remove redundant
31948 parentheses.
31949 (gen_steps): Unconditionally mangle __btowc_fct after
31950 initialization.
31951 (increment_counter): Likewise. Do not call init_fct for internal
31952 modules.
31953
31954 2017-08-29 Joseph Myers <joseph@codesourcery.com>
31955
31956 [BZ #22028]
31957 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
31958 (_MSUF_): Remove macro.
31959 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
31960 Likewise.
31961 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
31962 (__REDIRFROM_X): New macro.
31963 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
31964 Likewise.
31965 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
31966 (__REDIRTO_X): Likewise.
31967 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
31968 arguments.
31969 (__MATH_REDIRCALL_2): Likewise.
31970 (__MATH_REDIRCALL_INTERNAL): Likewise.
31971 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
31972 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
31973 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
31974 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
31975 * math/test-finite-macros.c: New file.
31976 * math/Makefile (tests): Add test-finite-macros.
31977 (CFLAGS-test-finite-macros.c): New variable.
31978
31979 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
31980 Jeff Law <law@redhat.com>
31981
31982 [BZ #22025]
31983 Mangle NULL pointers in iconv/gconv.
31984 * iconv/gconv_cache.c (find_module): Demangle init_fct before
31985 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
31986 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
31987 is non-NULL before demangling the end_fct. Check for NULL
31988 end_fct after demangling.
31989 (__gconv_release_step): Demangle the end_fct before checking
31990 it for NULL. Remove assert on __shlibc_handle != NULL.
31991 (gen_steps): Don't check btowc_fct for NULL before mangling.
31992 Demangle init_fct before checking for NULL.
31993 (increment_counter): Likewise.
31994 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
31995 end_fct for NULL before mangling.
31996 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
31997 for NULL.
31998
31999 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
32000
32001 [BZ #21971]
32002 * locale/iso-639.def: add Morisyen.
32003
32004 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32005
32006 [BZ #21930]
32007 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
32008 (iszero): New C++ implementation that does not use
32009 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
32010 signaling nans are enabled, since __builtin_types_compatible_p
32011 is a C-only feature.
32012 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
32013 defined, include ieee754_float128.h for access to the union and
32014 member ieee854_float128.ieee.
32015 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
32016 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
32017 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
32018 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
32019 options of test-math-zero on powerpc64le.
32020
32021 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
32022
32023 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
32024 Change double to float.
32025
32026 2017-08-28 Joseph Myers <joseph@codesourcery.com>
32027
32028 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
32029 unconditional.
32030 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
32031 conditional code; define contents only for [LIBM_SVID_COMPAT].
32032
32033 2017-08-28 Florian Weimer <fweimer@redhat.com>
32034
32035 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
32036 (abi-lp64_be-options): Remove.
32037 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
32038 (abi-hard-options): Likewise.
32039 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
32040 (abi-o32_hard-options, abi-o32_soft_2008-options)
32041 (abi-o32_hard_2008-options, abi-n32_soft-options)
32042 (abi-n32_hard-options, abi-n32_soft_2008-options)
32043 (abi-n32_hard_2008-options, abi-n64_soft-options)
32044 (abi-n64_hard-options, abi-n64_soft_2008-options)
32045 (abi-n64_hard_2008-options): Likewise.
32046 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
32047 (abi-64-v1-options, abi-64-v2-options): Likewise.
32048 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
32049 (abi-64-options): Likewise.
32050 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
32051 (abi-64-options): Likewise.
32052 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
32053 (abi-64-options): Likewise.
32054 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
32055 (abi-64-options, abi-x32-options): Likewise.
32056
32057 2017-08-28 Florian Weimer <fweimer@redhat.com>
32058
32059 Store supported list of SYS_* system calls in the source tree.
32060 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
32061 (bits/syscall.h): Generate from list file.
32062 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
32063 [$(subdir) = misc] (tests): Add tst-syscall-list.
32064 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
32065 [$(subdir) = misc] (tst-syscall-list-macros.list)
32066 [$(subdir) = misc] (tst-syscall-list-nr.list)
32067 (tst-syscall-list-sys.list): Helper targets for new
32068 tst-syscall-list test.
32069 [$(subdir) = misc] (tst-syscall-list.out): Run test script
32070 tst-syscall-list.sh.
32071 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
32072 target. Do not include bits/syscall.d.
32073 [$(subdir) = misc] (generated): Do not update.
32074 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
32075 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
32076 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
32077 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
32078
32079 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
32080
32081 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
32082 (tst-cxa_atexit, tst-on_exit): Likewise.
32083 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
32084 tst-cxa_atexit, and tst-on_exit.
32085 * stdlib/tst-atexit-common.c: New file.
32086 * stdlib/tst-atexit.c: New file.
32087 * stdlib/tst-at_quick_exit.c: New file.
32088 * stdlib/tst-cxa_atexit.c: New file.
32089 * stdlib/tst-on_exit.c: New file.
32090
32091 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
32092
32093 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
32094 * mach/stack_chk_fail_local.c: New file.
32095 * hurd/stack_chk_fail_local.c: New file.
32096 * mach/Machrules ($(interface-library)-routines): Add
32097 stack_chk_fail_local.
32098 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
32099 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
32100 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
32101 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
32102 * hurd/Makefile (CFLAGS-hurdstartup.o,
32103 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
32104
32105 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
32106
32107 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
32108 (index_cpu_*, index_arch_*): Removed.
32109
32110 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
32111
32112 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
32113 Use uint64_t instead of unsigned long.
32114
32115 2017-08-25 Joseph Myers <joseph@codesourcery.com>
32116
32117 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
32118 [__HAVE_DISTINCT_FLOAT128].
32119
32120 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
32121 of <bits/math-finite.h>.
32122 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
32123 inclusion of <bits/math-finite.h>.
32124 * math/bits/math-finite.h (__REDIRTO_X): Do not define
32125 conditionally on [__MATH_DECLARING_LDOUBLE && defined
32126 __NO_LONG_DOUBLE_MATH].
32127 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
32128 (__MATH_REDIRCALL_2): Likewise.
32129 (__MATH_REDIRCALL_INTERNAL): Likewise.
32130 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
32131 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
32132 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
32133
32134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
32135 Remove file.
32136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
32137 Likewise.
32138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
32139 Likewise.
32140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
32141 Likewise.
32142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
32143 Likewise.
32144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
32145 Likewise.
32146 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
32147 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
32148 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
32149 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
32150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
32151 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
32152 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
32153 w_sqrtf_compat-ppc32.
32154
32155 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32156
32157 * math/math.h [defined __cplusplus] (issignaling): In the long
32158 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
32159 is not defined. Call __issignaling, otherwise.
32160
32161 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32162
32163 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
32164 syscall definitions and replace __builtin_expect with __glibc_likely.
32165 * sysdeps/unix/syscall-template.S: Update comment about cancellable
32166 syscall.
32167 (SYSCALL_CANCELLABLE): Removedefinition
32168 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
32169 definition.
32170 (PSEUDO_END): Likewise.
32171 [IS_IN (libpthread)] (CENABLE): Likewise.
32172 [IS_IN (libpthread)] (CDISABLE): Likewise.
32173 [IS_IN (libc)] (CENABLE): Likewise.
32174 [IS_IN (libc)] (CENABLE): Likewise.
32175 [IS_IN (librt)] (CDISABLE): Likewise.
32176 [IS_IN (librt)] (CDISABLE): Likewise.
32177 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32178 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
32179 definition.
32180 (PSEUDO_END): Likewise.
32181 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
32182 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
32183 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
32184 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
32185 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
32186 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
32187 (CENABLE): Likewise.
32188 (CDISABLE): Likewise.
32189 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32190 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
32191 defintion.
32192 (PSEUDO_END): Likewise.
32193 [IS_IN (libpthread)] (CENABLE): Likewise.
32194 [IS_IN (libpthread)] (CDISABLE): Likewise.
32195 [IS_IN (libc)] (CENABLE): Likewise.
32196 [IS_IN (libc)] (CENABLE): Likewise.
32197 [IS_IN (librt)] (CDISABLE): Likewise.
32198 [IS_IN (librt)] (CDISABLE): Likewise.
32199 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32200 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
32201 definition.
32202 (PSEUDO_END): Likewise.
32203 [IS_IN (libpthread)] (CENABLE): Likewise.
32204 [IS_IN (libpthread)] (CDISABLE): Likewise.
32205 [IS_IN (libc)] (CENABLE): Likewise.
32206 [IS_IN (libc)] (CENABLE): Likewise.
32207 [IS_IN (librt)] (CDISABLE): Likewise.
32208 [IS_IN (librt)] (CDISABLE): Likewise.
32209 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32210 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
32211 definition.
32212 (PSEUDO_END): Likewise.
32213 [IS_IN (libpthread)] (CENABLE): Likewise.
32214 [IS_IN (libpthread)] (CDISABLE): Likewise.
32215 [IS_IN (libc)] (CENABLE): Likewise.
32216 [IS_IN (libc)] (CENABLE): Likewise.
32217 [IS_IN (librt)] (CDISABLE): Likewise.
32218 [IS_IN (librt)] (CDISABLE): Likewise.
32219 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32220 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
32221 definition.
32222 (PSEUDO_END): Likewise.
32223 [IS_IN (libpthread)] (CENABLE): Likewise.
32224 [IS_IN (libpthread)] (CDISABLE): Likewise.
32225 [IS_IN (libc)] (CENABLE): Likewise.
32226 [IS_IN (libc)] (CENABLE): Likewise.
32227 [IS_IN (librt)] (CDISABLE): Likewise.
32228 [IS_IN (librt)] (CDISABLE): Likewise.
32229 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32230 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
32231 definition.
32232 (PSEUDO_END): Likewise.
32233 [IS_IN (libpthread)] (CENABLE): Likewise.
32234 [IS_IN (libpthread)] (CDISABLE): Likewise.
32235 [IS_IN (libc)] (CENABLE): Likewise.
32236 [IS_IN (libc)] (CENABLE): Likewise.
32237 [IS_IN (librt)] (CDISABLE): Likewise.
32238 [IS_IN (librt)] (CDISABLE): Likewise.
32239 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32240 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
32241 definition.
32242 (PSEUDO_END): Likewise.
32243 [IS_IN (libpthread)] (CENABLE): Likewise.
32244 [IS_IN (libpthread)] (CDISABLE): Likewise.
32245 [IS_IN (libc)] (CENABLE): Likewise.
32246 [IS_IN (libc)] (CENABLE): Likewise.
32247 [IS_IN (librt)] (CDISABLE): Likewise.
32248 [IS_IN (librt)] (CDISABLE): Likewise.
32249 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32250 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
32251 Remove definition.
32252 (PSEUDO_END): Likewise.
32253 [IS_IN (libpthread)] (CENABLE): Likewise.
32254 [IS_IN (libpthread)] (CDISABLE): Likewise.
32255 [IS_IN (libc)] (CENABLE): Likewise.
32256 [IS_IN (libc)] (CENABLE): Likewise.
32257 [IS_IN (librt)] (CDISABLE): Likewise.
32258 [IS_IN (librt)] (CDISABLE): Likewise.
32259 (SINGLE_THREAD_P): Likewise.
32260 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
32261 definition.
32262 (PSEUDO_END): Likewise.
32263 [IS_IN (libpthread)] (CENABLE): Likewise.
32264 [IS_IN (libpthread)] (CDISABLE): Likewise.
32265 [IS_IN (libc)] (CENABLE): Likewise.
32266 [IS_IN (libc)] (CENABLE): Likewise.
32267 [IS_IN (librt)] (CDISABLE): Likewise.
32268 [IS_IN (librt)] (CDISABLE): Likewise.
32269 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32270 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
32271 definition.
32272 (PSEUDO_END): Likewise.
32273 [IS_IN (libpthread)] (CENABLE): Likewise.
32274 [IS_IN (libpthread)] (CDISABLE): Likewise.
32275 [IS_IN (libc)] (CENABLE): Likewise.
32276 [IS_IN (libc)] (CENABLE): Likewise.
32277 [IS_IN (librt)] (CDISABLE): Likewise.
32278 [IS_IN (librt)] (CDISABLE): Likewise.
32279 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32280 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
32281 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
32282 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
32283 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
32284 definition.
32285 (PSEUDO_END): Likewise.
32286 [IS_IN (libpthread)] (CENABLE): Likewise.
32287 [IS_IN (libpthread)] (CDISABLE): Likewise.
32288 [IS_IN (libc)] (CENABLE): Likewise.
32289 [IS_IN (libc)] (CENABLE): Likewise.
32290 [IS_IN (librt)] (CDISABLE): Likewise.
32291 [IS_IN (librt)] (CDISABLE): Likewise.
32292 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32293 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
32294 definition.
32295 (PSEUDO_END): Likewise.
32296 [IS_IN (libpthread)] (CENABLE): Likewise.
32297 [IS_IN (libpthread)] (CDISABLE): Likewise.
32298 [IS_IN (libc)] (CENABLE): Likewise.
32299 [IS_IN (libc)] (CENABLE): Likewise.
32300 [IS_IN (librt)] (CDISABLE): Likewise.
32301 [IS_IN (librt)] (CDISABLE): Likewise.
32302 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32303 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
32304 definition.
32305 (PSEUDO_END): Likewise.
32306 [IS_IN (libpthread)] (CENABLE): Likewise.
32307 [IS_IN (libpthread)] (CDISABLE): Likewise.
32308 [IS_IN (libc)] (CENABLE): Likewise.
32309 [IS_IN (libc)] (CENABLE): Likewise.
32310 [IS_IN (librt)] (CDISABLE): Likewise.
32311 [IS_IN (librt)] (CDISABLE): Likewise.
32312 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32313 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
32314 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32315 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
32316 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
32317 definition.
32318 (PSEUDO_END): Likewise.
32319 [IS_IN (libpthread)] (CENABLE): Likewise.
32320 [IS_IN (libpthread)] (CDISABLE): Likewise.
32321 [IS_IN (libc)] (CENABLE): Likewise.
32322 [IS_IN (libc)] (CENABLE): Likewise.
32323 [IS_IN (librt)] (CDISABLE): Likewise.
32324 [IS_IN (librt)] (CDISABLE): Likewise.
32325 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32326 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
32327 definition.
32328 (PSEUDO_END): Likewise.
32329 [IS_IN (libpthread)] (CENABLE): Likewise.
32330 [IS_IN (libpthread)] (CDISABLE): Likewise.
32331 [IS_IN (libc)] (CENABLE): Likewise.
32332 [IS_IN (libc)] (CENABLE): Likewise.
32333 [IS_IN (librt)] (CDISABLE): Likewise.
32334 [IS_IN (librt)] (CDISABLE): Likewise.
32335 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32336
32337 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
32338
32339 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
32340
32341 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32342
32343 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32344
32345 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32346
32347 [BZ #21982]
32348 * string/stratcliff.c (do_test): Declare size, nchars, inner,
32349 middle and outer with size_t instead of int. Repleace %d and
32350 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
32351 "MAX (outer, nchars - 64)" to support unsigned outer and
32352 nchars. Also exit loop when outer == 0.
32353
32354 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32355
32356 * include/fcntl.h (__fcntl_nocancel): Remove definition.
32357 * include/signal.h (__sigsuspend_nocancel): Likewise.
32358 * include/time.h (__nanosleep_nocancel): Likewise.
32359 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
32360 * login/utmp_file.c: Include non cancellable syscall header.
32361 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
32362 prototype.
32363
32364 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32365
32366 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
32367 .byte sequences with AVX512F instructions.
32368 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
32369 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
32370 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
32371 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
32372 Likewise.
32373 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
32374 Likewise.
32375
32376 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
32377 Steve Ellcey <sellcey@cavium.com>
32378
32379 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
32380 Use PTR_REG macro in cmp instruction.
32381
32382 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32383
32384 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
32385 Change the return type of the ifunc resolver to match the return
32386 type of the target function.
32387
32388 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32389
32390 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
32391 (preadv64): Likewise.
32392 (pwrite64(: Likewise.
32393 (pwritev64): Likewise.
32394
32395 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
32396 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
32397 (LOAD_ARGS_0): Likewise.
32398 (LOAD_ARGS_1): Likewise.
32399 (LOAD_ARGS_2): Likewise.
32400 (LOAD_ARGS_3): Likewise.
32401 (LOAD_ARGS_4): Likewise.
32402 (LOAD_ARGS_5): Likewise.
32403 (LOAD_ARGS_6): Likewise.
32404 (LOAD_REGS_0): Likewise.
32405 (LOAD_REGS_1): Likewise.
32406 (LOAD_REGS_2): Likewise.
32407 (LOAD_REGS_3): Likewise.
32408 (LOAD_REGS_4): Likewise.
32409 (LOAD_REGS_5): Likewise.
32410 (LOAD_REGS_6): Likewise.
32411 (ASM_ARGS_0): Likewise.
32412 (ASM_ARGS_1): Likewise.
32413 (ASM_ARGS_2): Likewise.
32414 (ASM_ARGS_3): Likewise.
32415 (ASM_ARGS_4): Likewise.
32416 (ASM_ARGS_5): Likewise.
32417 (ASM_ARGS_6): Likewise.
32418 (LOAD_ARGS_TYPES_1): Likewise.
32419 (LOAD_ARGS_TYPES_2): Likewise.
32420 (LOAD_ARGS_TYPES_3): Likewise.
32421 (LOAD_ARGS_TYPES_4): Likewise.
32422 (LOAD_ARGS_TYPES_5): Likewise.
32423 (LOAD_ARGS_TYPES_6): Likewise.
32424 (LOAD_REGS_TYPES_1): Likewise.
32425 (LOAD_REGS_TYPES_2): Likewise.
32426 (LOAD_REGS_TYPES_3): Likewise.
32427 (LOAD_REGS_TYPES_4): Likewise.
32428 (LOAD_REGS_TYPES_5): Likewise.
32429 (LOAD_REGS_TYPES_6): Likewise.
32430 (TYPEFY): New define.
32431 (ARGIFY): Likewise.
32432 (internal_syscall0): Likewise.
32433 (internal_syscall1): Likewise.
32434 (internal_syscall2): Likewise.
32435 (internal_syscall3): Likewise.
32436 (internal_syscall4): Likewise.
32437 (internal_syscall5): Likewise.
32438 (internal_syscall6): Likewise.
32439 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
32440 (INTERNAL_SYSCALL_NCS): Remove define.
32441 (internal_syscall1): Add define.
32442
32443 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32444
32445 * math/w_remainder_compat.c: Remove duplicate inclusion of
32446 math-svid-compat.h.
32447 * math/w_remainderf_compat.c: Likewise.
32448 * math/w_remainderl_compat.c: Likewise.
32449
32450 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32451
32452 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32453
32454 2017-08-22 Joseph Myers <joseph@codesourcery.com>
32455
32456 [BZ #21684]
32457 * math/tgmath.h (__floating_type): Simplify definitions.
32458 (__real_integer_type): New macro.
32459 (__complex_integer_type): Likewise.
32460 (__expr_is_real): Likewise.
32461 (__tgmath_real_type_sub): Update comment to describe handling of
32462 complex types.
32463 (__tgmath_complex_type_sub): New macro.
32464 (__tgmath_complex_type): Likewise.
32465 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32466 (__TGMATH_CF128): Use __expr_is_real.
32467 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
32468 __expr_is_real.
32469 (__TGMATH_BINARY_REAL_IMAG): Likewise.
32470 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
32471 * math/gen-tgmath-tests.py (Type.create_type): Create complex
32472 integer types.
32473
32474 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32475
32476 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
32477 macro.
32478 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
32479 alias.
32480 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
32481 Likewise.
32482
32483 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
32484 nanosleep_not_cancel with __nanosleep_nocancel.
32485 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
32486 (__nanosleep_nocancel): New macro.
32487 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
32488 function.
32489 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
32490 macro.
32491 (__nanosleep_nocancel): New prototype.
32492
32493 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
32494 pause_not_cancel with __pause_nocancel.
32495 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
32496 (__pause_nocancel): New macro.
32497 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
32498 macro.
32499 (__pause_nocancel): New prototype.
32500 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
32501
32502 2017-08-22 Martin Sebor <msebor@redhat.com>
32503
32504 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
32505 to return a pointer to the same type as the target function.
32506
32507 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
32508
32509 [BZ #18822]
32510 [BZ #21986]
32511 * include/printf.h (__printf_fphex): Add attribute_hidden.
32512 (__guess_grouping): New prototype.
32513 * stdio-common/printf_fp.c (__guess_grouping): Removed.
32514 * stdio-common/reg-printf.c (__register_printf_specifier): Add
32515 libc_hidden_proto and libc_hidden_def.
32516 * stdlib/strfmon_l.c (__guess_grouping): Removed.
32517 (__vstrfmon_l): Remove the third argument passed to
32518 __guess_grouping.
32519
32520 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32521
32522 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
32523 definition for issignaling that does not rely on __MATH_TG,
32524 since __MATH_TG uses __builtin_types_compatible_p, which is only
32525 available in C mode.
32526 (CFLAGS-test-math-issignaling.cc): New variable.
32527 * math/Makefile [CXX] (tests): Add test-math-issignaling.
32528 * math/test-math-issignaling.cc: New test for C++ implementation
32529 of type-generic issignaling.
32530 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
32531 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
32532 options of test-math-issignaling on powerpc64le.
32533
32534 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
32535
32536 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32537 building libc.a.
32538 (hidden_proto): Likewise.
32539 (hidden_tls_proto): Likewise.
32540 (__hidden_proto): Likewise.
32541
32542 2017-08-22 Florian Weimer <fweimer@redhat.com>
32543
32544 math: Statically link tests of internal functionality.
32545 * math/Makefile (tests): Remove atest-exp, atest-sincos,
32546 atest-exp2.
32547 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
32548 (gmp-objs): Remove assignment.
32549 (atest-exp, atest-sincos, atest-exp2): Remove targets.
32550
32551 2017-08-22 Joseph Myers <joseph@codesourcery.com>
32552
32553 [BZ #21987]
32554 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
32555 and copy to ...
32556 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
32557 ... here.
32558 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
32559 ... and here.
32560
32561 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
32562 variable definitions above inclusion of ../Rules.
32563
32564 2017-08-21 Joseph Myers <joseph@codesourcery.com>
32565
32566 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
32567 case calling __builtin_unreachable.
32568
32569 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32570
32571 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
32572 __waitpid_nocancel.
32573 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
32574 (__waitpid_nocancel): New macro.
32575 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
32576 macro.
32577 (__waitpid_nocancel): Replace macro with a function.
32578 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
32579 function.
32580
32581 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
32582 __fcntl_nocancel.
32583 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
32584 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
32585
32586 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
32587 __writev_nocancel_nostatus.
32588 (write_call_graph): Likewise.
32589 (write_bb_counts): Likewise.
32590 * resolv/herror.c (herror): Likewise.
32591 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
32592 macro.
32593 (__writev_nocancel_nostatus): New macro.
32594 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
32595 Remove macro.
32596 (__writev_nocancel_nostatus): New function.
32597
32598 2017-08-21 Joseph Myers <joseph@codesourcery.com>
32599
32600 Revert:
32601 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32602
32603 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32604 building libc.a.
32605 (hidden_proto): Likewise.
32606 (hidden_tls_proto): Likewise.
32607 (__hidden_proto): Likewise.
32608
32609 [BZ #21973]
32610 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
32611 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
32612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
32613 Likewise.
32614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
32615 Likewise.
32616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
32617 Likewise.
32618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
32619 Likewise.
32620 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
32621 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
32622 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
32623 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
32624 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
32625 GLIBC_2.0 sqrtl symbol.
32626
32627 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
32628 [__USE_MISC] (_LIB_VERSION): Likewise.
32629 [__USE_MISC] (struct exception): Likewise.
32630 [__USE_MISC] (matherr): Likewise.
32631 [__USE_MISC] (DOMAIN): Likewise.
32632 [__USE_MISC] (SING): Likewise.
32633 [__USE_MISC] (OVERFLOW): Likewise.
32634 [__USE_MISC] (UNDERFLOW): Likewise.
32635 [__USE_MISC] (TLOSS): Likewise.
32636 [__USE_MISC] (PLOSS): Likewise.
32637 [__USE_MISC] (HUGE): Likewise.
32638 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
32639 * math/math-svid-compat.h: New file.
32640 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
32641 and matherrl.
32642 * include/math.h [!_ISOMAC] (__matherr): Remove.
32643 * manual/arith.texi (FP Exceptions): Do not document matherr.
32644 * math/Makefile (tests): Change test-matherr to test-matherr-3.
32645 (tests-internal): New variable.
32646 (install-lib): Do not add libieee.a.
32647 (non-lib.a): Likewise.
32648 (extra-objs): Do not add libieee.a and ieee-math.o.
32649 (CPPFLAGS-s_lib_version.c): Remove variable.
32650 ($(objpfx)libieee.a): Remove rule.
32651 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
32652 * math/ieee-math.c: Remove.
32653 * math/libm-test-support.c (matherr): Remove.
32654 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
32655 and license notices. Include <math-svid-compat.h> and
32656 <shlib-compat.h>.
32657 (matherr): Undefine as macro. Use compat_symbol_reference.
32658 (_LIB_VERSION): Likewise.
32659 * math/test-matherr-2.c: New file.
32660 * math/test-matherr-3.c: Likewise.
32661 * sysdeps/generic/math_private.h (__kernel_standard): Remove
32662 declaration.
32663 (__kernel_standard_f): Likewise.
32664 (__kernel_standard_l): Likewise.
32665 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
32666 <math_private.h>. Include <math-svid-compat.h>.
32667 (_LIB_VERSION): Undefine as macro.
32668 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
32669 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
32670 [LIBM_SVID_COMPAT], use compat_symbol.
32671 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
32672 <math_private.h>. Include <math-svid-compat.h>.
32673 (matherr): Undefine as macro.
32674 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
32675 compat_symbol.
32676 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
32677 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
32678 compat_symbol_reference.
32679 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
32680 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
32681 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
32682 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
32683 (MATHERR_D): Remove declaration.
32684 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
32685 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
32686 [LIBM_BUILD] (pmatherrf): Likewise.
32687 [LIBM_BUILD] (pmatherr): Likewise.
32688 [LIBM_BUILD] (pmatherrl): Likewise.
32689 (DOMAIN): Likewise.
32690 (SING): Likewise.
32691 (OVERFLOW): Likewise.
32692 (UNDERFLOW): Likewise.
32693 (TLOSS): Likewise.
32694 (PLOSS): Likewise.
32695 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
32696 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
32697 compat_symbol.
32698 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
32699 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
32700 compat_symbol.
32701 * math/lgamma-compat.h: Include <math-svid-compat.h>.
32702 * math/w_acos_compat.c: Likewise.
32703 * math/w_acosf_compat.c: Likewise.
32704 * math/w_acosh_compat.c: Likewise.
32705 * math/w_acoshf_compat.c: Likewise.
32706 * math/w_acoshl_compat.c: Likewise.
32707 * math/w_acosl_compat.c: Likewise.
32708 * math/w_asin_compat.c: Likewise.
32709 * math/w_asinf_compat.c: Likewise.
32710 * math/w_asinl_compat.c: Likewise.
32711 * math/w_atan2_compat.c: Likewise.
32712 * math/w_atan2f_compat.c: Likewise.
32713 * math/w_atan2l_compat.c: Likewise.
32714 * math/w_atanh_compat.c: Likewise.
32715 * math/w_atanhf_compat.c: Likewise.
32716 * math/w_atanhl_compat.c: Likewise.
32717 * math/w_cosh_compat.c: Likewise.
32718 * math/w_coshf_compat.c: Likewise.
32719 * math/w_coshl_compat.c: Likewise.
32720 * math/w_exp10_compat.c: Likewise.
32721 * math/w_exp10f_compat.c: Likewise.
32722 * math/w_exp10l_compat.c: Likewise.
32723 * math/w_exp2_compat.c: Likewise.
32724 * math/w_exp2f_compat.c: Likewise.
32725 * math/w_exp2l_compat.c: Likewise.
32726 * math/w_fmod_compat.c: Likewise.
32727 * math/w_fmodf_compat.c: Likewise.
32728 * math/w_fmodl_compat.c: Likewise.
32729 * math/w_hypot_compat.c: Likewise.
32730 * math/w_hypotf_compat.c: Likewise.
32731 * math/w_hypotl_compat.c: Likewise.
32732 * math/w_j0_compat.c: Likewise.
32733 * math/w_j0f_compat.c: Likewise.
32734 * math/w_j0l_compat.c: Likewise.
32735 * math/w_j1_compat.c: Likewise.
32736 * math/w_j1f_compat.c: Likewise.
32737 * math/w_j1l_compat.c: Likewise.
32738 * math/w_jn_compat.c: Likewise.
32739 * math/w_jnf_compat.c: Likewise.
32740 * math/w_jnl_compat.c: Likewise.
32741 * math/w_lgamma_main.c: Likewise.
32742 * math/w_lgamma_r_compat.c: Likewise.
32743 * math/w_lgammaf_main.c: Likewise.
32744 * math/w_lgammaf_r_compat.c: Likewise.
32745 * math/w_lgammal_main.c: Likewise.
32746 * math/w_lgammal_r_compat.c: Likewise.
32747 * math/w_log10_compat.c: Likewise.
32748 * math/w_log10f_compat.c: Likewise.
32749 * math/w_log10l_compat.c: Likewise.
32750 * math/w_log2_compat.c: Likewise.
32751 * math/w_log2f_compat.c: Likewise.
32752 * math/w_log2l_compat.c: Likewise.
32753 * math/w_log_compat.c: Likewise.
32754 * math/w_logf_compat.c: Likewise.
32755 * math/w_logl_compat.c: Likewise.
32756 * math/w_pow_compat.c: Likewise.
32757 * math/w_powf_compat.c: Likewise.
32758 * math/w_powl_compat.c: Likewise.
32759 * math/w_remainder_compat.c: Likewise.
32760 * math/w_remainderf_compat.c: Likewise.
32761 * math/w_remainderl_compat.c: Likewise.
32762 * math/w_scalb_compat.c: Likewise.
32763 * math/w_scalbf_compat.c: Likewise.
32764 * math/w_scalbl_compat.c: Likewise.
32765 * math/w_sinh_compat.c: Likewise.
32766 * math/w_sinhf_compat.c: Likewise.
32767 * math/w_sinhl_compat.c: Likewise.
32768 * math/w_sqrt_compat.c: Likewise.
32769 * math/w_sqrtf_compat.c: Likewise.
32770 * math/w_sqrtl_compat.c: Likewise.
32771 * math/w_tgamma_compat.c: Likewise.
32772 * math/w_tgammaf_compat.c: Likewise.
32773 * math/w_tgammal_compat.c: Likewise.
32774 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
32775 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
32776 * sysdeps/ieee754/k_standard.c: Likewise.
32777 * sysdeps/ieee754/k_standardf.c: Likewise.
32778 * sysdeps/ieee754/k_standardl.c: Likewise.
32779 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
32780 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
32781 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
32782 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
32783 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
32784 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
32785 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
32786 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
32787 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
32788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
32789 Likewise.
32790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
32791 Likewise.
32792 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
32793 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
32794 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
32795 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
32796
32797 2017-08-21 Florian Weimer <fweimer@redhat.com>
32798
32799 [BZ #21864]
32800 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
32801 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
32802 Move before inclusion of ../Rules.
32803
32804 2017-08-21 Florian Weimer <fweimer@redhat.com>
32805
32806 [BZ #21972]
32807 * assert/assert.h (assert): Use static_cast (bool) for C++.
32808 Use the ternary operator in the warning branch for GNU C.
32809 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
32810 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
32811 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
32812 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
32813 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
32814
32815 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32816
32817 [BZ #18822]
32818 * sysdeps/unix/sysv/linux/x86_64/init-first.c
32819 (__syscall_clock_gettime): Add attribute_hidden.
32820 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
32821 (__start_context): Likewise.
32822
32823 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32824
32825 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32826 building libc.a.
32827 (hidden_proto): Likewise.
32828 (hidden_tls_proto): Likewise.
32829 (__hidden_proto): Likewise.
32830
32831 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32832
32833 * include/libc-symbols.h (attribute_hidden): Enable hidden
32834 visibility in libc.a compiled with PIE.
32835
32836 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32837
32838 [BZ #18822]
32839 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
32840 Add attribute_hidden.
32841
32842 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32843
32844 [BZ #21864]
32845 * Makerules (all-nonlib): Add $(others-extras).
32846 * catgets/Makefile (others-extras): New.
32847 * elf/Makefile (others-extras): Likewise.
32848 * nss/Makefile (others-extras): Likewise.
32849
32850 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32851
32852 [BZ #18822]
32853 * csu/libc-start.c (__libc_multiple_libcs): Removed.
32854 * elf/dl-open.c: Include <libc-internal.h>.
32855 (__libc_multiple_libcs): Removed.
32856 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
32857 <hp-timing.h>.
32858 * include/libc-internal.h (__libc_multiple_libcs): New.
32859 * misc/sbrk.c: Include <libc-internal.h>.
32860 (__libc_multiple_libcs): Removed.
32861
32862 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32863
32864 [BZ #18822]
32865 * grp/initgroups.c (__nss_group_database): Removed.
32866 (__nss_initgroups_database): Likewise.
32867 * nscd/gai.c (__nss_hosts_database): Likewise.
32868 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
32869 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
32870 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
32871 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
32872 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
32873 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
32874 attribute_hidden.
32875 * nss/nsswitch.c (__nss_database_custom): Define only if
32876 USE_NSCD is defined.
32877 (__nss_configure_lookup): Use __nss_database_custom only if
32878 USE_NSCD is defined.
32879 * nss/nsswitch.h (__nss_database_custom): Declare only if
32880 USE_NSCD is defined. Add attribute_hidden.
32881 (__nss_setent): Add attribute_hidden.
32882 (__nss_endent): Likewise.
32883 (__nss_getent_r): Likewise.
32884 (__nss_getent): Likewise.
32885 (DEFINE_DATABASE): Declare __nss_##arg##_database.
32886
32887 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32888
32889 [BZ #18822]
32890 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
32891 libc_hidden_proto and libc_hidden_def.
32892
32893 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32894
32895 [BZ #18822]
32896 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
32897 Add libc_hidden_proto.
32898 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
32899 Add libc_hidden_def.
32900
32901 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32902
32903 [BZ #21974]
32904 * gmon/Makefile (routines): Remove bb_init_func and
32905 bb_exit_func.
32906 (elide-routines.os): Removed.
32907 * gmon/bb_exit_func.c: Likewise.
32908 * gmon/bb_init_func.c: Likewise.
32909 * include/sys/gmon.h (__bb): Likewise.
32910 (__bb_init_func): Likewise.
32911 (__bb_exit_func): Likewise.
32912 * sysdeps/alpha/bb_init_func.S: Likewise.
32913
32914 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32915
32916 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
32917 * include/setjmp.h (____longjmp_chk): Here. Add
32918 attribute_hidden.
32919
32920 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
32921
32922 [BZ #18822]
32923 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
32924 attribute_hidden.
32925 (__strspn_sse2): Likewise.
32926
32927 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32928
32929 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
32930 (close_not_cancel_no_status): Likewise.
32931 (__close_nocancel): New macro.
32932 (__close_nocancel_nostatus): Likewise.
32933 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
32934 macro.
32935 (close_not_cancel): Likewise.
32936 (close_not_cancel_no_status): Likewise.
32937 (__close_nocancel): New prototype.
32938 (__close_nocancel_nostatus): New function.
32939 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
32940 * catgets/open_catalog.c (__open_catalog): Replace
32941 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
32942 * gmon/gmon.c (write_gmon): Likewise.
32943 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
32944 * intl/loadmsgcat.c (close): Likewise.
32945 * io/ftw.c (open_dir_stream): Likewise.
32946 (ftw_startup): Likewise.
32947 * libio/fileops.c (_IO_file_open): Likewise.
32948 (_IO_file_close_mmap): Likewise.
32949 (_IO_file_close): Likewise.
32950 * libio/iopopen.c (_IO_dup2): Likewise.
32951 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32952 * locale/loadlocale.c (_nl_load_locale): Likewise.
32953 * login/utmp_file.c (pututline_file): Likewise.
32954 (endutent_file): Likewise.
32955 * misc/daemon.c (daemon): Likewise.
32956 * nscd/nscd_getai.c (__nscd_getai): Likewise.
32957 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
32958 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
32959 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
32960 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32961 * nscd/nscd_helper.c (open_socket): Likewise.
32962 (__nscd_open_socket): Likewise.
32963 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
32964 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
32965 (__nscd_innetgr): Likewise.
32966 * nss/nss_db/db-open.c (internal_setent): Likewise.
32967 * resolv/res-close.c (__res_iclose): Likewise.
32968 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
32969 * sysdeps/posix/closedir.c (__closedir): Likewise.
32970 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
32971 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32972 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
32973 (opendir_tail): Likewise.
32974 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32975 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
32976 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
32977 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
32978 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32979 (gethostid): Likewise.
32980 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32981 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32982 Likewise.
32983 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32984 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
32985 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32986 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32987 Likewise.
32988 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
32989 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
32990 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32991 Likewise.
32992 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
32993 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32994 Likewise.
32995 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32996 Likewise.
32997 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
32998 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32999 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33000 __close_nocancel.
33001
33002 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
33003 (openat_not_cancel_3): Likewise.
33004 (openat64_not_cancel_3): Likewise).
33005 (openat_not_cancel_3): Likewise).
33006 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
33007 macro.
33008 (openat_not_cancel_3): Likewise.
33009 (openat64_not_cancel): Likewise.
33010 (openat64_not_cancel_3): Likewise.
33011 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
33012 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
33013 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
33014 __open{64}_nocancel.
33015 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
33016 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33017 * sysdeps/posix/opendir.c (__opendirat): Likewise.
33018
33019 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33020
33021 [BZ #18822]
33022 * include/argz.h (__argz_create_sep): New function prototype.
33023 (__argz_append): Likewise.
33024 (__argz_add): Likewise.
33025 (__argz_add_sep): Likewise.
33026 (__argz_delete): Likewise.
33027 (__argz_insert): Likewise.
33028 (__argz_replace): Likewise.
33029 * string/argz.h (__argz_create_sep): Removed.
33030 (__argz_append): Likewise.
33031 (__argz_add): Likewise.
33032 (__argz_add_sep): Likewise.
33033 (__argz_delete): Likewise.
33034 (__argz_insert): Likewise.
33035 (__argz_replace): Likewise.
33036
33037 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33038
33039 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
33040 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
33041 (GNU_PROPERTY_STACK_SIZE): Likewie.
33042 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
33043 (GNU_PROPERTY_LOPROC): Likewise.
33044 (GNU_PROPERTY_HIPROC): Likewise.
33045 (GNU_PROPERTY_LOUSER): Likewise.
33046 (GNU_PROPERTY_HIUSER): Likewise.
33047 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
33048 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
33049 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
33050 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
33051 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
33052 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
33053 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
33054 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
33055 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
33056 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
33057 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
33058 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
33059 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
33060 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
33061 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
33062 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
33063 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
33064 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
33065 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
33066 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
33067 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
33068 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
33069 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
33070
33071 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33072
33073 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
33074 in C++ mode.
33075
33076 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33077
33078 [BZ #21930]
33079 * math/math.h (isinf): Check if in C or C++ mode before using
33080 __builtin_types_compatible_p, since this is a C mode feature.
33081
33082 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33083
33084 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
33085 (__write_nocancel): New macro.
33086 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
33087 Rewrite as a function prototype.
33088 (write_not_cancel): Remove macro.
33089 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
33090 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
33091 (write_gmon): Likewise.
33092 * libio/fileops.c (_IO_new_file_write): Likewise.
33093 * login/utmp_file.c (pututline_file): Likewise.
33094 (updwtmp_file): Likewise.
33095 * stdio-common/psiginfo.c (psiginfo): Likewise.
33096 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33097 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33098 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33099 Likewise.
33100 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33101 Likewise.
33102
33103 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
33104 (__read_nocancel): New macro.
33105 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33106 __read_nocancel.
33107 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
33108 macro.
33109 (__read_nocancel): New prototype.
33110 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
33111 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
33112 with __read_nocancel.
33113 * intl/loadmsgcat.c (read): Likewise.
33114 * libio/fileops.c (_IO_file_read): Likewise.
33115 * locale/loadlocale.c (_nl_load_locale): Likewise.
33116 * login/utmp_file.c (getutent_r_file): Likewise.
33117 (internal_getut_r): Likewise.
33118 (getutline_r_file): Likewise.
33119 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
33120 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
33121 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33122 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33123 Likewise.
33124 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
33125 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33126 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33127 Likewise.
33128 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33129 Likewise.
33130 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33131 Likewise.
33132 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33133 Likewise.
33134 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33135
33136 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33137
33138 [BZ #21966]
33139 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
33140 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
33141 usable.
33142
33143 2017-08-17 DJ Delorie <dj@redhat.com>
33144
33145 * bug17079.c: Update to new test harness.
33146 * test-digits-dots.c: Likewise.
33147 * test-netdb.c: Likewise.
33148 * tst-field.c: Likewise.
33149 * tst-nss-getpwent.c: Likewise.
33150 * tst-nss-static.c: Likewise.
33151 * tst-nss-test1.c: Likewise.
33152 * tst-nss-test2.c: Likewise.
33153 * tst-nss-test3.c: Likewise.
33154 * tst-nss-test4.c: Likewise.
33155 * tst-nss-test5.c: Likewise.
33156
33157 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33158
33159 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
33160 (open_not_cancel_2): Likewise.
33161 (open_nocancel): New macro.
33162 (open64_nocancel): Likewise.
33163 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
33164 (open_not_cancel_2): Likewise.
33165 (__open_nocancel): New prototype.
33166 (__open64_nocancel): Likewise.
33167 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33168 __open_nocancel.
33169 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
33170 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
33171 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
33172 with __open_nocancel.
33173 * csu/check_fds.c (check_one_fd): Likewise.
33174 * gmon/gmon.c (write_gmon): Likewise.
33175 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
33176 * intl/loadmsgcat.c (open): Likewise.
33177 * libio/fileops.c (_IO_file_open): Likewise.
33178 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33179 * locale/loadlocale.c (_nl_load_locale): Likewise.
33180 * login/utmp_file.c (setutent_file): Likewise.
33181 * misc/daemon.c (daemon): Likewise.
33182 * nss/nss_db/db-open.c (internal_setent): Likewise.
33183 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
33184 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
33185 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
33186 (__opendir): Likewise.
33187 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33188 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
33189 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33190 (gethostid): Likewise.
33191 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33192 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33193 Likewise.
33194 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
33195 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
33196 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33197 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33198 Likewise.
33199 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33200 Likewise.
33201 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33202 Likewise.
33203 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
33204 Likewise.
33205 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33206 Likewise.
33207 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33208 Likewise.
33209 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
33210 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33211
33212 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
33213
33214 * benchtests/bench-skeleton.c (main): Add support for
33215 latency benchmarking.
33216 * benchtests/scripts/bench.py: Add support for latency benchmarking.
33217
33218 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
33219
33220 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
33221 the startup object.
33222
33223 2017-08-17 Florian Weimer <fweimer@redhat.com>
33224
33225 * include/sys/socket.h (__opensock): Remove internal_function.
33226 * socket/opensock.c (__opensock): Likewise.
33227 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
33228
33229 2017-08-16 Joseph Myers <joseph@codesourcery.com>
33230
33231 [BZ #21944]
33232 * signal/bits/types/__sigval_t.h: New file.
33233 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
33234 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
33235 and define sigval_t using __sigval_t.
33236 * include/bits/types/__sigval_t.h: New file.
33237 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
33238 instead of <bits/types/__sigval_t.h>.
33239 (struct sigevent): Use __sigval_t instead of sigval_t.
33240 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
33241 instead of <bits/types/__sigval_t.h>.
33242 (siginfo_t): Use __sigval_t instead of sigval_t.
33243 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
33244 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
33245 (struct sigevent): Use __sigval_t instead of sigval_t.
33246 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
33247 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
33248 (siginfo_t): Use __sigval_t instead of sigval_t.
33249 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
33250
33251 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33252
33253 * NEWS: Remove "[Add new features here]" for 2.27.
33254
33255 2017-08-16 Joseph Myers <joseph@codesourcery.com>
33256
33257 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
33258 libc.so.
33259
33260 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33261
33262 * NEWS: Mention x86-64 FMA optimization.
33263
33264 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33265
33266 [BZ #21912]
33267 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33268 Add e_expf-fma.
33269 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
33270 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
33271 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
33272
33273 2017-08-16 Andreas Schwab <schwab@suse.de>
33274
33275 [BZ #16750]
33276 CVE-2009-5064
33277 * elf/ldd.bash.in: Never run file directly.
33278
33279 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
33280
33281 [BZ #21955]
33282 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
33283 (L(SP_INF_0)): Likewise.
33284
33285 2017-08-15 Florian Weimer <fweimer@redhat.com>
33286
33287 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
33288 run-built-tests.
33289
33290 2017-08-15 Florian Weimer <fweimer@redhat.com>
33291
33292 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
33293 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
33294 BROKEN_THREAD_SIGNALS code.
33295 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
33296 request_list): Remove caller_pid member used for
33297 BROKEN_THREAD_SIGNALS.
33298 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
33299 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
33300 Remove BROKEN_THREAD_SIGNALS support.
33301 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
33302 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
33303
33304 2017-08-15 Florian Weimer <fweimer@redhat.com>
33305
33306 * gmon/Makefile (tests): Add tst-gmon.
33307 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
33308 Set.
33309 (tests-special): Add tst-gmon-prof.out.
33310 (tst-gmon.out): Depend on clean-tst-gmon-data.
33311 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
33312 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
33313 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
33314 startup object.
33315 * aclocal.m4 (GPROF): Set and substitute.
33316 * config.amke.in (GPROF): Set.
33317 * configure: Regenerate.
33318
33319 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
33320
33321 * elf/elf.h A (NT_PPC_TAR): New macro.
33322 (NT_PPC_PPR): Likewise.
33323 (NT_PPC_DSCR): Likewise.
33324 (NT_PPC_EBB): Likewise.
33325 (NT_PPC_PMU): Likewise.
33326 (NT_PPC_TM_CGPR): Likewise.
33327 (NT_PPC_TM_CFPR): Likewise.
33328 (NT_PPC_TM_CVMX): Likewise.
33329 (NT_PPC_TM_CVSX): Likewise.
33330 (NT_PPC_TM_SPR): Likewise.
33331 (NT_PPC_TM_CTAR): Likewise.
33332 (NT_PPC_TM_CPPR): Likewise.
33333 (NT_PPC_TM_CDSCR): Likewise.
33334
33335 2017-08-15 Florian Weimer <fweimer@redhat.com>
33336
33337 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
33338 regparm (2) instead of internal_function.
33339 (_MCOUNT_DECL): Adjust.
33340
33341 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
33342
33343 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
33344 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
33345
33346 2017-08-14 Joseph Myers <joseph@codesourcery.com>
33347
33348 * conform/data/sys/wait.h-data (si_value): Do not expect for
33349 XPG42.
33350
33351 2017-08-14 Florian Weimer <fweimer@redhat.com>
33352
33353 [BZ #21962]
33354 NSS: Create stubs for accidentally exported lookup functions.
33355 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
33356 Remove declaration.
33357 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
33358 (ether_hostton): Call __nss_ethers_lookup2 instead.
33359 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
33360 (ether_ntohost): Call __nss_ethers_lookup2 instead.
33361 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
33362 (setup): Call __nss_netgroup_lookup2 instead.
33363 * nss/Makefile (routines): Add compat-lookup.
33364 * nss/Versions (GLIBC_2.27): Add symbol version.
33365 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
33366 (DB_COMPAT_FCT): Remove.
33367 * nss/compat-lookup.c: New file.
33368 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
33369 from databases.def.
33370 * nss/service-lookup.c (NO_COMPAT): Remove definition.
33371 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
33372 (netname2user): Call __nss_publickey_lookup2 instead.
33373 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
33374 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
33375 instead.
33376
33377 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33378 Sergei Trofimovich <slyfox@inbox.ru>
33379
33380 [BZ #21908]
33381 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
33382 Rename to MMAP2_PAGE_UNIT.
33383 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
33384 __OFF_T_MATCHES_OFF64_T is not defined.
33385 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
33386 uint64_t.
33387 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
33388 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
33389
33390 2017-08-14 Florian Weimer <fweimer@redhat.com>
33391
33392 i386: Do not set internal_function.
33393 * config.h.in (USE_REGPARMS, internal_function): Remove.
33394 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
33395 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
33396
33397 2017-08-14 Florian Weimer <fweimer@redhat.com>
33398
33399 * elf/dl-init.c (_dl_init): Remove internal_function.
33400 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
33401 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
33402
33403 2017-08-14 Florian Weimer <fweimer@redhat.com>
33404
33405 * elf/rtld.c (_dl_start): Remove internal_function.
33406 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
33407 _dl_start.
33408
33409 2017-08-14 Florian Weimer <fweimer@redhat.com>
33410
33411 * elf/dl-fini.c (_dl_fini): Remove internal_function
33412 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
33413
33414 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
33415
33416 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
33417 (bit_cpu_SHSTK): Likewise.
33418 (index_cpu_IBT): Likewise.
33419 (index_cpu_SHSTK): Likewise.
33420 (reg_IBT): Likewise.
33421 (reg_SHSTK): Likewise.
33422 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
33423 Handle index_cpu_IBT and index_cpu_SHSTK.
33424
33425 2017-08-14 Mike FABIAN <mfabian@redhat.com>
33426
33427 [BZ #19982]
33428 * po/fr.po: Fix spelling mistake.
33429
33430 2017-08-13 Florian Weimer <fweimer@redhat.com>
33431
33432 * elf/dl-addr.c (_dl_addr): Remove internal_function.
33433 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
33434 (_dl_catch_error, _dl_receive_error): Likewise.
33435 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
33436 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
33437 (_dl_deallocate_tls): Likewise.
33438 * include/dlfcn.h (_dl_addr): Likewise.
33439 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
33440 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
33441 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
33442 Likewise.
33443
33444 2017-08-13 Florian Weimer <fweimer@redhat.com>
33445
33446 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
33447 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
33448 internal_function.
33449 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
33450
33451 2017-08-13 Florian Weimer <fweimer@redhat.com>
33452
33453 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
33454 internal_function.
33455 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
33456 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
33457 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
33458 internal_function from _dl_make_stack_executable_hook member.
33459 (_dl_make_stack_executable): Remove internal_function.
33460 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
33461 Likewise.
33462 * sysdeps/unix/sysv/linux/dl-execstack.c
33463 (_dl_make_stack_executable): Likewise.
33464
33465 2017-08-13 Florian Weimer <fweimer@redhat.com>
33466
33467 * sysdeps/unix/sysv/linux/netlinkaccess.h
33468 (__netlink_assert_response): Remove internal_function.
33469 * sysdeps/unix/sysv/linux/netlink_assert_response.c
33470 (__netlink_assert_response): Likewise.
33471
33472 2017-08-13 Florian Weimer <fweimer@redhat.com>
33473
33474 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
33475 internal_function.
33476 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
33477
33478 2017-08-13 Florian Weimer <fweimer@redhat.com>
33479
33480 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
33481 internal_function.
33482 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
33483 * inet/netgroup.h (__internal_setnetgrent)
33484 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
33485 * inet/getnetgrent_r.c (__internal_setnetgrent)
33486 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
33487 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
33488 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
33489 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
33490 * nss/nsswitch.h (db_lookup_function): Likewise.
33491
33492 2017-08-13 Florian Weimer <fweimer@redhat.com>
33493
33494 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
33495 Remove internal_function.
33496 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
33497 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
33498 message argument on the stack.
33499 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
33500 Likeweise.
33501
33502 2017-08-12 Mike FABIAN <mfabian@redhat.com>
33503
33504 Adapt test case data to the changes in the thousands
33505 separators.
33506
33507 [BZ #20756]
33508 * localedata/tst-langinfo.sh: Adapt test case data.
33509 * stdlib/tst-strfmon_l.c: Likewise.
33510 * stdlib/tst-strtod4.c: Likewise.
33511 * stdlib/tst-strtod5i.c: Likewise.
33512
33513 2017-08-11 Florian Weimer <fweimer@redhat.com>
33514
33515 [BZ #21242]
33516 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
33517 Suppress pedantic warning resulting from statement expression.
33518 (__ASSERT_FUNCTION): Add missing __extension__.
33519
33520 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
33521
33522 * benchtests/bench-memmove-large.c: Print output in JSON
33523 format.
33524 * benchtests/bench-memmove.c: Likewise.
33525
33526 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
33527 * benchtests/bench-memchr.c (do_one_test): Likewise.
33528 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
33529 * benchtests/bench-memcpy.c (do_one_test): Likewise.
33530 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
33531 * benchtests/bench-memmove.c (do_one_test): Likewise.
33532 * benchtests/bench-memset-large.c (do_one_test): Likewise.
33533 * benchtests/bench-memset.c (do_one_test): Likewise.
33534 * benchtests/bench-string.h (test_init): Remove memsets.
33535
33536 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
33537
33538 * manual/lang.texi
33539 (Computing the Width of an Integer Data Type): Rename section to
33540 "Width of an Integer Type". Remove inaccurate statement regarding
33541 lack of C language facilities for determining width of integer
33542 types, and reorder content to improve flow and context of
33543 discussion.
33544
33545 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
33546
33547 * lang.texi (va_copy): Change standard from ISO to C99.
33548 (__va_copy): Add standard and header annotation.
33549 Update description for clarity of origins and current use.
33550
33551 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33552
33553 [BZ #21941]
33554 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
33555 xssqrtqp requires operands to be in Vector Registers
33556 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
33557 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
33558 (__ieee754_sqrtf128): Likewise.
33559
33560 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
33561
33562 * sysdeps/aarch64/memcmp.S (memcmp):
33563 Rewrite of optimized memcmp.
33564
33565 2017-08-10 Florian Weimer <fweimer@redhat.com>
33566
33567 Introduce ld.so exceptions.
33568 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
33569 (_dl_exception_create, _dl_exception_create_format)
33570 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
33571 (_dl_catch_exception): Declare.
33572 (_dl_catch_error): Update comment.
33573 * elf/dl-error-skeleton.c (struct catch): Replace objname,
33574 errstring, malloced members with exception member.
33575 (_dl_out_of_memory): Remove.
33576 (fatal_error): New function, extracted from _dl_signal_error.
33577 (_dl_signal_exception, _dl_signal_cexception): New functions.
33578 (_dl_signal_error): Call _dl_exception_create to allocate an
33579 exception object.
33580 (_dl_catch_exception): New function, based on _dl_catch_error.
33581 (_dl_catch_error): Implement using _dl_catch_exception.
33582 * elf/dl-exception.c: New file.
33583 * elf/Makefile (dl-routines): Add dl-exception.
33584 (elide-routines.os): Likewise.
33585 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
33586 _dl_exception_create_format, _dl_exception_free.
33587 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
33588 _dl_signal_exception.
33589 * elf/dl-lookup.c (make_string): Remove.
33590 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
33591 _dl_signal_cexception, _dl_exception_free.
33592 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
33593 _dl_signal_exception.
33594 * elf/dl-sym.c (do_sym): Likewise.
33595 * elf/dl-version.c (make_string): Remove.
33596 (match_symbol): Use _dl_exception_create_format,
33597 _dl_signal_cexception, _dl_exception_free.
33598 (_dl_check_map_versions): Likewise.
33599 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
33600 _dl_catch_exception.
33601 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
33602 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
33603 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
33604 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
33605 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
33606 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
33607 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
33608 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
33609 Likewise.
33610 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
33611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
33612 (ld.so): Likewise.
33613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
33614 (ld.so): Likewise.
33615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
33616 Likewise.
33617 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
33618 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
33619 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
33620 Likewise.
33621 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
33622 Likewise.
33623 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
33624
33625 2017-08-10 Florian Weimer <fweimer@redhat.com>
33626
33627 * inet/net-internal.h (__inet6_scopeid_pton): Remove
33628 attribute_hidden, internal_function.
33629 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
33630 internal_function.
33631
33632 2017-08-10 Florian Weimer <fweimer@redhat.com>
33633
33634 * malloc/malloc.c (get_max_fast): Reimplement as an inline
33635 function which calls __builtin_unreachable.
33636
33637 2017-08-10 Mike FABIAN <mfabian@redhat.com>
33638
33639 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
33640 Indian monetary formatting
33641 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
33642 test cases.
33643
33644 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
33645
33646 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
33647 Fix typo in comment.
33648
33649 [BZ #21928]
33650 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
33651 PTRACE_SEIZE_DEVEL): Remove.
33652 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
33653 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33654 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33655 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33656 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33657
33658 2017-08-09 Joseph Myers <joseph@codesourcery.com>
33659
33660 * posix/bits/types.h (__qaddr_t): Remove.
33661
33662 [BZ #21457]
33663 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
33664 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33665 __glibc_reserved1.
33666 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
33667 (ucontext_t): Use __ctx with uc_flags.
33668 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
33669 (__ctxt): Likewise.
33670 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33671 __glibc_reserved1.
33672 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
33673 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33674 __glibc_reserved1.
33675 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
33676 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33677 __glibc_reserved1.
33678 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
33679 macro.
33680 (ucontext_t): Use __ctx with uc_flags.
33681 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
33682 (ucontext_t): Use __ctx with uc_flags.
33683 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
33684 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
33685 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
33686 (ucontext_t): Use __ctx with uc_flags.
33687 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
33688 undefine further down.
33689 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33690 __glibc_reserved1.
33691 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
33692 undefine further down.
33693 (ucontext_t): Use __ctx with uc_flags.
33694 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
33695 undefine further down.
33696 (ucontext_t): Use __ctx with uc_flags.
33697 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
33698 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
33699 Rename uc_pad to __glibc_reserved1.
33700 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
33701 undefine further down.
33702 (ucontext_t): Use __ctx with uc_flags.
33703 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
33704 further down.
33705 (ucontext_t): Use __ctx with uc_flags.
33706 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
33707 __ctx with uc_flags.
33708 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
33709 (ucontext_t): Use __ctx with uc_flags.
33710 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
33711 __ctx with uc_flags.
33712
33713 2017-08-09 Florian Weimer <fweimer@redhat.com>
33714
33715 [BZ #21932]
33716 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
33717 before early return.
33718
33719 2017-08-09 Andreas Schwab <schwab@suse.de>
33720
33721 [BZ #21041]
33722 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
33723 renamed alias.
33724
33725 [BZ #21041]
33726 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
33727 tst-compat-forwarder.
33728 (modules-names): Add tst-compat-forwarder-mod.
33729 ($(objpfx)tst-compat-forwarder): Depend on
33730 $(objpfx)tst-compat-forwarder-mod.so.
33731 * nptl/tst-compat-forwarder.c: New file.
33732 * nptl/tst-compat-forwarder-mod.c: New file.
33733
33734 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
33735
33736 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
33737 comments.
33738
33739 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
33740 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
33741 memcpy_falkor.
33742 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
33743 Bump.
33744 (__libc_ifunc_impl_list): Add __memcpy_falkor.
33745 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
33746 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
33747 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
33748 Add falkor.
33749 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
33750 New macro.
33751
33752 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33753
33754 [BZ #759]
33755 * manual/setjmp.texi (getcontex): Document uc_stack value
33756 compatibility differences.
33757
33758 2017-08-08 Joseph Myers <joseph@codesourcery.com>
33759
33760 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
33761 (old_malloc_hook): Likewise.
33762 (old_memalign_hook): Likewise.
33763 (old_realloc_hook): Likewise.
33764 (struct hdr): Likewise.
33765 (flood): Likewise.
33766 (freehook): Likewise.
33767 (mallochook): Likewise.
33768 (memalignhook): Likewise.
33769 (reallochook): Likewise.
33770 (mprobe): Likewise.
33771 * malloc/mtrace.c (mallwatch): Likewise.
33772 (tr_old_free_hook): Likewise.
33773 (tr_old_malloc_hook): Likewise.
33774 (tr_old_realloc_hook): Likewise.
33775 (tr_old_memalign_hook): Likewise.
33776 (tr_where): Likewise.
33777 (lock_and_info): Likewise.
33778 (tr_freehook): Likewise.
33779 (tr_mallochook): Likewise.
33780 (tr_reallochook): Likewise.
33781 (tr_memalignhook): Likewise.
33782 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
33783 * misc/mmap.c (__mmap): Likewise.
33784 * misc/mmap64.c (__mmap64): Likewise.
33785 * misc/mprotect.c (__mprotect): Likewise.
33786 * misc/msync.c (msync): Likewise.
33787 * misc/munmap.c (__munmap): Likewise.
33788 * posix/posix_madvise.c (posix_madvise): Likewise.
33789 * socket/send.c (__send): Likewise.
33790 * socket/sendto.c (__sendto): Likewise.
33791 * socket/setsockopt.c (__setsockopt): Likewise.
33792 * string/memcmp.c (__ptr_t): Remove macro.
33793 (MEMCMP): Use void * instead of ptr_t.
33794 * string/memrchr.c (__ptr_t): Remove macro.
33795 (__memrchr): Use void * instead of ptr_t.
33796 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
33797 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
33798 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
33799 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
33800 * sysdeps/mach/msync.c (msync): Likewise.
33801 * sysdeps/mach/munmap.c (__munmap): Likewise.
33802 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
33803 Likewise.
33804 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33805 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
33806 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
33807 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
33808 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
33809 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
33810 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
33811 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
33812 Likewise.
33813 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
33814 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
33815 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
33816 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
33817 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
33818 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
33819 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
33820 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
33821 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
33822 Likewise.
33823 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
33824 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
33825 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
33826 (MEMCMP): Use void * instead of ptr_t.
33827 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
33828 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
33829
33830 2017-08-08 Florian Weimer <fweimer@redhat.com>
33831
33832 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
33833 return statement.
33834
33835 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
33836
33837 [BZ #21913]
33838 * csu/libc-tls.c: Include <startup.h> first.
33839 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
33840 * elf/dl-tunables.c: Include <startup.h> first.
33841 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
33842 * sysdeps/generic/startup.h: New file.
33843 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
33844 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
33845 (I386_USE_SYSENTER): New. Defined to 0.
33846
33847 2017-08-08 Andreas Schwab <schwab@suse.de>
33848
33849 [BZ #21041]
33850 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
33851 * nptl/pt-system.c (system): Likewise.
33852
33853 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33854
33855 [BZ #21780]
33856 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
33857 EOPNOTSUPP.
33858 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
33859 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
33860 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
33861 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
33862 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
33863 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
33864 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
33865
33866 2017-08-07 Joseph Myers <joseph@codesourcery.com>
33867
33868 [BZ #21899]
33869 * bits/sigaction.h (struct sigaction): Define sa_handler and
33870 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
33871 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33872 [__USE_XOPEN_EXTENDED].
33873 (SA_RESTART): Likewise.
33874 (SA_NODEFER): Likewise.
33875 (SA_RESETHAND): Likewise.
33876 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
33877 (struct sigaction): Define sa_handler and sa_sigaction using union
33878 also for [__USE_XOPEN_EXTENDED].
33879 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33880 [__USE_XOPEN_EXTENDED].
33881 (SA_RESTART): Likewise.
33882 (SA_NODEFER): Likewise.
33883 (SA_RESETHAND): Likewise.
33884 * sysdeps/unix/sysv/linux/bits/sigaction.h
33885 (struct sigaction): Define sa_handler and sa_sigaction using union
33886 also for [__USE_XOPEN_EXTENDED].
33887 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33888 [__USE_XOPEN_EXTENDED].
33889 (SA_RESTART): Likewise.
33890 (SA_NODEFER): Likewise.
33891 (SA_RESETHAND): Likewise.
33892 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
33893 (struct sigaction): Define sa_handler and sa_sigaction using union
33894 also for [__USE_XOPEN_EXTENDED].
33895 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33896 [__USE_XOPEN_EXTENDED].
33897 (SA_RESTART): Likewise.
33898 (SA_NODEFER): Likewise.
33899 (SA_RESETHAND): Likewise.
33900 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
33901 (struct sigaction): Define sa_handler and sa_sigaction using union
33902 also for [__USE_XOPEN_EXTENDED].
33903 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33904 [__USE_XOPEN_EXTENDED].
33905 (SA_RESTART): Likewise.
33906 (SA_NODEFER): Likewise.
33907 (SA_RESETHAND): Likewise.
33908 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
33909 (struct sigaction): Define sa_handler and sa_sigaction using union
33910 also for [__USE_XOPEN_EXTENDED].
33911 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33912 [__USE_XOPEN_EXTENDED].
33913 (SA_RESTART): Likewise.
33914 (SA_NODEFER): Likewise.
33915 (SA_RESETHAND): Likewise.
33916 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
33917 (struct sigaction): Define sa_handler and sa_sigaction using union
33918 also for [__USE_XOPEN_EXTENDED].
33919 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33920 [__USE_XOPEN_EXTENDED].
33921 (SA_RESTART): Likewise.
33922 (SA_NODEFER): Likewise.
33923 (SA_RESETHAND): Likewise.
33924 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
33925 (struct sigaction): Define sa_handler and sa_sigaction using union
33926 also for [__USE_XOPEN_EXTENDED].
33927 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33928 [__USE_XOPEN_EXTENDED].
33929 (SA_RESTART): Likewise.
33930 (SA_NODEFER): Likewise. Define directly rather than as alias.
33931 (SA_RESETHAND): Likewise.
33932 (SA_INTERRUPT): Define only for [__USE_MISC].
33933 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
33934 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
33935 [__USE_MISC].
33936 (SA_STACK): Define only for [__USE_MISC].
33937 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
33938 (struct sigaction): Define sa_handler and sa_sigaction using union
33939 also for [__USE_XOPEN_EXTENDED].
33940 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33941 [__USE_XOPEN_EXTENDED].
33942 (SA_RESTART): Likewise.
33943 (SA_NODEFER): Likewise.
33944 (SA_RESETHAND): Likewise.
33945 (SA_NOPTRACE): Define only for [__USE_MISC].
33946
33947 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
33948 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
33949 (struct catalog_info): Likewise.
33950 * inet/htontest.c (lo): Likewise.
33951 (foo): Likewise.
33952 * inet/inet_lnaof.c (inet_lnaof): Likewise.
33953 * inet/inet_net.c (inet_network): Likewise.
33954 * inet/inet_netof.c (inet_netof): Likewise.
33955 * inet/rcmd.c (__ivaliduser): Likewise.
33956 (iruserok): Likewise.
33957 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
33958 * locale/programs/locale-spec.c (locale_special): Likewise.
33959 * nis/nis_findserv.c (struct findserv_req): Likewise.
33960 (__nis_findfastest_with_timeout): Likewise.
33961 * nss/test-netdb.c (test_network): Likewise.
33962 * resolv/inet_neta.c (inet_neta): Likewise.
33963 * resolv/ns_date.c (ns_datetosecs): Likewise.
33964 (SECS_PER_DAY): Likewise.
33965 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
33966 Likewise.
33967 * resolv/res_comp.c (__putlong): Likewise.
33968 (__putshort): Likewise.
33969 (_getlong): Likewise.
33970 (_getshort): Likewise.
33971 * resolv/res_debug.c (p_time): Likewise.
33972 (precsize_ntoa): Likewise.
33973 (precsize_aton): Likewise.
33974 (latlon2ul): Likewise.
33975 (loc_aton): Likewise.
33976 (loc_ntoa): Likewise.
33977 * resolv/res_hconf.c (struct netaddr): Likewise.
33978 (_res_hconf_reorder_addrs): Likewise.
33979 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
33980 (clnttcp_control): Likewise.
33981 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
33982 (clntudp_control): Likewise.
33983 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
33984 (clntunix_control): Likewise.
33985 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
33986 * sunrpc/rpc/auth.h (union des_block): Likewise.
33987 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
33988 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
33989 (xdrrec_create): Likewise.
33990 (xdrrec_endofrecord): Likewise.
33991 (flush_out): Likewise.
33992 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
33993 (xdrstdio_putlong): Likewise.
33994 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
33995 Likewise.
33996
33997 * misc/sys/cdefs.h (__long_double_t): Remove.
33998 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
33999 instead of __long_double_t,
34000 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
34001
34002 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
34003
34004 * benchtests/scripts/compare_strings.py: Avoid display error when
34005 running on a text terminal.
34006
34007 * benchtests/scripts/compare_strings.py (main): Add an
34008 optional -base option.
34009 (process_results): New argument base_func.
34010
34011 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
34012 hardcoding memcpy.
34013 * benchtests/bench-memcpy-large.c (test_name): Likewise.
34014 * benchtests/bench-memcpy-random.c (test_name): Likewise.
34015
34016 2017-08-07 Andreas Schwab <schwab@suse.de>
34017
34018 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
34019 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
34020 * intl/Makefile ($(objpfx)tst-gettext.out)
34021 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
34022 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
34023 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
34024 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
34025 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
34026 * posix/Makefile ($(objpfx)globtest.out)
34027 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
34028 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
34029 ($(objpfx)tst-printf.out): Likewise.
34030 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
34031 ($(objpfx)tst-setcontext3.out): Likewise.
34032
34033 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
34034
34035 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34036 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
34037 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
34038 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
34039 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
34040 and mptan-fma.
34041 (CFLAGS-doasin-fma.c): New.
34042 (CFLAGS-dosincos-fma.c): Likewise.
34043 (CFLAGS-e_asin-fma.c): Likewise.
34044 (CFLAGS-e_atan2-fma.c): Likewise.
34045 (CFLAGS-e_exp-fma.c): Likewise.
34046 (CFLAGS-e_log-fma.c): Likewise.
34047 (CFLAGS-e_pow-fma.c): Likewise.
34048 (CFLAGS-halfulp-fma.c): Likewise.
34049 (CFLAGS-mpa-fma.c): Likewise.
34050 (CFLAGS-mpatan-fma.c): Likewise.
34051 (CFLAGS-mpatan2-fma.c): Likewise.
34052 (CFLAGS-mpexp-fma.c): Likewise.
34053 (CFLAGS-mplog-fma.c): Likewise.
34054 (CFLAGS-mpsqrt-fma.c): Likewise.
34055 (CFLAGS-mptan-fma.c): Likewise.
34056 (CFLAGS-s_atan-fma.c): Likewise.
34057 (CFLAGS-sincos32-fma.c): Likewise.
34058 (CFLAGS-slowexp-fma.c): Likewise.
34059 (CFLAGS-slowpow-fma.c): Likewise.
34060 (CFLAGS-s_sin-fma.c): Likewise.
34061 (CFLAGS-s_tan-fma.c): Likewise.
34062 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
34063 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
34064 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
34065 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
34066 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
34067 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
34068 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
34069 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
34070 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
34071 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
34072 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
34073 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
34074 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
34075 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
34076 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
34077 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
34078 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
34079 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
34080 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
34081 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
34082 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
34083 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
34084 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
34085 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
34086 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
34087 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34088 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34089 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
34090 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34091 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34092 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34093
34094 2017-08-04 Joseph Myers <joseph@codesourcery.com>
34095
34096 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
34097 (min_of_type_f): New macro.
34098 (min_of_type_): Likewise.
34099 (min_of_type_l): Likewise.
34100 (min_of_type_f128): Likewise.
34101 (min_of_type): Define using __MATH_TG and taking an expression
34102 argument.
34103 (math_check_force_underflow): Pass expression instead of type to
34104 min_of_type.
34105 (math_check_force_underflow_nonneg): Likewise.
34106
34107 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34108
34109 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
34110 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
34111 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
34112
34113 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34114
34115 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34116 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
34117 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
34118 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
34119 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
34120 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
34121 memcpy_chk-nonshared, mempcpy_chk-nonshared,
34122 memmove_chk-nonshared and memset_chk-nonshared
34123 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
34124 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
34125 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
34126 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
34127 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
34128 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
34129 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
34130 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
34131 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
34132 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
34133 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
34134 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
34135 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
34136 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
34137 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
34138 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
34139 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
34140 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
34141 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
34142 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
34143 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
34144 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
34145 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
34146 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
34147 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
34148 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
34149 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
34150 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
34151 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
34152 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
34153 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
34154 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
34155 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
34156 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
34157 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
34158 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
34159 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
34160 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
34161 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
34162 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
34163 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
34164 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
34165 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
34166 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
34167 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
34168 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
34169 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
34170 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
34171 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
34172 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
34173 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
34174 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
34175 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
34176 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
34177 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
34178 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
34179 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
34180 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
34181 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
34182 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
34183 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
34184 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
34185 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
34186 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
34187 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
34188 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
34189 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
34190 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
34191 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
34192 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
34193 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
34194 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34195 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34196 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34197 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34198 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34199 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34200 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34201 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34202 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34203 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34204 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34205 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34206 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34207 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
34208 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
34209 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34210 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
34211 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34212 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34213 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34214 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34215 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34216 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34217 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
34218 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
34219 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
34220 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
34221 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34222 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
34223 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34224 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34225 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34226 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34227 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34228 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34229 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34230 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34231
34232 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34233
34234 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
34235 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
34236 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
34237 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
34238 svml_d_log2_core-sse2, svml_d_log4_core-sse,
34239 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
34240 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
34241 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
34242 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
34243 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
34244 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
34245 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
34246 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
34247 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
34248 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
34249 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
34250 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
34251 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
34252 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
34253 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
34254 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
34255 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
34256 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
34257 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
34258 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
34259 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
34260 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
34261 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
34262 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
34263 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
34264 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
34265 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
34266 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
34267 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
34268 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
34269 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
34270 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
34271 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
34272 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
34273 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
34274 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
34275 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
34276 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
34277 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
34278 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
34279 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
34280 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
34281 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
34282 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
34283 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
34284 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
34285 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
34286 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
34287 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
34288 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
34289 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
34290 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
34291 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
34292 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
34293 ...
34294 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
34295 Don't include <sysdep.h> nor <init-arch.h>.
34296 (_ZGVbN2v_cos): Removed.
34297 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
34298 ...
34299 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
34300 Don't include <sysdep.h> nor <init-arch.h>.
34301 (_ZGVdN4v_cos): Removed.
34302 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
34303 ...
34304 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
34305 Don't include <sysdep.h> nor <init-arch.h>.
34306 (_ZGVeN8v_cos): Removed.
34307 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
34308 ...
34309 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
34310 Don't include <sysdep.h> nor <init-arch.h>.
34311 (_ZGVbN2v_exp): Removed.
34312 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
34313 ...
34314 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
34315 Don't include <sysdep.h> nor <init-arch.h>.
34316 (_ZGVdN4v_exp): Removed.
34317 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
34318 ...
34319 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
34320 Don't include <sysdep.h> nor <init-arch.h>.
34321 (_ZGVeN8v_exp): Removed.
34322 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
34323 ...
34324 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
34325 Don't include <sysdep.h> nor <init-arch.h>.
34326 (_ZGVbN2v_log): Removed.
34327 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
34328 ...
34329 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
34330 Don't include <sysdep.h> nor <init-arch.h>.
34331 (_ZGVdN4v_log): Removed.
34332 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
34333 ...
34334 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
34335 Don't include <sysdep.h> nor <init-arch.h>.
34336 (_ZGVeN8v_log): Removed.
34337 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
34338 ...
34339 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
34340 Don't include <sysdep.h> nor <init-arch.h>.
34341 (_ZGVbN2vv_pow): Removed.
34342 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
34343 ...
34344 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
34345 Don't include <sysdep.h> nor <init-arch.h>.
34346 (_ZGVdN4vv_pow): Removed.
34347 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
34348 ...
34349 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
34350 Don't include <sysdep.h> nor <init-arch.h>.
34351 (_ZGVeN8vv_pow): Removed.
34352 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
34353 ...
34354 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
34355 Don't include <sysdep.h> nor <init-arch.h>.
34356 (_ZGVbN2v_sin): Removed.
34357 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
34358 ...
34359 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
34360 Don't include <sysdep.h> nor <init-arch.h>.
34361 (_ZGVbN4v_sin): Removed.
34362 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
34363 ...
34364 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
34365 Don't include <sysdep.h> nor <init-arch.h>.
34366 (_ZGVbN8v_sin): Removed.
34367 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
34368 ...
34369 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
34370 Don't include <sysdep.h> nor <init-arch.h>.
34371 (_ZGVbN2vvv_sincos): Removed.
34372 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
34373 ...
34374 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
34375 Don't include <sysdep.h> nor <init-arch.h>.
34376 (_ZGVdN4vvv_sincos): Removed.
34377 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
34378 ...
34379 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
34380 Don't include <sysdep.h> nor <init-arch.h>.
34381 (_ZGVeN8vvv_sincos): Removed.
34382 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
34383 ...
34384 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
34385 Don't include <sysdep.h> nor <init-arch.h>.
34386 (_ZGVeN16v_cosf): Removed.
34387 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
34388 ...
34389 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
34390 Don't include <sysdep.h> nor <init-arch.h>.
34391 (_ZGVbN4v_cosf): Removed.
34392 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
34393 ...
34394 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
34395 Don't include <sysdep.h> nor <init-arch.h>.
34396 (_ZGVdN8v_cosf): Removed.
34397 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
34398 ...
34399 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
34400 Don't include <sysdep.h> nor <init-arch.h>.
34401 (_ZGVeN16v_expf): Removed.
34402 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
34403 ...
34404 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
34405 Don't include <sysdep.h> nor <init-arch.h>.
34406 (_ZGVbN4v_expf): Removed.
34407 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
34408 ...
34409 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
34410 Don't include <sysdep.h> nor <init-arch.h>.
34411 (_ZGVdN8v_expf): Removed.
34412 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
34413 ...
34414 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
34415 Don't include <sysdep.h> nor <init-arch.h>.
34416 (_ZGVeN16v_logf): Removed.
34417 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
34418 ...
34419 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
34420 Don't include <sysdep.h> nor <init-arch.h>.
34421 (_ZGVbN4v_logf): Removed.
34422 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
34423 ...
34424 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
34425 Don't include <sysdep.h> nor <init-arch.h>.
34426 (_ZGVdN8v_logf): Removed.
34427 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
34428 ...
34429 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
34430 Don't include <sysdep.h> nor <init-arch.h>.
34431 (_ZGVeN16vv_powf): Removed.
34432 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
34433 ...
34434 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
34435 Don't include <sysdep.h> nor <init-arch.h>.
34436 (_ZGVbN4vv_powf): Removed.
34437 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
34438 ...
34439 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
34440 Don't include <sysdep.h> nor <init-arch.h>.
34441 (_ZGVdN8vv_powf): Removed.
34442 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
34443 ...
34444 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
34445 Don't include <sysdep.h> nor <init-arch.h>.
34446 (_ZGVeN16vvv_sincosf): Removed.
34447 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
34448 ...
34449 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
34450 Don't include <sysdep.h> nor <init-arch.h>.
34451 (_ZGVbN4vvv_sincosf): Removed.
34452 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
34453 ...
34454 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
34455 Don't include <sysdep.h> nor <init-arch.h>.
34456 (_ZGVdN8vvv_sincosf): Removed.
34457 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
34458 ...
34459 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
34460 Don't include <sysdep.h> nor <init-arch.h>.
34461 (_ZGVeN16v_sinf): Removed.
34462 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
34463 ...
34464 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
34465 Don't include <sysdep.h> nor <init-arch.h>.
34466 (_ZGVbN4v_sinf): Removed.
34467 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
34468 ...
34469 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
34470 Don't include <sysdep.h> nor <init-arch.h>.
34471 (_ZGVdN8v_sinf): Removed.
34472
34473 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34474
34475 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34476 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
34477 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
34478 s_rint-sse4_1 and s_rintf-sse4_1.
34479 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
34480 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
34481 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
34482 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
34483 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
34484 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
34485 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
34486 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
34487 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
34488 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
34489 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
34490 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34491 (__ceil): Removed.
34492 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
34493 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
34494 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34495 (__ceilf): Removed.
34496 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
34497 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
34498 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34499 (__floor): Removed.
34500 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
34501 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
34502 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34503 (__floorf): Removed.
34504 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
34505 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
34506 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34507 (__nearbyint): Removed.
34508 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
34509 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
34510 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34511 (__nearbyintf): Removed.
34512 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
34513 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
34514 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34515 (__rint): Removed.
34516 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
34517 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
34518 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34519 (__rintf): Removed.
34520
34521 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34522
34523 * sysdeps/i386/start.S (_start): Check Check PIC instead of
34524 SHARED. Avoid dynamic relocation against main in static PIE.
34525
34526 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34527
34528 [BZ #21815]
34529 * elf/Makefile (CFLAGS-tst-prelink.c): New.
34530 (LDFLAGS-tst-prelink): Likewise.
34531
34532 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34533
34534 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
34535 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
34536 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
34537 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
34538 (INTERNAL_SYSCALL_NCS): Likewise.
34539 (LOADARGS_1): Likewise.
34540 (LOADARGS_5): Likewise.
34541 (RESTOREARGS_1): Likewise.
34542 (RESTOREARGS_5): Likewise.
34543
34544 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34545
34546 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
34547 (MEMPCPY_SYMBOL): Likewise.
34548 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
34549 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
34550 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
34551 in libc.a.
34552 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34553 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
34554 Likewise.
34555 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
34556 (__hidden_ver1): Don't use in libc.a.
34557 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
34558 (__mempcpy): Don't create a weak alias in libc.a.
34559 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
34560 libc.a.
34561 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
34562 (__hidden_ver1): Don't use in libc.a.
34563
34564 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34565
34566 * config.make.in (have-insert): New.
34567 * configure.ac (libc_cv_insert): New. Set to yes if linker
34568 supports INSERT in linker script.
34569 (AC_SUBST(libc_cv_insert): New.
34570 * configure: Regenerated.
34571 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
34572 if $(have-insert) == yes.
34573
34574 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34575
34576 * elf/Makefile (tests): Add vismain only if
34577 $(have-protected-data) == yes.
34578 (tests-pie): Likewise.
34579
34580 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34581
34582 [BZ #21871]
34583 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
34584 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
34585
34586 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34587
34588 [BZ #21790]
34589 * sysdeps/i386/i586/memset.S
34590 (__memset_zero_constant_len_parameter): Removed.
34591 * sysdeps/i386/i686/memset.S
34592 (__memset_zero_constant_len_parameter): Likewise.
34593 * sysdeps/i386/i686/multiarch/memset_chk.S
34594 (__memset_zero_constant_len_parameter): Likewise.
34595 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
34596 Likewise.
34597
34598 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
34599
34600 * stdlib/getentropy.c (getentropy): Change return type to int.
34601
34602 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
34603
34604 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
34605
34606 2017-08-03 Joseph Myers <joseph@codesourcery.com>
34607
34608 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
34609 u_intN_t.
34610 * math/s_nexttowardf.c (__nexttowardf): Likewise.
34611 * sysdeps/generic/math_private.h (ieee_double_shape_type):
34612 Likewise.
34613 (ieee_float_shape_type): Likewise.
34614 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
34615 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
34616 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
34617 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34618 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
34619 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
34620 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
34621 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
34622 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
34623 Likewise.
34624 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
34625 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
34626 (__ieee754_yn): Likewise.
34627 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
34628 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
34629 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
34630 Likewise.
34631 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
34632 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
34633 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
34634 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
34635 (__erfc): Likewise.
34636 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
34637 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
34638 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
34639 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
34640 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
34641 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
34642 Likewise.
34643 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
34644 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
34645 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
34646 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
34647 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
34648 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
34649 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
34650 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
34651 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
34652 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
34653 (__issignaling): Likewise.
34654 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
34655 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
34656 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
34657 Likewise.
34658 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
34659 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
34660 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
34661 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
34662 Likewise.
34663 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
34664 Likewise.
34665 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
34666 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
34667 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
34668 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
34669 (__erfcf): Likewise.
34670 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
34671 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
34672 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
34673 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
34674 Likewise.
34675 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
34676 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
34677 Likewise.
34678 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
34679 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
34680 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
34681 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
34682 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
34683 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
34684 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
34685 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
34686 Likewise.
34687 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
34688 Likewise.
34689 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
34690 Likewise.
34691 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
34692 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
34693 Likewise.
34694 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
34695 Likewise.
34696 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
34697 (__ieee754_ynl): Likewise.
34698 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
34699 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
34700 Likewise.
34701 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
34702 Likewise.
34703 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
34704 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
34705 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
34706 Likewise.
34707 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
34708 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
34709 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
34710 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
34711 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
34712 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
34713 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
34714 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
34715 Likewise.
34716 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
34717 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
34718 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
34719 Likewise.
34720 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
34721 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
34722 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
34723 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
34724 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
34725 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
34726 Likewise.
34727 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
34728 Likewise.
34729 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
34730 Likewise.
34731 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
34732 Likewise.
34733 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
34734 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
34735 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34736 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
34737 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
34738 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
34739 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
34740 Likewise.
34741 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
34742 Likewise.
34743 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
34744 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34745 Likewise.
34746 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
34747 (__ieee754_remainderl): Likewise.
34748 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
34749 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
34750 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
34751 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
34752 Likewise.
34753 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
34754 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
34755 Likewise.
34756 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
34757 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
34758 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
34759 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
34760 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
34761 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
34762 Likewise.
34763 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
34764 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
34765 (__ieee754_y0l): Likewise.
34766 (pzero): Likewise.
34767 (qzero): Likewise.
34768 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
34769 (__ieee754_y1l): Likewise.
34770 (pone): Likewise.
34771 (qone): Likewise.
34772 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
34773 (__ieee754_ynl): Likewise.
34774 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
34775 (__ieee754_lgammal_r): Likewise.
34776 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
34777 Likewise.
34778 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
34779 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
34780 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
34781 (__erfcl): Likewise.
34782 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
34783 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
34784 Likewise.
34785 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
34786 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
34787 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
34788 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
34789 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
34790 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
34791 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
34792 Likewise.
34793 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
34794 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
34795 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
34796 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
34797 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
34798 Likewise.
34799 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
34800 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
34801 Likewise.
34802 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
34803 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
34804 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
34805 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
34806 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
34807
34808 2017-08-03 Florian Weimer <fweimer@redhat.com>
34809
34810 [BZ #21885]
34811 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
34812 on memory allocation failure.
34813
34814 2017-08-03 Alan Modra <amodra@gmail.com>
34815
34816 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
34817 tst-tlsopt-powerpc.c with function name change and no test harness.
34818 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
34819 Call tls_get_addr_opt_test.
34820 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
34821 (modules-names): Add mod-tlsopt-powerpc.
34822 (mod-tlsopt-powerpc.so-no-z-defs): Define.
34823 (tst-tlsopt-powerpc): Depend on .so.
34824 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
34825 define. Expand use in TLS_GD and TLS_LD.
34826
34827 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
34828
34829 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
34830 function.
34831 * sysdeps/posix/shm_open.c: Include <pthread.h>.
34832
34833 2017-08-02 Joseph Myers <joseph@codesourcery.com>
34834
34835 [BZ #21686]
34836 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
34837 comparing size with that of double.
34838 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
34839 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
34840 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
34841 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
34842 (__TGMATH_BINARY_REAL_IMAG): Likewise.
34843 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
34844 unsigned __int128 types.
34845
34846 2017-08-02 Steve Ellcey <sellcey@cavium.com>
34847
34848 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
34849 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
34850 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
34851 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
34852 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
34853
34854 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34855
34856 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
34857
34858 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34859
34860 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
34861 of SHARED.
34862 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
34863 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34864 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34865 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34866 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34867 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34868 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34869
34870 2017-08-02 Joseph Myers <joseph@codesourcery.com>
34871
34872 [BZ #21685]
34873 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
34874 bit-field expressions passed to sizeof or typeof.
34875 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34876 (__TGMATH_F128): Likewise.
34877 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34878 (__TGMATH_CF128): Likewise.
34879 (__TGMATH_UNARY_REAL_ONLY): Likewise.
34880 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
34881 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
34882 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
34883 (__TGMATH_BINARY_REAL_ONLY): Likewise.
34884 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
34885 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
34886 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
34887 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
34888 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
34889 (__TGMATH_UNARY_REAL_IMAG): Likewise.
34890 (__TGMATH_UNARY_IMAG): Likewise.
34891 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
34892 (__TGMATH_BINARY_REAL_IMAG): Likewise.
34893 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
34894 type.
34895 (define_vars_for_type): Handle bit_field type specially.
34896 (Tests.__init__): Declare structure with bit-field element.
34897
34898 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34899
34900 [BZ #21791]
34901 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
34902 (MEMCPY_CHK): Define only if SHARED is defined.
34903 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
34904 Likewise.
34905 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
34906 Likewise.
34907
34908 See ChangeLog.18 for earlier changes.